|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.Parser
antlr.LLkParser
com.sdicons.json.parser.impl.JSONParserAntlr
public class JSONParserAntlr
Field Summary | |
---|---|
static String[] |
_tokenNames
|
Fields inherited from class antlr.Parser |
---|
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
Fields inherited from interface com.sdicons.json.parser.impl.JSONParserAntlrTokenTypes |
---|
COLON, COMMA, DIGIT, EOF, ESC, EXPONENT, FALSE, HEX_DIGIT, INTEGER, LBRACK, LCURLY, LPAREN, NONZERO, NULL, NULL_TREE_LOOKAHEAD, NUMBER, QUOTES, RBRACK, RCURLY, RPAREN, SL_COMMENT, STRING, TRUE, WS, ZERO |
Constructor Summary | |
---|---|
|
JSONParserAntlr(antlr.ParserSharedInputState state)
|
|
JSONParserAntlr(antlr.TokenBuffer tokenBuf)
|
protected |
JSONParserAntlr(antlr.TokenBuffer tokenBuf,
int k)
|
|
JSONParserAntlr(antlr.TokenStream lexer)
|
protected |
JSONParserAntlr(antlr.TokenStream lexer,
int k)
|
Method Summary | |
---|---|
JSONArray |
array(String aStreamName)
|
JSONValue |
atomic(String aStreamName)
|
JSONObject |
object(String aStreamName)
|
JSONValue |
value(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 |
---|
public static final String[] _tokenNames
Constructor Detail |
---|
protected JSONParserAntlr(antlr.TokenBuffer tokenBuf, int k)
public JSONParserAntlr(antlr.TokenBuffer tokenBuf)
protected JSONParserAntlr(antlr.TokenStream lexer, int k)
public JSONParserAntlr(antlr.TokenStream lexer)
public JSONParserAntlr(antlr.ParserSharedInputState state)
Method Detail |
---|
public final JSONValue value(String aStreamName) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final JSONObject object(String aStreamName) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final JSONArray array(String aStreamName) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final JSONValue atomic(String aStreamName) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |