/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
H A D | CommonTree.as | 38 public class CommonTree extends BaseTree { 48 protected var _parent:CommonTree; 53 public function CommonTree(node:CommonTree = null) { function 62 public static function createFromToken(t:Token):CommonTree { 63 var ct:CommonTree = new CommonTree(); 73 return new CommonTree(this); 145 this._parent = CommonTree(t);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
H A D | CommonTree.js | 7 org.antlr.runtime.tree.CommonTree = function(node) { 23 if (node instanceof org.antlr.runtime.tree.CommonTree) { 24 org.antlr.runtime.tree.CommonTree.superclass.constructor.call(this, node); 34 org.antlr.lang.extend(org.antlr.runtime.tree.CommonTree, org.antlr.runtime.tree.BaseTree, { 40 return new org.antlr.runtime.tree.CommonTree(this); 135 new org.antlr.runtime.tree.CommonTree(org.antlr.runtime.Token.INVALID_TOKEN);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
H A D | CommonTree.cs | 46 public class CommonTree : BaseTree { class in namespace:Antlr.Runtime.Tree 60 CommonTree parent; 65 public CommonTree() { method in class:Antlr.Runtime.Tree.CommonTree 68 public CommonTree(CommonTree node) method in class:Antlr.Runtime.Tree.CommonTree 78 public CommonTree(IToken t) { method in class:Antlr.Runtime.Tree.CommonTree 129 parent = (CommonTree)value; 185 return new CommonTree(this); 202 ((CommonTree)Children[i]).SetUnknownTokenBoundaries(); 207 CommonTree firstChil [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
H A D | CommonTree.cs | 46 public class CommonTree : BaseTree class in namespace:Antlr.Runtime.Tree 60 CommonTree parent; 65 public CommonTree() method in class:Antlr.Runtime.Tree.CommonTree 69 public CommonTree( CommonTree node ) method in class:Antlr.Runtime.Tree.CommonTree 80 public CommonTree( IToken t ) method in class:Antlr.Runtime.Tree.CommonTree 158 parent = (CommonTree)value; 242 return new CommonTree( this ); 263 CommonTree commonTree = childTree as CommonTree; [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | exceptions.py | 137 from antlr3.tree import Tree, CommonTree namespace 168 if isinstance(self.node, CommonTree):
|
H A D | treewizard.py | 41 from antlr3.tree import CommonTree, CommonTreeAdaptor namespace 271 class TreePattern(CommonTree): 278 CommonTree.__init__(self, payload) 286 return '%' + self.label + ':' + CommonTree.toString(self) 289 return CommonTree.toString(self)
|
H A D | tree.py | 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): class in inherits:BaseTree 1228 elif isinstance(payload, CommonTree): 1246 return CommonTree(self) 1395 INVALID_NODE = CommonTree(INVALID_TOKEN) 1398 class CommonErrorNode(CommonTree): 1402 CommonTree [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
H A D | CommonTree.java | 38 public class CommonTree extends BaseTree { class in inherits:BaseTree 48 public CommonTree parent; 53 public CommonTree() { } method in class:CommonTree 55 public CommonTree(CommonTree node) { method in class:CommonTree 62 public CommonTree(Token t) { method in class:CommonTree 71 return new CommonTree(this); 146 ((CommonTree)children.get(i)).setUnknownTokenBoundaries(); 150 CommonTree firstChild = (CommonTree)childre [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
H A D | testtree.py | 7 from antlr3.tree import (CommonTreeNodeStream, CommonTree, CommonTreeAdaptor, namespace 25 t = CommonTree(CommonToken(101)) 38 class V(CommonTree): 71 t = CommonTree(CommonToken(101)) 72 t.addChild(CommonTree(CommonToken(102))) 73 t.getChild(0).addChild(CommonTree(CommonToken(103))) 74 t.addChild(CommonTree(CommonToken(104))) 87 root = CommonTree(None) 89 t = CommonTree(CommonToken(101)) 90 t.addChild(CommonTree(CommonToke [all...] |
H A D | testtreewizard.py | 7 from antlr3.tree import CommonTreeAdaptor, CommonTree, INVALID_TOKEN_TYPE namespace 149 self.failUnless(isinstance(tree, CommonTree)) 159 self.failUnless(isinstance(tree, CommonTree)) 169 self.failUnless(isinstance(tree, CommonTree)) 182 self.failUnless(isinstance(tree, CommonTree))
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | tree.rb | 130 return( CommonTree.new( tk ) ) 448 =begin rdoc ANTLR3::AST::CommonTree 452 A CommonTree object is a tree node that wraps a token <i>payload</i> (or a +nil+ 472 class CommonTree < BaseTree class in class:ANTLR3 479 when CommonTree then # copy-constructor style init 606 class CommonErrorNode < CommonTree 659 Constants::INVALID_NODE = CommonTree.new( ANTLR3::INVALID_TOKEN ) 794 CommonTree === tree ? tree.token : nil 822 builds and manipulates CommonTree nodes. 844 new_root = create_with_payload( new_root ) unless CommonTree [all...] |
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |