Lines Matching refs:AddChild
67 r0.AddChild(new CommonTree(new CommonToken(102))); in test4Nodes()
68 r0.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in test4Nodes()
69 r0.AddChild(new CommonTree(new CommonToken(104))); in test4Nodes()
81 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testList()
82 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testList()
83 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testList()
105 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testList2()
106 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testList2()
107 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testList2()
109 root.AddChild(r0); in testList2()
128 root.AddChild(new CommonTree(new CommonToken(6))); in testAddListToExistChildren()
133 r0.AddChild(c0 = new CommonTree(new CommonToken(101))); in testAddListToExistChildren()
134 r0.AddChild(c1 = new CommonTree(new CommonToken(102))); in testAddListToExistChildren()
135 r0.AddChild(c2 = new CommonTree(new CommonToken(103))); in testAddListToExistChildren()
137 root.AddChild(r0); in testAddListToExistChildren()
156 r0.AddChild(r1); in testDupTree()
157 r1.AddChild(new CommonTree(new CommonToken(103))); in testDupTree()
159 r2.AddChild(new CommonTree(new CommonToken(107))); in testDupTree()
160 r1.AddChild(r2); in testDupTree()
161 r0.AddChild(new CommonTree(new CommonToken(104))); in testDupTree()
162 r0.AddChild(new CommonTree(new CommonToken(105))); in testDupTree()
178 oldRoot.AddChild(new CommonTree(new CommonToken(101))); in testBecomeRoot()
179 oldRoot.AddChild(new CommonTree(new CommonToken(102))); in testBecomeRoot()
180 oldRoot.AddChild(new CommonTree(new CommonToken(103))); in testBecomeRoot()
194 oldRoot.AddChild(new CommonTree(new CommonToken(102))); in testBecomeRoot2()
195 oldRoot.AddChild(new CommonTree(new CommonToken(103))); in testBecomeRoot2()
207 newRoot.AddChild(new CommonTree(new CommonToken(5))); in testBecomeRoot3()
210 oldRoot.AddChild(new CommonTree(new CommonToken(101))); in testBecomeRoot3()
211 oldRoot.AddChild(new CommonTree(new CommonToken(102))); in testBecomeRoot3()
212 oldRoot.AddChild(new CommonTree(new CommonToken(103))); in testBecomeRoot3()
224 newRoot.AddChild(new CommonTree(new CommonToken(5))); in testBecomeRoot5()
227 oldRoot.AddChild(new CommonTree(new CommonToken(102))); in testBecomeRoot5()
228 oldRoot.AddChild(new CommonTree(new CommonToken(103))); in testBecomeRoot5()
244 adaptor.AddChild(root_1, new CommonTree(new CommonToken(6))); in testBecomeRoot6()
246 adaptor.AddChild(root_0, root_1); in testBecomeRoot6()
276 t.AddChild(c0); in testReplaceWithOneChildren()
289 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceInMiddle()
290 t.AddChild(new CommonTree(new CommonToken(99, "c"))); // index 1 in testReplaceInMiddle()
291 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceInMiddle()
304 t.AddChild(new CommonTree(new CommonToken(99, "b"))); // index 0 in testReplaceAtLeft()
305 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceAtLeft()
306 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceAtLeft()
319 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceAtRight()
320 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceAtRight()
321 t.AddChild(new CommonTree(new CommonToken(99, "d"))); // index 2 in testReplaceAtRight()
335 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceOneWithTwoAtLeft()
336 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceOneWithTwoAtLeft()
337 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceOneWithTwoAtLeft()
340 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoAtLeft()
341 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoAtLeft()
354 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceOneWithTwoAtRight()
355 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceOneWithTwoAtRight()
356 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceOneWithTwoAtRight()
359 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoAtRight()
360 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoAtRight()
373 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceOneWithTwoInMiddle()
374 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceOneWithTwoInMiddle()
375 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceOneWithTwoInMiddle()
378 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoInMiddle()
379 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoInMiddle()
391 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceTwoWithOneAtLeft()
392 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceTwoWithOneAtLeft()
393 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceTwoWithOneAtLeft()
407 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceTwoWithOneAtRight()
408 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceTwoWithOneAtRight()
409 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceTwoWithOneAtRight()
423 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceAllWithOne()
424 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceAllWithOne()
425 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceAllWithOne()
440 t.AddChild(new CommonTree(new CommonToken(99, "b"))); in testReplaceAllWithTwo()
441 t.AddChild(new CommonTree(new CommonToken(99, "c"))); in testReplaceAllWithTwo()
442 t.AddChild(new CommonTree(new CommonToken(99, "d"))); in testReplaceAllWithTwo()
445 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceAllWithTwo()
446 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceAllWithTwo()