Home
last modified time | relevance | path

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

123

/external/antlr/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
DITree.cs106 void ReplaceChildren(int startChildIndex, int stopChildIndex, object t); in ReplaceChildren() argument
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs337 public virtual void ReplaceChildren( int startChildIndex, int stopChildIndex, object t ) in ReplaceChildren() argument
339 if (startChildIndex < 0) in ReplaceChildren()
345 if (stopChildIndex < startChildIndex) in ReplaceChildren()
357 int replacingHowMany = stopChildIndex - startChildIndex + 1; in ReplaceChildren()
389 for ( int i = startChildIndex; i <= stopChildIndex; i++ ) in ReplaceChildren()
404 Children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
406 int indexToDelete = startChildIndex + numNewChildren; in ReplaceChildren()
412 FreshenParentAndChildIndexes( startChildIndex ); in ReplaceChildren()
420 Children[startChildIndex + j] = newChildren[j]; in ReplaceChildren()
425 Children.Insert( startChildIndex + j, newChildren[j] ); in ReplaceChildren()
[all …]
DCommonTreeNodeStream.cs277 …public virtual void ReplaceChildren( object parent, int startChildIndex, int stopChildIndex, objec… in ReplaceChildren() argument
281 TreeAdaptor.ReplaceChildren( parent, startChildIndex, stopChildIndex, t ); in ReplaceChildren()
DITreeNodeStream.cs141 void ReplaceChildren( object parent, int startChildIndex, int stopChildIndex, object t ); in ReplaceChildren() argument
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java194 public void replaceChildren(int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
203 int replacingHowMany = stopChildIndex - startChildIndex + 1; in replaceChildren()
221 for (int i=startChildIndex; i<=stopChildIndex; i++) { in replaceChildren()
232 children.set(startChildIndex+j, newChildren.get(j)); in replaceChildren()
234 int indexToDelete = startChildIndex+numNewChildren; in replaceChildren()
239 freshenParentAndChildIndexes(startChildIndex); in replaceChildren()
244 children.set(startChildIndex+j, newChildren.get(j)); in replaceChildren()
248 children.add(startChildIndex+j, newChildren.get(j)); in replaceChildren()
250 freshenParentAndChildIndexes(startChildIndex); in replaceChildren()
DCommonTreeAdaptor.java180 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
182 ((Tree)parent).replaceChildren(startChildIndex, stopChildIndex, t); in replaceChildren()
DCommonTreeNodeStream.java218 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
220 adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/runtime/C/src/
Dantlr3basetree.c46 static void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_IN…
343 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildInd… in replaceChildren() argument
385 replacingHowMany = stopChildIndex - startChildIndex + 1; in replaceChildren()
399 for (i = startChildIndex; i <= stopChildIndex; i++) in replaceChildren()
416 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
421 indexToDelete = startChildIndex + numNewChildren; in replaceChildren()
428 parent->freshenPACIndexes(parent, startChildIndex); in replaceChildren()
439 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
449 parent->freshenPACIndexes(parent, startChildIndex); in replaceChildren()
/external/antlr/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/runtime/Python3/antlr3/
Dtree.py189 def replaceChildren(self, startChildIndex, stopChildIndex, t): argument
583 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): argument
789 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): argument
797 if (startChildIndex >= len(self.children)
801 replacingHowMany = stopChildIndex - startChildIndex + 1
817 self.children[idx + startChildIndex] = child
819 child.childIndex = idx + startChildIndex
825 del self.children[startChildIndex:stopChildIndex+1]
828 self.children[startChildIndex:startChildIndex] = newChildren
831 self.freshenParentAndChildIndexes(startChildIndex)
[all …]
/external/antlr/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/runtime/Cpp/include/
Dantlr3commontree.inl171 void CommonTree<ImplTraits>::replaceChildren(ANTLR_INT32 startChildIndex, ANTLR_INT32 stopChildInde… argument
205 replacingHowMany = stopChildIndex - startChildIndex + 1;
219 for (i = startChildIndex; i <= stopChildIndex; i++)
238 parent_children[ startChildIndex + j ] = newChildren->at(j);
243 indexToDelete = startChildIndex + numNewChildren;
250 this->freshenPACIndexes(startChildIndex);
262 parent_children[ startChildIndex + j ] = newChildren->at(j);
272 this->freshenPACIndexes(startChildIndex);
/external/antlr/runtime/ObjC/Framework/
DBaseTree.m256 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t
259 System.out.println("replaceChildren "+startChildIndex+", "+stopChildIndex+
266 int replacingHowMany = stopChildIndex - startChildIndex + 1;
284 for (int i=startChildIndex; i <= stopChildIndex; i++) {
295 … [children replaceObjectAtIndex:startChildIndex+j withObject:[newChildren objectAtIndex:j]];
297 int indexToDelete = startChildIndex+numNewChildren;
302 [self freshenParentAndChildIndexes:startChildIndex];
307 … [children replaceObjectAtIndex:startChildIndex+j withObject:[newChildren objectAtIndex:j]];
311 [children insertObject:[newChildren objectAtIndex:j] atIndex:startChildIndex+j];
313 [self freshenParentAndChildIndexes:startChildIndex];
DBaseTree.h57 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
133 - (void) replaceChildrenFrom:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex With:(id) t;
/external/antlr/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/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/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeNodeStream.java166 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() argument
167 input.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
DITreeNodeStream`1.cs138 void ReplaceChildren(T parent, int startChildIndex, int stopChildIndex, T t); in ReplaceChildren() argument

123