Lines Matching refs:newChildren
339 CommonTree newChildren = (CommonTree)adaptor.Nil(); in testReplaceOneWithTwoAtLeft()
340 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoAtLeft()
341 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoAtLeft()
343 t.ReplaceChildren(0, 0, newChildren); in testReplaceOneWithTwoAtLeft()
358 CommonTree newChildren = (CommonTree)adaptor.Nil(); in testReplaceOneWithTwoAtRight()
359 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoAtRight()
360 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoAtRight()
362 t.ReplaceChildren(2, 2, newChildren); in testReplaceOneWithTwoAtRight()
377 CommonTree newChildren = (CommonTree)adaptor.Nil(); in testReplaceOneWithTwoInMiddle()
378 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceOneWithTwoInMiddle()
379 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceOneWithTwoInMiddle()
381 t.ReplaceChildren(1, 1, newChildren); in testReplaceOneWithTwoInMiddle()
444 CommonTree newChildren = (CommonTree)adaptor.Nil(); in testReplaceAllWithTwo()
445 newChildren.AddChild(new CommonTree(new CommonToken(99, "x"))); in testReplaceAllWithTwo()
446 newChildren.AddChild(new CommonTree(new CommonToken(99, "y"))); in testReplaceAllWithTwo()
448 t.ReplaceChildren(0, 2, newChildren); in testReplaceAllWithTwo()