Lines Matching refs:CommonTree
45 using CommonTree = Antlr.Runtime.Tree.CommonTree; typedef
59 ITree t = new CommonTree(new CommonToken(101)); in testSingleNode()
77 ITree t = new CommonTree(new CommonToken(101)); in test4Nodes()
78 t.AddChild(new CommonTree(new CommonToken(102))); in test4Nodes()
79 t.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in test4Nodes()
80 t.AddChild(new CommonTree(new CommonToken(104))); in test4Nodes()
95 ITree root = new CommonTree((IToken)null); in testList()
97 ITree t = new CommonTree(new CommonToken(101)); in testList()
98 t.AddChild(new CommonTree(new CommonToken(102))); in testList()
99 t.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in testList()
100 t.AddChild(new CommonTree(new CommonToken(104))); in testList()
102 ITree u = new CommonTree(new CommonToken(105)); in testList()
120 ITree root = new CommonTree((IToken)null); in testFlatList()
122 root.AddChild(new CommonTree(new CommonToken(101))); in testFlatList()
123 root.AddChild(new CommonTree(new CommonToken(102))); in testFlatList()
124 root.AddChild(new CommonTree(new CommonToken(103))); in testFlatList()
139 ITree root = new CommonTree((IToken)null); in testListWithOneNode()
141 root.AddChild(new CommonTree(new CommonToken(101))); in testListWithOneNode()
156 ITree t = new CommonTree(new CommonToken(101)); in testAoverB()
157 t.AddChild(new CommonTree(new CommonToken(102))); in testAoverB()
173 ITree t = new CommonTree(new CommonToken(101)); in testLT()
174 t.AddChild(new CommonTree(new CommonToken(102))); in testLT()
175 t.GetChild(0).AddChild(new CommonTree(new CommonToken(103))); in testLT()
176 t.AddChild(new CommonTree(new CommonToken(104))); in testLT()
198 ITree r0 = new CommonTree(new CommonToken(101)); in testMarkRewindEntire()
199 ITree r1 = new CommonTree(new CommonToken(102)); in testMarkRewindEntire()
201 r1.AddChild(new CommonTree(new CommonToken(103))); in testMarkRewindEntire()
202 ITree r2 = new CommonTree(new CommonToken(106)); in testMarkRewindEntire()
203 r2.AddChild(new CommonTree(new CommonToken(107))); in testMarkRewindEntire()
205 r0.AddChild(new CommonTree(new CommonToken(104))); in testMarkRewindEntire()
206 r0.AddChild(new CommonTree(new CommonToken(105))); in testMarkRewindEntire()
235 ITree r0 = new CommonTree(new CommonToken(101)); in testMarkRewindInMiddle()
236 ITree r1 = new CommonTree(new CommonToken(102)); in testMarkRewindInMiddle()
238 r1.AddChild(new CommonTree(new CommonToken(103))); in testMarkRewindInMiddle()
239 ITree r2 = new CommonTree(new CommonToken(106)); in testMarkRewindInMiddle()
240 r2.AddChild(new CommonTree(new CommonToken(107))); in testMarkRewindInMiddle()
242 r0.AddChild(new CommonTree(new CommonToken(104))); in testMarkRewindInMiddle()
243 r0.AddChild(new CommonTree(new CommonToken(105))); in testMarkRewindInMiddle()
282 ITree r0 = new CommonTree(new CommonToken(101)); in testMarkRewindNested()
283 ITree r1 = new CommonTree(new CommonToken(102)); in testMarkRewindNested()
285 r1.AddChild(new CommonTree(new CommonToken(103))); in testMarkRewindNested()
286 ITree r2 = new CommonTree(new CommonToken(106)); in testMarkRewindNested()
287 r2.AddChild(new CommonTree(new CommonToken(107))); in testMarkRewindNested()
289 r0.AddChild(new CommonTree(new CommonToken(104))); in testMarkRewindNested()
290 r0.AddChild(new CommonTree(new CommonToken(105))); in testMarkRewindNested()
323 ITree r0 = new CommonTree(new CommonToken(101)); in testSeek()
324 ITree r1 = new CommonTree(new CommonToken(102)); in testSeek()
326 r1.AddChild(new CommonTree(new CommonToken(103))); in testSeek()
327 ITree r2 = new CommonTree(new CommonToken(106)); in testSeek()
328 r2.AddChild(new CommonTree(new CommonToken(107))); in testSeek()
330 r0.AddChild(new CommonTree(new CommonToken(104))); in testSeek()
331 r0.AddChild(new CommonTree(new CommonToken(105))); in testSeek()
351 ITree r0 = new CommonTree(new CommonToken(101)); in testSeekFromStart()
352 ITree r1 = new CommonTree(new CommonToken(102)); in testSeekFromStart()
354 r1.AddChild(new CommonTree(new CommonToken(103))); in testSeekFromStart()
355 ITree r2 = new CommonTree(new CommonToken(106)); in testSeekFromStart()
356 r2.AddChild(new CommonTree(new CommonToken(107))); in testSeekFromStart()
358 r0.AddChild(new CommonTree(new CommonToken(104))); in testSeekFromStart()
359 r0.AddChild(new CommonTree(new CommonToken(105))); in testSeekFromStart()
376 ITree r0 = new CommonTree(new CommonToken(101)); in testPushPop()
377 ITree r1 = new CommonTree(new CommonToken(102)); in testPushPop()
378 r1.AddChild(new CommonTree(new CommonToken(103))); in testPushPop()
380 ITree r2 = new CommonTree(new CommonToken(104)); in testPushPop()
381 r2.AddChild(new CommonTree(new CommonToken(105))); in testPushPop()
383 ITree r3 = new CommonTree(new CommonToken(106)); in testPushPop()
384 r3.AddChild(new CommonTree(new CommonToken(107))); in testPushPop()
386 r0.AddChild(new CommonTree(new CommonToken(108))); in testPushPop()
387 r0.AddChild(new CommonTree(new CommonToken(109))); in testPushPop()
423 ITree r0 = new CommonTree(new CommonToken(101)); in testNestedPushPop()
424 ITree r1 = new CommonTree(new CommonToken(102)); in testNestedPushPop()
425 r1.AddChild(new CommonTree(new CommonToken(103))); in testNestedPushPop()
427 ITree r2 = new CommonTree(new CommonToken(104)); in testNestedPushPop()
428 r2.AddChild(new CommonTree(new CommonToken(105))); in testNestedPushPop()
430 ITree r3 = new CommonTree(new CommonToken(106)); in testNestedPushPop()
431 r3.AddChild(new CommonTree(new CommonToken(107))); in testNestedPushPop()
433 r0.AddChild(new CommonTree(new CommonToken(108))); in testNestedPushPop()
434 r0.AddChild(new CommonTree(new CommonToken(109))); in testNestedPushPop()
482 ITree r0 = new CommonTree(new CommonToken(101)); in testPushPopFromEOF()
483 ITree r1 = new CommonTree(new CommonToken(102)); in testPushPopFromEOF()
484 r1.AddChild(new CommonTree(new CommonToken(103))); in testPushPopFromEOF()
486 ITree r2 = new CommonTree(new CommonToken(104)); in testPushPopFromEOF()
487 r2.AddChild(new CommonTree(new CommonToken(105))); in testPushPopFromEOF()
489 ITree r3 = new CommonTree(new CommonToken(106)); in testPushPopFromEOF()
490 r3.AddChild(new CommonTree(new CommonToken(107))); in testPushPopFromEOF()
492 r0.AddChild(new CommonTree(new CommonToken(108))); in testPushPopFromEOF()
493 r0.AddChild(new CommonTree(new CommonToken(109))); in testPushPopFromEOF()
536 ITree r0 = new CommonTree(new CommonToken(101)); in testStackStretch()
558 ITree t = new CommonTree(new CommonToken(101)); in testBufferOverflow()
565 t.AddChild(new CommonTree(new CommonToken(102 + i))); in testBufferOverflow()
601 ITree t = new CommonTree((IToken)null); in testBufferWrap()
604 t.AddChild(new CommonTree(new CommonToken(i + 1))); in testBufferWrap()