| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.tree |
| Modifier and Type | Class and Description |
|---|---|
class |
InterpreterRuleContext
This class extends
ParserRuleContext by allowing the value of
InterpreterRuleContext.getRuleIndex() to be explicitly set for the context. |
class |
ParserRuleContext
A rule invocation record for parsing.
|
class |
RuleContext
A rule context is a record of a single rule invocation.
|
class |
RuleContextWithAltNum
A handy class for use with
options {contextSuperClass=org.antlr.v4.runtime.RuleContextWithAltNum;}
that provides a backing field / impl for the outer alternative number
matched for an internal parse tree node.
|
| Modifier and Type | Field and Description |
|---|---|
RuleNode |
TerminalNodeImpl.parent |
| Modifier and Type | Method and Description |
|---|---|
RuleNode |
TerminalNodeImpl.getParent() |
RuleNode |
TerminalNode.getParent() |
RuleNode |
RuleNode.getParent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ParseTreeWalker.enterRule(ParseTreeListener listener,
RuleNode r)
Enters a grammar rule by first triggering the generic event
ParseTreeListener.enterEveryRule(org.antlr.v4.runtime.ParserRuleContext)
then by triggering the event specific to the given parse tree node |
protected void |
ParseTreeWalker.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
ParseTreeListener.exitEveryRule(org.antlr.v4.runtime.ParserRuleContext) |
protected boolean |
AbstractParseTreeVisitor.shouldVisitNextChild(RuleNode node,
Result currentResult)
This method is called after visiting each child in
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode). |
Result |
ParseTreeVisitor.visitChildren(RuleNode node)
Visit the children of a node, and return a user-defined result
of the operation.
|
Result |
AbstractParseTreeVisitor.visitChildren(RuleNode node)
Visit the children of a node, and return a user-defined result
of the operation.
|
Copyright © 1992–2024 Daniel Sun. All rights reserved.