Home | History | Annotate | Download | only in Antlr3.Runtime.Tests

Lines Matching refs:NewRoot

253   OldRoot, NewRoot: ICommonTree;
257 NewRoot := TCommonTree.Create(TCommonToken.Create(5));
263 Adaptor.BecomeRoot(NewRoot, OldRoot);
264 NewRoot.SanityCheckParentAndChildIndexes;
269 OldRoot, NewRoot: ICommonTree;
273 NewRoot := TCommonTree.Create(TCommonToken.Create(5));
278 Adaptor.BecomeRoot(NewRoot, OldRoot);
279 NewRoot.SanityCheckParentAndChildIndexes;
284 OldRoot, NewRoot: ICommonTree;
288 NewRoot := TCommonTree.Create(IToken(nil));
289 NewRoot.AddChild(TCommonTree.Create(TCommonToken.Create(5)));
295 Adaptor.BecomeRoot(NewRoot, OldRoot);
296 NewRoot.SanityCheckParentAndChildIndexes;
301 OldRoot, NewRoot: ICommonTree;
305 NewRoot := TCommonTree.Create(IToken(nil));
306 NewRoot.AddChild(TCommonTree.Create(TCommonToken.Create(5)));
311 Adaptor.BecomeRoot(NewRoot, OldRoot);
312 NewRoot.SanityCheckParentAndChildIndexes;