Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.tree |
Modifier and Type | Class and Description |
---|---|
class |
ParserRuleContext
A rule invocation record for parsing.
|
class |
RuleContext
A rule context is a record of a single rule invocation.
|
Modifier and Type | Field and Description |
---|---|
List<ParseTree> |
ParserRuleContext.children
If we are debugging or building a parse tree for a visitor,
we need to track all of the tokens and rule invocations associated
with this rule's context.
|
Modifier and Type | Method and Description |
---|---|
<T extends ParseTree> |
ParserRuleContext.getChild(Class<? extends T> ctxType,
int i) |
Modifier and Type | Method and Description |
---|---|
ParseTree |
RuleContext.getChild(int i) |
ParseTree |
ParserRuleContext.getChild(int i) |
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorNode |
interface |
RuleNode |
interface |
TerminalNode |
Modifier and Type | Class and Description |
---|---|
class |
ErrorNodeImpl
Represents a token that was consumed during resynchronization
rather than during a valid match operation.
|
class |
TerminalNodeImpl |
Modifier and Type | Field and Description |
---|---|
ParseTree |
TerminalNodeImpl.parent |
Modifier and Type | Field and Description |
---|---|
protected Map<ParseTree,V> |
ParseTreeProperty.annotations |
Modifier and Type | Method and Description |
---|---|
ParseTree |
TerminalNodeImpl.getChild(int i) |
ParseTree |
ParseTree.getChild(int i) |
ParseTree |
TerminalNodeImpl.getParent() |
ParseTree |
ParseTree.getParent() |
Modifier and Type | Method and Description |
---|---|
V |
ParseTreeProperty.get(ParseTree node) |
void |
ParseTreeProperty.put(ParseTree node,
V value) |
V |
ParseTreeProperty.removeFrom(ParseTree node) |
T |
ParseTreeVisitor.visit(ParseTree tree)
Visit a parse tree, and return a user-defined result of the operation.
|
T |
AbstractParseTreeVisitor.visit(ParseTree tree)
Visit a parse tree, and return a user-defined result of the operation.
|
void |
ParseTreeWalker.walk(ParseTreeListener listener,
ParseTree t) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.