public class IterativeParseTreeWalker extends ParseTreeWalker
DEFAULT| Constructor and Description |
|---|
IterativeParseTreeWalker() |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
enterRule, exitRulepublic void walk(ParseTreeListener listener, ParseTree t)
ParseTreeWalkerParseTreeWalker.enterRule(org.antlr.v4.runtime.tree.ParseTreeListener, org.antlr.v4.runtime.tree.RuleNode) is called before
recursively walking down into child nodes, then
ParseTreeWalker.exitRule(org.antlr.v4.runtime.tree.ParseTreeListener, org.antlr.v4.runtime.tree.RuleNode) is called after the recursive call to wind up.walk in class ParseTreeWalkerlistener - The listener used by the walker to process grammar rulest - The parse tree to be walked onCopyright © 1992–2021 ANTLR. All rights reserved.