Lines Matching refs:newChild
257 CommonTree newChild = new CommonTree(new CommonToken(5)); in testReplaceWithNoChildren()
261 t.ReplaceChildren(0, 0, newChild); in testReplaceWithNoChildren()
278 CommonTree newChild = new CommonTree(new CommonToken(99, "c")); in testReplaceWithOneChildren()
279 t.ReplaceChildren(0, 0, newChild); in testReplaceWithOneChildren()
293 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceInMiddle()
294 t.ReplaceChildren(1, 1, newChild); in testReplaceInMiddle()
308 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtLeft()
309 t.ReplaceChildren(0, 0, newChild); in testReplaceAtLeft()
323 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtRight()
324 t.ReplaceChildren(2, 2, newChild); in testReplaceAtRight()
395 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceTwoWithOneAtLeft()
397 t.ReplaceChildren(0, 1, newChild); in testReplaceTwoWithOneAtLeft()
411 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceTwoWithOneAtRight()
413 t.ReplaceChildren(1, 2, newChild); in testReplaceTwoWithOneAtRight()
427 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAllWithOne()
429 t.ReplaceChildren(0, 2, newChild); in testReplaceAllWithOne()