Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.tree |
Modifier and Type | Method and Description |
---|---|
ErrorNode |
ParserRuleContext.addErrorNode(ErrorNode errorNode)
Add an error node child and force its parent to be this node.
|
ErrorNode |
ParserRuleContext.addErrorNode(Token badToken)
Deprecated.
|
ErrorNode |
Parser.createErrorNode(ParserRuleContext parent,
Token t)
How to create an error node, given a token, associated with a parent.
|
Modifier and Type | Method and Description |
---|---|
ErrorNode |
ParserRuleContext.addErrorNode(ErrorNode errorNode)
Add an error node child and force its parent to be this node.
|
void |
Parser.TraceListener.visitErrorNode(ErrorNode node) |
void |
Parser.TrimToSizeListener.visitErrorNode(ErrorNode node) |
Modifier and Type | Class and Description |
---|---|
class |
ErrorNodeImpl
Represents a token that was consumed during resynchronization
rather than during a valid match operation.
|
Modifier and Type | Method and Description |
---|---|
void |
ParseTreeListener.visitErrorNode(ErrorNode node) |
T |
AbstractParseTreeVisitor.visitErrorNode(ErrorNode node)
Visit an error node, and return a user-defined result of the operation.
|
T |
ParseTreeVisitor.visitErrorNode(ErrorNode node)
Visit an error node, and return a user-defined result of the operation.
|
Copyright © 1992–2018 ANTLR. All rights reserved.