Top Description Fields Constructors Methods
org.antlr.v4.runtime.tree

public Class ErrorNodeImpl

extends TerminalNodeImpl
implements ErrorNode
Class Inheritance
All Implemented Interfaces
org.antlr.v4.runtime.tree.ErrorNode, org.antlr.v4.runtime.tree.TerminalNode, org.antlr.v4.runtime.tree.ParseTree, org.antlr.v4.runtime.tree.SyntaxTree, org.antlr.v4.runtime.tree.Tree
Imports
org.antlr.v4.runtime.Token

Represents a token that was consumed during resynchronization rather than during a valid match operation. For example, we will create this kind of a node during single token insertion and deletion as well as during "consume until error recovery set" upon no viable alternative exceptions.

Field Summary

Inherited from org.antlr.v4.runtime.tree.TerminalNodeImpl:
parentsymbol

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
Inherited from org.antlr.v4.runtime.tree.TerminalNodeImpl:
getChildgetChildCountgetParentgetPayloadgetSourceIntervalgetSymbolgetTextsetParenttoStringtoStringTreetoStringTree

Constructor Detail

ErrorNodeImplback to summary
public ErrorNodeImpl(Token token)

Method Detail

acceptback to summary
public <T> T accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.tree.TerminalNodeImpl.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

Doc from org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.

Annotations
@Override