public static class ParserInterpreter.DummyParser extends Parser
Parser.TraceListener, Parser.TrimToSizeListener| Modifier and Type | Field and Description |
|---|---|
DFA[] |
decisionToDFA |
Grammar |
g |
PredictionContextCache |
sharedContextCache |
_buildParseTrees, _ctx, _errHandler, _input, _parseListeners, _syntaxErrors, _tracer_interp, EOF| Constructor and Description |
|---|
ParserInterpreter.DummyParser(Grammar g,
TokenStream input) |
| Modifier and Type | Method and Description |
|---|---|
ATN |
getATN() |
String |
getGrammarFileName() |
String[] |
getRuleNames() |
String[] |
getTokenNames() |
addContextToParseTree, addParseListener, consume, dumpDFA, enterOuterAlt, enterRecursionRule, enterRule, exitRule, getBuildParseTree, getContext, getCurrentToken, getDFAStrings, getErrorHandler, getExpectedTokens, getExpectedTokensWithinCurrentRule, getInputStream, getInvokingContext, getNumberOfSyntaxErrors, getParseListeners, getRuleContext, getRuleInvocationStack, getRuleInvocationStack, getSourceName, getTokenStream, getTrimParseTree, inContext, isExpectedToken, match, matchWildcard, notifyErrorListeners, notifyErrorListeners, pushNewRecursionContext, removeParseListener, removeParseListeners, reset, setBuildParseTree, setErrorHandler, setInputStream, setTokenFactory, setTokenStream, setTrace, setTrimParseTree, toStrings, triggerEnterRuleEvent, triggerExitRuleEvent, unrollRecursionContextsaction, addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getState, getTokenErrorDisplay, removeErrorListener, removeErrorListeners, sempred, setInterpreter, setStatepublic final DFA[] decisionToDFA
public final PredictionContextCache sharedContextCache
public Grammar g
public ParserInterpreter.DummyParser(Grammar g, TokenStream input)
public String getGrammarFileName()
getGrammarFileName in class Recognizer<Token,ParserATNSimulator>public String[] getRuleNames()
getRuleNames in class Recognizer<Token,ParserATNSimulator>public String[] getTokenNames()
getTokenNames in class Recognizer<Token,ParserATNSimulator>public ATN getATN()
getATN in class Recognizer<Token,ParserATNSimulator>Copyright © 1992-2013 ANTLR. All Rights Reserved.