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 |
---|
ProxyTree(int ID) |
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, getAncestor, getAncestors, getCharPositionInLine, getChild, getChildCount, getChildIndex, getChildren, getFirstChildWithType, getLine, getParent, hasAncestor, isNil, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, setChildIndex, setParent, toStringTree
public int ID
public int type
public int line
public int charPos
public int tokenIndex
public String text
public ProxyTree(int ID, int type, int line, int charPos, int tokenIndex, String text)
public ProxyTree(int ID)
public int getTokenStartIndex()
Tree
public void setTokenStartIndex(int index)
public int getTokenStopIndex()
Tree
public void setTokenStopIndex(int index)
public Tree dupNode()
public int getType()
Tree
public String getText()
Copyright © 2020. All rights reserved.