public class ASTErrorNode extends ASTNode
Constructor and Description |
---|
ASTErrorNode(org.antlr.runtime.TokenStream input,
org.antlr.runtime.Token start,
org.antlr.runtime.Token stop,
org.antlr.runtime.RecognitionException e) |
Modifier and Type | Method and Description |
---|---|
String |
getText() |
int |
getType() |
boolean |
isNil() |
String |
toString() |
dump, dupNode, getChildren, getName, getOrigin, setOrigin
getCharPositionInLine, getChildIndex, getLine, getParent, getToken, getTokenStartIndex, getTokenStopIndex, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
public ASTErrorNode(org.antlr.runtime.TokenStream input, org.antlr.runtime.Token start, org.antlr.runtime.Token stop, org.antlr.runtime.RecognitionException e)
public boolean isNil()
isNil
in interface org.antlr.runtime.tree.Tree
isNil
in class org.antlr.runtime.tree.CommonTree
public int getType()
getType
in interface org.antlr.runtime.tree.Tree
getType
in class org.antlr.runtime.tree.CommonTree
public String getText()
getText
in interface org.antlr.runtime.tree.Tree
getText
in class org.antlr.runtime.tree.CommonTree
public String toString()
toString
in interface org.antlr.runtime.tree.Tree
toString
in class org.antlr.runtime.tree.CommonTree
Copyright © 2017 The Apache Software Foundation. All rights reserved.