/external/antlr/runtime/ObjC/Framework/ |
D | DebugTreeAdaptor.m | 94 id<BaseTree> newTree = [CommonTree newTreeWithToken:payload]; 95 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getToken… 96 return newTree; 101 id<BaseTree> newTree = [treeAdaptor newEmptyTree]; 102 [debugListener createNilNode:[treeAdaptor uniqueIdForTree:newTree]]; 103 return newTree; 123 id<BaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot]; 124 …[debugListener becomeRoot:[treeAdaptor uniqueIdForTree:newTree] old:[self uniqueIdForTree:oldRoot]… 125 return newTree; 150 id<BaseTree> newTree = [treeAdaptor newTreeWithTokenType:tokenType]; [all …]
|
D | BaseTree.h | 35 + (id<BaseTree>) newTree; 36 + (id<BaseTree>) newTree:(id<BaseTree>)node; 110 + (id<BaseTree>) newTree; 111 + (id<BaseTree>) newTree:(id<BaseTree>)node;
|
D | TreeAdaptor.m | 80 id newTree = [self create:newToken]; 82 return newTree; 96 id newTree = [self create:newToken]; 98 return newTree; 111 id newTree = [self create:newToken]; 113 return newTree;
|
/external/antlr/runtime/C/src/ |
D | antlr3commontree.c | 97 factory->newTree = newPoolTree; in antlr3ArboretumNew() 234 pANTLR3_BASE_TREE newTree; in newFromTree() local 236 newTree = factory->newTree(factory); in newFromTree() 238 if (newTree == NULL) in newFromTree() 245 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token; in newFromTree() 246 newTree->u = tree->baseTree.u; // Copy any user pointer in newFromTree() 248 return newTree; in newFromTree() 254 pANTLR3_BASE_TREE newTree; in newFromToken() local 256 newTree = factory->newTree(factory); in newFromToken() 258 if (newTree == NULL) in newFromToken() [all …]
|
D | antlr3basetree.c | 263 pANTLR3_BASE_TREE newTree; in dupTree() local 267 newTree = (pANTLR3_BASE_TREE)tree->dupNode (tree); in dupTree() 283 newTree->addChild(newTree, newNode); in dupTree() 288 return newTree; in dupTree() 343 …_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE newTree) in replaceChildren() argument 365 if (newTree->isNilNode(newTree)) in replaceChildren() 367 newChildren = newTree->children; in replaceChildren() 378 newChildren->add(newChildren, (void *)newTree, NULL); in replaceChildren()
|
D | antlr3basetreeadaptor.c | 469 pANTLR3_BASE_TREE newTree; in dupTreeTT() local 479 newTree = (pANTLR3_BASE_TREE)t->dupNode(t); in dupTreeTT() 483 adaptor->setChildIndex (adaptor, newTree, t->getChildIndex(t)); in dupTreeTT() 484 adaptor->setParent (adaptor, newTree, parent); in dupTreeTT() 491 adaptor->addChild (adaptor, newTree, newSubTree); in dupTreeTT() 493 return newTree; in dupTreeTT()
|
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/ |
D | CommonTreeTest.m | 21 CommonTree *tree = [CommonTree newTree]; 29 CommonTree *tree = [CommonTree newTree]; 74 CommonTree *newTree = [CommonTree newTreeWithTree:tree]; 75 STAssertNotNil(newTree, @"New tree was nil"); 76 STAssertNotNil(newTree.token, @"New tree token was nil"); 77 STAssertEquals(newTree.token, tree.token, @"Tokens did not match"); 78 …STAssertEquals(newTree.startIndex, tree.startIndex, @"Token start index did not match %d:%d", newT… 79 …STAssertEquals(newTree.stopIndex, tree.stopIndex, @"Token stop index did not match %d:%d", newTree… 82 //[newTree release]; 93 CommonTree *newTree = (CommonTree *)[tree copyWithZone:nil]; [all …]
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.js | 42 var newTree = this.dupNode(t); 44 this.setChildIndex(newTree, this.getChildIndex(t)); // same index in new tree 45 this.setParent(newTree, parent); 51 this.addChild(newTree, newSubTree); 53 return newTree;
|
D | BaseTree.js | 137 var newTree = t; 140 if ( newTree.isNil() ) { 141 newChildren = newTree.children; 145 newChildren.push(newTree);
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTreeAdaptor.cs | 95 object newTree = DupNode(t); in DupTree() 97 SetChildIndex(newTree, GetChildIndex(t)); // same index in new tree in DupTree() 98 SetParent(newTree, parent); in DupTree() 103 AddChild(newTree, newSubTree); in DupTree() 105 return newTree; in DupTree()
|
D | BaseTree.cs | 284 ITree newTree = (ITree)t; in ReplaceChildren() 287 if (newTree.IsNil) { in ReplaceChildren() 288 BaseTree baseTree = newTree as BaseTree; in ReplaceChildren() 293 int n = newTree.ChildCount; in ReplaceChildren() 295 newChildren.Add(newTree.GetChild(i)); in ReplaceChildren() 299 newChildren.Add(newTree); in ReplaceChildren()
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 89 Object newTree = dupNode(t); in dupTree() local 91 setChildIndex(newTree, getChildIndex(t)); // same index in new tree in dupTree() 92 setParent(newTree, parent); in dupTree() 97 addChild(newTree, newSubTree); in dupTree() 99 return newTree; in dupTree()
|
D | BaseTree.java | 205 BaseTree newTree = (BaseTree)t; in replaceChildren() local 208 if ( newTree.isNil() ) { in replaceChildren() 209 newChildren = newTree.children; in replaceChildren() 213 newChildren.add(newTree); in replaceChildren()
|
D | TreeRewriter.java | 104 public void reportTransformation(Object oldTree, Object newTree) { in reportTransformation() argument 106 ((Tree)newTree).toStringTree()); in reportTransformation()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTree.cs | 359 ITree newTree = (ITree)t; in ReplaceChildren() 362 if ( newTree.IsNil ) in ReplaceChildren() 364 BaseTree baseTree = newTree as BaseTree; in ReplaceChildren() 372 int n = newTree.ChildCount; in ReplaceChildren() 374 newChildren.Add( newTree.GetChild( i ) ); in ReplaceChildren() 380 newChildren.Add( newTree ); in ReplaceChildren()
|
D | BaseTreeAdaptor.cs | 126 object newTree = DupNode( t ); in DupTree() 128 SetChildIndex( newTree, GetChildIndex( t ) ); // same index in new tree in DupTree() 129 SetParent( newTree, parent ); in DupTree() 135 AddChild( newTree, newSubTree ); in DupTree() 137 return newTree; in DupTree()
|
D | TreeRewriter.cs | 135 protected virtual void ReportTransformation(object oldTree, object newTree) in ReportTransformation() argument 138 ITree @new = newTree as ITree; in ReportTransformation()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 671 ByteString newTree = prefixesStack.pop(); in insert() local 674 newTree = new RopeByteString(left, newTree); in insert() 678 newTree = new RopeByteString(newTree, byteString); in insert() 682 depthBin = getDepthBinForLength(newTree.size()); in insert() 686 newTree = new RopeByteString(left, newTree); in insert() 691 prefixesStack.push(newTree); in insert()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3commontree.inl | 171 …raits>::replaceChildren(ANTLR_INT32 startChildIndex, ANTLR_INT32 stopChildIndex, TreeType* newTree) argument 193 if (newTree->isNilNode()) 195 newChildren = newTree->get_children_p(); 200 newChildren->push_back(newTree); 293 TreeType* newTree; local 297 newTree = this->dupNode(); 313 newTree->addChild(newNode); 318 return newTree;
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/ |
D | ObjectWithCreator1261Test.java | 81 JsonNode newTree = mapper.readTree(reserializedAnswerString); in testObjectIds1261() local 82 if (!tree.equals(newTree)) { in testObjectIds1261()
|
/external/skia/infra/bots/gen_tasks_logic/ |
D | compile_cas.go | 190 func newTree() *tree { func 217 t := newTree()
|
/external/antlr/runtime/C/include/ |
D | antlr3commontree.h | 151 pANTLR3_BASE_TREE (*newTree) (struct ANTLR3_ARBORETUM_struct * factory); member
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.as | 56 var newTree:Object = dupNode(t); 58 setChildIndex(newTree, getChildIndex(t)); // same index in new tree 59 setParent(newTree, parent); 64 addChild(newTree, newSubTree); 66 return newTree;
|
/external/antlr/runtime/Python3/antlr3/ |
D | tree.py | 789 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): argument 804 if newTree.isNil(): 805 newChildren = newTree.children 808 newChildren = [newTree] 996 newTree = self.dupNode(t) 1001 self.setChildIndex(newTree, self.getChildIndex(t)) 1003 self.setParent(newTree, parent) 1008 self.addChild(newTree, newSubTree) 1010 return newTree
|
/external/antlr/runtime/Python/antlr3/ |
D | tree.py | 793 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): argument 809 if newTree.isNil(): 810 newChildren = newTree.children 813 newChildren = [newTree] 1003 newTree = self.dupNode(t) 1008 self.setChildIndex(newTree, self.getChildIndex(t)) 1010 self.setParent(newTree, parent) 1015 self.addChild(newTree, newSubTree) 1017 return newTree
|