Class JSONParserAntlr

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JSONArray array​(java.lang.String aStreamName)  
      JSONValue atomic​(java.lang.String aStreamName)  
      JSONObject object​(java.lang.String aStreamName)  
      JSONValue value​(java.lang.String aStreamName)  
      • Methods inherited from class antlr.LLkParser

        consume, LA, LT, traceIn, traceOut
      • Methods inherited from class antlr.Parser

        addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
      • Methods inherited from class java.lang.Object

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

      • _tokenNames

        public static final java.lang.String[] _tokenNames
    • Constructor Detail

      • JSONParserAntlr

        protected JSONParserAntlr​(antlr.TokenBuffer tokenBuf,
                                  int k)
      • JSONParserAntlr

        public JSONParserAntlr​(antlr.TokenBuffer tokenBuf)
      • JSONParserAntlr

        protected JSONParserAntlr​(antlr.TokenStream lexer,
                                  int k)
      • JSONParserAntlr

        public JSONParserAntlr​(antlr.TokenStream lexer)
      • JSONParserAntlr

        public JSONParserAntlr​(antlr.ParserSharedInputState state)
    • Method Detail

      • value

        public final JSONValue value​(java.lang.String aStreamName)
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • object

        public final JSONObject object​(java.lang.String aStreamName)
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • array

        public final JSONArray array​(java.lang.String aStreamName)
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • atomic

        public final JSONValue atomic​(java.lang.String aStreamName)
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException