• Home
  • Raw
  • Download

Lines Matching refs:r

40         r = self.parse("1 + 2", 'r1')
42 r.tree.toStringTree(),
48 r = self.parse("assert 2+3;", 'r2')
50 r.tree.toStringTree(),
56 r = self.parse("assert 2+3 : 5;", 'r2')
58 r.tree.toStringTree(),
64 r = self.parse("if 1 fooze", 'r3')
66 r.tree.toStringTree(),
72 r = self.parse("if 1 fooze else fooze", 'r3')
74 r.tree.toStringTree(),
80 r = self.parse("while 2 fooze", 'r4')
82 r.tree.toStringTree(),
88 r = self.parse("return;", 'r5')
90 r.tree.toStringTree(),
96 r = self.parse("return 2+3;", 'r5')
98 r.tree.toStringTree(),
104 r = self.parse("3", 'r6')
106 r.tree.toStringTree(),
112 r = self.parse("3 a", 'r6')
114 r.tree.toStringTree(),
120 r = self.parse("3", 'r7')
122 r.tree is None
127 r = self.parse("var foo:bool", 'r8')
129 r.tree.toStringTree(),
135 r = self.parse("int foo;", 'r9')
137 r.tree.toStringTree(),
143 r = self.parse("10", 'r10')
145 r.tree.toStringTree(),
151 r = self.parse("1+2", 'r11')
153 r.tree.toStringTree(),
159 r = self.parse("", 'r11')
161 r.tree.toStringTree(),
167 r = self.parse("foo", 'r12')
169 r.tree.toStringTree(),
175 r = self.parse("foo, bar, gnurz", 'r12')
177 r.tree.toStringTree(),
183 r = self.parse("int foo;", 'r13')
185 r.tree.toStringTree(),
191 r = self.parse("bool foo, bar, gnurz;", 'r13')
193 r.tree.toStringTree(),
199 r = self.parse("1+2 int", 'r14')
201 r.tree.toStringTree(),
207 r = self.parse("1+2 int bool", 'r14')
209 r.tree.toStringTree(),
215 r = self.parse("int bool", 'r14')
217 r.tree.toStringTree(),
223 r = self.parse("fooze fooze int bool", 'r14')
225 r.tree.toStringTree(),
231 r = self.parse("7+9 fooze fooze int bool", 'r14')
233 r.tree.toStringTree(),
239 r = self.parse("7", 'r15')
241 r.tree.toStringTree(),
247 r = self.parse("int foo", 'r16')
249 r.tree.toStringTree(),
255 r = self.parse("int foo, bar, gnurz", 'r16')
258 r.tree.toStringTree(),
264 r = self.parse("for ( fooze ; 1 + 2 ; fooze ) fooze", 'r17')
266 r.tree.toStringTree(),
272 r = self.parse("for", 'r18')
274 r.tree.toStringTree(),
280 r = self.parse("for", 'r19')
282 r.tree.toStringTree(),
288 r = self.parse("for", 'r20')
290 r.tree.toStringTree(),
296 r = self.parse("for", 'r21')
298 r.tree.toStringTree(),
304 r = self.parse("for", 'r22')
306 r.tree.toStringTree(),
312 r = self.parse("for", 'r23')
314 r.tree.toStringTree(),
320 r = self.parse("fooze 1 + 2", 'r24')
322 r.tree.toStringTree(),
328 r = self.parse("fooze, fooze2 1 + 2", 'r25')
330 r.tree.toStringTree(),
336 r = self.parse("fooze, fooze2", 'r26')
338 r.tree.toStringTree(),
344 r = self.parse("fooze 1 + 2", 'r27')
346 r.tree.toStringTree(),
352 r = self.parse("foo28a", 'r28')
354 r.tree is None
360 r = self.parse("", 'r29')
376 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=0)
378 r.tree.toStringTree(),
384 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=1)
386 r.tree.toStringTree(),
392 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=2)
394 r.tree.toStringTree(),
400 r = self.parse("gnurz 32", 'r32', [1], flag=2)
402 r.tree.toStringTree(),
408 r = self.parse("gnurz 32", 'r32', [2], flag=2)
410 r.tree.toStringTree(),
416 r = self.parse("gnurz 32", 'r32', [3], flag=2)
418 r.tree is None
423 r = self.parse("public private fooze", 'r33')
425 r.tree.toStringTree(),
431 r = self.parse("public class gnurz { fooze fooze2 }", 'r34')
433 r.tree.toStringTree(),
439r = self.parse("public class gnurz extends bool implements int, bool { fooze fooze2 }", 'r34')
441 r.tree.toStringTree(),
448 r = self.parse("{ extends }", 'r35')
456 r = self.parse("if ( 1 + 2 ) fooze", 'r36')
458 r.tree.toStringTree(),
464 r = self.parse("if ( 1 + 2 ) fooze else fooze2", 'r36')
466 r.tree.toStringTree(),
472 r = self.parse("1 + 2 + 3", 'r37')
474 r.tree.toStringTree(),
480 r = self.parse("1 + 2 + 3", 'r38')
482 r.tree.toStringTree(),
488 r = self.parse("gnurz[1]", 'r39')
490 r.tree.toStringTree(),
496 r = self.parse("gnurz(2)", 'r39')
498 r.tree.toStringTree(),
504 r = self.parse("gnurz.gnarz", 'r39')
506 r.tree.toStringTree(),
512 r = self.parse("gnurz.gnarz.gnorz", 'r39')
514 r.tree.toStringTree(),
520 r = self.parse("1 + 2 + 3;", 'r40')
522 r.tree.toStringTree(),
528 r = self.parse("1 + 2 + 3;", 'r41')
530 r.tree.toStringTree(),
536 r = self.parse("gnurz, gnarz, gnorz", 'r42')
538 r.tree.toStringTree(),
544 r = self.parse("gnurz, gnarz, gnorz", 'r43')
546 r.tree is None
549 r.res,
555 r = self.parse("gnurz, gnarz, gnorz", 'r44')
557 r.tree.toStringTree(),
563 r = self.parse("gnurz", 'r45')
565 r.tree.toStringTree(),
571 r = self.parse("gnurz, gnarz, gnorz", 'r46')
573 r.tree is None
576 r.res,
582 r = self.parse("gnurz, gnarz, gnorz", 'r47')
584 r.tree.toStringTree(),
590 r = self.parse("gnurz, gnarz, gnorz", 'r48')
592 r.tree.toStringTree(),
598 r = self.parse("gnurz gnorz", 'r49')
600 r.tree.toStringTree(),
606 r = self.parse("gnurz", 'r50')
608 r.tree.toStringTree(),
614 r = self.parse("gnurza gnurzb gnurzc", 'r51')
616 r.res.toStringTree(),
622 r = self.parse("gnurz", 'r52')
624 r.res.toStringTree(),
630 r = self.parse("gnurz", 'r53')
632 r.res.toStringTree(),
638 r = self.parse("gnurza 1 + 2 gnurzb", 'r54')
640 r.tree.toStringTree(),
646 r = self.parse("public private 1 + 2", 'r55')
648 r.tree.toStringTree(),
654 r = self.parse("public fooze", 'r55')
656 r.tree.toStringTree(),
662 r = self.parse("a b c d", 'r56')
664 r.tree.toStringTree(),
670 r = self.parse("a b c d", 'r57')
672 r.tree.toStringTree(),
678 r = self.parse("a b c fooze", 'r59')
680 r.tree.toStringTree(),