Lines Matching defs:CommonTree
288 Create a tree node from Token object; for CommonTree type trees,
978 override this method. CommonTree returns Token.INVALID_TOKEN_TYPE
1072 if not isinstance(newRoot, CommonTree):
1189 # \- CommonTree
1199 class CommonTree(BaseTree):
1228 elif isinstance(payload, CommonTree):
1246 return CommonTree(self)
1395 INVALID_NODE = CommonTree(INVALID_TOKEN)
1398 class CommonErrorNode(CommonTree):
1402 CommonTree.__init__(self, None)
1504 return CommonTree(payload)
1576 you are not using CommonTree, then you must
1580 if isinstance(t, CommonTree):
1627 # \- CommonTree
2113 #if ( start instanceof CommonTree )
2114 # System.out.print("toString: "+((CommonTree)start).getToken()+", ");
2117 #if ( stop instanceof CommonTree )
2118 # System.out.println(((CommonTree)stop).getToken());