ParseTreeListener

@uml This interface describes the minimal core of methods triggered by {@link ParseTreeWalker}. E.g.,

ParseTreeWalker walker = new ParseTreeWalker(); walker.walk(myParseTreeListener, myParseTree); <-- triggers events in your listener

If you want to trigger events in multiple listeners during a single ree walk, you can use the ParseTreeDispatcher object available at

https://github.com/antlr/antlr4/issues/841

Members

Functions

enterEveryRule
void enterEveryRule(ParserRuleContext ctx)
Undocumented in source.
exitEveryRule
void exitEveryRule(ParserRuleContext ctx)
Undocumented in source.
visitErrorNode
void visitErrorNode(ErrorNode node)
Undocumented in source.
visitTerminal
void visitTerminal(TerminalNode node)
Undocumented in source.

Meta