public static class RemoteDebugEventSocketListener.ProxyTree extends BaseTree
| Modifier and Type | Field and Description |
|---|---|
int |
charPos |
int |
ID |
int |
line |
String |
text |
int |
tokenIndex |
int |
type |
INVALID_NODE| Constructor and Description |
|---|
RemoteDebugEventSocketListener.ProxyTree(int ID) |
RemoteDebugEventSocketListener.ProxyTree(int ID,
int type,
int line,
int charPos,
int tokenIndex,
String text) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
dupNode() |
String |
getText() |
int |
getTokenStartIndex()
What is the smallest token index (indexing from 0) for this node
and its children?
|
int |
getTokenStopIndex()
What is the largest token index (indexing from 0) for this node
and its children?
|
int |
getType()
Return a token type; needed for tree parsing
|
void |
setTokenStartIndex(int index) |
void |
setTokenStopIndex(int index) |
String |
toString()
Override to say how a node (not a tree) should look as text
|
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, toStringTreepublic int ID
public int type
public int line
public int charPos
public int tokenIndex
public String text
public RemoteDebugEventSocketListener.ProxyTree(int ID,
int type,
int line,
int charPos,
int tokenIndex,
String text)
public RemoteDebugEventSocketListener.ProxyTree(int ID)
public int getTokenStartIndex()
Treepublic void setTokenStartIndex(int index)
public int getTokenStopIndex()
Treepublic void setTokenStopIndex(int index)
public Tree dupNode()
public int getType()
Treepublic String getText()
Copyright © 1992-2013 ANTLR. All Rights Reserved.