Class RemoteDebugEventSocketListener.ProxyTree
java.lang.Object
org.antlr.runtime.tree.BaseTree
org.antlr.runtime.debug.RemoteDebugEventSocketListener.ProxyTree
- All Implemented Interfaces:
Tree
- Enclosing class:
RemoteDebugEventSocketListener
-
Field Summary
FieldsFields inherited from interface Tree
INVALID_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondupNode()getText()intWhat is the smallest token index (indexing from 0) for this node and its children?intWhat is the largest token index (indexing from 0) for this node and its children?intgetType()Return a token type; needed for tree parsingvoidsetTokenStartIndex(int index) voidsetTokenStopIndex(int index) toString()Override to say how a node (not a tree) should look as textMethods inherited from class BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getCharPositionInLine, getChild, getChildCount, getChildIndex, getChildren, getFirstChildWithType, getLine, getParent, hasAncestor, insertChild, isNil, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, setChildIndex, setParent, toStringTree
-
Field Details
-
ID
public int ID -
type
public int type -
line
public int line -
charPos
public int charPos -
tokenIndex
public int tokenIndex -
text
-
-
Constructor Details
-
ProxyTree
-
ProxyTree
public ProxyTree(int ID)
-
-
Method Details
-
getTokenStartIndex
public int getTokenStartIndex()Description copied from interface:TreeWhat is the smallest token index (indexing from 0) for this node and its children? -
setTokenStartIndex
public void setTokenStartIndex(int index) -
getTokenStopIndex
public int getTokenStopIndex()Description copied from interface:TreeWhat is the largest token index (indexing from 0) for this node and its children? -
setTokenStopIndex
public void setTokenStopIndex(int index) -
dupNode
-
getType
public int getType()Description copied from interface:TreeReturn a token type; needed for tree parsing -
getText
-
toString
-