| java.lang.Object org.antlr.runtime.debug.BlankDebugEventListener org.antlr.runtime.debug.ParseTreeBuilder
ParseTreeBuilder | public class ParseTreeBuilder extends BlankDebugEventListener (Code) | | This parser listener tracks rule entry/exit and token matches
to build a simple parse tree using ParseTree nodes.
|
ParseTreeBuilder | public ParseTreeBuilder(String grammarName)(Code) | | |
consumeToken | public void consumeToken(Token token)(Code) | | |
create | public ParseTree create(Object payload)(Code) | | What kind of node to create. You might want to override
so I factored out creation here.
|
Methods inherited from org.antlr.runtime.debug.BlankDebugEventListener | public void LT(int i, Token t)(Code)(Java Doc) public void LT(int i, Object t)(Code)(Java Doc) public void addChild(Object root, Object child)(Code)(Java Doc) public void becomeRoot(Object newRoot, Object oldRoot)(Code)(Java Doc) public void beginBacktrack(int level)(Code)(Java Doc) public void beginResync()(Code)(Java Doc) public void commence()(Code)(Java Doc) public void consumeHiddenToken(Token token)(Code)(Java Doc) public void consumeNode(Object t)(Code)(Java Doc) public void consumeToken(Token token)(Code)(Java Doc) public void createNode(Object t)(Code)(Java Doc) public void createNode(Object node, Token token)(Code)(Java Doc) public void endBacktrack(int level, boolean successful)(Code)(Java Doc) public void endResync()(Code)(Java Doc) public void enterAlt(int alt)(Code)(Java Doc) public void enterDecision(int decisionNumber)(Code)(Java Doc) public void enterRule(String ruleName)(Code)(Java Doc) public void enterSubRule(int decisionNumber)(Code)(Java Doc) public void exitDecision(int decisionNumber)(Code)(Java Doc) public void exitRule(String ruleName)(Code)(Java Doc) public void exitSubRule(int decisionNumber)(Code)(Java Doc) public void location(int line, int pos)(Code)(Java Doc) public void mark(int i)(Code)(Java Doc) public void nilNode(Object t)(Code)(Java Doc) public void recognitionException(RecognitionException e)(Code)(Java Doc) public void rewind(int i)(Code)(Java Doc) public void rewind()(Code)(Java Doc) public void semanticPredicate(boolean result, String predicate)(Code)(Java Doc) public void setTokenBoundaries(Object t, int tokenStartIndex, int tokenStopIndex)(Code)(Java Doc) public void terminate()(Code)(Java Doc)
|
|
|