|
__init__(self,
input,
start,
stop,
exc)
Create a new node from an existing node does nothing for BaseTree as
there are no fields other than the children list, which cannot be
copied as the children are not considered part of this node. |
|
|
|
isNil(self)
Indicates the node is a nil node but may still have children, meaning
the tree is a flat list. |
|
|
|
getType(self)
Return a token type; needed for tree parsing. |
|
|
|
|
|
toString(self)
Override to say how a node (not a tree) should look as text |
|
|
Inherited from CommonTree :
__str__ ,
dupNode ,
getCharPositionInLine ,
getChildIndex ,
getLine ,
getParent ,
getToken ,
getTokenStartIndex ,
getTokenStopIndex ,
setChildIndex ,
setParent ,
setTokenStartIndex ,
setTokenStopIndex ,
setUnknownTokenBoundaries ,
toStringTree
Inherited from BaseTree :
addChild ,
addChildren ,
deleteChild ,
freshenParentAndChildIndexes ,
getAncestor ,
getAncestors ,
getChild ,
getChildCount ,
getChildren ,
getFirstChildWithType ,
hasAncestor ,
replaceChildren ,
sanityCheckParentAndChildIndexes ,
setChild
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|