Class JsonParser

java.lang.Object
org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
org.antlr.v4.runtime.Parser
org.jgrapht.nio.json.JsonParser

class JsonParser extends org.antlr.v4.runtime.Parser
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class org.antlr.v4.runtime.Parser

    org.antlr.v4.runtime.Parser.TraceListener, org.antlr.v4.runtime.Parser.TrimToSizeListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.antlr.v4.runtime.atn.ATN
     
    protected static final org.antlr.v4.runtime.dfa.DFA[]
     
    private static final String[]
     
    static final String
     
    protected static final org.antlr.v4.runtime.atn.PredictionContextCache
     
    private static final String[]
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final String[]
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final String[]
    Deprecated.
    Use VOCABULARY instead.
    static final org.antlr.v4.runtime.Vocabulary
     
    static final int
     

    Fields inherited from class org.antlr.v4.runtime.Parser

    _buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _precedenceStack, _syntaxErrors, matchedEOF

    Fields inherited from class org.antlr.v4.runtime.Recognizer

    _interp, EOF
  • Constructor Summary

    Constructors
    Constructor
    Description
    JsonParser(org.antlr.v4.runtime.TokenStream input)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.antlr.v4.runtime.atn.ATN
     
     
     
     
    Deprecated.
    org.antlr.v4.runtime.Vocabulary
     
     
    private static String[]
     
    private static String[]
     
    private static String[]
     
    obj()
     
     
     

    Methods inherited from class org.antlr.v4.runtime.Parser

    addContextToParseTree, addParseListener, compileParseTreePattern, compileParseTreePattern, consume, createErrorNode, createTerminalNode, dumpDFA, dumpDFA, enterOuterAlt, enterRecursionRule, enterRecursionRule, enterRule, exitRule, getATNWithBypassAlts, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseInfo, getParseListeners, getPrecedence, getRuleContext, getRuleIndex, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenFactory, getTokenStream, getTrimParseTree, inContext, isExpectedToken, isMatchedEOF, isTrace, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, precpred, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setContext, setErrorHandler, setInputStream, setProfile, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContexts

    Methods inherited from class org.antlr.v4.runtime.Recognizer

    action, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JsonParser

      public JsonParser(org.antlr.v4.runtime.TokenStream input)
  • Method Details

    • makeRuleNames

      private static String[] makeRuleNames()
    • makeLiteralNames

      private static String[] makeLiteralNames()
    • makeSymbolicNames

      private static String[] makeSymbolicNames()
    • getTokenNames

      @Deprecated public String[] getTokenNames()
      Deprecated.
      Specified by:
      getTokenNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getVocabulary

      public org.antlr.v4.runtime.Vocabulary getVocabulary()
      Overrides:
      getVocabulary in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getGrammarFileName

      public String getGrammarFileName()
      Specified by:
      getGrammarFileName in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getRuleNames

      public String[] getRuleNames()
      Specified by:
      getRuleNames in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getSerializedATN

      public String getSerializedATN()
      Overrides:
      getSerializedATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • getATN

      public org.antlr.v4.runtime.atn.ATN getATN()
      Specified by:
      getATN in class org.antlr.v4.runtime.Recognizer<org.antlr.v4.runtime.Token,org.antlr.v4.runtime.atn.ParserATNSimulator>
    • json

      public final JsonParser.JsonContext json() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • obj

      public final JsonParser.ObjContext obj() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • pair

      public final JsonParser.PairContext pair() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • array

      public final JsonParser.ArrayContext array() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException
    • value

      public final JsonParser.ValueContext value() throws org.antlr.v4.runtime.RecognitionException
      Throws:
      org.antlr.v4.runtime.RecognitionException