Lines Matching refs:newRoot
175 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot()
183 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot()
184 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot()
191 CommonTree newRoot = new CommonTree(new CommonToken(5)); in testBecomeRoot2()
198 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot2()
199 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot2()
206 CommonTree newRoot = new CommonTree((IToken)null); in testBecomeRoot3()
207 newRoot.AddChild(new CommonTree(new CommonToken(5))); in testBecomeRoot3()
215 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot3()
216 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot3()
223 CommonTree newRoot = new CommonTree((IToken)null); in testBecomeRoot5()
224 newRoot.AddChild(new CommonTree(new CommonToken(5))); in testBecomeRoot5()
231 adaptor.BecomeRoot(newRoot, oldRoot); in testBecomeRoot5()
232 newRoot.SanityCheckParentAndChildIndexes(); in testBecomeRoot5()