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() |
addChild, addChildren, deleteChild, dump, dupNode, getChildren, getName, getOrigin, insertChild, replaceChildren, setChild, setOrigin, setParent, setUnknownTokenBoundaries, toStringTree
getCharPositionInLine, getChildIndex, getLine, getParent, getToken, getTokenStartIndex, getTokenStopIndex, setChildIndex, setTokenStartIndex, setTokenStopIndex
createChildrenList, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getFirstChildWithType, hasAncestor, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes
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 © 2016 The Apache Software Foundation. All rights reserved.