| Modifier and Type | Field and Description |
|---|---|
| public static final ParseTreeWalker |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | enterRule(ParseTreeListener
The listener responding to the trigger events listener, RuleNode The grammar rule containing the rule context r)Enters a grammar rule by first triggering the generic event |
| protected void | exitRule(ParseTreeListener
The listener responding to the trigger events listener, RuleNode The grammar rule containing the rule context r)Exits a grammar rule by first triggering the event specific to the given parse tree node
then by triggering the generic event |
| public void | walk(ParseTreeListener
The listener used by the walker to process grammar rules listener, ParseTree The parse tree to be walked on t)Performs a walk on the given parse tree starting at the root and going down recursively with depth-first search. |
| DEFAULT | back to summary |
|---|---|
| public static final ParseTreeWalker DEFAULT | |
| ParseTreeWalker | back to summary |
|---|---|
| public ParseTreeWalker() | |
| enterRule | back to summary |
|---|---|
| protected void enterRule(ParseTreeListener listener, RuleNode r) Enters a grammar rule by first triggering the generic event
| |
| exitRule | back to summary |
|---|---|
| protected void 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 event
| |
| walk | back to summary |
|---|---|
| public 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. On each node,
| |