Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.tree |
Modifier and Type | Class | Description |
---|---|---|
class |
Parser.TraceListener |
|
static class |
Parser.TrimToSizeListener |
Modifier and Type | Field | Description |
---|---|---|
protected List<ParseTreeListener> |
Parser._parseListeners |
The list of
ParseTreeListener listeners registered to receive
events during the parse. |
Modifier and Type | Method | Description |
---|---|---|
List<ParseTreeListener> |
Parser.getParseListeners() |
Modifier and Type | Method | Description |
---|---|---|
void |
Parser.addParseListener(ParseTreeListener listener) |
Registers
listener to receive events during the parsing process. |
void |
ParserRuleContext.enterRule(ParseTreeListener listener) |
|
void |
ParserRuleContext.exitRule(ParseTreeListener listener) |
|
void |
Parser.removeParseListener(ParseTreeListener listener) |
Remove
listener from the list of parse listeners. |
Modifier and Type | Method | 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 |
IterativeParseTreeWalker.walk(ParseTreeListener listener,
ParseTree t) |
|
void |
ParseTreeWalker.walk(ParseTreeListener listener,
ParseTree t) |
Copyright © 1992–2018 ANTLR. All rights reserved.