| 程序包 | 说明 |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.tree |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 字段和说明 |
|---|---|
RuleNode |
TerminalNodeImpl.parent |
| 限定符和类型 | 方法和说明 |
|---|---|
RuleNode |
TerminalNodeImpl.getParent() |
RuleNode |
TerminalNode.getParent() |
RuleNode |
RuleNode.getParent() |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2022 Daniel Sun. All rights reserved.