HomeSort by relevance Sort by last modified time
    Searched full:newtree (Results 1 - 25 of 36) sorted by null

1 2

  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRDebugTreeAdaptor.m 94 id<ANTLRBaseTree> newTree = [ANTLRCommonTree newTreeWithToken:payload];
95 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] fromTokenAtIndex:[payload getTokenIndex]];
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...]
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;
ANTLRBaseTree.h 35 + (id<ANTLRBaseTree>) newTree;
36 + (id<ANTLRBaseTree>) newTree:(id<ANTLRBaseTree>)node;
110 + (id<ANTLRBaseTree>) newTree;
111 + (id<ANTLRBaseTree>) newTree:(id<ANTLRBaseTree>)node;
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];
ANTLRTreeRewriter.h 68 - (void)reportTransformation:(ANTLRCommonTree *)oldTree Tree:(ANTLRCommonTree *)newTree;
ANTLRTreeRewriter.m 214 - (void)reportTransformation:(ANTLRCommonTree *)oldTree Tree:(ANTLRCommonTree *)newTree
216 //System.out.println(((Tree)oldTree).toStringTree()+" -> "+ ((Tree)newTree).toStringTree());
ANTLRBaseTreeAdaptor.m 115 id newTree = [self dupNode:t];
117 [self setChildIndex:newTree With:[self getChildIndex:t]]; // same index in new tree
118 [self setParent:newTree With:parent];
123 [self addChild:newSubTree toTree:newTree];
125 return newTree;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
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", newTree.startIndex, tree.startIndex);
79 STAssertEquals(newTree.stopIndex, tree.stopIndex, @"Token stop index did not match %d:%d", newTree.stopIndex, tree.stopIndex)
    [all...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3commontree.c 97 factory->newTree = newPoolTree;
215 pANTLR3_BASE_TREE newTree;
217 newTree = factory->newTree(factory);
219 if (newTree == NULL)
226 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token;
227 newTree->u = tree->baseTree.u; // Copy any user pointer
229 return newTree;
235 pANTLR3_BASE_TREE newTree;
237 newTree = factory->newTree(factory)
    [all...]
antlr3basetree.c 259 pANTLR3_BASE_TREE newTree;
263 newTree = tree->dupNode (tree);
279 newTree->addChild(newTree, newNode);
284 return newTree;
339 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE newTree)
361 if (newTree->isNilNode(newTree))
363 newChildren = newTree->children;
374 newChildren->add(newChildren, (void *)newTree, NULL)
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
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;
BaseTree.js 137 var newTree = t;
140 if ( newTree.isNil() ) {
141 newChildren = newTree.children;
145 newChildren.push(newTree);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
TreeRewriter.cs 135 protected virtual void ReportTransformation(object oldTree, object newTree)
138 ITree @new = newTree as ITree;
BaseTree.cs 335 ITree newTree = (ITree)t;
338 if ( newTree.IsNil )
340 BaseTree baseTree = newTree as BaseTree;
348 int n = newTree.ChildCount;
350 newChildren.Add( newTree.GetChild( i ) );
356 newChildren.Add( newTree );
BaseTreeAdaptor.cs 126 object newTree = DupNode( t );
128 SetChildIndex( newTree, GetChildIndex( t ) ); // same index in new tree
129 SetParent( newTree, parent );
135 AddChild( newTree, newSubTree );
137 return newTree;
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
TreeRewriter.java 102 public void reportTransformation(Object oldTree, Object newTree) {
104 ((Tree)newTree).toStringTree());
BaseTreeAdaptor.java 85 Object newTree = dupNode(t);
87 setChildIndex(newTree, getChildIndex(t)); // same index in new tree
88 setParent(newTree, parent);
93 addChild(newTree, newSubTree);
95 return newTree;
BaseTree.java 192 BaseTree newTree = (BaseTree)t;
195 if ( newTree.isNil() ) {
196 newChildren = newTree.children;
200 newChildren.add(newTree);
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
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;
BaseTree.as 165 var newTree:BaseTree = BaseTree(t);
168 if ( newTree.isNil ) {
169 newChildren = newTree.children;
173 newChildren.push(newTree);
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
BaseTreeAdaptor.cs 95 object newTree = DupNode(t);
97 SetChildIndex(newTree, GetChildIndex(t)); // same index in new tree
98 SetParent(newTree, parent);
103 AddChild(newTree, newSubTree);
105 return newTree;
BaseTree.cs 284 ITree newTree = (ITree)t;
287 if (newTree.IsNil) {
288 BaseTree baseTree = newTree as BaseTree;
293 int n = newTree.ChildCount;
295 newChildren.Add(newTree.GetChild(i));
299 newChildren.Add(newTree);
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRTreeRewriter.h 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRTreeRewriter.h 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRTreeRewriter.h 66 - (void)reportTransformation:(id<ANTLRTree>)oldTree Tree:(id<ANTLRTree>)newTree;

Completed in 3038 milliseconds

1 2