Uses of Interface
org.antlr.v4.runtime.tree.ParseTreeListener
Packages that use ParseTreeListener
-
Uses of ParseTreeListener in org.antlr.v4.runtime
Classes in org.antlr.v4.runtime that implement ParseTreeListenerModifier and TypeClassDescriptionclass
static class
Fields in org.antlr.v4.runtime with type parameters of type ParseTreeListenerModifier and TypeFieldDescriptionprotected List
<ParseTreeListener> Parser._parseListeners
The list ofParseTreeListener
listeners registered to receive events during the parse.Methods in org.antlr.v4.runtime that return types with arguments of type ParseTreeListenerMethods in org.antlr.v4.runtime with parameters of type ParseTreeListenerModifier and TypeMethodDescriptionvoid
Parser.addParseListener
(ParseTreeListener listener) Registerslistener
to receive events during the parsing process.void
ParserRuleContext.enterRule
(ParseTreeListener listener) void
ParserRuleContext.exitRule
(ParseTreeListener listener) void
Parser.removeParseListener
(ParseTreeListener listener) Removelistener
from the list of parse listeners. -
Uses of ParseTreeListener in org.antlr.v4.runtime.tree
Methods in org.antlr.v4.runtime.tree with parameters of type ParseTreeListenerModifier and TypeMethodDescriptionprotected void
ParseTreeWalker.enterRule
(ParseTreeListener listener, RuleNode r) Enters a grammar rule by first triggering the generic evententerEveryRule(org.antlr.v4.runtime.ParserRuleContext)
then by triggering the event specific to the given parse tree nodeprotected void
ParseTreeWalker.exitRule
(ParseTreeListener listener, RuleNode r) Exits a grammar rule by first triggering the event specific to the given parse tree node then by triggering the generic eventexitEveryRule(org.antlr.v4.runtime.ParserRuleContext)
void
IterativeParseTreeWalker.walk
(ParseTreeListener listener, ParseTree t) void
ParseTreeWalker.walk
(ParseTreeListener listener, ParseTree t) Performs a walk on the given parse tree starting at the root and going down recursively with depth-first search.