| java.lang.Object org.antlr.runtime.BaseRecognizer org.antlr.runtime.Parser
All known Subclasses: org.antlr.runtime.debug.DebugParser,
Parser | public class Parser extends BaseRecognizer (Code) | | A parser for TokenStreams. "parser grammars" result in a subclass
of this.
|
reset | public void reset()(Code) | | |
setTokenStream | public void setTokenStream(TokenStream input)(Code) | | Set the token stream and reset the parser
|
traceIn | public void traceIn(String ruleName, int ruleIndex)(Code) | | |
traceOut | public void traceOut(String ruleName, int ruleIndex)(Code) | | |
Methods inherited from org.antlr.runtime.BaseRecognizer | public boolean alreadyParsedRule(IntStream input, int ruleIndex)(Code)(Java Doc) public void beginResync()(Code)(Java Doc) protected BitSet combineFollows(boolean exact)(Code)(Java Doc) protected BitSet computeContextSensitiveRuleFOLLOW()(Code)(Java Doc) protected BitSet computeErrorRecoverySet()(Code)(Java Doc) public void consumeUntil(IntStream input, int tokenType)(Code)(Java Doc) public void consumeUntil(IntStream input, BitSet set)(Code)(Java Doc) public void displayRecognitionError(String[] tokenNames, RecognitionException e)(Code)(Java Doc) public void emitErrorMessage(String msg)(Code)(Java Doc) public void endResync()(Code)(Java Doc) public int getBacktrackingLevel()(Code)(Java Doc) public String getErrorHeader(RecognitionException e)(Code)(Java Doc) public String getErrorMessage(RecognitionException e, String[] tokenNames)(Code)(Java Doc) public String getGrammarFileName()(Code)(Java Doc) public List getRuleInvocationStack()(Code)(Java Doc) public static List getRuleInvocationStack(Throwable e, String recognizerClassName)(Code)(Java Doc) public int getRuleMemoization(int ruleIndex, int ruleStartIndex)(Code)(Java Doc) public int getRuleMemoizationCacheSize()(Code)(Java Doc) public String getTokenErrorDisplay(Token t)(Code)(Java Doc) public String[] getTokenNames()(Code)(Java Doc) public void match(IntStream input, int ttype, BitSet follow) throws RecognitionException(Code)(Java Doc) public void matchAny(IntStream input)(Code)(Java Doc) public void memoize(IntStream input, int ruleIndex, int ruleStartIndex)(Code)(Java Doc) protected void mismatch(IntStream input, int ttype, BitSet follow) throws RecognitionException(Code)(Java Doc) protected void pushFollow(BitSet fset)(Code)(Java Doc) public void recover(IntStream input, RecognitionException re)(Code)(Java Doc) protected boolean recoverFromMismatchedElement(IntStream input, RecognitionException e, BitSet follow)(Code)(Java Doc) public void recoverFromMismatchedSet(IntStream input, RecognitionException e, BitSet follow) throws RecognitionException(Code)(Java Doc) public void recoverFromMismatchedToken(IntStream input, RecognitionException e, int ttype, BitSet follow) throws RecognitionException(Code)(Java Doc) public void reportError(RecognitionException e)(Code)(Java Doc) public void reset()(Code)(Java Doc) public List toStrings(List tokens)(Code)(Java Doc) public void traceIn(String ruleName, int ruleIndex, Object inputSymbol)(Code)(Java Doc) public void traceOut(String ruleName, int ruleIndex, Object inputSymbol)(Code)(Java Doc)
|
|
|