/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRDebugTreeAdaptor.m | 94 id<ANTLRBaseTree> newTree = [ANTLRCommonTree newTreeWithToken:payload]; 95 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getToken… 96 return newTree; 101 id<ANTLRBaseTree> newTree = [treeAdaptor newEmptyTree]; 102 [debugListener createNilNode:[treeAdaptor uniqueIdForTree:newTree]]; 103 return newTree; 123 id<ANTLRBaseTree> newTree = [treeAdaptor becomeRoot:newRoot old:oldRoot]; 124 …[debugListener becomeRoot:[treeAdaptor uniqueIdForTree:newTree] old:[self uniqueIdForTree:oldRoot]… 125 return newTree; 150 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithTokenType:tokenType]; [all …]
|
D | ANTLRBaseTree.h | 35 + (id<ANTLRBaseTree>) newTree; 36 + (id<ANTLRBaseTree>) newTree:(id<ANTLRBaseTree>)node; 110 + (id<ANTLRBaseTree>) newTree; 111 + (id<ANTLRBaseTree>) newTree:(id<ANTLRBaseTree>)node;
|
D | ANTLRTreeAdaptor.m | 80 id<ANTLRBaseTree> newTree = [self create:newToken]; 82 return newTree; 96 id<ANTLRBaseTree> newTree = [self create:newToken]; 98 return newTree; 111 id<ANTLRBaseTree> newTree = [self create:newToken]; 113 return newTree;
|
D | ANTLRBaseTree.m | 64 + newTree 73 + newTree:(id<ANTLRBaseTree>) node 263 id<ANTLRBaseTree> newTree = (id<ANTLRBaseTree>) t; 266 if ( [newTree isNil] ) { 267 newChildren = newTree.children; 271 [newChildren addObject:newTree];
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3commontree.c | 97 factory->newTree = newPoolTree; in antlr3ArboretumNew() 215 pANTLR3_BASE_TREE newTree; in newFromTree() local 217 newTree = factory->newTree(factory); in newFromTree() 219 if (newTree == NULL) in newFromTree() 226 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token; in newFromTree() 227 newTree->u = tree->baseTree.u; // Copy any user pointer in newFromTree() 229 return newTree; in newFromTree() 235 pANTLR3_BASE_TREE newTree; in newFromToken() local 237 newTree = factory->newTree(factory); in newFromToken() 239 if (newTree == NULL) in newFromToken() [all …]
|
D | antlr3basetree.c | 259 pANTLR3_BASE_TREE newTree; in dupTree() local 263 newTree = tree->dupNode (tree); in dupTree() 279 newTree->addChild(newTree, newNode); in dupTree() 284 return newTree; in dupTree() 339 …_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE newTree) in replaceChildren() argument 361 if (newTree->isNilNode(newTree)) in replaceChildren() 363 newChildren = newTree->children; in replaceChildren() 374 newChildren->add(newChildren, (void *)newTree, NULL); in replaceChildren()
|
D | antlr3basetreeadaptor.c | 469 pANTLR3_BASE_TREE newTree; in dupTreeTT() local 479 newTree = 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/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 21 ANTLRCommonTree *tree = [ANTLRCommonTree newTree]; 29 ANTLRCommonTree *tree = [ANTLRCommonTree newTree]; 74 ANTLRCommonTree *newTree = [ANTLRCommonTree 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 ANTLRCommonTree *newTree = (ANTLRCommonTree *)[tree copyWithZone:nil]; [all …]
|
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 85 Object newTree = dupNode(t); in dupTree() local 87 setChildIndex(newTree, getChildIndex(t)); // same index in new tree in dupTree() 88 setParent(newTree, parent); in dupTree() 93 addChild(newTree, newSubTree); in dupTree() 95 return newTree; in dupTree()
|
D | BaseTree.java | 192 BaseTree newTree = (BaseTree)t; in replaceChildren() local 195 if ( newTree.isNil() ) { in replaceChildren() 196 newChildren = newTree.children; in replaceChildren() 200 newChildren.add(newTree); in replaceChildren()
|
D | TreeRewriter.java | 102 public void reportTransformation(Object oldTree, Object newTree) { in reportTransformation() argument 104 ((Tree)newTree).toStringTree()); in reportTransformation()
|
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTree.cs | 335 ITree newTree = (ITree)t; in ReplaceChildren() 338 if ( newTree.IsNil ) in ReplaceChildren() 340 BaseTree baseTree = newTree as BaseTree; in ReplaceChildren() 348 int n = newTree.ChildCount; in ReplaceChildren() 350 newChildren.Add( newTree.GetChild( i ) ); in ReplaceChildren() 356 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/src/main/java/com/google/protobuf/ |
D | RopeByteString.java | 669 ByteString newTree = prefixesStack.pop(); in insert() local 673 newTree = new RopeByteString(left, newTree); in insert() 677 newTree = new RopeByteString(newTree, byteString); in insert() 681 depthBin = getDepthBinForLength(newTree.size()); in insert() 685 newTree = new RopeByteString(left, newTree); in insert() 690 prefixesStack.push(newTree); in insert()
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3commontree.h | 151 pANTLR3_BASE_TREE (*newTree) (struct ANTLR3_ARBORETUM_struct * factory); member
|
/external/antlr/antlr-3.4/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/antlr-3.4/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
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
D | ANTLRTreeRewriter.h | 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
D | ANTLRTreeRewriter.h | 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
D | ANTLRTreeRewriter.h | 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;
|