• Home
  • Raw
  • Download

Lines Matching refs:parse

25     def parse(self, text, method, rArgs=[], **kwargs):  member in t042ast
40 r = self.parse("1 + 2", 'r1')
48 r = self.parse("assert 2+3;", 'r2')
56 r = self.parse("assert 2+3 : 5;", 'r2')
64 r = self.parse("if 1 fooze", 'r3')
72 r = self.parse("if 1 fooze else fooze", 'r3')
80 r = self.parse("while 2 fooze", 'r4')
88 r = self.parse("return;", 'r5')
96 r = self.parse("return 2+3;", 'r5')
104 r = self.parse("3", 'r6')
112 r = self.parse("3 a", 'r6')
120 r = self.parse("3", 'r7')
127 r = self.parse("var foo:bool", 'r8')
135 r = self.parse("int foo;", 'r9')
143 r = self.parse("10", 'r10')
151 r = self.parse("1+2", 'r11')
159 r = self.parse("", 'r11')
167 r = self.parse("foo", 'r12')
175 r = self.parse("foo, bar, gnurz", 'r12')
183 r = self.parse("int foo;", 'r13')
191 r = self.parse("bool foo, bar, gnurz;", 'r13')
199 r = self.parse("1+2 int", 'r14')
207 r = self.parse("1+2 int bool", 'r14')
215 r = self.parse("int bool", 'r14')
223 r = self.parse("fooze fooze int bool", 'r14')
231 r = self.parse("7+9 fooze fooze int bool", 'r14')
239 r = self.parse("7", 'r15')
247 r = self.parse("int foo", 'r16')
255 r = self.parse("int foo, bar, gnurz", 'r16')
264 r = self.parse("for ( fooze ; 1 + 2 ; fooze ) fooze", 'r17')
272 r = self.parse("for", 'r18')
280 r = self.parse("for", 'r19')
288 r = self.parse("for", 'r20')
296 r = self.parse("for", 'r21')
304 r = self.parse("for", 'r22')
312 r = self.parse("for", 'r23')
320 r = self.parse("fooze 1 + 2", 'r24')
328 r = self.parse("fooze, fooze2 1 + 2", 'r25')
336 r = self.parse("fooze, fooze2", 'r26')
344 r = self.parse("fooze 1 + 2", 'r27')
352 r = self.parse("foo28a", 'r28')
360 r = self.parse("", 'r29')
376 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=0)
384 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=1)
392 r = self.parse("public int gnurz = 1 + 2;", 'r31', flag=2)
400 r = self.parse("gnurz 32", 'r32', [1], flag=2)
408 r = self.parse("gnurz 32", 'r32', [2], flag=2)
416 r = self.parse("gnurz 32", 'r32', [3], flag=2)
423 r = self.parse("public private fooze", 'r33')
431 r = self.parse("public class gnurz { fooze fooze2 }", 'r34')
439 … r = self.parse("public class gnurz extends bool implements int, bool { fooze fooze2 }", 'r34')
448 r = self.parse("{ extends }", 'r35')
456 r = self.parse("if ( 1 + 2 ) fooze", 'r36')
464 r = self.parse("if ( 1 + 2 ) fooze else fooze2", 'r36')
472 r = self.parse("1 + 2 + 3", 'r37')
480 r = self.parse("1 + 2 + 3", 'r38')
488 r = self.parse("gnurz[1]", 'r39')
496 r = self.parse("gnurz(2)", 'r39')
504 r = self.parse("gnurz.gnarz", 'r39')
512 r = self.parse("gnurz.gnarz.gnorz", 'r39')
520 r = self.parse("1 + 2 + 3;", 'r40')
528 r = self.parse("1 + 2 + 3;", 'r41')
536 r = self.parse("gnurz, gnarz, gnorz", 'r42')
544 r = self.parse("gnurz, gnarz, gnorz", 'r43')
555 r = self.parse("gnurz, gnarz, gnorz", 'r44')
563 r = self.parse("gnurz", 'r45')
571 r = self.parse("gnurz, gnarz, gnorz", 'r46')
582 r = self.parse("gnurz, gnarz, gnorz", 'r47')
590 r = self.parse("gnurz, gnarz, gnorz", 'r48')
598 r = self.parse("gnurz gnorz", 'r49')
606 r = self.parse("gnurz", 'r50')
614 r = self.parse("gnurza gnurzb gnurzc", 'r51')
622 r = self.parse("gnurz", 'r52')
630 r = self.parse("gnurz", 'r53')
638 r = self.parse("gnurza 1 + 2 gnurzb", 'r54')
646 r = self.parse("public private 1 + 2", 'r55')
654 r = self.parse("public fooze", 'r55')
662 r = self.parse("a b c d", 'r56')
670 r = self.parse("a b c d", 'r57')
678 r = self.parse("a b c fooze", 'r59')