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
The list of
ParseTreeListener listeners registered to receive
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)
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 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.