| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.tree |
| Modifier and Type | Class and Description |
|---|---|
class |
Parser.TraceListener |
static class |
Parser.TrimToSizeListener |
| Modifier and Type | Field and Description |
|---|---|
protected List<ParseTreeListener> |
Parser._parseListeners
If the listener is non-null, trigger enter and exit rule events
*during* the parse.
|
| Modifier and Type | Method and Description |
|---|---|
List<ParseTreeListener> |
Parser.getParseListeners() |
| Modifier and Type | Method and Description |
|---|---|
void |
Parser.addParseListener(ParseTreeListener listener)
Provide a listener that gets notified about token matches,
and rule entry/exit events DURING the parse.
|
void |
ParserRuleContext.enterRule(ParseTreeListener listener) |
void |
ParserRuleContext.exitRule(ParseTreeListener listener) |
void |
Parser.removeParseListener(ParseTreeListener l) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ParseTreeWalker.enterRule(ParseTreeListener listener,
RuleNode r)
The discovery of a rule node, involves sending two events: the generic
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext) and a
RuleContext-specific event. |
protected void |
ParseTreeWalker.exitRule(ParseTreeListener listener,
RuleNode r) |
void |
ParseTreeWalker.walk(ParseTreeListener listener,
ParseTree t) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.