Home
last modified time | relevance | path

Searched refs:startChildIndex (Results 1 – 25 of 79) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs313 public virtual void ReplaceChildren( int startChildIndex, int stopChildIndex, object t ) in ReplaceChildren() argument
315 if (startChildIndex < 0) in ReplaceChildren()
321 if (stopChildIndex < startChildIndex) in ReplaceChildren()
333 int replacingHowMany = stopChildIndex - startChildIndex + 1; in ReplaceChildren()
365 for ( int i = startChildIndex; i <= stopChildIndex; i++ ) in ReplaceChildren()
380 Children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
382 int indexToDelete = startChildIndex + numNewChildren; in ReplaceChildren()
388 FreshenParentAndChildIndexes( startChildIndex ); in ReplaceChildren()
396 Children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
401 Children.Insert( startChildIndex + j, newChildren[j] ); in ReplaceChildren()
[all …]
DCommonTreeNodeStream.cs219 …public virtual void ReplaceChildren( object parent, int startChildIndex, int stopChildIndex, objec… in ReplaceChildren() argument
223 TreeAdaptor.ReplaceChildren( parent, startChildIndex, stopChildIndex, t ); in ReplaceChildren()
DITreeNodeStream.cs139 void ReplaceChildren( object parent, int startChildIndex, int stopChildIndex, object t ); in ReplaceChildren() argument
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs264 public virtual void ReplaceChildren(int startChildIndex, int stopChildIndex, object t) { in ReplaceChildren() argument
265 if (startChildIndex < 0) in ReplaceChildren()
271 if (stopChildIndex < startChildIndex) in ReplaceChildren()
282 int replacingHowMany = stopChildIndex - startChildIndex + 1; in ReplaceChildren()
307 for (int i = startChildIndex; i <= stopChildIndex; i++) { in ReplaceChildren()
318 children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
320 int indexToDelete = startChildIndex + numNewChildren; in ReplaceChildren()
325 FreshenParentAndChildIndexes(startChildIndex); in ReplaceChildren()
330 children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
334 children.Insert(startChildIndex + j, newChildren[j]); in ReplaceChildren()
[all …]
DCommonTreeAdaptor.cs212 …public override void ReplaceChildren(object parent, int startChildIndex, int stopChildIndex, objec… in ReplaceChildren() argument
214 ((ITree)parent).ReplaceChildren(startChildIndex, stopChildIndex, t); in ReplaceChildren()
DCommonTreeNodeStream.cs190 …public virtual void ReplaceChildren(object parent, int startChildIndex, int stopChildIndex, object… in ReplaceChildren() argument
192 TreeAdaptor.ReplaceChildren(parent, startChildIndex, stopChildIndex, t); in ReplaceChildren()
DITreeNodeStream.cs132 void ReplaceChildren(object parent, int startChildIndex, int stopChildIndex, object t); in ReplaceChildren() argument
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DBaseTree.js131 replaceChildren: function(startChildIndex, stopChildIndex, t) { argument
135 var replacingHowMany = stopChildIndex - startChildIndex + 1;
154 for (i=startChildIndex; i<=stopChildIndex; i++) {
165 this.children[startChildIndex+j] = newChildren[j];
167 indexToDelete = startChildIndex+numNewChildren;
172 this.freshenParentAndChildIndexes(startChildIndex);
177 this.children[startChildIndex+j] = newChildren[j];
181 this.children.splice(startChildIndex+j, 0, newChildren[j]);
183 this.freshenParentAndChildIndexes(startChildIndex);
DCommonTreeAdaptor.js166 replaceChildren: function(parent, startChildIndex, stopChildIndex, t) { argument
168 parent.replaceChildren(startChildIndex, stopChildIndex, t);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java181 public void replaceChildren(int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
190 int replacingHowMany = stopChildIndex - startChildIndex + 1; in replaceChildren()
208 for (int i=startChildIndex; i<=stopChildIndex; i++) { in replaceChildren()
219 children.set(startChildIndex+j, newChildren.get(j)); in replaceChildren()
221 int indexToDelete = startChildIndex+numNewChildren; in replaceChildren()
226 freshenParentAndChildIndexes(startChildIndex); in replaceChildren()
231 children.set(startChildIndex+j, newChildren.get(j)); in replaceChildren()
235 children.add(startChildIndex+j, newChildren.get(j)); in replaceChildren()
237 freshenParentAndChildIndexes(startChildIndex); in replaceChildren()
DCommonTreeAdaptor.java163 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
165 ((Tree)parent).replaceChildren(startChildIndex, stopChildIndex, t); in replaceChildren()
DCommonTreeNodeStream.java144 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
146 adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3basetree.c46 static void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_IN…
339 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildInd… in replaceChildren() argument
381 replacingHowMany = stopChildIndex - startChildIndex + 1; in replaceChildren()
395 for (i = startChildIndex; i <= stopChildIndex; i++) in replaceChildren()
412 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
417 indexToDelete = startChildIndex + numNewChildren; in replaceChildren()
424 parent->freshenPACIndexes(parent, startChildIndex); in replaceChildren()
435 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
445 parent->freshenPACIndexes(parent, startChildIndex); in replaceChildren()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as159 public function replaceChildren(startChildIndex:int, stopChildIndex:int, t:Object):void {
163 var replacingHowMany:int = stopChildIndex - startChildIndex + 1;
181 for (var i:int=startChildIndex; i<=stopChildIndex; i++) {
192 children[startChildIndex+j] = newChildren[j];
194 var indexToDelete:int = startChildIndex+numNewChildren;
199 freshenParentAndChildIndexesFrom(startChildIndex);
204 children[startChildIndex+j] = newChildren[j];
208 children.splice(startChildIndex+j, 0, newChildren[j]);
210 freshenParentAndChildIndexesFrom(startChildIndex);
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py189 def replaceChildren(self, startChildIndex, stopChildIndex, t): argument
583 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): argument
793 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): argument
801 if (startChildIndex >= len(self.children)
806 replacingHowMany = stopChildIndex - startChildIndex + 1
822 self.children[idx + startChildIndex] = child
824 child.childIndex = idx + startChildIndex
830 del self.children[startChildIndex:stopChildIndex+1]
833 self.children[startChildIndex:startChildIndex] = newChildren
836 self.freshenParentAndChildIndexes(startChildIndex)
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseTree.m251 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t
254 System.out.println("replaceChildren "+startChildIndex+", "+stopChildIndex+
261 int replacingHowMany = stopChildIndex - startChildIndex + 1;
279 for (int i=startChildIndex; i <= stopChildIndex; i++) {
290 … [children replaceObjectAtIndex:startChildIndex+j withObject:[newChildren objectAtIndex:j]];
292 int indexToDelete = startChildIndex+numNewChildren;
297 [self freshenParentAndChildIndexes:startChildIndex];
302 … [children replaceObjectAtIndex:startChildIndex+j withObject:[newChildren objectAtIndex:j]];
306 [children insertObject:[newChildren objectAtIndex:j] atIndex:startChildIndex+j];
308 [self freshenParentAndChildIndexes:startChildIndex];
DANTLRBaseTree.h57 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
133 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTreeNodeStream.cs206 …public virtual void ReplaceChildren( object parent, int startChildIndex, int stopChildIndex, objec… in ReplaceChildren() argument
208 input.ReplaceChildren( parent, startChildIndex, stopChildIndex, t ); in ReplaceChildren()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeNodeStream.cs175 …public virtual void ReplaceChildren(object parent, int startChildIndex, int stopChildIndex, object… in ReplaceChildren() argument
176 input.ReplaceChildren(parent, startChildIndex, stopChildIndex, t); in ReplaceChildren()
DDebugTreeAdaptor.cs237 …public virtual void ReplaceChildren(object parent, int startChildIndex, int stopChildIndex, object… in ReplaceChildren() argument
238 adaptor.ReplaceChildren(parent, startChildIndex, stopChildIndex, t); in ReplaceChildren()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeNodeStream.java148 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
149 input.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBaseTree.h55 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
129 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBaseTree.h55 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
129 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBaseTree.h55 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
129 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
DITreeNodeStream`1.cs138 void ReplaceChildren(T parent, int startChildIndex, int stopChildIndex, T t); in ReplaceChildren() argument

1234