| Package | Description |
|---|---|
| org.antlr.v4.runtime | |
| org.antlr.v4.runtime.tree |
| Modifier and Type | Method and Description |
|---|---|
TerminalNode |
ParserRuleContext.addChild(Token matchedToken)
Deprecated.
|
TerminalNode |
Parser.createTerminalNode(ParserRuleContext parent,
Token t)
How to create a token leaf node associated with a parent.
|
TerminalNode |
ParserRuleContext.getToken(int ttype,
int i) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends TerminalNode> |
ParserRuleContext.getTokens(int ttype) |
| Modifier and Type | Method and Description |
|---|---|
void |
ParserRuleContext.addChild(TerminalNode t)
Add a token leaf node child.
|
void |
Parser.TraceListener.visitTerminal(TerminalNode node) |
void |
Parser.TrimToSizeListener.visitTerminal(TerminalNode node) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ErrorNode |
| 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 | Method and Description |
|---|---|
Result |
ParseTreeVisitor.visitTerminal(TerminalNode node)
Visit a terminal node, and return a user-defined result of the operation.
|
void |
ParseTreeListener.visitTerminal(TerminalNode node) |
Result |
AbstractParseTreeVisitor.visitTerminal(TerminalNode node)
Visit a terminal node, and return a user-defined result of the operation.
|
Copyright © 1992–2024 Daniel Sun. All rights reserved.