Lines Matching full:tree
54 assertEquals(r.tree.toStringTree(), "(+ 1 2)");
59 assertEquals(r.tree.toStringTree(), "(assert (+ 2 3))");
64 assertEquals(r.tree.toStringTree(), "(assert (+ 2 3) 5)");
69 assertEquals(r.tree.toStringTree(), "(if 1 fooze)");
74 assertEquals(r.tree.toStringTree(), "(if 1 fooze fooze)");
79 assertEquals(r.tree.toStringTree(), "(while 2 fooze)");
84 assertEquals(r.tree.toStringTree(), "(while 2 fooze)");
89 assertEquals(r.tree.toStringTree(), "return");
94 assertEquals(r.tree.toStringTree(), "(return (+ 2 3))");
99 assertEquals(r.tree.toStringTree(), "3");
104 assertEquals(r.tree.toStringTree(), "3 a");
109 assertNull(r.tree);
114 assertEquals(r.tree.toStringTree(), "(var bool foo)");
119 assertEquals(r.tree.toStringTree(), "(VARDEF int foo)");
124 assertEquals(r.tree.toStringTree(), "10.0");
129 assertEquals(r.tree.toStringTree(), "(EXPR (+ 1 2))");
134 assertEquals(r.tree.toStringTree(), "EXPR");
139 assertEquals(r.tree.toStringTree(), "foo");
144 assertEquals(r.tree.toStringTree(), "foo bar gnurz");
149 assertEquals(r.tree.toStringTree(), "(int foo)");
154 assertEquals(r.tree.toStringTree(), "(bool foo bar gnurz)");
159 assertEquals(r.tree.toStringTree(), "(EXPR (+ 1 2) int)");
164 assertEquals(r.tree.toStringTree(), "(EXPR (+ 1 2) int bool)");
169 assertEquals(r.tree.toStringTree(), "(EXPR int bool)");
174 assertEquals(r.tree.toStringTree(), "(EXPR fooze fooze int bool)");
179 assertEquals(r.tree.toStringTree(), "(EXPR (+ 7 9) fooze fooze int bool)");
184 assertEquals(r.tree.toStringTree(), "7 7");
189 assertEquals(r.tree.toStringTree(), "(int foo)");
194 assertEquals(r.tree.toStringTree(), "(int foo) (int bar) (int gnurz)");
199 assertEquals(r.tree.toStringTree(), "(for fooze (+ 1 2) fooze fooze)");
204 assertEquals(r.tree.toStringTree(), "BLOCK");
209 assertEquals(r.tree.toStringTree(), "for");
214 assertEquals(r.tree.toStringTree(), "FOR");
219 assertEquals(r.tree.toStringTree(), "BLOCK");
224 assertEquals(r.tree.toStringTree(), "for");
229 assertEquals(r.tree.toStringTree(), "FOR");
234 assertEquals(r.tree.toStringTree(), "(fooze (+ 1 2))");
239 assertEquals(r.tree.toStringTree(), "(fooze (+ 1 2))");
244 assertEquals(r.tree.toStringTree(), "(BLOCK fooze fooze2)");
249 assertEquals(r.tree.toStringTree(), "(fooze (fooze (+ 1 2)))");
266 assertEquals(r.tree.toStringTree(), '(VARDEF gnurz public int (+ 1 2))');
271 assertEquals(r.tree.toStringTree(), '(VARIABLE gnurz public int (+ 1 2))');
276 assertEquals(r.tree.toStringTree(), '(FIELD gnurz public int (+ 1 2))');
281 assertEquals(r.tree.toStringTree(), 'gnurz');
286 assertEquals(r.tree.toStringTree(), '32');
291 assertNull(r.tree);
296 assertEquals(r.tree.toStringTree(), 'fooze');
301 assertEquals(r.tree.toStringTree(), "(class gnurz public fooze fooze2)");
306 assertEquals(r.tree.toStringTree(), "(class gnurz public (extends bool) (implements int bool) fooze fooze2)");
318 assertEquals(r.tree.toStringTree(), "(if (EXPR (+ 1 2)) fooze)");
323 assertEquals(r.tree.toStringTree(), "(if (EXPR (+ 1 2)) fooze fooze2)");
328 assertEquals(r.tree.toStringTree(), "(+ (+ 1 2) 3)");
333 assertEquals(r.tree.toStringTree(), "(+ (+ 1 2) 3)");
338 assertEquals(r.tree.toStringTree(), "(INDEX gnurz 1)");
343 assertEquals(r.tree.toStringTree(), "(CALL gnurz 2)");
348 assertEquals(r.tree.toStringTree(), "(FIELDACCESS gnurz gnurz)");
353 assertEquals(r.tree.toStringTree(), "(FIELDACCESS (FIELDACCESS gnurz gnarz) gnorz)");
358 assertEquals(r.tree.toStringTree(), "(+ 1 2 3)");
363 assertEquals(r.tree.toStringTree(), "(3 (2 1))");
368 assertEquals(r.tree.toStringTree(), "gnurz gnarz gnorz");
373 assertNull(r.tree);
379 assertEquals(r.tree.toStringTree(), "(gnorz (gnarz gnurz))");
384 assertEquals(r.tree.toStringTree(), "gnurz");
389 assertNull(r.tree);
395 assertEquals(r.tree.toStringTree(), "gnurz gnarz gnorz");
400 assertEquals(r.tree.toStringTree(), "gnurz gnarz gnorz");
405 assertEquals(r.tree.toStringTree(), "(gnurz gnorz)");
410 assertEquals(r.tree.toStringTree(), "(1.0 gnurz)");
430 assertEquals(r.tree.toStringTree(), "(+ 1 2)");
435 assertEquals(r.tree.toStringTree(), "public private (+ 1 2)");
440 assertEquals(r.tree.toStringTree(), "public fooze");
445 assertEquals(r.tree.toStringTree(), "foo");
450 assertEquals(r.tree.toStringTree(), "foo");
455 assertEquals(r.tree.toStringTree(), "(a fooze) (b fooze) (c fooze)");