Home
last modified time | relevance | path

Searched refs:replaceChildren (Results 1 – 25 of 57) sorted by relevance

123

/external/antlr/tool/src/test/java/org/antlr/test/
DTestTrees.java245 t.replaceChildren(0, 0, newChild); in testReplaceWithNoChildren()
255 t.replaceChildren(0, 0, newChild); in testReplaceWithOneChildren()
268 t.replaceChildren(1, 1, newChild); in testReplaceInMiddle()
281 t.replaceChildren(0, 0, newChild); in testReplaceAtLeft()
294 t.replaceChildren(2, 2, newChild); in testReplaceAtRight()
310 t.replaceChildren(0, 0, newChildren); in testReplaceOneWithTwoAtLeft()
326 t.replaceChildren(2, 2, newChildren); in testReplaceOneWithTwoAtRight()
342 t.replaceChildren(1, 1, newChildren); in testReplaceOneWithTwoInMiddle()
356 t.replaceChildren(0, 1, newChild); in testReplaceTwoWithOneAtLeft()
370 t.replaceChildren(1, 2, newChild); in testReplaceTwoWithOneAtRight()
[all …]
/external/antlr/runtime/C/src/
Dantlr3commontreeadaptor.c56 static void replaceChildren (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANT…
142 …cta->baseAdaptor.replaceChildren = (void (*) (pANTLR3_BASE_TREE_ADAPTOR, void *, ANTLR3_INT32,… in ANTLR3_TREE_ADAPTORNew()
143 replaceChildren; in ANTLR3_TREE_ADAPTORNew()
444 replaceChildren in replaceChildren() function
449 parent->replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
Dantlr3basetree.c46 static void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_IN…
71 tree->replaceChildren = replaceChildren; in antlr3BaseTreeNew()
343 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildInd… in replaceChildren() function
Dantlr3commontreenodestream.c62 static void replaceChildren (pANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE parent, ANTLR3…
103 stream->replaceChildren = replaceChildren; in antlr3TreeNodeStreamNew()
928 replaceChildren (pANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChild… in replaceChildren() function
938 adaptor->replaceChildren(adaptor, parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.js166 replaceChildren: function(parent, startChildIndex, stopChildIndex, t) { method
168 parent.replaceChildren(startChildIndex, stopChildIndex, t);
DCommonTreeNodeStream.js305 replaceChildren: function(parent, startChildIndex, stopChildIndex, t) { method
307 this.adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t);
/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() method in DebugTreeNodeStream
167 input.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
DDebugTreeAdaptor.java264 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() method in DebugTreeAdaptor
265 adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTreeAdaptor.java180 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() method in CommonTreeAdaptor
182 ((Tree)parent).replaceChildren(startChildIndex, stopChildIndex, t); in replaceChildren()
DCommonTreeNodeStream.java218 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() method in CommonTreeNodeStream
220 adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
DTreeNodeStream.java112 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t); in replaceChildren() method
DTree.java91 public void replaceChildren(int startChildIndex, int stopChildIndex, Object t); in replaceChildren() method
DBufferedTreeNodeStream.java405 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t) { in replaceChildren() method in BufferedTreeNodeStream
407 adaptor.replaceChildren(parent, startChildIndex, stopChildIndex, t); in replaceChildren()
DTreeAdaptor.java262 public void replaceChildren(Object parent, int startChildIndex, int stopChildIndex, Object t); in replaceChildren() method
/external/antlr/runtime/Python/unittests/
Dtesttree.py740 t.replaceChildren(0, 0, newChild)
755 t.replaceChildren(0, 0, newChild)
768 t.replaceChildren(1, 1, newChild)
781 t.replaceChildren(0, 0, newChild)
794 t.replaceChildren(2, 2, newChild)
810 t.replaceChildren(0, 0, newChildren)
826 t.replaceChildren(2, 2, newChildren)
842 t.replaceChildren(1, 1, newChildren)
856 t.replaceChildren(0, 1, newChild)
870 t.replaceChildren(1, 2, newChild)
[all …]
/external/antlr/runtime/Python3/unittests/
Dtesttree.py736 self.assertRaises(IndexError, t.replaceChildren, 0, 0, newChild)
746 t.replaceChildren(0, 0, newChild)
759 t.replaceChildren(1, 1, newChild)
772 t.replaceChildren(0, 0, newChild)
785 t.replaceChildren(2, 2, newChild)
801 t.replaceChildren(0, 0, newChildren)
817 t.replaceChildren(2, 2, newChildren)
833 t.replaceChildren(1, 1, newChildren)
847 t.replaceChildren(0, 1, newChild)
861 t.replaceChildren(1, 2, newChild)
[all …]
/external/antlr/runtime/ObjC/Framework/
DTreeNodeStream.h100 - (void) replaceChildren:(id)parent From:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex Wi…
DCommonTreeAdaptor.h62 - (void)replaceChildren:(CommonTree *)parent From:(NSInteger)startChildIndex To:(NSInteger)stopChil…
DCommonTreeNodeStream.h110 - (void) replaceChildren:(id)parent From:(NSInteger)startChildIndex To:(NSInteger)stopChildIndex Wi…
/external/antlr/runtime/Python3/antlr3/
Dtree.py189 def replaceChildren(self, startChildIndex, stopChildIndex, t): member in Tree
583 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in TreeAdaptor
789 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): member in BaseTree
1607 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in CommonTreeAdaptor
1609 parent.replaceChildren(startChildIndex, stopChildIndex, t)
1727 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in TreeNodeStream
2074 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in CommonTreeNodeStream
2076 self.adaptor.replaceChildren(
/external/antlr/runtime/Python/antlr3/
Dtree.py189 def replaceChildren(self, startChildIndex, stopChildIndex, t): member in Tree
583 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in TreeAdaptor
793 def replaceChildren(self, startChildIndex, stopChildIndex, newTree): member in BaseTree
1616 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in CommonTreeAdaptor
1618 parent.replaceChildren(startChildIndex, stopChildIndex, t)
1736 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in TreeNodeStream
2087 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t): member in CommonTreeNodeStream
2089 self.adaptor.replaceChildren(
/external/antlr/runtime/Cpp/include/
Dantlr3commontree.hpp112 void replaceChildren(ANTLR_INT32 startChildIndex, ANTLR_INT32 stopChildIndex, TreeType* t);
Dantlr3commontreenodestream.hpp257 void replaceChildren(TreeType* parent, ANTLR_INT32 startChildIndex,
/external/antlr/runtime/C/include/
Dantlr3basetree.h91 …void (*replaceChildren) (struct ANTLR3_BASE_TREE_struct * parent, ANTLR3_INT32 startChildIndex… member
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.as164 …public override function replaceChildren(parent:Object, startChildIndex:int, stopChildIndex:int, t…
166 Tree(parent).replaceChildren(startChildIndex, stopChildIndex, t);

123