From c183e2a9325f2316f82785be1e4806befbb4e93d Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 8 Apr 2015 21:39:22 +0700 Subject: [PATCH] tests: update nitlight and test_parser Signed-off-by: Jean Privat --- tests/sav/nitlight_args1.res | 58 +- tests/sav/test_parser.res | 1 + tests/sav/test_parser_args1.res | 1991 ++++++++++++++++++++------------------- tests/sav/test_parser_args2.res | 1486 +++++++++++++++-------------- 4 files changed, 1831 insertions(+), 1705 deletions(-) diff --git a/tests/sav/nitlight_args1.res b/tests/sav/nitlight_args1.res index 547af57..8b7dbb3 100644 --- a/tests/sav/nitlight_args1.res +++ b/tests/sav/nitlight_args1.res @@ -16,52 +16,52 @@ import end -interface Object +interface Object end -enum Bool +enum Bool end -enum Int +enum Int fun output is intern end -class A - init do 5.output - fun run do 6.output +class A + init do 5.output + fun run do 6.output end -class B - var val: Int - init(v: Int) +class B + var val: Int + init(v: Int) do - 7.output - self.val = v + 7.output + self.val = v end - fun run do val.output + fun run do val.output end -class C - var val1: Int - var val2: Int = 10 +class C + var val1: Int + var val2: Int = 10 end -fun foo do 2.output -fun bar(i: Int) do i.output -fun baz: Int do return 4 +fun foo do 2.output +fun bar(i: Int) do i.output +fun baz: Int do return 4 -1.output -foo -bar(3) -baz.output +1.output +foo +bar(3) +baz.output -var a = new A -a.run +var a = new A +a.run -var b = new B(8) -b.run +var b = new B(8) +b.run -var c = new C(9) -c.val1.output -c.val2.output +var c = new C(9) +c.val1.output +c.val2.output \ No newline at end of file diff --git a/tests/sav/test_parser.res b/tests/sav/test_parser.res index 6c59b79..1e84d63 100644 --- a/tests/sav/test_parser.res +++ b/tests/sav/test_parser.res @@ -6,6 +6,7 @@ options: -n do not print anything -l only lexer -p lexer and parser (default) + -x instead of a ascii tree, output a XML document -e instead on files, each argument is a content to parse -i tree to parse are read interactively -h print this help diff --git a/tests/sav/test_parser_args1.res b/tests/sav/test_parser_args1.res index 3e3247e..3210c2e 100644 --- a/tests/sav/test_parser_args1.res +++ b/tests/sav/test_parser_args1.res @@ -1,5 +1,5 @@ -Start ../src/test_parser.nit:17,1--147,1 - AModule ../src/test_parser.nit:17,1--146,3 +Start ../src/test_parser.nit:17,1--156,1 + AModule ../src/test_parser.nit:17,1--155,3 AModuledecl ../src/test_parser.nit:17,1--18,18 ADoc ../src/test_parser.nit:17,1--18,0 TComment "# Program used to test the NIT parser\n" ../src/test_parser.nit:17,1--18,0 @@ -17,95 +17,58 @@ Start ../src/test_parser.nit:17,1--147,1 TKwimport "import" ../src/test_parser.nit:21,1--6 AModuleName ../src/test_parser.nit:21,8--18 TId "parser_util" ../src/test_parser.nit:21,8--18 - AStdClassdef ../src/test_parser.nit:23,1--37,3 - APublicVisibility ../src/test_parser.nit:23,1 - AConcreteClasskind ../src/test_parser.nit:23,1--5 - TKwclass "class" ../src/test_parser.nit:23,1--5 - TClassid "PrintTreeVisitor" ../src/test_parser.nit:23,7--22 - ASuperPropdef ../src/test_parser.nit:24,2--14 - APublicVisibility ../src/test_parser.nit:24,2 - TKwsuper "super" ../src/test_parser.nit:24,2--6 - AType ../src/test_parser.nit:24,8--14 - TClassid "Visitor" ../src/test_parser.nit:24,8--14 - AAttrPropdef ../src/test_parser.nit:25,2--26 - APrivateVisibility ../src/test_parser.nit:25,2--8 - TKwprivate "private" ../src/test_parser.nit:25,2--8 - TKwvar "var" ../src/test_parser.nit:25,10--12 - TId "rank" ../src/test_parser.nit:25,14--17 - AType ../src/test_parser.nit:25,20--22 - TClassid "Int" ../src/test_parser.nit:25,20--22 - ADecIntExpr ../src/test_parser.nit:25,26 - TNumber "0" ../src/test_parser.nit:25,26 - AMethPropdef ../src/test_parser.nit:26,2--36,4 - TKwredef "redef" ../src/test_parser.nit:26,2--6 - APublicVisibility ../src/test_parser.nit:26,8 - TKwmeth "fun" ../src/test_parser.nit:26,8--10 - AIdMethid ../src/test_parser.nit:26,12--16 - TId "visit" ../src/test_parser.nit:26,12--16 - ASignature ../src/test_parser.nit:26,17--19 - TOpar "(" ../src/test_parser.nit:26,17 - AParam ../src/test_parser.nit:26,18 - TId "n" ../src/test_parser.nit:26,18 - TCpar ")" ../src/test_parser.nit:26,19 - ABlockExpr ../src/test_parser.nit:28,3--36,4 - AIfExpr ../src/test_parser.nit:28,3--32,5 - TKwif "if" ../src/test_parser.nit:28,3--4 - AIsaExpr ../src/test_parser.nit:28,6--16 - ACallExpr ../src/test_parser.nit:28,6 - AImplicitSelfExpr ../src/test_parser.nit:28,6 - TId "n" ../src/test_parser.nit:28,6 - AListExprs ../src/test_parser.nit:28,6 - AType ../src/test_parser.nit:28,12--16 - TClassid "Token" ../src/test_parser.nit:28,12--16 - ABlockExpr ../src/test_parser.nit:29,4--88 - ACallExpr ../src/test_parser.nit:29,4--88 - AImplicitSelfExpr ../src/test_parser.nit:29,4 - TId "printn" ../src/test_parser.nit:29,4--9 - AParExprs ../src/test_parser.nit:29,10--88 - TOpar "(" ../src/test_parser.nit:29,10 - AStarExpr ../src/test_parser.nit:29,11--21 - AStringExpr ../src/test_parser.nit:29,11--14 - TString "\" \"" ../src/test_parser.nit:29,11--14 - ACallExpr ../src/test_parser.nit:29,18--21 - AImplicitSelfExpr ../src/test_parser.nit:29,18 - TId "rank" ../src/test_parser.nit:29,18--21 - AListExprs ../src/test_parser.nit:29,21 - ACallExpr ../src/test_parser.nit:29,24--35 - ACallExpr ../src/test_parser.nit:29,24 - AImplicitSelfExpr ../src/test_parser.nit:29,24 - TId "n" ../src/test_parser.nit:29,24 - AListExprs ../src/test_parser.nit:29,24 - TId "class_name" ../src/test_parser.nit:29,26--35 - AListExprs ../src/test_parser.nit:29,35 - AStringExpr ../src/test_parser.nit:29,38--42 - TString "\" \\\"\"" ../src/test_parser.nit:29,38--42 - ACallExpr ../src/test_parser.nit:29,45--62 - ACallExpr ../src/test_parser.nit:29,45--50 - ACallExpr ../src/test_parser.nit:29,45 - AImplicitSelfExpr ../src/test_parser.nit:29,45 - TId "n" ../src/test_parser.nit:29,45 - AListExprs ../src/test_parser.nit:29,45 - TId "text" ../src/test_parser.nit:29,47--50 - AListExprs ../src/test_parser.nit:29,50 - TId "escape_to_c" ../src/test_parser.nit:29,52--62 - AListExprs ../src/test_parser.nit:29,62 - AStringExpr ../src/test_parser.nit:29,65--69 - TString "\"\\\" \"" ../src/test_parser.nit:29,65--69 - ACallExpr ../src/test_parser.nit:29,72--81 - ACallExpr ../src/test_parser.nit:29,72 - AImplicitSelfExpr ../src/test_parser.nit:29,72 - TId "n" ../src/test_parser.nit:29,72 - AListExprs ../src/test_parser.nit:29,72 - TId "location" ../src/test_parser.nit:29,74--81 - AListExprs ../src/test_parser.nit:29,81 - AStringExpr ../src/test_parser.nit:29,84--87 - TString "\"\\n\"" ../src/test_parser.nit:29,84--87 - TCpar ")" ../src/test_parser.nit:29,88 - ABlockExpr ../src/test_parser.nit:31,4--32,5 - ACallExpr ../src/test_parser.nit:31,4--59 + AStdImport ../src/test_parser.nit:22,1--14 + APublicVisibility ../src/test_parser.nit:22,1 + TKwimport "import" ../src/test_parser.nit:22,1--6 + AModuleName ../src/test_parser.nit:22,8--14 + TId "astutil" ../src/test_parser.nit:22,8--14 + AStdClassdef ../src/test_parser.nit:24,1--39,3 + ADoc ../src/test_parser.nit:24,1--25,0 + TComment "# A basic visitor that prints AST trees to the screen\n" ../src/test_parser.nit:24,1--25,0 + APublicVisibility ../src/test_parser.nit:25,1 + AConcreteClasskind ../src/test_parser.nit:25,1--5 + TKwclass "class" ../src/test_parser.nit:25,1--5 + TClassid "PrintTreeVisitor" ../src/test_parser.nit:25,7--22 + ASuperPropdef ../src/test_parser.nit:26,2--14 + APublicVisibility ../src/test_parser.nit:26,2 + TKwsuper "super" ../src/test_parser.nit:26,2--6 + AType ../src/test_parser.nit:26,8--14 + TClassid "Visitor" ../src/test_parser.nit:26,8--14 + AAttrPropdef ../src/test_parser.nit:27,2--26 + APrivateVisibility ../src/test_parser.nit:27,2--8 + TKwprivate "private" ../src/test_parser.nit:27,2--8 + TKwvar "var" ../src/test_parser.nit:27,10--12 + TId "rank" ../src/test_parser.nit:27,14--17 + AType ../src/test_parser.nit:27,20--22 + TClassid "Int" ../src/test_parser.nit:27,20--22 + ADecIntExpr ../src/test_parser.nit:27,26 + TNumber "0" ../src/test_parser.nit:27,26 + AMethPropdef ../src/test_parser.nit:28,2--38,4 + TKwredef "redef" ../src/test_parser.nit:28,2--6 + APublicVisibility ../src/test_parser.nit:28,8 + TKwmeth "fun" ../src/test_parser.nit:28,8--10 + AIdMethid ../src/test_parser.nit:28,12--16 + TId "visit" ../src/test_parser.nit:28,12--16 + ASignature ../src/test_parser.nit:28,17--19 + TOpar "(" ../src/test_parser.nit:28,17 + AParam ../src/test_parser.nit:28,18 + TId "n" ../src/test_parser.nit:28,18 + TCpar ")" ../src/test_parser.nit:28,19 + ABlockExpr ../src/test_parser.nit:30,3--38,4 + AIfExpr ../src/test_parser.nit:30,3--34,5 + TKwif "if" ../src/test_parser.nit:30,3--4 + AIsaExpr ../src/test_parser.nit:30,6--16 + ACallExpr ../src/test_parser.nit:30,6 + AImplicitSelfExpr ../src/test_parser.nit:30,6 + TId "n" ../src/test_parser.nit:30,6 + AListExprs ../src/test_parser.nit:30,6 + AType ../src/test_parser.nit:30,12--16 + TClassid "Token" ../src/test_parser.nit:30,12--16 + ABlockExpr ../src/test_parser.nit:31,4--88 + ACallExpr ../src/test_parser.nit:31,4--88 AImplicitSelfExpr ../src/test_parser.nit:31,4 TId "printn" ../src/test_parser.nit:31,4--9 - AParExprs ../src/test_parser.nit:31,10--59 + AParExprs ../src/test_parser.nit:31,10--88 TOpar "(" ../src/test_parser.nit:31,10 AStarExpr ../src/test_parser.nit:31,11--21 AStringExpr ../src/test_parser.nit:31,11--14 @@ -121,909 +84,1017 @@ Start ../src/test_parser.nit:17,1--147,1 AListExprs ../src/test_parser.nit:31,24 TId "class_name" ../src/test_parser.nit:31,26--35 AListExprs ../src/test_parser.nit:31,35 - AStringExpr ../src/test_parser.nit:31,38--40 - TString "\" \"" ../src/test_parser.nit:31,38--40 - ACallExpr ../src/test_parser.nit:31,43--52 - ACallExpr ../src/test_parser.nit:31,43 - AImplicitSelfExpr ../src/test_parser.nit:31,43 - TId "n" ../src/test_parser.nit:31,43 - AListExprs ../src/test_parser.nit:31,43 - TId "location" ../src/test_parser.nit:31,45--52 - AListExprs ../src/test_parser.nit:31,52 - AStringExpr ../src/test_parser.nit:31,55--58 - TString "\"\\n\"" ../src/test_parser.nit:31,55--58 - TCpar ")" ../src/test_parser.nit:31,59 - TKwend "end" ../src/test_parser.nit:32,3--5 - ACallAssignExpr ../src/test_parser.nit:33,3--17 - AImplicitSelfExpr ../src/test_parser.nit:33,3 - TId "rank" ../src/test_parser.nit:33,3--6 - AListExprs ../src/test_parser.nit:33,8 - TAssign "=" ../src/test_parser.nit:33,8 - APlusExpr ../src/test_parser.nit:33,10--17 - ACallExpr ../src/test_parser.nit:33,10--13 - AImplicitSelfExpr ../src/test_parser.nit:33,10 - TId "rank" ../src/test_parser.nit:33,10--13 - AListExprs ../src/test_parser.nit:33,13 - ADecIntExpr ../src/test_parser.nit:33,17 - TNumber "1" ../src/test_parser.nit:33,17 - ACallExpr ../src/test_parser.nit:34,3--19 - ACallExpr ../src/test_parser.nit:34,3 - AImplicitSelfExpr ../src/test_parser.nit:34,3 - TId "n" ../src/test_parser.nit:34,3 - AListExprs ../src/test_parser.nit:34,3 - TId "visit_all" ../src/test_parser.nit:34,5--13 - AParExprs ../src/test_parser.nit:34,14--19 - TOpar "(" ../src/test_parser.nit:34,14 - ASelfExpr ../src/test_parser.nit:34,15--18 - TKwself "self" ../src/test_parser.nit:34,15--18 - TCpar ")" ../src/test_parser.nit:34,19 + AStringExpr ../src/test_parser.nit:31,38--42 + TString "\" \\\"\"" ../src/test_parser.nit:31,38--42 + ACallExpr ../src/test_parser.nit:31,45--62 + ACallExpr ../src/test_parser.nit:31,45--50 + ACallExpr ../src/test_parser.nit:31,45 + AImplicitSelfExpr ../src/test_parser.nit:31,45 + TId "n" ../src/test_parser.nit:31,45 + AListExprs ../src/test_parser.nit:31,45 + TId "text" ../src/test_parser.nit:31,47--50 + AListExprs ../src/test_parser.nit:31,50 + TId "escape_to_c" ../src/test_parser.nit:31,52--62 + AListExprs ../src/test_parser.nit:31,62 + AStringExpr ../src/test_parser.nit:31,65--69 + TString "\"\\\" \"" ../src/test_parser.nit:31,65--69 + ACallExpr ../src/test_parser.nit:31,72--81 + ACallExpr ../src/test_parser.nit:31,72 + AImplicitSelfExpr ../src/test_parser.nit:31,72 + TId "n" ../src/test_parser.nit:31,72 + AListExprs ../src/test_parser.nit:31,72 + TId "location" ../src/test_parser.nit:31,74--81 + AListExprs ../src/test_parser.nit:31,81 + AStringExpr ../src/test_parser.nit:31,84--87 + TString "\"\\n\"" ../src/test_parser.nit:31,84--87 + TCpar ")" ../src/test_parser.nit:31,88 + ABlockExpr ../src/test_parser.nit:33,4--34,5 + ACallExpr ../src/test_parser.nit:33,4--59 + AImplicitSelfExpr ../src/test_parser.nit:33,4 + TId "printn" ../src/test_parser.nit:33,4--9 + AParExprs ../src/test_parser.nit:33,10--59 + TOpar "(" ../src/test_parser.nit:33,10 + AStarExpr ../src/test_parser.nit:33,11--21 + AStringExpr ../src/test_parser.nit:33,11--14 + TString "\" \"" ../src/test_parser.nit:33,11--14 + ACallExpr ../src/test_parser.nit:33,18--21 + AImplicitSelfExpr ../src/test_parser.nit:33,18 + TId "rank" ../src/test_parser.nit:33,18--21 + AListExprs ../src/test_parser.nit:33,21 + ACallExpr ../src/test_parser.nit:33,24--35 + ACallExpr ../src/test_parser.nit:33,24 + AImplicitSelfExpr ../src/test_parser.nit:33,24 + TId "n" ../src/test_parser.nit:33,24 + AListExprs ../src/test_parser.nit:33,24 + TId "class_name" ../src/test_parser.nit:33,26--35 + AListExprs ../src/test_parser.nit:33,35 + AStringExpr ../src/test_parser.nit:33,38--40 + TString "\" \"" ../src/test_parser.nit:33,38--40 + ACallExpr ../src/test_parser.nit:33,43--52 + ACallExpr ../src/test_parser.nit:33,43 + AImplicitSelfExpr ../src/test_parser.nit:33,43 + TId "n" ../src/test_parser.nit:33,43 + AListExprs ../src/test_parser.nit:33,43 + TId "location" ../src/test_parser.nit:33,45--52 + AListExprs ../src/test_parser.nit:33,52 + AStringExpr ../src/test_parser.nit:33,55--58 + TString "\"\\n\"" ../src/test_parser.nit:33,55--58 + TCpar ")" ../src/test_parser.nit:33,59 + TKwend "end" ../src/test_parser.nit:34,3--5 ACallAssignExpr ../src/test_parser.nit:35,3--17 AImplicitSelfExpr ../src/test_parser.nit:35,3 TId "rank" ../src/test_parser.nit:35,3--6 AListExprs ../src/test_parser.nit:35,8 TAssign "=" ../src/test_parser.nit:35,8 - AMinusExpr ../src/test_parser.nit:35,10--17 + APlusExpr ../src/test_parser.nit:35,10--17 ACallExpr ../src/test_parser.nit:35,10--13 AImplicitSelfExpr ../src/test_parser.nit:35,10 TId "rank" ../src/test_parser.nit:35,10--13 AListExprs ../src/test_parser.nit:35,13 ADecIntExpr ../src/test_parser.nit:35,17 TNumber "1" ../src/test_parser.nit:35,17 - TKwend "end" ../src/test_parser.nit:36,2--4 - TKwend "end" ../src/test_parser.nit:37,1--3 - AMainClassdef ../src/test_parser.nit:39,1--146,3 - AMainMethPropdef ../src/test_parser.nit:39,1--146,3 - ABlockExpr ../src/test_parser.nit:39,1--146,3 - AVardeclExpr ../src/test_parser.nit:39,1--20 - TKwvar "var" ../src/test_parser.nit:39,1--3 - TId "no_print" ../src/test_parser.nit:39,5--12 - TAssign "=" ../src/test_parser.nit:39,14 - AFalseExpr ../src/test_parser.nit:39,16--20 - TKwfalse "false" ../src/test_parser.nit:39,16--20 - AVardeclExpr ../src/test_parser.nit:40,1--22 - TKwvar "var" ../src/test_parser.nit:40,1--3 - TId "only_lexer" ../src/test_parser.nit:40,5--14 - TAssign "=" ../src/test_parser.nit:40,16 - AFalseExpr ../src/test_parser.nit:40,18--22 - TKwfalse "false" ../src/test_parser.nit:40,18--22 - AVardeclExpr ../src/test_parser.nit:41,1--21 + ACallExpr ../src/test_parser.nit:36,3--19 + ACallExpr ../src/test_parser.nit:36,3 + AImplicitSelfExpr ../src/test_parser.nit:36,3 + TId "n" ../src/test_parser.nit:36,3 + AListExprs ../src/test_parser.nit:36,3 + TId "visit_all" ../src/test_parser.nit:36,5--13 + AParExprs ../src/test_parser.nit:36,14--19 + TOpar "(" ../src/test_parser.nit:36,14 + ASelfExpr ../src/test_parser.nit:36,15--18 + TKwself "self" ../src/test_parser.nit:36,15--18 + TCpar ")" ../src/test_parser.nit:36,19 + ACallAssignExpr ../src/test_parser.nit:37,3--17 + AImplicitSelfExpr ../src/test_parser.nit:37,3 + TId "rank" ../src/test_parser.nit:37,3--6 + AListExprs ../src/test_parser.nit:37,8 + TAssign "=" ../src/test_parser.nit:37,8 + AMinusExpr ../src/test_parser.nit:37,10--17 + ACallExpr ../src/test_parser.nit:37,10--13 + AImplicitSelfExpr ../src/test_parser.nit:37,10 + TId "rank" ../src/test_parser.nit:37,10--13 + AListExprs ../src/test_parser.nit:37,13 + ADecIntExpr ../src/test_parser.nit:37,17 + TNumber "1" ../src/test_parser.nit:37,17 + TKwend "end" ../src/test_parser.nit:38,2--4 + TKwend "end" ../src/test_parser.nit:39,1--3 + AMainClassdef ../src/test_parser.nit:41,1--155,3 + AMainMethPropdef ../src/test_parser.nit:41,1--155,3 + ABlockExpr ../src/test_parser.nit:41,1--155,3 + AVardeclExpr ../src/test_parser.nit:41,1--20 TKwvar "var" ../src/test_parser.nit:41,1--3 - TId "need_help" ../src/test_parser.nit:41,5--13 - TAssign "=" ../src/test_parser.nit:41,15 - AFalseExpr ../src/test_parser.nit:41,17--21 - TKwfalse "false" ../src/test_parser.nit:41,17--21 - AVardeclExpr ../src/test_parser.nit:42,1--19 + TId "no_print" ../src/test_parser.nit:41,5--12 + TAssign "=" ../src/test_parser.nit:41,14 + AFalseExpr ../src/test_parser.nit:41,16--20 + TKwfalse "false" ../src/test_parser.nit:41,16--20 + AVardeclExpr ../src/test_parser.nit:42,1--22 TKwvar "var" ../src/test_parser.nit:42,1--3 - TId "no_file" ../src/test_parser.nit:42,5--11 - TAssign "=" ../src/test_parser.nit:42,13 - AFalseExpr ../src/test_parser.nit:42,15--19 - TKwfalse "false" ../src/test_parser.nit:42,15--19 - AVardeclExpr ../src/test_parser.nit:43,1--23 + TId "only_lexer" ../src/test_parser.nit:42,5--14 + TAssign "=" ../src/test_parser.nit:42,16 + AFalseExpr ../src/test_parser.nit:42,18--22 + TKwfalse "false" ../src/test_parser.nit:42,18--22 + AVardeclExpr ../src/test_parser.nit:43,1--21 TKwvar "var" ../src/test_parser.nit:43,1--3 - TId "interactive" ../src/test_parser.nit:43,5--15 - TAssign "=" ../src/test_parser.nit:43,17 - AFalseExpr ../src/test_parser.nit:43,19--23 - TKwfalse "false" ../src/test_parser.nit:43,19--23 - AWhileExpr ../src/test_parser.nit:45,1--63,3 - TKwwhile "while" ../src/test_parser.nit:45,1--5 - AAndExpr ../src/test_parser.nit:45,7--57 - ANotExpr ../src/test_parser.nit:45,7--23 - TKwnot "not" ../src/test_parser.nit:45,7--9 - ACallExpr ../src/test_parser.nit:45,11--23 - ACallExpr ../src/test_parser.nit:45,11--14 - AImplicitSelfExpr ../src/test_parser.nit:45,11 - TId "args" ../src/test_parser.nit:45,11--14 - AListExprs ../src/test_parser.nit:45,14 - TId "is_empty" ../src/test_parser.nit:45,16--23 - AListExprs ../src/test_parser.nit:45,23 - AEqExpr ../src/test_parser.nit:45,29--57 - ACallExpr ../src/test_parser.nit:45,29--50 - ACallExpr ../src/test_parser.nit:45,29--44 - ACallExpr ../src/test_parser.nit:45,29--38 - ACallExpr ../src/test_parser.nit:45,29--32 - AImplicitSelfExpr ../src/test_parser.nit:45,29 - TId "args" ../src/test_parser.nit:45,29--32 - AListExprs ../src/test_parser.nit:45,32 - TId "first" ../src/test_parser.nit:45,34--38 - AListExprs ../src/test_parser.nit:45,38 - TId "chars" ../src/test_parser.nit:45,40--44 - AListExprs ../src/test_parser.nit:45,44 - TId "first" ../src/test_parser.nit:45,46--50 - AListExprs ../src/test_parser.nit:45,50 - ACharExpr ../src/test_parser.nit:45,55--57 - TChar "\'-\'" ../src/test_parser.nit:45,55--57 - TKwdo "do" ../src/test_parser.nit:45,59--60 - ABlockExpr ../src/test_parser.nit:46,2--63,3 - AIfExpr ../src/test_parser.nit:46,2--61,4 - TKwif "if" ../src/test_parser.nit:46,2--3 - AEqExpr ../src/test_parser.nit:46,5--22 - ACallExpr ../src/test_parser.nit:46,5--14 - ACallExpr ../src/test_parser.nit:46,5--8 - AImplicitSelfExpr ../src/test_parser.nit:46,5 - TId "args" ../src/test_parser.nit:46,5--8 - AListExprs ../src/test_parser.nit:46,8 - TId "first" ../src/test_parser.nit:46,10--14 - AListExprs ../src/test_parser.nit:46,14 - AStringExpr ../src/test_parser.nit:46,19--22 - TString "\"-n\"" ../src/test_parser.nit:46,19--22 - ABlockExpr ../src/test_parser.nit:47,3--17 - ACallAssignExpr ../src/test_parser.nit:47,3--17 - AImplicitSelfExpr ../src/test_parser.nit:47,3 - TId "no_print" ../src/test_parser.nit:47,3--10 - AListExprs ../src/test_parser.nit:47,12 - TAssign "=" ../src/test_parser.nit:47,12 - ATrueExpr ../src/test_parser.nit:47,14--17 - TKwtrue "true" ../src/test_parser.nit:47,14--17 - AIfExpr ../src/test_parser.nit:48,7--61,4 - TKwif "if" ../src/test_parser.nit:48,7--8 - AEqExpr ../src/test_parser.nit:48,10--27 - ACallExpr ../src/test_parser.nit:48,10--19 - ACallExpr ../src/test_parser.nit:48,10--13 - AImplicitSelfExpr ../src/test_parser.nit:48,10 - TId "args" ../src/test_parser.nit:48,10--13 - AListExprs ../src/test_parser.nit:48,13 - TId "first" ../src/test_parser.nit:48,15--19 - AListExprs ../src/test_parser.nit:48,19 - AStringExpr ../src/test_parser.nit:48,24--27 - TString "\"-l\"" ../src/test_parser.nit:48,24--27 - ABlockExpr ../src/test_parser.nit:49,3--19 - ACallAssignExpr ../src/test_parser.nit:49,3--19 - AImplicitSelfExpr ../src/test_parser.nit:49,3 - TId "only_lexer" ../src/test_parser.nit:49,3--12 - AListExprs ../src/test_parser.nit:49,14 - TAssign "=" ../src/test_parser.nit:49,14 - ATrueExpr ../src/test_parser.nit:49,16--19 - TKwtrue "true" ../src/test_parser.nit:49,16--19 - AIfExpr ../src/test_parser.nit:50,7--61,4 - TKwif "if" ../src/test_parser.nit:50,7--8 - AEqExpr ../src/test_parser.nit:50,10--27 - ACallExpr ../src/test_parser.nit:50,10--19 - ACallExpr ../src/test_parser.nit:50,10--13 - AImplicitSelfExpr ../src/test_parser.nit:50,10 - TId "args" ../src/test_parser.nit:50,10--13 - AListExprs ../src/test_parser.nit:50,13 - TId "first" ../src/test_parser.nit:50,15--19 - AListExprs ../src/test_parser.nit:50,19 - AStringExpr ../src/test_parser.nit:50,24--27 - TString "\"-p\"" ../src/test_parser.nit:50,24--27 - ABlockExpr ../src/test_parser.nit:51,3--20 - ACallAssignExpr ../src/test_parser.nit:51,3--20 - AImplicitSelfExpr ../src/test_parser.nit:51,3 - TId "only_lexer" ../src/test_parser.nit:51,3--12 - AListExprs ../src/test_parser.nit:51,14 - TAssign "=" ../src/test_parser.nit:51,14 - AFalseExpr ../src/test_parser.nit:51,16--20 - TKwfalse "false" ../src/test_parser.nit:51,16--20 - AIfExpr ../src/test_parser.nit:52,7--61,4 - TKwif "if" ../src/test_parser.nit:52,7--8 - AEqExpr ../src/test_parser.nit:52,10--27 - ACallExpr ../src/test_parser.nit:52,10--19 - ACallExpr ../src/test_parser.nit:52,10--13 - AImplicitSelfExpr ../src/test_parser.nit:52,10 - TId "args" ../src/test_parser.nit:52,10--13 - AListExprs ../src/test_parser.nit:52,13 - TId "first" ../src/test_parser.nit:52,15--19 - AListExprs ../src/test_parser.nit:52,19 - AStringExpr ../src/test_parser.nit:52,24--27 - TString "\"-e\"" ../src/test_parser.nit:52,24--27 - ABlockExpr ../src/test_parser.nit:53,3--16 - ACallAssignExpr ../src/test_parser.nit:53,3--16 - AImplicitSelfExpr ../src/test_parser.nit:53,3 - TId "no_file" ../src/test_parser.nit:53,3--9 - AListExprs ../src/test_parser.nit:53,11 - TAssign "=" ../src/test_parser.nit:53,11 - ATrueExpr ../src/test_parser.nit:53,13--16 - TKwtrue "true" ../src/test_parser.nit:53,13--16 - AIfExpr ../src/test_parser.nit:54,7--61,4 - TKwif "if" ../src/test_parser.nit:54,7--8 - AEqExpr ../src/test_parser.nit:54,10--27 - ACallExpr ../src/test_parser.nit:54,10--19 - ACallExpr ../src/test_parser.nit:54,10--13 - AImplicitSelfExpr ../src/test_parser.nit:54,10 - TId "args" ../src/test_parser.nit:54,10--13 - AListExprs ../src/test_parser.nit:54,13 - TId "first" ../src/test_parser.nit:54,15--19 - AListExprs ../src/test_parser.nit:54,19 - AStringExpr ../src/test_parser.nit:54,24--27 - TString "\"-i\"" ../src/test_parser.nit:54,24--27 - ABlockExpr ../src/test_parser.nit:55,3--20 - ACallAssignExpr ../src/test_parser.nit:55,3--20 - AImplicitSelfExpr ../src/test_parser.nit:55,3 - TId "interactive" ../src/test_parser.nit:55,3--13 - AListExprs ../src/test_parser.nit:55,15 - TAssign "=" ../src/test_parser.nit:55,15 - ATrueExpr ../src/test_parser.nit:55,17--20 - TKwtrue "true" ../src/test_parser.nit:55,17--20 - AIfExpr ../src/test_parser.nit:56,7--61,4 - TKwif "if" ../src/test_parser.nit:56,7--8 - AOrExpr ../src/test_parser.nit:56,10--49 - AEqExpr ../src/test_parser.nit:56,10--27 - ACallExpr ../src/test_parser.nit:56,10--19 - ACallExpr ../src/test_parser.nit:56,10--13 - AImplicitSelfExpr ../src/test_parser.nit:56,10 - TId "args" ../src/test_parser.nit:56,10--13 - AListExprs ../src/test_parser.nit:56,13 - TId "first" ../src/test_parser.nit:56,15--19 - AListExprs ../src/test_parser.nit:56,19 - AStringExpr ../src/test_parser.nit:56,24--27 - TString "\"-h\"" ../src/test_parser.nit:56,24--27 - AEqExpr ../src/test_parser.nit:56,32--49 - ACallExpr ../src/test_parser.nit:56,32--41 - ACallExpr ../src/test_parser.nit:56,32--35 - AImplicitSelfExpr ../src/test_parser.nit:56,32 - TId "args" ../src/test_parser.nit:56,32--35 - AListExprs ../src/test_parser.nit:56,35 - TId "first" ../src/test_parser.nit:56,37--41 - AListExprs ../src/test_parser.nit:56,41 - AStringExpr ../src/test_parser.nit:56,46--49 - TString "\"-?\"" ../src/test_parser.nit:56,46--49 - ABlockExpr ../src/test_parser.nit:57,3--18 - ACallAssignExpr ../src/test_parser.nit:57,3--18 - AImplicitSelfExpr ../src/test_parser.nit:57,3 - TId "need_help" ../src/test_parser.nit:57,3--11 + TId "need_help" ../src/test_parser.nit:43,5--13 + TAssign "=" ../src/test_parser.nit:43,15 + AFalseExpr ../src/test_parser.nit:43,17--21 + TKwfalse "false" ../src/test_parser.nit:43,17--21 + AVardeclExpr ../src/test_parser.nit:44,1--19 + TKwvar "var" ../src/test_parser.nit:44,1--3 + TId "no_file" ../src/test_parser.nit:44,5--11 + TAssign "=" ../src/test_parser.nit:44,13 + AFalseExpr ../src/test_parser.nit:44,15--19 + TKwfalse "false" ../src/test_parser.nit:44,15--19 + AVardeclExpr ../src/test_parser.nit:45,1--23 + TKwvar "var" ../src/test_parser.nit:45,1--3 + TId "interactive" ../src/test_parser.nit:45,5--15 + TAssign "=" ../src/test_parser.nit:45,17 + AFalseExpr ../src/test_parser.nit:45,19--23 + TKwfalse "false" ../src/test_parser.nit:45,19--23 + AVardeclExpr ../src/test_parser.nit:46,1--15 + TKwvar "var" ../src/test_parser.nit:46,1--3 + TId "xml" ../src/test_parser.nit:46,5--7 + TAssign "=" ../src/test_parser.nit:46,9 + AFalseExpr ../src/test_parser.nit:46,11--15 + TKwfalse "false" ../src/test_parser.nit:46,11--15 + AWhileExpr ../src/test_parser.nit:48,1--68,3 + TKwwhile "while" ../src/test_parser.nit:48,1--5 + AAndExpr ../src/test_parser.nit:48,7--57 + ANotExpr ../src/test_parser.nit:48,7--23 + TKwnot "not" ../src/test_parser.nit:48,7--9 + ACallExpr ../src/test_parser.nit:48,11--23 + ACallExpr ../src/test_parser.nit:48,11--14 + AImplicitSelfExpr ../src/test_parser.nit:48,11 + TId "args" ../src/test_parser.nit:48,11--14 + AListExprs ../src/test_parser.nit:48,14 + TId "is_empty" ../src/test_parser.nit:48,16--23 + AListExprs ../src/test_parser.nit:48,23 + AEqExpr ../src/test_parser.nit:48,29--57 + ACallExpr ../src/test_parser.nit:48,29--50 + ACallExpr ../src/test_parser.nit:48,29--44 + ACallExpr ../src/test_parser.nit:48,29--38 + ACallExpr ../src/test_parser.nit:48,29--32 + AImplicitSelfExpr ../src/test_parser.nit:48,29 + TId "args" ../src/test_parser.nit:48,29--32 + AListExprs ../src/test_parser.nit:48,32 + TId "first" ../src/test_parser.nit:48,34--38 + AListExprs ../src/test_parser.nit:48,38 + TId "chars" ../src/test_parser.nit:48,40--44 + AListExprs ../src/test_parser.nit:48,44 + TId "first" ../src/test_parser.nit:48,46--50 + AListExprs ../src/test_parser.nit:48,50 + ACharExpr ../src/test_parser.nit:48,55--57 + TChar "\'-\'" ../src/test_parser.nit:48,55--57 + TKwdo "do" ../src/test_parser.nit:48,59--60 + ABlockExpr ../src/test_parser.nit:49,2--68,3 + AIfExpr ../src/test_parser.nit:49,2--66,4 + TKwif "if" ../src/test_parser.nit:49,2--3 + AEqExpr ../src/test_parser.nit:49,5--22 + ACallExpr ../src/test_parser.nit:49,5--14 + ACallExpr ../src/test_parser.nit:49,5--8 + AImplicitSelfExpr ../src/test_parser.nit:49,5 + TId "args" ../src/test_parser.nit:49,5--8 + AListExprs ../src/test_parser.nit:49,8 + TId "first" ../src/test_parser.nit:49,10--14 + AListExprs ../src/test_parser.nit:49,14 + AStringExpr ../src/test_parser.nit:49,19--22 + TString "\"-n\"" ../src/test_parser.nit:49,19--22 + ABlockExpr ../src/test_parser.nit:50,3--17 + ACallAssignExpr ../src/test_parser.nit:50,3--17 + AImplicitSelfExpr ../src/test_parser.nit:50,3 + TId "no_print" ../src/test_parser.nit:50,3--10 + AListExprs ../src/test_parser.nit:50,12 + TAssign "=" ../src/test_parser.nit:50,12 + ATrueExpr ../src/test_parser.nit:50,14--17 + TKwtrue "true" ../src/test_parser.nit:50,14--17 + AIfExpr ../src/test_parser.nit:51,7--66,4 + TKwif "if" ../src/test_parser.nit:51,7--8 + AEqExpr ../src/test_parser.nit:51,10--27 + ACallExpr ../src/test_parser.nit:51,10--19 + ACallExpr ../src/test_parser.nit:51,10--13 + AImplicitSelfExpr ../src/test_parser.nit:51,10 + TId "args" ../src/test_parser.nit:51,10--13 + AListExprs ../src/test_parser.nit:51,13 + TId "first" ../src/test_parser.nit:51,15--19 + AListExprs ../src/test_parser.nit:51,19 + AStringExpr ../src/test_parser.nit:51,24--27 + TString "\"-l\"" ../src/test_parser.nit:51,24--27 + ABlockExpr ../src/test_parser.nit:52,3--19 + ACallAssignExpr ../src/test_parser.nit:52,3--19 + AImplicitSelfExpr ../src/test_parser.nit:52,3 + TId "only_lexer" ../src/test_parser.nit:52,3--12 + AListExprs ../src/test_parser.nit:52,14 + TAssign "=" ../src/test_parser.nit:52,14 + ATrueExpr ../src/test_parser.nit:52,16--19 + TKwtrue "true" ../src/test_parser.nit:52,16--19 + AIfExpr ../src/test_parser.nit:53,7--66,4 + TKwif "if" ../src/test_parser.nit:53,7--8 + AEqExpr ../src/test_parser.nit:53,10--27 + ACallExpr ../src/test_parser.nit:53,10--19 + ACallExpr ../src/test_parser.nit:53,10--13 + AImplicitSelfExpr ../src/test_parser.nit:53,10 + TId "args" ../src/test_parser.nit:53,10--13 + AListExprs ../src/test_parser.nit:53,13 + TId "first" ../src/test_parser.nit:53,15--19 + AListExprs ../src/test_parser.nit:53,19 + AStringExpr ../src/test_parser.nit:53,24--27 + TString "\"-p\"" ../src/test_parser.nit:53,24--27 + ABlockExpr ../src/test_parser.nit:54,3--20 + ACallAssignExpr ../src/test_parser.nit:54,3--20 + AImplicitSelfExpr ../src/test_parser.nit:54,3 + TId "only_lexer" ../src/test_parser.nit:54,3--12 + AListExprs ../src/test_parser.nit:54,14 + TAssign "=" ../src/test_parser.nit:54,14 + AFalseExpr ../src/test_parser.nit:54,16--20 + TKwfalse "false" ../src/test_parser.nit:54,16--20 + AIfExpr ../src/test_parser.nit:55,7--66,4 + TKwif "if" ../src/test_parser.nit:55,7--8 + AEqExpr ../src/test_parser.nit:55,10--27 + ACallExpr ../src/test_parser.nit:55,10--19 + ACallExpr ../src/test_parser.nit:55,10--13 + AImplicitSelfExpr ../src/test_parser.nit:55,10 + TId "args" ../src/test_parser.nit:55,10--13 + AListExprs ../src/test_parser.nit:55,13 + TId "first" ../src/test_parser.nit:55,15--19 + AListExprs ../src/test_parser.nit:55,19 + AStringExpr ../src/test_parser.nit:55,24--27 + TString "\"-x\"" ../src/test_parser.nit:55,24--27 + ABlockExpr ../src/test_parser.nit:56,3--12 + ACallAssignExpr ../src/test_parser.nit:56,3--12 + AImplicitSelfExpr ../src/test_parser.nit:56,3 + TId "xml" ../src/test_parser.nit:56,3--5 + AListExprs ../src/test_parser.nit:56,7 + TAssign "=" ../src/test_parser.nit:56,7 + ATrueExpr ../src/test_parser.nit:56,9--12 + TKwtrue "true" ../src/test_parser.nit:56,9--12 + AIfExpr ../src/test_parser.nit:57,7--66,4 + TKwif "if" ../src/test_parser.nit:57,7--8 + AEqExpr ../src/test_parser.nit:57,10--27 + ACallExpr ../src/test_parser.nit:57,10--19 + ACallExpr ../src/test_parser.nit:57,10--13 + AImplicitSelfExpr ../src/test_parser.nit:57,10 + TId "args" ../src/test_parser.nit:57,10--13 AListExprs ../src/test_parser.nit:57,13 - TAssign "=" ../src/test_parser.nit:57,13 - ATrueExpr ../src/test_parser.nit:57,15--18 - TKwtrue "true" ../src/test_parser.nit:57,15--18 - ABlockExpr ../src/test_parser.nit:59,3--61,4 - ACallExpr ../src/test_parser.nit:59,3--48 - ACallExpr ../src/test_parser.nit:59,3--8 - AImplicitSelfExpr ../src/test_parser.nit:59,3 - TId "stderr" ../src/test_parser.nit:59,3--8 - AListExprs ../src/test_parser.nit:59,8 - TId "write" ../src/test_parser.nit:59,10--14 - AParExprs ../src/test_parser.nit:59,15--48 - TOpar "(" ../src/test_parser.nit:59,15 - ASuperstringExpr ../src/test_parser.nit:59,16--47 - AStartStringExpr ../src/test_parser.nit:59,16--32 - TStartString "\"Unknown option {" ../src/test_parser.nit:59,16--32 - ACallExpr ../src/test_parser.nit:59,33--42 - ACallExpr ../src/test_parser.nit:59,33--36 - AImplicitSelfExpr ../src/test_parser.nit:59,33 - TId "args" ../src/test_parser.nit:59,33--36 - AListExprs ../src/test_parser.nit:59,36 - TId "first" ../src/test_parser.nit:59,38--42 - AListExprs ../src/test_parser.nit:59,42 - AEndStringExpr ../src/test_parser.nit:59,43--47 - TEndString "}.\\n\"" ../src/test_parser.nit:59,43--47 - TCpar ")" ../src/test_parser.nit:59,48 - ACallExpr ../src/test_parser.nit:60,3--9 + TId "first" ../src/test_parser.nit:57,15--19 + AListExprs ../src/test_parser.nit:57,19 + AStringExpr ../src/test_parser.nit:57,24--27 + TString "\"-e\"" ../src/test_parser.nit:57,24--27 + ABlockExpr ../src/test_parser.nit:58,3--16 + ACallAssignExpr ../src/test_parser.nit:58,3--16 + AImplicitSelfExpr ../src/test_parser.nit:58,3 + TId "no_file" ../src/test_parser.nit:58,3--9 + AListExprs ../src/test_parser.nit:58,11 + TAssign "=" ../src/test_parser.nit:58,11 + ATrueExpr ../src/test_parser.nit:58,13--16 + TKwtrue "true" ../src/test_parser.nit:58,13--16 + AIfExpr ../src/test_parser.nit:59,7--66,4 + TKwif "if" ../src/test_parser.nit:59,7--8 + AEqExpr ../src/test_parser.nit:59,10--27 + ACallExpr ../src/test_parser.nit:59,10--19 + ACallExpr ../src/test_parser.nit:59,10--13 + AImplicitSelfExpr ../src/test_parser.nit:59,10 + TId "args" ../src/test_parser.nit:59,10--13 + AListExprs ../src/test_parser.nit:59,13 + TId "first" ../src/test_parser.nit:59,15--19 + AListExprs ../src/test_parser.nit:59,19 + AStringExpr ../src/test_parser.nit:59,24--27 + TString "\"-i\"" ../src/test_parser.nit:59,24--27 + ABlockExpr ../src/test_parser.nit:60,3--20 + ACallAssignExpr ../src/test_parser.nit:60,3--20 AImplicitSelfExpr ../src/test_parser.nit:60,3 - TId "exit" ../src/test_parser.nit:60,3--6 - AParExprs ../src/test_parser.nit:60,7--9 - TOpar "(" ../src/test_parser.nit:60,7 - ADecIntExpr ../src/test_parser.nit:60,8 - TNumber "0" ../src/test_parser.nit:60,8 - TCpar ")" ../src/test_parser.nit:60,9 - TKwend "end" ../src/test_parser.nit:61,2--4 - ACallExpr ../src/test_parser.nit:62,2--11 - ACallExpr ../src/test_parser.nit:62,2--5 - AImplicitSelfExpr ../src/test_parser.nit:62,2 - TId "args" ../src/test_parser.nit:62,2--5 - AListExprs ../src/test_parser.nit:62,5 - TId "shift" ../src/test_parser.nit:62,7--11 - AListExprs ../src/test_parser.nit:62,11 - TKwend "end" ../src/test_parser.nit:63,1--3 - AIfExpr ../src/test_parser.nit:65,1--146,3 - TKwif "if" ../src/test_parser.nit:65,1--2 - AOrExpr ../src/test_parser.nit:65,4--51 - AParExpr ../src/test_parser.nit:65,4--38 - TOpar "(" ../src/test_parser.nit:65,4 - AAndExpr ../src/test_parser.nit:65,5--37 - ACallExpr ../src/test_parser.nit:65,5--17 - ACallExpr ../src/test_parser.nit:65,5--8 - AImplicitSelfExpr ../src/test_parser.nit:65,5 - TId "args" ../src/test_parser.nit:65,5--8 - AListExprs ../src/test_parser.nit:65,8 - TId "is_empty" ../src/test_parser.nit:65,10--17 - AListExprs ../src/test_parser.nit:65,17 - ANotExpr ../src/test_parser.nit:65,23--37 - TKwnot "not" ../src/test_parser.nit:65,23--25 - ACallExpr ../src/test_parser.nit:65,27--37 - AImplicitSelfExpr ../src/test_parser.nit:65,27 - TId "interactive" ../src/test_parser.nit:65,27--37 - AListExprs ../src/test_parser.nit:65,37 - TCpar ")" ../src/test_parser.nit:65,38 - ACallExpr ../src/test_parser.nit:65,43--51 - AImplicitSelfExpr ../src/test_parser.nit:65,43 - TId "need_help" ../src/test_parser.nit:65,43--51 - AListExprs ../src/test_parser.nit:65,51 - ABlockExpr ../src/test_parser.nit:66,2--76,30 - ACallExpr ../src/test_parser.nit:66,2--16 - AImplicitSelfExpr ../src/test_parser.nit:66,2 - TId "print" ../src/test_parser.nit:66,2--6 - AParExprs ../src/test_parser.nit:66,7--16 - TOpar "(" ../src/test_parser.nit:66,7 - AStringExpr ../src/test_parser.nit:66,8--15 - TString "\"usage:\"" ../src/test_parser.nit:66,8--15 - TCpar ")" ../src/test_parser.nit:66,16 - ACallExpr ../src/test_parser.nit:67,2--54 - AImplicitSelfExpr ../src/test_parser.nit:67,2 - TId "print" ../src/test_parser.nit:67,2--6 - AParExprs ../src/test_parser.nit:67,7--54 - TOpar "(" ../src/test_parser.nit:67,7 - AStringExpr ../src/test_parser.nit:67,8--53 - TString "\" test_parser [options]... ...\"" ../src/test_parser.nit:67,8--53 - TCpar ")" ../src/test_parser.nit:67,54 - ACallExpr ../src/test_parser.nit:68,2--49 - AImplicitSelfExpr ../src/test_parser.nit:68,2 - TId "print" ../src/test_parser.nit:68,2--6 - AParExprs ../src/test_parser.nit:68,7--49 - TOpar "(" ../src/test_parser.nit:68,7 - AStringExpr ../src/test_parser.nit:68,8--48 - TString "\" test_parser -e [options]... ...\"" ../src/test_parser.nit:68,8--48 - TCpar ")" ../src/test_parser.nit:68,49 - ACallExpr ../src/test_parser.nit:69,2--39 - AImplicitSelfExpr ../src/test_parser.nit:69,2 - TId "print" ../src/test_parser.nit:69,2--6 - AParExprs ../src/test_parser.nit:69,7--39 - TOpar "(" ../src/test_parser.nit:69,7 - AStringExpr ../src/test_parser.nit:69,8--38 - TString "\" test_parser -i [options]...\"" ../src/test_parser.nit:69,8--38 - TCpar ")" ../src/test_parser.nit:69,39 - ACallExpr ../src/test_parser.nit:70,2--18 - AImplicitSelfExpr ../src/test_parser.nit:70,2 - TId "print" ../src/test_parser.nit:70,2--6 - AParExprs ../src/test_parser.nit:70,7--18 - TOpar "(" ../src/test_parser.nit:70,7 - AStringExpr ../src/test_parser.nit:70,8--17 - TString "\"options:\"" ../src/test_parser.nit:70,8--17 - TCpar ")" ../src/test_parser.nit:70,18 - ACallExpr ../src/test_parser.nit:71,2--36 + TId "interactive" ../src/test_parser.nit:60,3--13 + AListExprs ../src/test_parser.nit:60,15 + TAssign "=" ../src/test_parser.nit:60,15 + ATrueExpr ../src/test_parser.nit:60,17--20 + TKwtrue "true" ../src/test_parser.nit:60,17--20 + AIfExpr ../src/test_parser.nit:61,7--66,4 + TKwif "if" ../src/test_parser.nit:61,7--8 + AOrExpr ../src/test_parser.nit:61,10--49 + AEqExpr ../src/test_parser.nit:61,10--27 + ACallExpr ../src/test_parser.nit:61,10--19 + ACallExpr ../src/test_parser.nit:61,10--13 + AImplicitSelfExpr ../src/test_parser.nit:61,10 + TId "args" ../src/test_parser.nit:61,10--13 + AListExprs ../src/test_parser.nit:61,13 + TId "first" ../src/test_parser.nit:61,15--19 + AListExprs ../src/test_parser.nit:61,19 + AStringExpr ../src/test_parser.nit:61,24--27 + TString "\"-h\"" ../src/test_parser.nit:61,24--27 + AEqExpr ../src/test_parser.nit:61,32--49 + ACallExpr ../src/test_parser.nit:61,32--41 + ACallExpr ../src/test_parser.nit:61,32--35 + AImplicitSelfExpr ../src/test_parser.nit:61,32 + TId "args" ../src/test_parser.nit:61,32--35 + AListExprs ../src/test_parser.nit:61,35 + TId "first" ../src/test_parser.nit:61,37--41 + AListExprs ../src/test_parser.nit:61,41 + AStringExpr ../src/test_parser.nit:61,46--49 + TString "\"-?\"" ../src/test_parser.nit:61,46--49 + ABlockExpr ../src/test_parser.nit:62,3--18 + ACallAssignExpr ../src/test_parser.nit:62,3--18 + AImplicitSelfExpr ../src/test_parser.nit:62,3 + TId "need_help" ../src/test_parser.nit:62,3--11 + AListExprs ../src/test_parser.nit:62,13 + TAssign "=" ../src/test_parser.nit:62,13 + ATrueExpr ../src/test_parser.nit:62,15--18 + TKwtrue "true" ../src/test_parser.nit:62,15--18 + ABlockExpr ../src/test_parser.nit:64,3--66,4 + ACallExpr ../src/test_parser.nit:64,3--48 + ACallExpr ../src/test_parser.nit:64,3--8 + AImplicitSelfExpr ../src/test_parser.nit:64,3 + TId "stderr" ../src/test_parser.nit:64,3--8 + AListExprs ../src/test_parser.nit:64,8 + TId "write" ../src/test_parser.nit:64,10--14 + AParExprs ../src/test_parser.nit:64,15--48 + TOpar "(" ../src/test_parser.nit:64,15 + ASuperstringExpr ../src/test_parser.nit:64,16--47 + AStartStringExpr ../src/test_parser.nit:64,16--32 + TStartString "\"Unknown option {" ../src/test_parser.nit:64,16--32 + ACallExpr ../src/test_parser.nit:64,33--42 + ACallExpr ../src/test_parser.nit:64,33--36 + AImplicitSelfExpr ../src/test_parser.nit:64,33 + TId "args" ../src/test_parser.nit:64,33--36 + AListExprs ../src/test_parser.nit:64,36 + TId "first" ../src/test_parser.nit:64,38--42 + AListExprs ../src/test_parser.nit:64,42 + AEndStringExpr ../src/test_parser.nit:64,43--47 + TEndString "}.\\n\"" ../src/test_parser.nit:64,43--47 + TCpar ")" ../src/test_parser.nit:64,48 + ACallExpr ../src/test_parser.nit:65,3--9 + AImplicitSelfExpr ../src/test_parser.nit:65,3 + TId "exit" ../src/test_parser.nit:65,3--6 + AParExprs ../src/test_parser.nit:65,7--9 + TOpar "(" ../src/test_parser.nit:65,7 + ADecIntExpr ../src/test_parser.nit:65,8 + TNumber "0" ../src/test_parser.nit:65,8 + TCpar ")" ../src/test_parser.nit:65,9 + TKwend "end" ../src/test_parser.nit:66,2--4 + ACallExpr ../src/test_parser.nit:67,2--11 + ACallExpr ../src/test_parser.nit:67,2--5 + AImplicitSelfExpr ../src/test_parser.nit:67,2 + TId "args" ../src/test_parser.nit:67,2--5 + AListExprs ../src/test_parser.nit:67,5 + TId "shift" ../src/test_parser.nit:67,7--11 + AListExprs ../src/test_parser.nit:67,11 + TKwend "end" ../src/test_parser.nit:68,1--3 + AIfExpr ../src/test_parser.nit:70,1--155,3 + TKwif "if" ../src/test_parser.nit:70,1--2 + AOrExpr ../src/test_parser.nit:70,4--51 + AParExpr ../src/test_parser.nit:70,4--38 + TOpar "(" ../src/test_parser.nit:70,4 + AAndExpr ../src/test_parser.nit:70,5--37 + ACallExpr ../src/test_parser.nit:70,5--17 + ACallExpr ../src/test_parser.nit:70,5--8 + AImplicitSelfExpr ../src/test_parser.nit:70,5 + TId "args" ../src/test_parser.nit:70,5--8 + AListExprs ../src/test_parser.nit:70,8 + TId "is_empty" ../src/test_parser.nit:70,10--17 + AListExprs ../src/test_parser.nit:70,17 + ANotExpr ../src/test_parser.nit:70,23--37 + TKwnot "not" ../src/test_parser.nit:70,23--25 + ACallExpr ../src/test_parser.nit:70,27--37 + AImplicitSelfExpr ../src/test_parser.nit:70,27 + TId "interactive" ../src/test_parser.nit:70,27--37 + AListExprs ../src/test_parser.nit:70,37 + TCpar ")" ../src/test_parser.nit:70,38 + ACallExpr ../src/test_parser.nit:70,43--51 + AImplicitSelfExpr ../src/test_parser.nit:70,43 + TId "need_help" ../src/test_parser.nit:70,43--51 + AListExprs ../src/test_parser.nit:70,51 + ABlockExpr ../src/test_parser.nit:71,2--82,30 + ACallExpr ../src/test_parser.nit:71,2--16 AImplicitSelfExpr ../src/test_parser.nit:71,2 TId "print" ../src/test_parser.nit:71,2--6 - AParExprs ../src/test_parser.nit:71,7--36 + AParExprs ../src/test_parser.nit:71,7--16 TOpar "(" ../src/test_parser.nit:71,7 - AStringExpr ../src/test_parser.nit:71,8--35 - TString "\" -n\tdo not print anything\"" ../src/test_parser.nit:71,8--35 - TCpar ")" ../src/test_parser.nit:71,36 - ACallExpr ../src/test_parser.nit:72,2--25 + AStringExpr ../src/test_parser.nit:71,8--15 + TString "\"usage:\"" ../src/test_parser.nit:71,8--15 + TCpar ")" ../src/test_parser.nit:71,16 + ACallExpr ../src/test_parser.nit:72,2--54 AImplicitSelfExpr ../src/test_parser.nit:72,2 TId "print" ../src/test_parser.nit:72,2--6 - AParExprs ../src/test_parser.nit:72,7--25 + AParExprs ../src/test_parser.nit:72,7--54 TOpar "(" ../src/test_parser.nit:72,7 - AStringExpr ../src/test_parser.nit:72,8--24 - TString "\" -l\tonly lexer\"" ../src/test_parser.nit:72,8--24 - TCpar ")" ../src/test_parser.nit:72,25 - ACallExpr ../src/test_parser.nit:73,2--41 + AStringExpr ../src/test_parser.nit:72,8--53 + TString "\" test_parser [options]... ...\"" ../src/test_parser.nit:72,8--53 + TCpar ")" ../src/test_parser.nit:72,54 + ACallExpr ../src/test_parser.nit:73,2--49 AImplicitSelfExpr ../src/test_parser.nit:73,2 TId "print" ../src/test_parser.nit:73,2--6 - AParExprs ../src/test_parser.nit:73,7--41 + AParExprs ../src/test_parser.nit:73,7--49 TOpar "(" ../src/test_parser.nit:73,7 - AStringExpr ../src/test_parser.nit:73,8--40 - TString "\" -p\tlexer and parser (default)\"" ../src/test_parser.nit:73,8--40 - TCpar ")" ../src/test_parser.nit:73,41 - ACallExpr ../src/test_parser.nit:74,2--68 + AStringExpr ../src/test_parser.nit:73,8--48 + TString "\" test_parser -e [options]... ...\"" ../src/test_parser.nit:73,8--48 + TCpar ")" ../src/test_parser.nit:73,49 + ACallExpr ../src/test_parser.nit:74,2--39 AImplicitSelfExpr ../src/test_parser.nit:74,2 TId "print" ../src/test_parser.nit:74,2--6 - AParExprs ../src/test_parser.nit:74,7--68 + AParExprs ../src/test_parser.nit:74,7--39 TOpar "(" ../src/test_parser.nit:74,7 - AStringExpr ../src/test_parser.nit:74,8--67 - TString "\" -e\tinstead on files, each argument is a content to parse\"" ../src/test_parser.nit:74,8--67 - TCpar ")" ../src/test_parser.nit:74,68 - ACallExpr ../src/test_parser.nit:75,2--51 + AStringExpr ../src/test_parser.nit:74,8--38 + TString "\" test_parser -i [options]...\"" ../src/test_parser.nit:74,8--38 + TCpar ")" ../src/test_parser.nit:74,39 + ACallExpr ../src/test_parser.nit:75,2--18 AImplicitSelfExpr ../src/test_parser.nit:75,2 TId "print" ../src/test_parser.nit:75,2--6 - AParExprs ../src/test_parser.nit:75,7--51 + AParExprs ../src/test_parser.nit:75,7--18 TOpar "(" ../src/test_parser.nit:75,7 - AStringExpr ../src/test_parser.nit:75,8--50 - TString "\" -i\ttree to parse are read interactively\"" ../src/test_parser.nit:75,8--50 - TCpar ")" ../src/test_parser.nit:75,51 - ACallExpr ../src/test_parser.nit:76,2--30 + AStringExpr ../src/test_parser.nit:75,8--17 + TString "\"options:\"" ../src/test_parser.nit:75,8--17 + TCpar ")" ../src/test_parser.nit:75,18 + ACallExpr ../src/test_parser.nit:76,2--36 AImplicitSelfExpr ../src/test_parser.nit:76,2 TId "print" ../src/test_parser.nit:76,2--6 - AParExprs ../src/test_parser.nit:76,7--30 + AParExprs ../src/test_parser.nit:76,7--36 TOpar "(" ../src/test_parser.nit:76,7 - AStringExpr ../src/test_parser.nit:76,8--29 - TString "\" -h\tprint this help\"" ../src/test_parser.nit:76,8--29 - TCpar ")" ../src/test_parser.nit:76,30 - AIfExpr ../src/test_parser.nit:77,6--146,3 - TKwif "if" ../src/test_parser.nit:77,6--7 - ACallExpr ../src/test_parser.nit:77,9--19 - AImplicitSelfExpr ../src/test_parser.nit:77,9 - TId "interactive" ../src/test_parser.nit:77,9--19 - AListExprs ../src/test_parser.nit:77,19 - ABlockExpr ../src/test_parser.nit:78,2--111,4 - AIfExpr ../src/test_parser.nit:78,2--87,4 - TKwif "if" ../src/test_parser.nit:78,2--3 - ACallExpr ../src/test_parser.nit:78,5--14 - AImplicitSelfExpr ../src/test_parser.nit:78,5 - TId "only_lexer" ../src/test_parser.nit:78,5--14 - AListExprs ../src/test_parser.nit:78,14 - ABlockExpr ../src/test_parser.nit:79,3--80,8 - ACallExpr ../src/test_parser.nit:79,3--44 - AImplicitSelfExpr ../src/test_parser.nit:79,3 - TId "print" ../src/test_parser.nit:79,3--7 - AListExprs ../src/test_parser.nit:79,9--44 - AStringExpr ../src/test_parser.nit:79,9--44 - TString "\"Error: -l and -i are incompatibles\"" ../src/test_parser.nit:79,9--44 - ACallExpr ../src/test_parser.nit:80,3--8 - AImplicitSelfExpr ../src/test_parser.nit:80,3 - TId "exit" ../src/test_parser.nit:80,3--6 - AListExprs ../src/test_parser.nit:80,8 - ADecIntExpr ../src/test_parser.nit:80,8 - TNumber "1" ../src/test_parser.nit:80,8 - AIfExpr ../src/test_parser.nit:81,7--87,4 - TKwif "if" ../src/test_parser.nit:81,7--8 - ACallExpr ../src/test_parser.nit:81,10--16 - AImplicitSelfExpr ../src/test_parser.nit:81,10 - TId "no_file" ../src/test_parser.nit:81,10--16 - AListExprs ../src/test_parser.nit:81,16 - ABlockExpr ../src/test_parser.nit:82,3--83,8 - ACallExpr ../src/test_parser.nit:82,3--44 - AImplicitSelfExpr ../src/test_parser.nit:82,3 - TId "print" ../src/test_parser.nit:82,3--7 - AListExprs ../src/test_parser.nit:82,9--44 - AStringExpr ../src/test_parser.nit:82,9--44 - TString "\"Error: -e and -i are incompatibles\"" ../src/test_parser.nit:82,9--44 - ACallExpr ../src/test_parser.nit:83,3--8 - AImplicitSelfExpr ../src/test_parser.nit:83,3 - TId "exit" ../src/test_parser.nit:83,3--6 - AListExprs ../src/test_parser.nit:83,8 - ADecIntExpr ../src/test_parser.nit:83,8 - TNumber "1" ../src/test_parser.nit:83,8 - AIfExpr ../src/test_parser.nit:84,7--87,4 - TKwif "if" ../src/test_parser.nit:84,7--8 - ANotExpr ../src/test_parser.nit:84,10--26 - TKwnot "not" ../src/test_parser.nit:84,10--12 - ACallExpr ../src/test_parser.nit:84,14--26 - ACallExpr ../src/test_parser.nit:84,14--17 - AImplicitSelfExpr ../src/test_parser.nit:84,14 - TId "args" ../src/test_parser.nit:84,14--17 - AListExprs ../src/test_parser.nit:84,17 - TId "is_empty" ../src/test_parser.nit:84,19--26 - AListExprs ../src/test_parser.nit:84,26 - ABlockExpr ../src/test_parser.nit:85,3--86,8 - ACallExpr ../src/test_parser.nit:85,3--43 - AImplicitSelfExpr ../src/test_parser.nit:85,3 - TId "print" ../src/test_parser.nit:85,3--7 - AListExprs ../src/test_parser.nit:85,9--43 - AStringExpr ../src/test_parser.nit:85,9--43 - TString "\"Error: -i works without arguments\"" ../src/test_parser.nit:85,9--43 - ACallExpr ../src/test_parser.nit:86,3--8 - AImplicitSelfExpr ../src/test_parser.nit:86,3 - TId "exit" ../src/test_parser.nit:86,3--6 - AListExprs ../src/test_parser.nit:86,8 - ADecIntExpr ../src/test_parser.nit:86,8 - TNumber "1" ../src/test_parser.nit:86,8 - ABlockExpr ../src/test_parser.nit:87,2--4 - TKwend "end" ../src/test_parser.nit:87,2--4 - AVardeclExpr ../src/test_parser.nit:89,2--25 - TKwvar "var" ../src/test_parser.nit:89,2--4 - TId "tc" ../src/test_parser.nit:89,6--7 - TAssign "=" ../src/test_parser.nit:89,9 - ANewExpr ../src/test_parser.nit:89,11--25 - TKwnew "new" ../src/test_parser.nit:89,11--13 - AType ../src/test_parser.nit:89,15--25 - TClassid "ToolContext" ../src/test_parser.nit:89,15--25 - AListExprs ../src/test_parser.nit:89,25 - ALoopExpr ../src/test_parser.nit:91,2--111,4 - TKwloop "loop" ../src/test_parser.nit:91,2--5 - ABlockExpr ../src/test_parser.nit:92,3--111,4 - AVardeclExpr ../src/test_parser.nit:92,3--37 - TKwvar "var" ../src/test_parser.nit:92,3--5 - TId "n" ../src/test_parser.nit:92,7 - TAssign "=" ../src/test_parser.nit:92,9 - ACallExpr ../src/test_parser.nit:92,11--37 - ACallExpr ../src/test_parser.nit:92,11--12 - AImplicitSelfExpr ../src/test_parser.nit:92,11 - TId "tc" ../src/test_parser.nit:92,11--12 - AListExprs ../src/test_parser.nit:92,12 - TId "interactive_parse" ../src/test_parser.nit:92,14--30 - AParExprs ../src/test_parser.nit:92,31--37 - TOpar "(" ../src/test_parser.nit:92,31 - AStringExpr ../src/test_parser.nit:92,32--36 - TString "\"-->\"" ../src/test_parser.nit:92,32--36 - TCpar ")" ../src/test_parser.nit:92,37 - AIfExpr ../src/test_parser.nit:93,3--101,5 - TKwif "if" ../src/test_parser.nit:93,3--4 - AIsaExpr ../src/test_parser.nit:93,6--18 - ACallExpr ../src/test_parser.nit:93,6 - AImplicitSelfExpr ../src/test_parser.nit:93,6 - TId "n" ../src/test_parser.nit:93,6 - AListExprs ../src/test_parser.nit:93,6 - AType ../src/test_parser.nit:93,12--18 - TClassid "TString" ../src/test_parser.nit:93,12--18 - ABlockExpr ../src/test_parser.nit:94,4--100,11 - AVardeclExpr ../src/test_parser.nit:94,4--17 - TKwvar "var" ../src/test_parser.nit:94,4--6 - TId "s" ../src/test_parser.nit:94,8 - TAssign "=" ../src/test_parser.nit:94,10 - ACallExpr ../src/test_parser.nit:94,12--17 - ACallExpr ../src/test_parser.nit:94,12 - AImplicitSelfExpr ../src/test_parser.nit:94,12 - TId "n" ../src/test_parser.nit:94,12 - AListExprs ../src/test_parser.nit:94,12 - TId "text" ../src/test_parser.nit:94,14--17 - AListExprs ../src/test_parser.nit:94,17 - AIfExpr ../src/test_parser.nit:95,4--99,6 - TKwif "if" ../src/test_parser.nit:95,4--5 - AEqExpr ../src/test_parser.nit:95,7--15 - ACallExpr ../src/test_parser.nit:95,7 - AImplicitSelfExpr ../src/test_parser.nit:95,7 - TId "s" ../src/test_parser.nit:95,7 - AListExprs ../src/test_parser.nit:95,7 - AStringExpr ../src/test_parser.nit:95,12--15 - TString "\":q\"" ../src/test_parser.nit:95,12--15 - ABlockExpr ../src/test_parser.nit:96,5--9 - ABreakExpr ../src/test_parser.nit:96,5--9 - TKwbreak "break" ../src/test_parser.nit:96,5--9 - ABlockExpr ../src/test_parser.nit:98,5--99,6 - ACallExpr ../src/test_parser.nit:98,5--24 - AImplicitSelfExpr ../src/test_parser.nit:98,5 - TId "print" ../src/test_parser.nit:98,5--9 - AListExprs ../src/test_parser.nit:98,11--24 - AStringExpr ../src/test_parser.nit:98,11--24 - TString "\"`:q` to quit\"" ../src/test_parser.nit:98,11--24 - TKwend "end" ../src/test_parser.nit:99,4--6 - AContinueExpr ../src/test_parser.nit:100,4--11 - TKwcontinue "continue" ../src/test_parser.nit:100,4--11 - ABlockExpr ../src/test_parser.nit:101,3--5 - TKwend "end" ../src/test_parser.nit:101,3--5 - AIfExpr ../src/test_parser.nit:103,3--106,5 - TKwif "if" ../src/test_parser.nit:103,3--4 - AIsaExpr ../src/test_parser.nit:103,6--17 - ACallExpr ../src/test_parser.nit:103,6 - AImplicitSelfExpr ../src/test_parser.nit:103,6 - TId "n" ../src/test_parser.nit:103,6 - AListExprs ../src/test_parser.nit:103,6 - AType ../src/test_parser.nit:103,12--17 - TClassid "AError" ../src/test_parser.nit:103,12--17 - ABlockExpr ../src/test_parser.nit:104,4--105,11 - ACallExpr ../src/test_parser.nit:104,4--57 - AImplicitSelfExpr ../src/test_parser.nit:104,4 - TId "print" ../src/test_parser.nit:104,4--8 - AListExprs ../src/test_parser.nit:104,10--57 - ASuperstringExpr ../src/test_parser.nit:104,10--57 - AStartStringExpr ../src/test_parser.nit:104,10--11 - TStartString "\"{" ../src/test_parser.nit:104,10--11 - ACallExpr ../src/test_parser.nit:104,12--42 - ACallExpr ../src/test_parser.nit:104,12--21 - ACallExpr ../src/test_parser.nit:104,12 - AImplicitSelfExpr ../src/test_parser.nit:104,12 - TId "n" ../src/test_parser.nit:104,12 - AListExprs ../src/test_parser.nit:104,12 - TId "location" ../src/test_parser.nit:104,14--21 - AListExprs ../src/test_parser.nit:104,21 - TId "colored_line" ../src/test_parser.nit:104,23--34 - AParExprs ../src/test_parser.nit:104,35--42 - TOpar "(" ../src/test_parser.nit:104,35 - AStringExpr ../src/test_parser.nit:104,36--41 - TString "\"0;31\"" ../src/test_parser.nit:104,36--41 - TCpar ")" ../src/test_parser.nit:104,42 - AMidStringExpr ../src/test_parser.nit:104,43--46 - TMidString "}: {" ../src/test_parser.nit:104,43--46 - ACallExpr ../src/test_parser.nit:104,47--55 - ACallExpr ../src/test_parser.nit:104,47 - AImplicitSelfExpr ../src/test_parser.nit:104,47 - TId "n" ../src/test_parser.nit:104,47 - AListExprs ../src/test_parser.nit:104,47 - TId "message" ../src/test_parser.nit:104,49--55 - AListExprs ../src/test_parser.nit:104,55 - AEndStringExpr ../src/test_parser.nit:104,56--57 - TEndString "}\"" ../src/test_parser.nit:104,56--57 - AContinueExpr ../src/test_parser.nit:105,4--11 - TKwcontinue "continue" ../src/test_parser.nit:105,4--11 - ABlockExpr ../src/test_parser.nit:106,3--5 - TKwend "end" ../src/test_parser.nit:106,3--5 - AIfExpr ../src/test_parser.nit:108,3--110,5 - TKwif "if" ../src/test_parser.nit:108,3--4 - ANotExpr ../src/test_parser.nit:108,6--17 - TKwnot "not" ../src/test_parser.nit:108,6--8 - ACallExpr ../src/test_parser.nit:108,10--17 - AImplicitSelfExpr ../src/test_parser.nit:108,10 - TId "no_print" ../src/test_parser.nit:108,10--17 - AListExprs ../src/test_parser.nit:108,17 - ABlockExpr ../src/test_parser.nit:109,4--40 - ACallExpr ../src/test_parser.nit:109,4--40 - AParExpr ../src/test_parser.nit:109,4--25 - TOpar "(" ../src/test_parser.nit:109,4 - ANewExpr ../src/test_parser.nit:109,5--24 - TKwnew "new" ../src/test_parser.nit:109,5--7 - AType ../src/test_parser.nit:109,9--24 - TClassid "PrintTreeVisitor" ../src/test_parser.nit:109,9--24 - AListExprs ../src/test_parser.nit:109,24 - TCpar ")" ../src/test_parser.nit:109,25 - TId "enter_visit" ../src/test_parser.nit:109,27--37 - AParExprs ../src/test_parser.nit:109,38--40 - TOpar "(" ../src/test_parser.nit:109,38 - ACallExpr ../src/test_parser.nit:109,39 - AImplicitSelfExpr ../src/test_parser.nit:109,39 - TId "n" ../src/test_parser.nit:109,39 - AListExprs ../src/test_parser.nit:109,39 - TCpar ")" ../src/test_parser.nit:109,40 - ABlockExpr ../src/test_parser.nit:110,3--5 - TKwend "end" ../src/test_parser.nit:110,3--5 - TKwend "end" ../src/test_parser.nit:111,2--4 - ABlockExpr ../src/test_parser.nit:113,2--146,3 - AForExpr ../src/test_parser.nit:113,2--145,4 - TKwfor "for" ../src/test_parser.nit:113,2--4 - TId "a" ../src/test_parser.nit:113,6 - ACallExpr ../src/test_parser.nit:113,11--14 - AImplicitSelfExpr ../src/test_parser.nit:113,11 - TId "args" ../src/test_parser.nit:113,11--14 - AListExprs ../src/test_parser.nit:113,14 - TKwdo "do" ../src/test_parser.nit:113,16--17 - ABlockExpr ../src/test_parser.nit:114,3--145,4 - AVardeclExpr ../src/test_parser.nit:114,3--12 - TKwvar "var" ../src/test_parser.nit:114,3--5 - TId "source" ../src/test_parser.nit:114,7--12 - AIfExpr ../src/test_parser.nit:115,3--121,5 - TKwif "if" ../src/test_parser.nit:115,3--4 - ACallExpr ../src/test_parser.nit:115,6--12 - AImplicitSelfExpr ../src/test_parser.nit:115,6 - TId "no_file" ../src/test_parser.nit:115,6--12 - AListExprs ../src/test_parser.nit:115,12 - ABlockExpr ../src/test_parser.nit:116,4--45 - ACallAssignExpr ../src/test_parser.nit:116,4--45 - AImplicitSelfExpr ../src/test_parser.nit:116,4 - TId "source" ../src/test_parser.nit:116,4--9 - AListExprs ../src/test_parser.nit:116,11 - TAssign "=" ../src/test_parser.nit:116,11 - ANewExpr ../src/test_parser.nit:116,13--45 - TKwnew "new" ../src/test_parser.nit:116,13--15 - AType ../src/test_parser.nit:116,17--26 - TClassid "SourceFile" ../src/test_parser.nit:116,17--26 - TId "from_string" ../src/test_parser.nit:116,28--38 - AParExprs ../src/test_parser.nit:116,39--45 - TOpar "(" ../src/test_parser.nit:116,39 - AStringExpr ../src/test_parser.nit:116,40--41 - TString "\"\"" ../src/test_parser.nit:116,40--41 - ACallExpr ../src/test_parser.nit:116,44 - AImplicitSelfExpr ../src/test_parser.nit:116,44 - TId "a" ../src/test_parser.nit:116,44 - AListExprs ../src/test_parser.nit:116,44 - TCpar ")" ../src/test_parser.nit:116,45 - ABlockExpr ../src/test_parser.nit:118,4--121,5 - AVardeclExpr ../src/test_parser.nit:118,4--33 - TKwvar "var" ../src/test_parser.nit:118,4--6 - TId "f" ../src/test_parser.nit:118,8 - TAssign "=" ../src/test_parser.nit:118,10 - ANewExpr ../src/test_parser.nit:118,12--33 - TKwnew "new" ../src/test_parser.nit:118,12--14 - AType ../src/test_parser.nit:118,16--25 - TClassid "FileReader" ../src/test_parser.nit:118,16--25 - TId "open" ../src/test_parser.nit:118,27--30 - AParExprs ../src/test_parser.nit:118,31--33 - TOpar "(" ../src/test_parser.nit:118,31 - ACallExpr ../src/test_parser.nit:118,32 - AImplicitSelfExpr ../src/test_parser.nit:118,32 - TId "a" ../src/test_parser.nit:118,32 - AListExprs ../src/test_parser.nit:118,32 - TCpar ")" ../src/test_parser.nit:118,33 - ACallAssignExpr ../src/test_parser.nit:119,4--32 - AImplicitSelfExpr ../src/test_parser.nit:119,4 - TId "source" ../src/test_parser.nit:119,4--9 - AListExprs ../src/test_parser.nit:119,11 - TAssign "=" ../src/test_parser.nit:119,11 - ANewExpr ../src/test_parser.nit:119,13--32 - TKwnew "new" ../src/test_parser.nit:119,13--15 - AType ../src/test_parser.nit:119,17--26 - TClassid "SourceFile" ../src/test_parser.nit:119,17--26 - AParExprs ../src/test_parser.nit:119,27--32 - TOpar "(" ../src/test_parser.nit:119,27 - ACallExpr ../src/test_parser.nit:119,28 - AImplicitSelfExpr ../src/test_parser.nit:119,28 - TId "a" ../src/test_parser.nit:119,28 - AListExprs ../src/test_parser.nit:119,28 - ACallExpr ../src/test_parser.nit:119,31 - AImplicitSelfExpr ../src/test_parser.nit:119,31 - TId "f" ../src/test_parser.nit:119,31 - AListExprs ../src/test_parser.nit:119,31 - TCpar ")" ../src/test_parser.nit:119,32 - ACallExpr ../src/test_parser.nit:120,4--10 - ACallExpr ../src/test_parser.nit:120,4 - AImplicitSelfExpr ../src/test_parser.nit:120,4 - TId "f" ../src/test_parser.nit:120,4 - AListExprs ../src/test_parser.nit:120,4 - TId "close" ../src/test_parser.nit:120,6--10 - AListExprs ../src/test_parser.nit:120,10 - TKwend "end" ../src/test_parser.nit:121,3--5 - AVardeclExpr ../src/test_parser.nit:122,3--31 - TKwvar "var" ../src/test_parser.nit:122,3--5 - TId "lexer" ../src/test_parser.nit:122,7--11 - TAssign "=" ../src/test_parser.nit:122,13 - ANewExpr ../src/test_parser.nit:122,15--31 - TKwnew "new" ../src/test_parser.nit:122,15--17 - AType ../src/test_parser.nit:122,19--23 - TClassid "Lexer" ../src/test_parser.nit:122,19--23 - AParExprs ../src/test_parser.nit:122,24--31 - TOpar "(" ../src/test_parser.nit:122,24 - ACallExpr ../src/test_parser.nit:122,25--30 - AImplicitSelfExpr ../src/test_parser.nit:122,25 - TId "source" ../src/test_parser.nit:122,25--30 - AListExprs ../src/test_parser.nit:122,30 - TCpar ")" ../src/test_parser.nit:122,31 - AIfExpr ../src/test_parser.nit:123,3--144,5 - TKwif "if" ../src/test_parser.nit:123,3--4 - ACallExpr ../src/test_parser.nit:123,6--15 - AImplicitSelfExpr ../src/test_parser.nit:123,6 - TId "only_lexer" ../src/test_parser.nit:123,6--15 - AListExprs ../src/test_parser.nit:123,15 - ABlockExpr ../src/test_parser.nit:124,4--130,6 - AVardeclExpr ../src/test_parser.nit:124,4--25 + AStringExpr ../src/test_parser.nit:76,8--35 + TString "\" -n\tdo not print anything\"" ../src/test_parser.nit:76,8--35 + TCpar ")" ../src/test_parser.nit:76,36 + ACallExpr ../src/test_parser.nit:77,2--25 + AImplicitSelfExpr ../src/test_parser.nit:77,2 + TId "print" ../src/test_parser.nit:77,2--6 + AParExprs ../src/test_parser.nit:77,7--25 + TOpar "(" ../src/test_parser.nit:77,7 + AStringExpr ../src/test_parser.nit:77,8--24 + TString "\" -l\tonly lexer\"" ../src/test_parser.nit:77,8--24 + TCpar ")" ../src/test_parser.nit:77,25 + ACallExpr ../src/test_parser.nit:78,2--41 + AImplicitSelfExpr ../src/test_parser.nit:78,2 + TId "print" ../src/test_parser.nit:78,2--6 + AParExprs ../src/test_parser.nit:78,7--41 + TOpar "(" ../src/test_parser.nit:78,7 + AStringExpr ../src/test_parser.nit:78,8--40 + TString "\" -p\tlexer and parser (default)\"" ../src/test_parser.nit:78,8--40 + TCpar ")" ../src/test_parser.nit:78,41 + ACallExpr ../src/test_parser.nit:79,2--61 + AImplicitSelfExpr ../src/test_parser.nit:79,2 + TId "print" ../src/test_parser.nit:79,2--6 + AParExprs ../src/test_parser.nit:79,7--61 + TOpar "(" ../src/test_parser.nit:79,7 + AStringExpr ../src/test_parser.nit:79,8--60 + TString "\" -x\tinstead of a ascii tree, output a XML document\"" ../src/test_parser.nit:79,8--60 + TCpar ")" ../src/test_parser.nit:79,61 + ACallExpr ../src/test_parser.nit:80,2--68 + AImplicitSelfExpr ../src/test_parser.nit:80,2 + TId "print" ../src/test_parser.nit:80,2--6 + AParExprs ../src/test_parser.nit:80,7--68 + TOpar "(" ../src/test_parser.nit:80,7 + AStringExpr ../src/test_parser.nit:80,8--67 + TString "\" -e\tinstead on files, each argument is a content to parse\"" ../src/test_parser.nit:80,8--67 + TCpar ")" ../src/test_parser.nit:80,68 + ACallExpr ../src/test_parser.nit:81,2--51 + AImplicitSelfExpr ../src/test_parser.nit:81,2 + TId "print" ../src/test_parser.nit:81,2--6 + AParExprs ../src/test_parser.nit:81,7--51 + TOpar "(" ../src/test_parser.nit:81,7 + AStringExpr ../src/test_parser.nit:81,8--50 + TString "\" -i\ttree to parse are read interactively\"" ../src/test_parser.nit:81,8--50 + TCpar ")" ../src/test_parser.nit:81,51 + ACallExpr ../src/test_parser.nit:82,2--30 + AImplicitSelfExpr ../src/test_parser.nit:82,2 + TId "print" ../src/test_parser.nit:82,2--6 + AParExprs ../src/test_parser.nit:82,7--30 + TOpar "(" ../src/test_parser.nit:82,7 + AStringExpr ../src/test_parser.nit:82,8--29 + TString "\" -h\tprint this help\"" ../src/test_parser.nit:82,8--29 + TCpar ")" ../src/test_parser.nit:82,30 + AIfExpr ../src/test_parser.nit:83,6--155,3 + TKwif "if" ../src/test_parser.nit:83,6--7 + ACallExpr ../src/test_parser.nit:83,9--19 + AImplicitSelfExpr ../src/test_parser.nit:83,9 + TId "interactive" ../src/test_parser.nit:83,9--19 + AListExprs ../src/test_parser.nit:83,19 + ABlockExpr ../src/test_parser.nit:84,2--117,4 + AIfExpr ../src/test_parser.nit:84,2--93,4 + TKwif "if" ../src/test_parser.nit:84,2--3 + ACallExpr ../src/test_parser.nit:84,5--14 + AImplicitSelfExpr ../src/test_parser.nit:84,5 + TId "only_lexer" ../src/test_parser.nit:84,5--14 + AListExprs ../src/test_parser.nit:84,14 + ABlockExpr ../src/test_parser.nit:85,3--86,8 + ACallExpr ../src/test_parser.nit:85,3--44 + AImplicitSelfExpr ../src/test_parser.nit:85,3 + TId "print" ../src/test_parser.nit:85,3--7 + AListExprs ../src/test_parser.nit:85,9--44 + AStringExpr ../src/test_parser.nit:85,9--44 + TString "\"Error: -l and -i are incompatibles\"" ../src/test_parser.nit:85,9--44 + ACallExpr ../src/test_parser.nit:86,3--8 + AImplicitSelfExpr ../src/test_parser.nit:86,3 + TId "exit" ../src/test_parser.nit:86,3--6 + AListExprs ../src/test_parser.nit:86,8 + ADecIntExpr ../src/test_parser.nit:86,8 + TNumber "1" ../src/test_parser.nit:86,8 + AIfExpr ../src/test_parser.nit:87,7--93,4 + TKwif "if" ../src/test_parser.nit:87,7--8 + ACallExpr ../src/test_parser.nit:87,10--16 + AImplicitSelfExpr ../src/test_parser.nit:87,10 + TId "no_file" ../src/test_parser.nit:87,10--16 + AListExprs ../src/test_parser.nit:87,16 + ABlockExpr ../src/test_parser.nit:88,3--89,8 + ACallExpr ../src/test_parser.nit:88,3--44 + AImplicitSelfExpr ../src/test_parser.nit:88,3 + TId "print" ../src/test_parser.nit:88,3--7 + AListExprs ../src/test_parser.nit:88,9--44 + AStringExpr ../src/test_parser.nit:88,9--44 + TString "\"Error: -e and -i are incompatibles\"" ../src/test_parser.nit:88,9--44 + ACallExpr ../src/test_parser.nit:89,3--8 + AImplicitSelfExpr ../src/test_parser.nit:89,3 + TId "exit" ../src/test_parser.nit:89,3--6 + AListExprs ../src/test_parser.nit:89,8 + ADecIntExpr ../src/test_parser.nit:89,8 + TNumber "1" ../src/test_parser.nit:89,8 + AIfExpr ../src/test_parser.nit:90,7--93,4 + TKwif "if" ../src/test_parser.nit:90,7--8 + ANotExpr ../src/test_parser.nit:90,10--26 + TKwnot "not" ../src/test_parser.nit:90,10--12 + ACallExpr ../src/test_parser.nit:90,14--26 + ACallExpr ../src/test_parser.nit:90,14--17 + AImplicitSelfExpr ../src/test_parser.nit:90,14 + TId "args" ../src/test_parser.nit:90,14--17 + AListExprs ../src/test_parser.nit:90,17 + TId "is_empty" ../src/test_parser.nit:90,19--26 + AListExprs ../src/test_parser.nit:90,26 + ABlockExpr ../src/test_parser.nit:91,3--92,8 + ACallExpr ../src/test_parser.nit:91,3--43 + AImplicitSelfExpr ../src/test_parser.nit:91,3 + TId "print" ../src/test_parser.nit:91,3--7 + AListExprs ../src/test_parser.nit:91,9--43 + AStringExpr ../src/test_parser.nit:91,9--43 + TString "\"Error: -i works without arguments\"" ../src/test_parser.nit:91,9--43 + ACallExpr ../src/test_parser.nit:92,3--8 + AImplicitSelfExpr ../src/test_parser.nit:92,3 + TId "exit" ../src/test_parser.nit:92,3--6 + AListExprs ../src/test_parser.nit:92,8 + ADecIntExpr ../src/test_parser.nit:92,8 + TNumber "1" ../src/test_parser.nit:92,8 + ABlockExpr ../src/test_parser.nit:93,2--4 + TKwend "end" ../src/test_parser.nit:93,2--4 + AVardeclExpr ../src/test_parser.nit:95,2--25 + TKwvar "var" ../src/test_parser.nit:95,2--4 + TId "tc" ../src/test_parser.nit:95,6--7 + TAssign "=" ../src/test_parser.nit:95,9 + ANewExpr ../src/test_parser.nit:95,11--25 + TKwnew "new" ../src/test_parser.nit:95,11--13 + AType ../src/test_parser.nit:95,15--25 + TClassid "ToolContext" ../src/test_parser.nit:95,15--25 + AListExprs ../src/test_parser.nit:95,25 + ALoopExpr ../src/test_parser.nit:97,2--117,4 + TKwloop "loop" ../src/test_parser.nit:97,2--5 + ABlockExpr ../src/test_parser.nit:98,3--117,4 + AVardeclExpr ../src/test_parser.nit:98,3--37 + TKwvar "var" ../src/test_parser.nit:98,3--5 + TId "n" ../src/test_parser.nit:98,7 + TAssign "=" ../src/test_parser.nit:98,9 + ACallExpr ../src/test_parser.nit:98,11--37 + ACallExpr ../src/test_parser.nit:98,11--12 + AImplicitSelfExpr ../src/test_parser.nit:98,11 + TId "tc" ../src/test_parser.nit:98,11--12 + AListExprs ../src/test_parser.nit:98,12 + TId "interactive_parse" ../src/test_parser.nit:98,14--30 + AParExprs ../src/test_parser.nit:98,31--37 + TOpar "(" ../src/test_parser.nit:98,31 + AStringExpr ../src/test_parser.nit:98,32--36 + TString "\"-->\"" ../src/test_parser.nit:98,32--36 + TCpar ")" ../src/test_parser.nit:98,37 + AIfExpr ../src/test_parser.nit:99,3--107,5 + TKwif "if" ../src/test_parser.nit:99,3--4 + AIsaExpr ../src/test_parser.nit:99,6--18 + ACallExpr ../src/test_parser.nit:99,6 + AImplicitSelfExpr ../src/test_parser.nit:99,6 + TId "n" ../src/test_parser.nit:99,6 + AListExprs ../src/test_parser.nit:99,6 + AType ../src/test_parser.nit:99,12--18 + TClassid "TString" ../src/test_parser.nit:99,12--18 + ABlockExpr ../src/test_parser.nit:100,4--106,11 + AVardeclExpr ../src/test_parser.nit:100,4--17 + TKwvar "var" ../src/test_parser.nit:100,4--6 + TId "s" ../src/test_parser.nit:100,8 + TAssign "=" ../src/test_parser.nit:100,10 + ACallExpr ../src/test_parser.nit:100,12--17 + ACallExpr ../src/test_parser.nit:100,12 + AImplicitSelfExpr ../src/test_parser.nit:100,12 + TId "n" ../src/test_parser.nit:100,12 + AListExprs ../src/test_parser.nit:100,12 + TId "text" ../src/test_parser.nit:100,14--17 + AListExprs ../src/test_parser.nit:100,17 + AIfExpr ../src/test_parser.nit:101,4--105,6 + TKwif "if" ../src/test_parser.nit:101,4--5 + AEqExpr ../src/test_parser.nit:101,7--15 + ACallExpr ../src/test_parser.nit:101,7 + AImplicitSelfExpr ../src/test_parser.nit:101,7 + TId "s" ../src/test_parser.nit:101,7 + AListExprs ../src/test_parser.nit:101,7 + AStringExpr ../src/test_parser.nit:101,12--15 + TString "\":q\"" ../src/test_parser.nit:101,12--15 + ABlockExpr ../src/test_parser.nit:102,5--9 + ABreakExpr ../src/test_parser.nit:102,5--9 + TKwbreak "break" ../src/test_parser.nit:102,5--9 + ABlockExpr ../src/test_parser.nit:104,5--105,6 + ACallExpr ../src/test_parser.nit:104,5--24 + AImplicitSelfExpr ../src/test_parser.nit:104,5 + TId "print" ../src/test_parser.nit:104,5--9 + AListExprs ../src/test_parser.nit:104,11--24 + AStringExpr ../src/test_parser.nit:104,11--24 + TString "\"`:q` to quit\"" ../src/test_parser.nit:104,11--24 + TKwend "end" ../src/test_parser.nit:105,4--6 + AContinueExpr ../src/test_parser.nit:106,4--11 + TKwcontinue "continue" ../src/test_parser.nit:106,4--11 + ABlockExpr ../src/test_parser.nit:107,3--5 + TKwend "end" ../src/test_parser.nit:107,3--5 + AIfExpr ../src/test_parser.nit:109,3--112,5 + TKwif "if" ../src/test_parser.nit:109,3--4 + AIsaExpr ../src/test_parser.nit:109,6--17 + ACallExpr ../src/test_parser.nit:109,6 + AImplicitSelfExpr ../src/test_parser.nit:109,6 + TId "n" ../src/test_parser.nit:109,6 + AListExprs ../src/test_parser.nit:109,6 + AType ../src/test_parser.nit:109,12--17 + TClassid "AError" ../src/test_parser.nit:109,12--17 + ABlockExpr ../src/test_parser.nit:110,4--111,11 + ACallExpr ../src/test_parser.nit:110,4--57 + AImplicitSelfExpr ../src/test_parser.nit:110,4 + TId "print" ../src/test_parser.nit:110,4--8 + AListExprs ../src/test_parser.nit:110,10--57 + ASuperstringExpr ../src/test_parser.nit:110,10--57 + AStartStringExpr ../src/test_parser.nit:110,10--11 + TStartString "\"{" ../src/test_parser.nit:110,10--11 + ACallExpr ../src/test_parser.nit:110,12--42 + ACallExpr ../src/test_parser.nit:110,12--21 + ACallExpr ../src/test_parser.nit:110,12 + AImplicitSelfExpr ../src/test_parser.nit:110,12 + TId "n" ../src/test_parser.nit:110,12 + AListExprs ../src/test_parser.nit:110,12 + TId "location" ../src/test_parser.nit:110,14--21 + AListExprs ../src/test_parser.nit:110,21 + TId "colored_line" ../src/test_parser.nit:110,23--34 + AParExprs ../src/test_parser.nit:110,35--42 + TOpar "(" ../src/test_parser.nit:110,35 + AStringExpr ../src/test_parser.nit:110,36--41 + TString "\"0;31\"" ../src/test_parser.nit:110,36--41 + TCpar ")" ../src/test_parser.nit:110,42 + AMidStringExpr ../src/test_parser.nit:110,43--46 + TMidString "}: {" ../src/test_parser.nit:110,43--46 + ACallExpr ../src/test_parser.nit:110,47--55 + ACallExpr ../src/test_parser.nit:110,47 + AImplicitSelfExpr ../src/test_parser.nit:110,47 + TId "n" ../src/test_parser.nit:110,47 + AListExprs ../src/test_parser.nit:110,47 + TId "message" ../src/test_parser.nit:110,49--55 + AListExprs ../src/test_parser.nit:110,55 + AEndStringExpr ../src/test_parser.nit:110,56--57 + TEndString "}\"" ../src/test_parser.nit:110,56--57 + AContinueExpr ../src/test_parser.nit:111,4--11 + TKwcontinue "continue" ../src/test_parser.nit:111,4--11 + ABlockExpr ../src/test_parser.nit:112,3--5 + TKwend "end" ../src/test_parser.nit:112,3--5 + AIfExpr ../src/test_parser.nit:114,3--116,5 + TKwif "if" ../src/test_parser.nit:114,3--4 + ANotExpr ../src/test_parser.nit:114,6--17 + TKwnot "not" ../src/test_parser.nit:114,6--8 + ACallExpr ../src/test_parser.nit:114,10--17 + AImplicitSelfExpr ../src/test_parser.nit:114,10 + TId "no_print" ../src/test_parser.nit:114,10--17 + AListExprs ../src/test_parser.nit:114,17 + ABlockExpr ../src/test_parser.nit:115,4--40 + ACallExpr ../src/test_parser.nit:115,4--40 + AParExpr ../src/test_parser.nit:115,4--25 + TOpar "(" ../src/test_parser.nit:115,4 + ANewExpr ../src/test_parser.nit:115,5--24 + TKwnew "new" ../src/test_parser.nit:115,5--7 + AType ../src/test_parser.nit:115,9--24 + TClassid "PrintTreeVisitor" ../src/test_parser.nit:115,9--24 + AListExprs ../src/test_parser.nit:115,24 + TCpar ")" ../src/test_parser.nit:115,25 + TId "enter_visit" ../src/test_parser.nit:115,27--37 + AParExprs ../src/test_parser.nit:115,38--40 + TOpar "(" ../src/test_parser.nit:115,38 + ACallExpr ../src/test_parser.nit:115,39 + AImplicitSelfExpr ../src/test_parser.nit:115,39 + TId "n" ../src/test_parser.nit:115,39 + AListExprs ../src/test_parser.nit:115,39 + TCpar ")" ../src/test_parser.nit:115,40 + ABlockExpr ../src/test_parser.nit:116,3--5 + TKwend "end" ../src/test_parser.nit:116,3--5 + TKwend "end" ../src/test_parser.nit:117,2--4 + ABlockExpr ../src/test_parser.nit:119,2--155,3 + AForExpr ../src/test_parser.nit:119,2--154,4 + TKwfor "for" ../src/test_parser.nit:119,2--4 + TId "a" ../src/test_parser.nit:119,6 + ACallExpr ../src/test_parser.nit:119,11--14 + AImplicitSelfExpr ../src/test_parser.nit:119,11 + TId "args" ../src/test_parser.nit:119,11--14 + AListExprs ../src/test_parser.nit:119,14 + TKwdo "do" ../src/test_parser.nit:119,16--17 + ABlockExpr ../src/test_parser.nit:120,3--154,4 + AVardeclExpr ../src/test_parser.nit:120,3--12 + TKwvar "var" ../src/test_parser.nit:120,3--5 + TId "source" ../src/test_parser.nit:120,7--12 + AIfExpr ../src/test_parser.nit:121,3--127,5 + TKwif "if" ../src/test_parser.nit:121,3--4 + ACallExpr ../src/test_parser.nit:121,6--12 + AImplicitSelfExpr ../src/test_parser.nit:121,6 + TId "no_file" ../src/test_parser.nit:121,6--12 + AListExprs ../src/test_parser.nit:121,12 + ABlockExpr ../src/test_parser.nit:122,4--45 + ACallAssignExpr ../src/test_parser.nit:122,4--45 + AImplicitSelfExpr ../src/test_parser.nit:122,4 + TId "source" ../src/test_parser.nit:122,4--9 + AListExprs ../src/test_parser.nit:122,11 + TAssign "=" ../src/test_parser.nit:122,11 + ANewExpr ../src/test_parser.nit:122,13--45 + TKwnew "new" ../src/test_parser.nit:122,13--15 + AType ../src/test_parser.nit:122,17--26 + TClassid "SourceFile" ../src/test_parser.nit:122,17--26 + TId "from_string" ../src/test_parser.nit:122,28--38 + AParExprs ../src/test_parser.nit:122,39--45 + TOpar "(" ../src/test_parser.nit:122,39 + AStringExpr ../src/test_parser.nit:122,40--41 + TString "\"\"" ../src/test_parser.nit:122,40--41 + ACallExpr ../src/test_parser.nit:122,44 + AImplicitSelfExpr ../src/test_parser.nit:122,44 + TId "a" ../src/test_parser.nit:122,44 + AListExprs ../src/test_parser.nit:122,44 + TCpar ")" ../src/test_parser.nit:122,45 + ABlockExpr ../src/test_parser.nit:124,4--127,5 + AVardeclExpr ../src/test_parser.nit:124,4--33 TKwvar "var" ../src/test_parser.nit:124,4--6 - TId "token" ../src/test_parser.nit:124,8--12 - TAssign "=" ../src/test_parser.nit:124,14 - ACallExpr ../src/test_parser.nit:124,16--25 - ACallExpr ../src/test_parser.nit:124,16--20 - AImplicitSelfExpr ../src/test_parser.nit:124,16 - TId "lexer" ../src/test_parser.nit:124,16--20 - AListExprs ../src/test_parser.nit:124,20 - TId "next" ../src/test_parser.nit:124,22--25 - AListExprs ../src/test_parser.nit:124,25 - AWhileExpr ../src/test_parser.nit:125,4--130,6 - TKwwhile "while" ../src/test_parser.nit:125,4--8 - ANotExpr ../src/test_parser.nit:125,10--26 - TKwnot "not" ../src/test_parser.nit:125,10--12 - AIsaExpr ../src/test_parser.nit:125,14--26 - ACallExpr ../src/test_parser.nit:125,14--18 - AImplicitSelfExpr ../src/test_parser.nit:125,14 - TId "token" ../src/test_parser.nit:125,14--18 - AListExprs ../src/test_parser.nit:125,18 - AType ../src/test_parser.nit:125,24--26 - TClassid "EOF" ../src/test_parser.nit:125,24--26 - TKwdo "do" ../src/test_parser.nit:125,28--29 - ABlockExpr ../src/test_parser.nit:126,5--130,6 - AIfExpr ../src/test_parser.nit:126,5--128,7 - TKwif "if" ../src/test_parser.nit:126,5--6 - ANotExpr ../src/test_parser.nit:126,8--19 - TKwnot "not" ../src/test_parser.nit:126,8--10 - ACallExpr ../src/test_parser.nit:126,12--19 - AImplicitSelfExpr ../src/test_parser.nit:126,12 - TId "no_print" ../src/test_parser.nit:126,12--19 - AListExprs ../src/test_parser.nit:126,19 - ABlockExpr ../src/test_parser.nit:127,6--64 - ACallExpr ../src/test_parser.nit:127,6--64 - AImplicitSelfExpr ../src/test_parser.nit:127,6 - TId "print" ../src/test_parser.nit:127,6--10 - AParExprs ../src/test_parser.nit:127,11--64 - TOpar "(" ../src/test_parser.nit:127,11 - ASuperstringExpr ../src/test_parser.nit:127,12--63 - AStartStringExpr ../src/test_parser.nit:127,12--27 - TStartString "\"Read token at {" ../src/test_parser.nit:127,12--27 - ACallExpr ../src/test_parser.nit:127,28--41 - ACallExpr ../src/test_parser.nit:127,28--32 - AImplicitSelfExpr ../src/test_parser.nit:127,28 - TId "token" ../src/test_parser.nit:127,28--32 - AListExprs ../src/test_parser.nit:127,32 - TId "location" ../src/test_parser.nit:127,34--41 - AListExprs ../src/test_parser.nit:127,41 - AMidStringExpr ../src/test_parser.nit:127,42--50 - TMidString "} text=\'{" ../src/test_parser.nit:127,42--50 - ACallExpr ../src/test_parser.nit:127,51--60 - ACallExpr ../src/test_parser.nit:127,51--55 - AImplicitSelfExpr ../src/test_parser.nit:127,51 - TId "token" ../src/test_parser.nit:127,51--55 - AListExprs ../src/test_parser.nit:127,55 - TId "text" ../src/test_parser.nit:127,57--60 - AListExprs ../src/test_parser.nit:127,60 - AEndStringExpr ../src/test_parser.nit:127,61--63 - TEndString "}\'\"" ../src/test_parser.nit:127,61--63 - TCpar ")" ../src/test_parser.nit:127,64 - ABlockExpr ../src/test_parser.nit:128,5--7 - TKwend "end" ../src/test_parser.nit:128,5--7 - ACallAssignExpr ../src/test_parser.nit:129,5--22 - AImplicitSelfExpr ../src/test_parser.nit:129,5 - TId "token" ../src/test_parser.nit:129,5--9 - AListExprs ../src/test_parser.nit:129,11 - TAssign "=" ../src/test_parser.nit:129,11 - ACallExpr ../src/test_parser.nit:129,13--22 - ACallExpr ../src/test_parser.nit:129,13--17 - AImplicitSelfExpr ../src/test_parser.nit:129,13 - TId "lexer" ../src/test_parser.nit:129,13--17 - AListExprs ../src/test_parser.nit:129,17 - TId "next" ../src/test_parser.nit:129,19--22 - AListExprs ../src/test_parser.nit:129,22 - TKwend "end" ../src/test_parser.nit:130,4--6 - ABlockExpr ../src/test_parser.nit:132,4--144,5 - AVardeclExpr ../src/test_parser.nit:132,4--33 - TKwvar "var" ../src/test_parser.nit:132,4--6 - TId "parser" ../src/test_parser.nit:132,8--13 - TAssign "=" ../src/test_parser.nit:132,15 - ANewExpr ../src/test_parser.nit:132,17--33 - TKwnew "new" ../src/test_parser.nit:132,17--19 - AType ../src/test_parser.nit:132,21--26 - TClassid "Parser" ../src/test_parser.nit:132,21--26 - AParExprs ../src/test_parser.nit:132,27--33 - TOpar "(" ../src/test_parser.nit:132,27 - ACallExpr ../src/test_parser.nit:132,28--32 - AImplicitSelfExpr ../src/test_parser.nit:132,28 - TId "lexer" ../src/test_parser.nit:132,28--32 - AListExprs ../src/test_parser.nit:132,32 - TCpar ")" ../src/test_parser.nit:132,33 - AVardeclExpr ../src/test_parser.nit:133,4--26 - TKwvar "var" ../src/test_parser.nit:133,4--6 - TId "tree" ../src/test_parser.nit:133,8--11 - TAssign "=" ../src/test_parser.nit:133,13 - ACallExpr ../src/test_parser.nit:133,15--26 - ACallExpr ../src/test_parser.nit:133,15--20 - AImplicitSelfExpr ../src/test_parser.nit:133,15 - TId "parser" ../src/test_parser.nit:133,15--20 - AListExprs ../src/test_parser.nit:133,20 - TId "parse" ../src/test_parser.nit:133,22--26 - AListExprs ../src/test_parser.nit:133,26 - AVardeclExpr ../src/test_parser.nit:135,4--25 - TKwvar "var" ../src/test_parser.nit:135,4--6 - TId "error" ../src/test_parser.nit:135,8--12 - TAssign "=" ../src/test_parser.nit:135,14 - ACallExpr ../src/test_parser.nit:135,16--25 - ACallExpr ../src/test_parser.nit:135,16--19 - AImplicitSelfExpr ../src/test_parser.nit:135,16 - TId "tree" ../src/test_parser.nit:135,16--19 - AListExprs ../src/test_parser.nit:135,19 - TId "n_eof" ../src/test_parser.nit:135,21--25 - AListExprs ../src/test_parser.nit:135,25 - AIfExpr ../src/test_parser.nit:136,4--139,6 - TKwif "if" ../src/test_parser.nit:136,4--5 - AIsaExpr ../src/test_parser.nit:136,7--22 - ACallExpr ../src/test_parser.nit:136,7--11 - AImplicitSelfExpr ../src/test_parser.nit:136,7 - TId "error" ../src/test_parser.nit:136,7--11 - AListExprs ../src/test_parser.nit:136,11 - AType ../src/test_parser.nit:136,17--22 - TClassid "AError" ../src/test_parser.nit:136,17--22 - ABlockExpr ../src/test_parser.nit:137,5--138,10 - ACallExpr ../src/test_parser.nit:137,5--58 - AImplicitSelfExpr ../src/test_parser.nit:137,5 - TId "print" ../src/test_parser.nit:137,5--9 - AParExprs ../src/test_parser.nit:137,10--58 - TOpar "(" ../src/test_parser.nit:137,10 - ASuperstringExpr ../src/test_parser.nit:137,11--57 - AStartStringExpr ../src/test_parser.nit:137,11--21 - TStartString "\"Error at {" ../src/test_parser.nit:137,11--21 - ACallExpr ../src/test_parser.nit:137,22--35 - ACallExpr ../src/test_parser.nit:137,22--26 - AImplicitSelfExpr ../src/test_parser.nit:137,22 - TId "error" ../src/test_parser.nit:137,22--26 - AListExprs ../src/test_parser.nit:137,26 - TId "location" ../src/test_parser.nit:137,28--35 - AListExprs ../src/test_parser.nit:137,35 - AMidStringExpr ../src/test_parser.nit:137,36--42 - TMidString "}:\\n\\t{" ../src/test_parser.nit:137,36--42 - ACallExpr ../src/test_parser.nit:137,43--55 - ACallExpr ../src/test_parser.nit:137,43--47 - AImplicitSelfExpr ../src/test_parser.nit:137,43 - TId "error" ../src/test_parser.nit:137,43--47 - AListExprs ../src/test_parser.nit:137,47 - TId "message" ../src/test_parser.nit:137,49--55 - AListExprs ../src/test_parser.nit:137,55 - AEndStringExpr ../src/test_parser.nit:137,56--57 - TEndString "}\"" ../src/test_parser.nit:137,56--57 - TCpar ")" ../src/test_parser.nit:137,58 - AReturnExpr ../src/test_parser.nit:138,5--10 - TKwreturn "return" ../src/test_parser.nit:138,5--10 - ABlockExpr ../src/test_parser.nit:139,4--6 - TKwend "end" ../src/test_parser.nit:139,4--6 - AIfExpr ../src/test_parser.nit:141,4--143,6 - TKwif "if" ../src/test_parser.nit:141,4--5 - ANotExpr ../src/test_parser.nit:141,7--18 - TKwnot "not" ../src/test_parser.nit:141,7--9 - ACallExpr ../src/test_parser.nit:141,11--18 - AImplicitSelfExpr ../src/test_parser.nit:141,11 - TId "no_print" ../src/test_parser.nit:141,11--18 - AListExprs ../src/test_parser.nit:141,18 - ABlockExpr ../src/test_parser.nit:142,5--44 - ACallExpr ../src/test_parser.nit:142,5--44 - AParExpr ../src/test_parser.nit:142,5--26 - TOpar "(" ../src/test_parser.nit:142,5 - ANewExpr ../src/test_parser.nit:142,6--25 - TKwnew "new" ../src/test_parser.nit:142,6--8 - AType ../src/test_parser.nit:142,10--25 - TClassid "PrintTreeVisitor" ../src/test_parser.nit:142,10--25 - AListExprs ../src/test_parser.nit:142,25 - TCpar ")" ../src/test_parser.nit:142,26 - TId "enter_visit" ../src/test_parser.nit:142,28--38 - AParExprs ../src/test_parser.nit:142,39--44 - TOpar "(" ../src/test_parser.nit:142,39 - ACallExpr ../src/test_parser.nit:142,40--43 - AImplicitSelfExpr ../src/test_parser.nit:142,40 - TId "tree" ../src/test_parser.nit:142,40--43 - AListExprs ../src/test_parser.nit:142,43 - TCpar ")" ../src/test_parser.nit:142,44 - ABlockExpr ../src/test_parser.nit:143,4--6 - TKwend "end" ../src/test_parser.nit:143,4--6 - TKwend "end" ../src/test_parser.nit:144,3--5 - TKwend "end" ../src/test_parser.nit:145,2--4 - TKwend "end" ../src/test_parser.nit:146,1--3 - EOF "" ../src/test_parser.nit:147,1 + TId "f" ../src/test_parser.nit:124,8 + TAssign "=" ../src/test_parser.nit:124,10 + ANewExpr ../src/test_parser.nit:124,12--33 + TKwnew "new" ../src/test_parser.nit:124,12--14 + AType ../src/test_parser.nit:124,16--25 + TClassid "FileReader" ../src/test_parser.nit:124,16--25 + TId "open" ../src/test_parser.nit:124,27--30 + AParExprs ../src/test_parser.nit:124,31--33 + TOpar "(" ../src/test_parser.nit:124,31 + ACallExpr ../src/test_parser.nit:124,32 + AImplicitSelfExpr ../src/test_parser.nit:124,32 + TId "a" ../src/test_parser.nit:124,32 + AListExprs ../src/test_parser.nit:124,32 + TCpar ")" ../src/test_parser.nit:124,33 + ACallAssignExpr ../src/test_parser.nit:125,4--32 + AImplicitSelfExpr ../src/test_parser.nit:125,4 + TId "source" ../src/test_parser.nit:125,4--9 + AListExprs ../src/test_parser.nit:125,11 + TAssign "=" ../src/test_parser.nit:125,11 + ANewExpr ../src/test_parser.nit:125,13--32 + TKwnew "new" ../src/test_parser.nit:125,13--15 + AType ../src/test_parser.nit:125,17--26 + TClassid "SourceFile" ../src/test_parser.nit:125,17--26 + AParExprs ../src/test_parser.nit:125,27--32 + TOpar "(" ../src/test_parser.nit:125,27 + ACallExpr ../src/test_parser.nit:125,28 + AImplicitSelfExpr ../src/test_parser.nit:125,28 + TId "a" ../src/test_parser.nit:125,28 + AListExprs ../src/test_parser.nit:125,28 + ACallExpr ../src/test_parser.nit:125,31 + AImplicitSelfExpr ../src/test_parser.nit:125,31 + TId "f" ../src/test_parser.nit:125,31 + AListExprs ../src/test_parser.nit:125,31 + TCpar ")" ../src/test_parser.nit:125,32 + ACallExpr ../src/test_parser.nit:126,4--10 + ACallExpr ../src/test_parser.nit:126,4 + AImplicitSelfExpr ../src/test_parser.nit:126,4 + TId "f" ../src/test_parser.nit:126,4 + AListExprs ../src/test_parser.nit:126,4 + TId "close" ../src/test_parser.nit:126,6--10 + AListExprs ../src/test_parser.nit:126,10 + TKwend "end" ../src/test_parser.nit:127,3--5 + AVardeclExpr ../src/test_parser.nit:128,3--31 + TKwvar "var" ../src/test_parser.nit:128,3--5 + TId "lexer" ../src/test_parser.nit:128,7--11 + TAssign "=" ../src/test_parser.nit:128,13 + ANewExpr ../src/test_parser.nit:128,15--31 + TKwnew "new" ../src/test_parser.nit:128,15--17 + AType ../src/test_parser.nit:128,19--23 + TClassid "Lexer" ../src/test_parser.nit:128,19--23 + AParExprs ../src/test_parser.nit:128,24--31 + TOpar "(" ../src/test_parser.nit:128,24 + ACallExpr ../src/test_parser.nit:128,25--30 + AImplicitSelfExpr ../src/test_parser.nit:128,25 + TId "source" ../src/test_parser.nit:128,25--30 + AListExprs ../src/test_parser.nit:128,30 + TCpar ")" ../src/test_parser.nit:128,31 + AIfExpr ../src/test_parser.nit:129,3--153,5 + TKwif "if" ../src/test_parser.nit:129,3--4 + ACallExpr ../src/test_parser.nit:129,6--15 + AImplicitSelfExpr ../src/test_parser.nit:129,6 + TId "only_lexer" ../src/test_parser.nit:129,6--15 + AListExprs ../src/test_parser.nit:129,15 + ABlockExpr ../src/test_parser.nit:130,4--136,6 + AVardeclExpr ../src/test_parser.nit:130,4--25 + TKwvar "var" ../src/test_parser.nit:130,4--6 + TId "token" ../src/test_parser.nit:130,8--12 + TAssign "=" ../src/test_parser.nit:130,14 + ACallExpr ../src/test_parser.nit:130,16--25 + ACallExpr ../src/test_parser.nit:130,16--20 + AImplicitSelfExpr ../src/test_parser.nit:130,16 + TId "lexer" ../src/test_parser.nit:130,16--20 + AListExprs ../src/test_parser.nit:130,20 + TId "next" ../src/test_parser.nit:130,22--25 + AListExprs ../src/test_parser.nit:130,25 + AWhileExpr ../src/test_parser.nit:131,4--136,6 + TKwwhile "while" ../src/test_parser.nit:131,4--8 + ANotExpr ../src/test_parser.nit:131,10--26 + TKwnot "not" ../src/test_parser.nit:131,10--12 + AIsaExpr ../src/test_parser.nit:131,14--26 + ACallExpr ../src/test_parser.nit:131,14--18 + AImplicitSelfExpr ../src/test_parser.nit:131,14 + TId "token" ../src/test_parser.nit:131,14--18 + AListExprs ../src/test_parser.nit:131,18 + AType ../src/test_parser.nit:131,24--26 + TClassid "EOF" ../src/test_parser.nit:131,24--26 + TKwdo "do" ../src/test_parser.nit:131,28--29 + ABlockExpr ../src/test_parser.nit:132,5--136,6 + AIfExpr ../src/test_parser.nit:132,5--134,7 + TKwif "if" ../src/test_parser.nit:132,5--6 + ANotExpr ../src/test_parser.nit:132,8--19 + TKwnot "not" ../src/test_parser.nit:132,8--10 + ACallExpr ../src/test_parser.nit:132,12--19 + AImplicitSelfExpr ../src/test_parser.nit:132,12 + TId "no_print" ../src/test_parser.nit:132,12--19 + AListExprs ../src/test_parser.nit:132,19 + ABlockExpr ../src/test_parser.nit:133,6--64 + ACallExpr ../src/test_parser.nit:133,6--64 + AImplicitSelfExpr ../src/test_parser.nit:133,6 + TId "print" ../src/test_parser.nit:133,6--10 + AParExprs ../src/test_parser.nit:133,11--64 + TOpar "(" ../src/test_parser.nit:133,11 + ASuperstringExpr ../src/test_parser.nit:133,12--63 + AStartStringExpr ../src/test_parser.nit:133,12--27 + TStartString "\"Read token at {" ../src/test_parser.nit:133,12--27 + ACallExpr ../src/test_parser.nit:133,28--41 + ACallExpr ../src/test_parser.nit:133,28--32 + AImplicitSelfExpr ../src/test_parser.nit:133,28 + TId "token" ../src/test_parser.nit:133,28--32 + AListExprs ../src/test_parser.nit:133,32 + TId "location" ../src/test_parser.nit:133,34--41 + AListExprs ../src/test_parser.nit:133,41 + AMidStringExpr ../src/test_parser.nit:133,42--50 + TMidString "} text=\'{" ../src/test_parser.nit:133,42--50 + ACallExpr ../src/test_parser.nit:133,51--60 + ACallExpr ../src/test_parser.nit:133,51--55 + AImplicitSelfExpr ../src/test_parser.nit:133,51 + TId "token" ../src/test_parser.nit:133,51--55 + AListExprs ../src/test_parser.nit:133,55 + TId "text" ../src/test_parser.nit:133,57--60 + AListExprs ../src/test_parser.nit:133,60 + AEndStringExpr ../src/test_parser.nit:133,61--63 + TEndString "}\'\"" ../src/test_parser.nit:133,61--63 + TCpar ")" ../src/test_parser.nit:133,64 + ABlockExpr ../src/test_parser.nit:134,5--7 + TKwend "end" ../src/test_parser.nit:134,5--7 + ACallAssignExpr ../src/test_parser.nit:135,5--22 + AImplicitSelfExpr ../src/test_parser.nit:135,5 + TId "token" ../src/test_parser.nit:135,5--9 + AListExprs ../src/test_parser.nit:135,11 + TAssign "=" ../src/test_parser.nit:135,11 + ACallExpr ../src/test_parser.nit:135,13--22 + ACallExpr ../src/test_parser.nit:135,13--17 + AImplicitSelfExpr ../src/test_parser.nit:135,13 + TId "lexer" ../src/test_parser.nit:135,13--17 + AListExprs ../src/test_parser.nit:135,17 + TId "next" ../src/test_parser.nit:135,19--22 + AListExprs ../src/test_parser.nit:135,22 + TKwend "end" ../src/test_parser.nit:136,4--6 + ABlockExpr ../src/test_parser.nit:138,4--153,5 + AVardeclExpr ../src/test_parser.nit:138,4--33 + TKwvar "var" ../src/test_parser.nit:138,4--6 + TId "parser" ../src/test_parser.nit:138,8--13 + TAssign "=" ../src/test_parser.nit:138,15 + ANewExpr ../src/test_parser.nit:138,17--33 + TKwnew "new" ../src/test_parser.nit:138,17--19 + AType ../src/test_parser.nit:138,21--26 + TClassid "Parser" ../src/test_parser.nit:138,21--26 + AParExprs ../src/test_parser.nit:138,27--33 + TOpar "(" ../src/test_parser.nit:138,27 + ACallExpr ../src/test_parser.nit:138,28--32 + AImplicitSelfExpr ../src/test_parser.nit:138,28 + TId "lexer" ../src/test_parser.nit:138,28--32 + AListExprs ../src/test_parser.nit:138,32 + TCpar ")" ../src/test_parser.nit:138,33 + AVardeclExpr ../src/test_parser.nit:139,4--26 + TKwvar "var" ../src/test_parser.nit:139,4--6 + TId "tree" ../src/test_parser.nit:139,8--11 + TAssign "=" ../src/test_parser.nit:139,13 + ACallExpr ../src/test_parser.nit:139,15--26 + ACallExpr ../src/test_parser.nit:139,15--20 + AImplicitSelfExpr ../src/test_parser.nit:139,15 + TId "parser" ../src/test_parser.nit:139,15--20 + AListExprs ../src/test_parser.nit:139,20 + TId "parse" ../src/test_parser.nit:139,22--26 + AListExprs ../src/test_parser.nit:139,26 + AVardeclExpr ../src/test_parser.nit:141,4--25 + TKwvar "var" ../src/test_parser.nit:141,4--6 + TId "error" ../src/test_parser.nit:141,8--12 + TAssign "=" ../src/test_parser.nit:141,14 + ACallExpr ../src/test_parser.nit:141,16--25 + ACallExpr ../src/test_parser.nit:141,16--19 + AImplicitSelfExpr ../src/test_parser.nit:141,16 + TId "tree" ../src/test_parser.nit:141,16--19 + AListExprs ../src/test_parser.nit:141,19 + TId "n_eof" ../src/test_parser.nit:141,21--25 + AListExprs ../src/test_parser.nit:141,25 + AIfExpr ../src/test_parser.nit:142,4--145,6 + TKwif "if" ../src/test_parser.nit:142,4--5 + AIsaExpr ../src/test_parser.nit:142,7--22 + ACallExpr ../src/test_parser.nit:142,7--11 + AImplicitSelfExpr ../src/test_parser.nit:142,7 + TId "error" ../src/test_parser.nit:142,7--11 + AListExprs ../src/test_parser.nit:142,11 + AType ../src/test_parser.nit:142,17--22 + TClassid "AError" ../src/test_parser.nit:142,17--22 + ABlockExpr ../src/test_parser.nit:143,5--144,10 + ACallExpr ../src/test_parser.nit:143,5--58 + AImplicitSelfExpr ../src/test_parser.nit:143,5 + TId "print" ../src/test_parser.nit:143,5--9 + AParExprs ../src/test_parser.nit:143,10--58 + TOpar "(" ../src/test_parser.nit:143,10 + ASuperstringExpr ../src/test_parser.nit:143,11--57 + AStartStringExpr ../src/test_parser.nit:143,11--21 + TStartString "\"Error at {" ../src/test_parser.nit:143,11--21 + ACallExpr ../src/test_parser.nit:143,22--35 + ACallExpr ../src/test_parser.nit:143,22--26 + AImplicitSelfExpr ../src/test_parser.nit:143,22 + TId "error" ../src/test_parser.nit:143,22--26 + AListExprs ../src/test_parser.nit:143,26 + TId "location" ../src/test_parser.nit:143,28--35 + AListExprs ../src/test_parser.nit:143,35 + AMidStringExpr ../src/test_parser.nit:143,36--42 + TMidString "}:\\n\\t{" ../src/test_parser.nit:143,36--42 + ACallExpr ../src/test_parser.nit:143,43--55 + ACallExpr ../src/test_parser.nit:143,43--47 + AImplicitSelfExpr ../src/test_parser.nit:143,43 + TId "error" ../src/test_parser.nit:143,43--47 + AListExprs ../src/test_parser.nit:143,47 + TId "message" ../src/test_parser.nit:143,49--55 + AListExprs ../src/test_parser.nit:143,55 + AEndStringExpr ../src/test_parser.nit:143,56--57 + TEndString "}\"" ../src/test_parser.nit:143,56--57 + TCpar ")" ../src/test_parser.nit:143,58 + AReturnExpr ../src/test_parser.nit:144,5--10 + TKwreturn "return" ../src/test_parser.nit:144,5--10 + ABlockExpr ../src/test_parser.nit:145,4--6 + TKwend "end" ../src/test_parser.nit:145,4--6 + AIfExpr ../src/test_parser.nit:147,4--152,6 + TKwif "if" ../src/test_parser.nit:147,4--5 + ACallExpr ../src/test_parser.nit:147,7--9 + AImplicitSelfExpr ../src/test_parser.nit:147,7 + TId "xml" ../src/test_parser.nit:147,7--9 + AListExprs ../src/test_parser.nit:147,9 + ABlockExpr ../src/test_parser.nit:148,5--149,32 + ACallExpr ../src/test_parser.nit:148,5--25 + ACallExpr ../src/test_parser.nit:148,5--8 + AImplicitSelfExpr ../src/test_parser.nit:148,5 + TId "tree" ../src/test_parser.nit:148,5--8 + AListExprs ../src/test_parser.nit:148,8 + TId "parentize_tokens" ../src/test_parser.nit:148,10--25 + AListExprs ../src/test_parser.nit:148,25 + ACallExpr ../src/test_parser.nit:149,5--32 + ACallExpr ../src/test_parser.nit:149,5--15 + ACallExpr ../src/test_parser.nit:149,5--8 + AImplicitSelfExpr ../src/test_parser.nit:149,5 + TId "tree" ../src/test_parser.nit:149,5--8 + AListExprs ../src/test_parser.nit:149,8 + TId "to_xml" ../src/test_parser.nit:149,10--15 + AListExprs ../src/test_parser.nit:149,15 + TId "write_to" ../src/test_parser.nit:149,17--24 + AParExprs ../src/test_parser.nit:149,25--32 + TOpar "(" ../src/test_parser.nit:149,25 + ACallExpr ../src/test_parser.nit:149,26--31 + AImplicitSelfExpr ../src/test_parser.nit:149,26 + TId "stdout" ../src/test_parser.nit:149,26--31 + AListExprs ../src/test_parser.nit:149,31 + TCpar ")" ../src/test_parser.nit:149,32 + AIfExpr ../src/test_parser.nit:150,9--152,6 + TKwif "if" ../src/test_parser.nit:150,9--10 + ANotExpr ../src/test_parser.nit:150,12--23 + TKwnot "not" ../src/test_parser.nit:150,12--14 + ACallExpr ../src/test_parser.nit:150,16--23 + AImplicitSelfExpr ../src/test_parser.nit:150,16 + TId "no_print" ../src/test_parser.nit:150,16--23 + AListExprs ../src/test_parser.nit:150,23 + ABlockExpr ../src/test_parser.nit:151,5--44 + ACallExpr ../src/test_parser.nit:151,5--44 + AParExpr ../src/test_parser.nit:151,5--26 + TOpar "(" ../src/test_parser.nit:151,5 + ANewExpr ../src/test_parser.nit:151,6--25 + TKwnew "new" ../src/test_parser.nit:151,6--8 + AType ../src/test_parser.nit:151,10--25 + TClassid "PrintTreeVisitor" ../src/test_parser.nit:151,10--25 + AListExprs ../src/test_parser.nit:151,25 + TCpar ")" ../src/test_parser.nit:151,26 + TId "enter_visit" ../src/test_parser.nit:151,28--38 + AParExprs ../src/test_parser.nit:151,39--44 + TOpar "(" ../src/test_parser.nit:151,39 + ACallExpr ../src/test_parser.nit:151,40--43 + AImplicitSelfExpr ../src/test_parser.nit:151,40 + TId "tree" ../src/test_parser.nit:151,40--43 + AListExprs ../src/test_parser.nit:151,43 + TCpar ")" ../src/test_parser.nit:151,44 + ABlockExpr ../src/test_parser.nit:152,4--6 + TKwend "end" ../src/test_parser.nit:152,4--6 + TKwend "end" ../src/test_parser.nit:153,3--5 + TKwend "end" ../src/test_parser.nit:154,2--4 + TKwend "end" ../src/test_parser.nit:155,1--3 + EOF "" ../src/test_parser.nit:156,1 diff --git a/tests/sav/test_parser_args2.res b/tests/sav/test_parser_args2.res index 32c94e3..4b807ae 100644 --- a/tests/sav/test_parser_args2.res +++ b/tests/sav/test_parser_args2.res @@ -46,73 +46,48 @@ Read token at ../src/test_parser.nit:21,1--6 text='import' Read token at ../src/test_parser.nit:21,8--18 text='parser_util' Read token at ../src/test_parser.nit:21,19--22,0 text=' ' -Read token at ../src/test_parser.nit:22,1--23,0 text=' -' -Read token at ../src/test_parser.nit:23,1--5 text='class' -Read token at ../src/test_parser.nit:23,7--22 text='PrintTreeVisitor' -Read token at ../src/test_parser.nit:23,23--24,0 text=' -' -Read token at ../src/test_parser.nit:24,2--6 text='super' -Read token at ../src/test_parser.nit:24,8--14 text='Visitor' -Read token at ../src/test_parser.nit:24,15--25,0 text=' -' -Read token at ../src/test_parser.nit:25,2--8 text='private' -Read token at ../src/test_parser.nit:25,10--12 text='var' -Read token at ../src/test_parser.nit:25,14--17 text='rank' -Read token at ../src/test_parser.nit:25,18 text=':' -Read token at ../src/test_parser.nit:25,20--22 text='Int' -Read token at ../src/test_parser.nit:25,24 text='=' -Read token at ../src/test_parser.nit:25,26 text='0' -Read token at ../src/test_parser.nit:25,27--26,0 text=' -' -Read token at ../src/test_parser.nit:26,2--6 text='redef' -Read token at ../src/test_parser.nit:26,8--10 text='fun' -Read token at ../src/test_parser.nit:26,12--16 text='visit' -Read token at ../src/test_parser.nit:26,17 text='(' -Read token at ../src/test_parser.nit:26,18 text='n' -Read token at ../src/test_parser.nit:26,19 text=')' -Read token at ../src/test_parser.nit:26,20--27,0 text=' -' -Read token at ../src/test_parser.nit:27,2--3 text='do' -Read token at ../src/test_parser.nit:27,4--28,0 text=' -' -Read token at ../src/test_parser.nit:28,3--4 text='if' -Read token at ../src/test_parser.nit:28,6 text='n' -Read token at ../src/test_parser.nit:28,8--10 text='isa' -Read token at ../src/test_parser.nit:28,12--16 text='Token' -Read token at ../src/test_parser.nit:28,18--21 text='then' -Read token at ../src/test_parser.nit:28,22--29,0 text=' -' -Read token at ../src/test_parser.nit:29,4--9 text='printn' -Read token at ../src/test_parser.nit:29,10 text='(' -Read token at ../src/test_parser.nit:29,11--14 text='" "' -Read token at ../src/test_parser.nit:29,16 text='*' -Read token at ../src/test_parser.nit:29,18--21 text='rank' -Read token at ../src/test_parser.nit:29,22 text=',' -Read token at ../src/test_parser.nit:29,24 text='n' -Read token at ../src/test_parser.nit:29,25 text='.' -Read token at ../src/test_parser.nit:29,26--35 text='class_name' -Read token at ../src/test_parser.nit:29,36 text=',' -Read token at ../src/test_parser.nit:29,38--42 text='" \""' -Read token at ../src/test_parser.nit:29,43 text=',' -Read token at ../src/test_parser.nit:29,45 text='n' -Read token at ../src/test_parser.nit:29,46 text='.' -Read token at ../src/test_parser.nit:29,47--50 text='text' -Read token at ../src/test_parser.nit:29,51 text='.' -Read token at ../src/test_parser.nit:29,52--62 text='escape_to_c' -Read token at ../src/test_parser.nit:29,63 text=',' -Read token at ../src/test_parser.nit:29,65--69 text='"\" "' -Read token at ../src/test_parser.nit:29,70 text=',' -Read token at ../src/test_parser.nit:29,72 text='n' -Read token at ../src/test_parser.nit:29,73 text='.' -Read token at ../src/test_parser.nit:29,74--81 text='location' -Read token at ../src/test_parser.nit:29,82 text=',' -Read token at ../src/test_parser.nit:29,84--87 text='"\n"' -Read token at ../src/test_parser.nit:29,88 text=')' -Read token at ../src/test_parser.nit:29,89--30,0 text=' -' -Read token at ../src/test_parser.nit:30,3--6 text='else' -Read token at ../src/test_parser.nit:30,7--31,0 text=' +Read token at ../src/test_parser.nit:22,1--6 text='import' +Read token at ../src/test_parser.nit:22,8--14 text='astutil' +Read token at ../src/test_parser.nit:22,15--23,0 text=' +' +Read token at ../src/test_parser.nit:23,1--24,0 text=' +' +Read token at ../src/test_parser.nit:24,1--25,0 text='# A basic visitor that prints AST trees to the screen +' +Read token at ../src/test_parser.nit:25,1--5 text='class' +Read token at ../src/test_parser.nit:25,7--22 text='PrintTreeVisitor' +Read token at ../src/test_parser.nit:25,23--26,0 text=' +' +Read token at ../src/test_parser.nit:26,2--6 text='super' +Read token at ../src/test_parser.nit:26,8--14 text='Visitor' +Read token at ../src/test_parser.nit:26,15--27,0 text=' +' +Read token at ../src/test_parser.nit:27,2--8 text='private' +Read token at ../src/test_parser.nit:27,10--12 text='var' +Read token at ../src/test_parser.nit:27,14--17 text='rank' +Read token at ../src/test_parser.nit:27,18 text=':' +Read token at ../src/test_parser.nit:27,20--22 text='Int' +Read token at ../src/test_parser.nit:27,24 text='=' +Read token at ../src/test_parser.nit:27,26 text='0' +Read token at ../src/test_parser.nit:27,27--28,0 text=' +' +Read token at ../src/test_parser.nit:28,2--6 text='redef' +Read token at ../src/test_parser.nit:28,8--10 text='fun' +Read token at ../src/test_parser.nit:28,12--16 text='visit' +Read token at ../src/test_parser.nit:28,17 text='(' +Read token at ../src/test_parser.nit:28,18 text='n' +Read token at ../src/test_parser.nit:28,19 text=')' +Read token at ../src/test_parser.nit:28,20--29,0 text=' +' +Read token at ../src/test_parser.nit:29,2--3 text='do' +Read token at ../src/test_parser.nit:29,4--30,0 text=' +' +Read token at ../src/test_parser.nit:30,3--4 text='if' +Read token at ../src/test_parser.nit:30,6 text='n' +Read token at ../src/test_parser.nit:30,8--10 text='isa' +Read token at ../src/test_parser.nit:30,12--16 text='Token' +Read token at ../src/test_parser.nit:30,18--21 text='then' +Read token at ../src/test_parser.nit:30,22--31,0 text=' ' Read token at ../src/test_parser.nit:31,4--9 text='printn' Read token at ../src/test_parser.nit:31,10 text='(' @@ -124,700 +99,779 @@ Read token at ../src/test_parser.nit:31,24 text='n' Read token at ../src/test_parser.nit:31,25 text='.' Read token at ../src/test_parser.nit:31,26--35 text='class_name' Read token at ../src/test_parser.nit:31,36 text=',' -Read token at ../src/test_parser.nit:31,38--40 text='" "' -Read token at ../src/test_parser.nit:31,41 text=',' -Read token at ../src/test_parser.nit:31,43 text='n' -Read token at ../src/test_parser.nit:31,44 text='.' -Read token at ../src/test_parser.nit:31,45--52 text='location' -Read token at ../src/test_parser.nit:31,53 text=',' -Read token at ../src/test_parser.nit:31,55--58 text='"\n"' -Read token at ../src/test_parser.nit:31,59 text=')' -Read token at ../src/test_parser.nit:31,60--32,0 text=' -' -Read token at ../src/test_parser.nit:32,3--5 text='end' -Read token at ../src/test_parser.nit:32,6--33,0 text=' -' -Read token at ../src/test_parser.nit:33,3--6 text='rank' -Read token at ../src/test_parser.nit:33,8 text='=' -Read token at ../src/test_parser.nit:33,10--13 text='rank' -Read token at ../src/test_parser.nit:33,15 text='+' -Read token at ../src/test_parser.nit:33,17 text='1' -Read token at ../src/test_parser.nit:33,18--34,0 text=' -' -Read token at ../src/test_parser.nit:34,3 text='n' -Read token at ../src/test_parser.nit:34,4 text='.' -Read token at ../src/test_parser.nit:34,5--13 text='visit_all' -Read token at ../src/test_parser.nit:34,14 text='(' -Read token at ../src/test_parser.nit:34,15--18 text='self' -Read token at ../src/test_parser.nit:34,19 text=')' -Read token at ../src/test_parser.nit:34,20--35,0 text=' +Read token at ../src/test_parser.nit:31,38--42 text='" \""' +Read token at ../src/test_parser.nit:31,43 text=',' +Read token at ../src/test_parser.nit:31,45 text='n' +Read token at ../src/test_parser.nit:31,46 text='.' +Read token at ../src/test_parser.nit:31,47--50 text='text' +Read token at ../src/test_parser.nit:31,51 text='.' +Read token at ../src/test_parser.nit:31,52--62 text='escape_to_c' +Read token at ../src/test_parser.nit:31,63 text=',' +Read token at ../src/test_parser.nit:31,65--69 text='"\" "' +Read token at ../src/test_parser.nit:31,70 text=',' +Read token at ../src/test_parser.nit:31,72 text='n' +Read token at ../src/test_parser.nit:31,73 text='.' +Read token at ../src/test_parser.nit:31,74--81 text='location' +Read token at ../src/test_parser.nit:31,82 text=',' +Read token at ../src/test_parser.nit:31,84--87 text='"\n"' +Read token at ../src/test_parser.nit:31,88 text=')' +Read token at ../src/test_parser.nit:31,89--32,0 text=' +' +Read token at ../src/test_parser.nit:32,3--6 text='else' +Read token at ../src/test_parser.nit:32,7--33,0 text=' +' +Read token at ../src/test_parser.nit:33,4--9 text='printn' +Read token at ../src/test_parser.nit:33,10 text='(' +Read token at ../src/test_parser.nit:33,11--14 text='" "' +Read token at ../src/test_parser.nit:33,16 text='*' +Read token at ../src/test_parser.nit:33,18--21 text='rank' +Read token at ../src/test_parser.nit:33,22 text=',' +Read token at ../src/test_parser.nit:33,24 text='n' +Read token at ../src/test_parser.nit:33,25 text='.' +Read token at ../src/test_parser.nit:33,26--35 text='class_name' +Read token at ../src/test_parser.nit:33,36 text=',' +Read token at ../src/test_parser.nit:33,38--40 text='" "' +Read token at ../src/test_parser.nit:33,41 text=',' +Read token at ../src/test_parser.nit:33,43 text='n' +Read token at ../src/test_parser.nit:33,44 text='.' +Read token at ../src/test_parser.nit:33,45--52 text='location' +Read token at ../src/test_parser.nit:33,53 text=',' +Read token at ../src/test_parser.nit:33,55--58 text='"\n"' +Read token at ../src/test_parser.nit:33,59 text=')' +Read token at ../src/test_parser.nit:33,60--34,0 text=' +' +Read token at ../src/test_parser.nit:34,3--5 text='end' +Read token at ../src/test_parser.nit:34,6--35,0 text=' ' Read token at ../src/test_parser.nit:35,3--6 text='rank' Read token at ../src/test_parser.nit:35,8 text='=' Read token at ../src/test_parser.nit:35,10--13 text='rank' -Read token at ../src/test_parser.nit:35,15 text='-' +Read token at ../src/test_parser.nit:35,15 text='+' Read token at ../src/test_parser.nit:35,17 text='1' Read token at ../src/test_parser.nit:35,18--36,0 text=' ' -Read token at ../src/test_parser.nit:36,2--4 text='end' -Read token at ../src/test_parser.nit:36,5--37,0 text=' +Read token at ../src/test_parser.nit:36,3 text='n' +Read token at ../src/test_parser.nit:36,4 text='.' +Read token at ../src/test_parser.nit:36,5--13 text='visit_all' +Read token at ../src/test_parser.nit:36,14 text='(' +Read token at ../src/test_parser.nit:36,15--18 text='self' +Read token at ../src/test_parser.nit:36,19 text=')' +Read token at ../src/test_parser.nit:36,20--37,0 text=' ' -Read token at ../src/test_parser.nit:37,1--3 text='end' -Read token at ../src/test_parser.nit:37,4--38,0 text=' +Read token at ../src/test_parser.nit:37,3--6 text='rank' +Read token at ../src/test_parser.nit:37,8 text='=' +Read token at ../src/test_parser.nit:37,10--13 text='rank' +Read token at ../src/test_parser.nit:37,15 text='-' +Read token at ../src/test_parser.nit:37,17 text='1' +Read token at ../src/test_parser.nit:37,18--38,0 text=' ' -Read token at ../src/test_parser.nit:38,1--39,0 text=' +Read token at ../src/test_parser.nit:38,2--4 text='end' +Read token at ../src/test_parser.nit:38,5--39,0 text=' ' -Read token at ../src/test_parser.nit:39,1--3 text='var' -Read token at ../src/test_parser.nit:39,5--12 text='no_print' -Read token at ../src/test_parser.nit:39,14 text='=' -Read token at ../src/test_parser.nit:39,16--20 text='false' -Read token at ../src/test_parser.nit:39,21--40,0 text=' +Read token at ../src/test_parser.nit:39,1--3 text='end' +Read token at ../src/test_parser.nit:39,4--40,0 text=' ' -Read token at ../src/test_parser.nit:40,1--3 text='var' -Read token at ../src/test_parser.nit:40,5--14 text='only_lexer' -Read token at ../src/test_parser.nit:40,16 text='=' -Read token at ../src/test_parser.nit:40,18--22 text='false' -Read token at ../src/test_parser.nit:40,23--41,0 text=' +Read token at ../src/test_parser.nit:40,1--41,0 text=' ' Read token at ../src/test_parser.nit:41,1--3 text='var' -Read token at ../src/test_parser.nit:41,5--13 text='need_help' -Read token at ../src/test_parser.nit:41,15 text='=' -Read token at ../src/test_parser.nit:41,17--21 text='false' -Read token at ../src/test_parser.nit:41,22--42,0 text=' +Read token at ../src/test_parser.nit:41,5--12 text='no_print' +Read token at ../src/test_parser.nit:41,14 text='=' +Read token at ../src/test_parser.nit:41,16--20 text='false' +Read token at ../src/test_parser.nit:41,21--42,0 text=' ' Read token at ../src/test_parser.nit:42,1--3 text='var' -Read token at ../src/test_parser.nit:42,5--11 text='no_file' -Read token at ../src/test_parser.nit:42,13 text='=' -Read token at ../src/test_parser.nit:42,15--19 text='false' -Read token at ../src/test_parser.nit:42,20--43,0 text=' +Read token at ../src/test_parser.nit:42,5--14 text='only_lexer' +Read token at ../src/test_parser.nit:42,16 text='=' +Read token at ../src/test_parser.nit:42,18--22 text='false' +Read token at ../src/test_parser.nit:42,23--43,0 text=' ' Read token at ../src/test_parser.nit:43,1--3 text='var' -Read token at ../src/test_parser.nit:43,5--15 text='interactive' -Read token at ../src/test_parser.nit:43,17 text='=' -Read token at ../src/test_parser.nit:43,19--23 text='false' -Read token at ../src/test_parser.nit:43,24--44,0 text=' -' -Read token at ../src/test_parser.nit:44,1--45,0 text=' -' -Read token at ../src/test_parser.nit:45,1--5 text='while' -Read token at ../src/test_parser.nit:45,7--9 text='not' -Read token at ../src/test_parser.nit:45,11--14 text='args' -Read token at ../src/test_parser.nit:45,15 text='.' -Read token at ../src/test_parser.nit:45,16--23 text='is_empty' -Read token at ../src/test_parser.nit:45,25--27 text='and' -Read token at ../src/test_parser.nit:45,29--32 text='args' -Read token at ../src/test_parser.nit:45,33 text='.' -Read token at ../src/test_parser.nit:45,34--38 text='first' -Read token at ../src/test_parser.nit:45,39 text='.' -Read token at ../src/test_parser.nit:45,40--44 text='chars' -Read token at ../src/test_parser.nit:45,45 text='.' -Read token at ../src/test_parser.nit:45,46--50 text='first' -Read token at ../src/test_parser.nit:45,52--53 text='==' -Read token at ../src/test_parser.nit:45,55--57 text=''-'' -Read token at ../src/test_parser.nit:45,59--60 text='do' -Read token at ../src/test_parser.nit:45,61--46,0 text=' -' -Read token at ../src/test_parser.nit:46,2--3 text='if' -Read token at ../src/test_parser.nit:46,5--8 text='args' -Read token at ../src/test_parser.nit:46,9 text='.' -Read token at ../src/test_parser.nit:46,10--14 text='first' -Read token at ../src/test_parser.nit:46,16--17 text='==' -Read token at ../src/test_parser.nit:46,19--22 text='"-n"' -Read token at ../src/test_parser.nit:46,24--27 text='then' -Read token at ../src/test_parser.nit:46,28--47,0 text=' -' -Read token at ../src/test_parser.nit:47,3--10 text='no_print' -Read token at ../src/test_parser.nit:47,12 text='=' -Read token at ../src/test_parser.nit:47,14--17 text='true' -Read token at ../src/test_parser.nit:47,18--48,0 text=' -' -Read token at ../src/test_parser.nit:48,2--5 text='else' -Read token at ../src/test_parser.nit:48,7--8 text='if' -Read token at ../src/test_parser.nit:48,10--13 text='args' -Read token at ../src/test_parser.nit:48,14 text='.' -Read token at ../src/test_parser.nit:48,15--19 text='first' -Read token at ../src/test_parser.nit:48,21--22 text='==' -Read token at ../src/test_parser.nit:48,24--27 text='"-l"' -Read token at ../src/test_parser.nit:48,29--32 text='then' -Read token at ../src/test_parser.nit:48,33--49,0 text=' -' -Read token at ../src/test_parser.nit:49,3--12 text='only_lexer' -Read token at ../src/test_parser.nit:49,14 text='=' -Read token at ../src/test_parser.nit:49,16--19 text='true' -Read token at ../src/test_parser.nit:49,20--50,0 text=' -' -Read token at ../src/test_parser.nit:50,2--5 text='else' -Read token at ../src/test_parser.nit:50,7--8 text='if' -Read token at ../src/test_parser.nit:50,10--13 text='args' -Read token at ../src/test_parser.nit:50,14 text='.' -Read token at ../src/test_parser.nit:50,15--19 text='first' -Read token at ../src/test_parser.nit:50,21--22 text='==' -Read token at ../src/test_parser.nit:50,24--27 text='"-p"' -Read token at ../src/test_parser.nit:50,29--32 text='then' -Read token at ../src/test_parser.nit:50,33--51,0 text=' -' -Read token at ../src/test_parser.nit:51,3--12 text='only_lexer' -Read token at ../src/test_parser.nit:51,14 text='=' -Read token at ../src/test_parser.nit:51,16--20 text='false' -Read token at ../src/test_parser.nit:51,21--52,0 text=' -' -Read token at ../src/test_parser.nit:52,2--5 text='else' -Read token at ../src/test_parser.nit:52,7--8 text='if' -Read token at ../src/test_parser.nit:52,10--13 text='args' -Read token at ../src/test_parser.nit:52,14 text='.' -Read token at ../src/test_parser.nit:52,15--19 text='first' -Read token at ../src/test_parser.nit:52,21--22 text='==' -Read token at ../src/test_parser.nit:52,24--27 text='"-e"' -Read token at ../src/test_parser.nit:52,29--32 text='then' -Read token at ../src/test_parser.nit:52,33--53,0 text=' -' -Read token at ../src/test_parser.nit:53,3--9 text='no_file' -Read token at ../src/test_parser.nit:53,11 text='=' -Read token at ../src/test_parser.nit:53,13--16 text='true' -Read token at ../src/test_parser.nit:53,17--54,0 text=' -' -Read token at ../src/test_parser.nit:54,2--5 text='else' -Read token at ../src/test_parser.nit:54,7--8 text='if' -Read token at ../src/test_parser.nit:54,10--13 text='args' -Read token at ../src/test_parser.nit:54,14 text='.' -Read token at ../src/test_parser.nit:54,15--19 text='first' -Read token at ../src/test_parser.nit:54,21--22 text='==' -Read token at ../src/test_parser.nit:54,24--27 text='"-i"' -Read token at ../src/test_parser.nit:54,29--32 text='then' -Read token at ../src/test_parser.nit:54,33--55,0 text=' -' -Read token at ../src/test_parser.nit:55,3--13 text='interactive' -Read token at ../src/test_parser.nit:55,15 text='=' -Read token at ../src/test_parser.nit:55,17--20 text='true' -Read token at ../src/test_parser.nit:55,21--56,0 text=' -' -Read token at ../src/test_parser.nit:56,2--5 text='else' -Read token at ../src/test_parser.nit:56,7--8 text='if' -Read token at ../src/test_parser.nit:56,10--13 text='args' -Read token at ../src/test_parser.nit:56,14 text='.' -Read token at ../src/test_parser.nit:56,15--19 text='first' -Read token at ../src/test_parser.nit:56,21--22 text='==' -Read token at ../src/test_parser.nit:56,24--27 text='"-h"' -Read token at ../src/test_parser.nit:56,29--30 text='or' -Read token at ../src/test_parser.nit:56,32--35 text='args' -Read token at ../src/test_parser.nit:56,36 text='.' -Read token at ../src/test_parser.nit:56,37--41 text='first' -Read token at ../src/test_parser.nit:56,43--44 text='==' -Read token at ../src/test_parser.nit:56,46--49 text='"-?"' -Read token at ../src/test_parser.nit:56,51--54 text='then' -Read token at ../src/test_parser.nit:56,55--57,0 text=' -' -Read token at ../src/test_parser.nit:57,3--11 text='need_help' -Read token at ../src/test_parser.nit:57,13 text='=' -Read token at ../src/test_parser.nit:57,15--18 text='true' -Read token at ../src/test_parser.nit:57,19--58,0 text=' -' -Read token at ../src/test_parser.nit:58,2--5 text='else' -Read token at ../src/test_parser.nit:58,6--59,0 text=' -' -Read token at ../src/test_parser.nit:59,3--8 text='stderr' -Read token at ../src/test_parser.nit:59,9 text='.' -Read token at ../src/test_parser.nit:59,10--14 text='write' -Read token at ../src/test_parser.nit:59,15 text='(' -Read token at ../src/test_parser.nit:59,16--32 text='"Unknown option {' -Read token at ../src/test_parser.nit:59,33--36 text='args' -Read token at ../src/test_parser.nit:59,37 text='.' -Read token at ../src/test_parser.nit:59,38--42 text='first' -Read token at ../src/test_parser.nit:59,43--47 text='}.\n"' -Read token at ../src/test_parser.nit:59,48 text=')' -Read token at ../src/test_parser.nit:59,49--60,0 text=' -' -Read token at ../src/test_parser.nit:60,3--6 text='exit' -Read token at ../src/test_parser.nit:60,7 text='(' -Read token at ../src/test_parser.nit:60,8 text='0' -Read token at ../src/test_parser.nit:60,9 text=')' -Read token at ../src/test_parser.nit:60,10--61,0 text=' -' -Read token at ../src/test_parser.nit:61,2--4 text='end' -Read token at ../src/test_parser.nit:61,5--62,0 text=' -' -Read token at ../src/test_parser.nit:62,2--5 text='args' -Read token at ../src/test_parser.nit:62,6 text='.' -Read token at ../src/test_parser.nit:62,7--11 text='shift' -Read token at ../src/test_parser.nit:62,12--63,0 text=' -' -Read token at ../src/test_parser.nit:63,1--3 text='end' -Read token at ../src/test_parser.nit:63,4--64,0 text=' -' -Read token at ../src/test_parser.nit:64,1--65,0 text=' -' -Read token at ../src/test_parser.nit:65,1--2 text='if' -Read token at ../src/test_parser.nit:65,4 text='(' -Read token at ../src/test_parser.nit:65,5--8 text='args' -Read token at ../src/test_parser.nit:65,9 text='.' -Read token at ../src/test_parser.nit:65,10--17 text='is_empty' -Read token at ../src/test_parser.nit:65,19--21 text='and' -Read token at ../src/test_parser.nit:65,23--25 text='not' -Read token at ../src/test_parser.nit:65,27--37 text='interactive' -Read token at ../src/test_parser.nit:65,38 text=')' -Read token at ../src/test_parser.nit:65,40--41 text='or' -Read token at ../src/test_parser.nit:65,43--51 text='need_help' -Read token at ../src/test_parser.nit:65,53--56 text='then' -Read token at ../src/test_parser.nit:65,57--66,0 text=' -' -Read token at ../src/test_parser.nit:66,2--6 text='print' -Read token at ../src/test_parser.nit:66,7 text='(' -Read token at ../src/test_parser.nit:66,8--15 text='"usage:"' -Read token at ../src/test_parser.nit:66,16 text=')' -Read token at ../src/test_parser.nit:66,17--67,0 text=' -' -Read token at ../src/test_parser.nit:67,2--6 text='print' -Read token at ../src/test_parser.nit:67,7 text='(' -Read token at ../src/test_parser.nit:67,8--53 text='" test_parser [options]... ..."' -Read token at ../src/test_parser.nit:67,54 text=')' -Read token at ../src/test_parser.nit:67,55--68,0 text=' -' -Read token at ../src/test_parser.nit:68,2--6 text='print' -Read token at ../src/test_parser.nit:68,7 text='(' -Read token at ../src/test_parser.nit:68,8--48 text='" test_parser -e [options]... ..."' -Read token at ../src/test_parser.nit:68,49 text=')' -Read token at ../src/test_parser.nit:68,50--69,0 text=' -' -Read token at ../src/test_parser.nit:69,2--6 text='print' -Read token at ../src/test_parser.nit:69,7 text='(' -Read token at ../src/test_parser.nit:69,8--38 text='" test_parser -i [options]..."' -Read token at ../src/test_parser.nit:69,39 text=')' -Read token at ../src/test_parser.nit:69,40--70,0 text=' -' -Read token at ../src/test_parser.nit:70,2--6 text='print' -Read token at ../src/test_parser.nit:70,7 text='(' -Read token at ../src/test_parser.nit:70,8--17 text='"options:"' -Read token at ../src/test_parser.nit:70,18 text=')' -Read token at ../src/test_parser.nit:70,19--71,0 text=' +Read token at ../src/test_parser.nit:43,5--13 text='need_help' +Read token at ../src/test_parser.nit:43,15 text='=' +Read token at ../src/test_parser.nit:43,17--21 text='false' +Read token at ../src/test_parser.nit:43,22--44,0 text=' +' +Read token at ../src/test_parser.nit:44,1--3 text='var' +Read token at ../src/test_parser.nit:44,5--11 text='no_file' +Read token at ../src/test_parser.nit:44,13 text='=' +Read token at ../src/test_parser.nit:44,15--19 text='false' +Read token at ../src/test_parser.nit:44,20--45,0 text=' +' +Read token at ../src/test_parser.nit:45,1--3 text='var' +Read token at ../src/test_parser.nit:45,5--15 text='interactive' +Read token at ../src/test_parser.nit:45,17 text='=' +Read token at ../src/test_parser.nit:45,19--23 text='false' +Read token at ../src/test_parser.nit:45,24--46,0 text=' +' +Read token at ../src/test_parser.nit:46,1--3 text='var' +Read token at ../src/test_parser.nit:46,5--7 text='xml' +Read token at ../src/test_parser.nit:46,9 text='=' +Read token at ../src/test_parser.nit:46,11--15 text='false' +Read token at ../src/test_parser.nit:46,16--47,0 text=' +' +Read token at ../src/test_parser.nit:47,1--48,0 text=' +' +Read token at ../src/test_parser.nit:48,1--5 text='while' +Read token at ../src/test_parser.nit:48,7--9 text='not' +Read token at ../src/test_parser.nit:48,11--14 text='args' +Read token at ../src/test_parser.nit:48,15 text='.' +Read token at ../src/test_parser.nit:48,16--23 text='is_empty' +Read token at ../src/test_parser.nit:48,25--27 text='and' +Read token at ../src/test_parser.nit:48,29--32 text='args' +Read token at ../src/test_parser.nit:48,33 text='.' +Read token at ../src/test_parser.nit:48,34--38 text='first' +Read token at ../src/test_parser.nit:48,39 text='.' +Read token at ../src/test_parser.nit:48,40--44 text='chars' +Read token at ../src/test_parser.nit:48,45 text='.' +Read token at ../src/test_parser.nit:48,46--50 text='first' +Read token at ../src/test_parser.nit:48,52--53 text='==' +Read token at ../src/test_parser.nit:48,55--57 text=''-'' +Read token at ../src/test_parser.nit:48,59--60 text='do' +Read token at ../src/test_parser.nit:48,61--49,0 text=' +' +Read token at ../src/test_parser.nit:49,2--3 text='if' +Read token at ../src/test_parser.nit:49,5--8 text='args' +Read token at ../src/test_parser.nit:49,9 text='.' +Read token at ../src/test_parser.nit:49,10--14 text='first' +Read token at ../src/test_parser.nit:49,16--17 text='==' +Read token at ../src/test_parser.nit:49,19--22 text='"-n"' +Read token at ../src/test_parser.nit:49,24--27 text='then' +Read token at ../src/test_parser.nit:49,28--50,0 text=' +' +Read token at ../src/test_parser.nit:50,3--10 text='no_print' +Read token at ../src/test_parser.nit:50,12 text='=' +Read token at ../src/test_parser.nit:50,14--17 text='true' +Read token at ../src/test_parser.nit:50,18--51,0 text=' +' +Read token at ../src/test_parser.nit:51,2--5 text='else' +Read token at ../src/test_parser.nit:51,7--8 text='if' +Read token at ../src/test_parser.nit:51,10--13 text='args' +Read token at ../src/test_parser.nit:51,14 text='.' +Read token at ../src/test_parser.nit:51,15--19 text='first' +Read token at ../src/test_parser.nit:51,21--22 text='==' +Read token at ../src/test_parser.nit:51,24--27 text='"-l"' +Read token at ../src/test_parser.nit:51,29--32 text='then' +Read token at ../src/test_parser.nit:51,33--52,0 text=' +' +Read token at ../src/test_parser.nit:52,3--12 text='only_lexer' +Read token at ../src/test_parser.nit:52,14 text='=' +Read token at ../src/test_parser.nit:52,16--19 text='true' +Read token at ../src/test_parser.nit:52,20--53,0 text=' +' +Read token at ../src/test_parser.nit:53,2--5 text='else' +Read token at ../src/test_parser.nit:53,7--8 text='if' +Read token at ../src/test_parser.nit:53,10--13 text='args' +Read token at ../src/test_parser.nit:53,14 text='.' +Read token at ../src/test_parser.nit:53,15--19 text='first' +Read token at ../src/test_parser.nit:53,21--22 text='==' +Read token at ../src/test_parser.nit:53,24--27 text='"-p"' +Read token at ../src/test_parser.nit:53,29--32 text='then' +Read token at ../src/test_parser.nit:53,33--54,0 text=' +' +Read token at ../src/test_parser.nit:54,3--12 text='only_lexer' +Read token at ../src/test_parser.nit:54,14 text='=' +Read token at ../src/test_parser.nit:54,16--20 text='false' +Read token at ../src/test_parser.nit:54,21--55,0 text=' +' +Read token at ../src/test_parser.nit:55,2--5 text='else' +Read token at ../src/test_parser.nit:55,7--8 text='if' +Read token at ../src/test_parser.nit:55,10--13 text='args' +Read token at ../src/test_parser.nit:55,14 text='.' +Read token at ../src/test_parser.nit:55,15--19 text='first' +Read token at ../src/test_parser.nit:55,21--22 text='==' +Read token at ../src/test_parser.nit:55,24--27 text='"-x"' +Read token at ../src/test_parser.nit:55,29--32 text='then' +Read token at ../src/test_parser.nit:55,33--56,0 text=' +' +Read token at ../src/test_parser.nit:56,3--5 text='xml' +Read token at ../src/test_parser.nit:56,7 text='=' +Read token at ../src/test_parser.nit:56,9--12 text='true' +Read token at ../src/test_parser.nit:56,13--57,0 text=' +' +Read token at ../src/test_parser.nit:57,2--5 text='else' +Read token at ../src/test_parser.nit:57,7--8 text='if' +Read token at ../src/test_parser.nit:57,10--13 text='args' +Read token at ../src/test_parser.nit:57,14 text='.' +Read token at ../src/test_parser.nit:57,15--19 text='first' +Read token at ../src/test_parser.nit:57,21--22 text='==' +Read token at ../src/test_parser.nit:57,24--27 text='"-e"' +Read token at ../src/test_parser.nit:57,29--32 text='then' +Read token at ../src/test_parser.nit:57,33--58,0 text=' +' +Read token at ../src/test_parser.nit:58,3--9 text='no_file' +Read token at ../src/test_parser.nit:58,11 text='=' +Read token at ../src/test_parser.nit:58,13--16 text='true' +Read token at ../src/test_parser.nit:58,17--59,0 text=' +' +Read token at ../src/test_parser.nit:59,2--5 text='else' +Read token at ../src/test_parser.nit:59,7--8 text='if' +Read token at ../src/test_parser.nit:59,10--13 text='args' +Read token at ../src/test_parser.nit:59,14 text='.' +Read token at ../src/test_parser.nit:59,15--19 text='first' +Read token at ../src/test_parser.nit:59,21--22 text='==' +Read token at ../src/test_parser.nit:59,24--27 text='"-i"' +Read token at ../src/test_parser.nit:59,29--32 text='then' +Read token at ../src/test_parser.nit:59,33--60,0 text=' +' +Read token at ../src/test_parser.nit:60,3--13 text='interactive' +Read token at ../src/test_parser.nit:60,15 text='=' +Read token at ../src/test_parser.nit:60,17--20 text='true' +Read token at ../src/test_parser.nit:60,21--61,0 text=' +' +Read token at ../src/test_parser.nit:61,2--5 text='else' +Read token at ../src/test_parser.nit:61,7--8 text='if' +Read token at ../src/test_parser.nit:61,10--13 text='args' +Read token at ../src/test_parser.nit:61,14 text='.' +Read token at ../src/test_parser.nit:61,15--19 text='first' +Read token at ../src/test_parser.nit:61,21--22 text='==' +Read token at ../src/test_parser.nit:61,24--27 text='"-h"' +Read token at ../src/test_parser.nit:61,29--30 text='or' +Read token at ../src/test_parser.nit:61,32--35 text='args' +Read token at ../src/test_parser.nit:61,36 text='.' +Read token at ../src/test_parser.nit:61,37--41 text='first' +Read token at ../src/test_parser.nit:61,43--44 text='==' +Read token at ../src/test_parser.nit:61,46--49 text='"-?"' +Read token at ../src/test_parser.nit:61,51--54 text='then' +Read token at ../src/test_parser.nit:61,55--62,0 text=' +' +Read token at ../src/test_parser.nit:62,3--11 text='need_help' +Read token at ../src/test_parser.nit:62,13 text='=' +Read token at ../src/test_parser.nit:62,15--18 text='true' +Read token at ../src/test_parser.nit:62,19--63,0 text=' +' +Read token at ../src/test_parser.nit:63,2--5 text='else' +Read token at ../src/test_parser.nit:63,6--64,0 text=' +' +Read token at ../src/test_parser.nit:64,3--8 text='stderr' +Read token at ../src/test_parser.nit:64,9 text='.' +Read token at ../src/test_parser.nit:64,10--14 text='write' +Read token at ../src/test_parser.nit:64,15 text='(' +Read token at ../src/test_parser.nit:64,16--32 text='"Unknown option {' +Read token at ../src/test_parser.nit:64,33--36 text='args' +Read token at ../src/test_parser.nit:64,37 text='.' +Read token at ../src/test_parser.nit:64,38--42 text='first' +Read token at ../src/test_parser.nit:64,43--47 text='}.\n"' +Read token at ../src/test_parser.nit:64,48 text=')' +Read token at ../src/test_parser.nit:64,49--65,0 text=' +' +Read token at ../src/test_parser.nit:65,3--6 text='exit' +Read token at ../src/test_parser.nit:65,7 text='(' +Read token at ../src/test_parser.nit:65,8 text='0' +Read token at ../src/test_parser.nit:65,9 text=')' +Read token at ../src/test_parser.nit:65,10--66,0 text=' +' +Read token at ../src/test_parser.nit:66,2--4 text='end' +Read token at ../src/test_parser.nit:66,5--67,0 text=' +' +Read token at ../src/test_parser.nit:67,2--5 text='args' +Read token at ../src/test_parser.nit:67,6 text='.' +Read token at ../src/test_parser.nit:67,7--11 text='shift' +Read token at ../src/test_parser.nit:67,12--68,0 text=' +' +Read token at ../src/test_parser.nit:68,1--3 text='end' +Read token at ../src/test_parser.nit:68,4--69,0 text=' +' +Read token at ../src/test_parser.nit:69,1--70,0 text=' +' +Read token at ../src/test_parser.nit:70,1--2 text='if' +Read token at ../src/test_parser.nit:70,4 text='(' +Read token at ../src/test_parser.nit:70,5--8 text='args' +Read token at ../src/test_parser.nit:70,9 text='.' +Read token at ../src/test_parser.nit:70,10--17 text='is_empty' +Read token at ../src/test_parser.nit:70,19--21 text='and' +Read token at ../src/test_parser.nit:70,23--25 text='not' +Read token at ../src/test_parser.nit:70,27--37 text='interactive' +Read token at ../src/test_parser.nit:70,38 text=')' +Read token at ../src/test_parser.nit:70,40--41 text='or' +Read token at ../src/test_parser.nit:70,43--51 text='need_help' +Read token at ../src/test_parser.nit:70,53--56 text='then' +Read token at ../src/test_parser.nit:70,57--71,0 text=' ' Read token at ../src/test_parser.nit:71,2--6 text='print' Read token at ../src/test_parser.nit:71,7 text='(' -Read token at ../src/test_parser.nit:71,8--35 text='" -n do not print anything"' -Read token at ../src/test_parser.nit:71,36 text=')' -Read token at ../src/test_parser.nit:71,37--72,0 text=' +Read token at ../src/test_parser.nit:71,8--15 text='"usage:"' +Read token at ../src/test_parser.nit:71,16 text=')' +Read token at ../src/test_parser.nit:71,17--72,0 text=' ' Read token at ../src/test_parser.nit:72,2--6 text='print' Read token at ../src/test_parser.nit:72,7 text='(' -Read token at ../src/test_parser.nit:72,8--24 text='" -l only lexer"' -Read token at ../src/test_parser.nit:72,25 text=')' -Read token at ../src/test_parser.nit:72,26--73,0 text=' +Read token at ../src/test_parser.nit:72,8--53 text='" test_parser [options]... ..."' +Read token at ../src/test_parser.nit:72,54 text=')' +Read token at ../src/test_parser.nit:72,55--73,0 text=' ' Read token at ../src/test_parser.nit:73,2--6 text='print' Read token at ../src/test_parser.nit:73,7 text='(' -Read token at ../src/test_parser.nit:73,8--40 text='" -p lexer and parser (default)"' -Read token at ../src/test_parser.nit:73,41 text=')' -Read token at ../src/test_parser.nit:73,42--74,0 text=' +Read token at ../src/test_parser.nit:73,8--48 text='" test_parser -e [options]... ..."' +Read token at ../src/test_parser.nit:73,49 text=')' +Read token at ../src/test_parser.nit:73,50--74,0 text=' ' Read token at ../src/test_parser.nit:74,2--6 text='print' Read token at ../src/test_parser.nit:74,7 text='(' -Read token at ../src/test_parser.nit:74,8--67 text='" -e instead on files, each argument is a content to parse"' -Read token at ../src/test_parser.nit:74,68 text=')' -Read token at ../src/test_parser.nit:74,69--75,0 text=' +Read token at ../src/test_parser.nit:74,8--38 text='" test_parser -i [options]..."' +Read token at ../src/test_parser.nit:74,39 text=')' +Read token at ../src/test_parser.nit:74,40--75,0 text=' ' Read token at ../src/test_parser.nit:75,2--6 text='print' Read token at ../src/test_parser.nit:75,7 text='(' -Read token at ../src/test_parser.nit:75,8--50 text='" -i tree to parse are read interactively"' -Read token at ../src/test_parser.nit:75,51 text=')' -Read token at ../src/test_parser.nit:75,52--76,0 text=' +Read token at ../src/test_parser.nit:75,8--17 text='"options:"' +Read token at ../src/test_parser.nit:75,18 text=')' +Read token at ../src/test_parser.nit:75,19--76,0 text=' ' Read token at ../src/test_parser.nit:76,2--6 text='print' Read token at ../src/test_parser.nit:76,7 text='(' -Read token at ../src/test_parser.nit:76,8--29 text='" -h print this help"' -Read token at ../src/test_parser.nit:76,30 text=')' -Read token at ../src/test_parser.nit:76,31--77,0 text=' -' -Read token at ../src/test_parser.nit:77,1--4 text='else' -Read token at ../src/test_parser.nit:77,6--7 text='if' -Read token at ../src/test_parser.nit:77,9--19 text='interactive' -Read token at ../src/test_parser.nit:77,21--24 text='then' -Read token at ../src/test_parser.nit:77,25--78,0 text=' -' -Read token at ../src/test_parser.nit:78,2--3 text='if' -Read token at ../src/test_parser.nit:78,5--14 text='only_lexer' -Read token at ../src/test_parser.nit:78,16--19 text='then' -Read token at ../src/test_parser.nit:78,20--79,0 text=' -' -Read token at ../src/test_parser.nit:79,3--7 text='print' -Read token at ../src/test_parser.nit:79,9--44 text='"Error: -l and -i are incompatibles"' -Read token at ../src/test_parser.nit:79,45--80,0 text=' -' -Read token at ../src/test_parser.nit:80,3--6 text='exit' -Read token at ../src/test_parser.nit:80,8 text='1' -Read token at ../src/test_parser.nit:80,9--81,0 text=' -' -Read token at ../src/test_parser.nit:81,2--5 text='else' -Read token at ../src/test_parser.nit:81,7--8 text='if' -Read token at ../src/test_parser.nit:81,10--16 text='no_file' -Read token at ../src/test_parser.nit:81,18--21 text='then' -Read token at ../src/test_parser.nit:81,22--82,0 text=' -' -Read token at ../src/test_parser.nit:82,3--7 text='print' -Read token at ../src/test_parser.nit:82,9--44 text='"Error: -e and -i are incompatibles"' -Read token at ../src/test_parser.nit:82,45--83,0 text=' -' -Read token at ../src/test_parser.nit:83,3--6 text='exit' -Read token at ../src/test_parser.nit:83,8 text='1' -Read token at ../src/test_parser.nit:83,9--84,0 text=' -' -Read token at ../src/test_parser.nit:84,2--5 text='else' -Read token at ../src/test_parser.nit:84,7--8 text='if' -Read token at ../src/test_parser.nit:84,10--12 text='not' -Read token at ../src/test_parser.nit:84,14--17 text='args' -Read token at ../src/test_parser.nit:84,18 text='.' -Read token at ../src/test_parser.nit:84,19--26 text='is_empty' -Read token at ../src/test_parser.nit:84,28--31 text='then' -Read token at ../src/test_parser.nit:84,32--85,0 text=' +Read token at ../src/test_parser.nit:76,8--35 text='" -n do not print anything"' +Read token at ../src/test_parser.nit:76,36 text=')' +Read token at ../src/test_parser.nit:76,37--77,0 text=' +' +Read token at ../src/test_parser.nit:77,2--6 text='print' +Read token at ../src/test_parser.nit:77,7 text='(' +Read token at ../src/test_parser.nit:77,8--24 text='" -l only lexer"' +Read token at ../src/test_parser.nit:77,25 text=')' +Read token at ../src/test_parser.nit:77,26--78,0 text=' +' +Read token at ../src/test_parser.nit:78,2--6 text='print' +Read token at ../src/test_parser.nit:78,7 text='(' +Read token at ../src/test_parser.nit:78,8--40 text='" -p lexer and parser (default)"' +Read token at ../src/test_parser.nit:78,41 text=')' +Read token at ../src/test_parser.nit:78,42--79,0 text=' +' +Read token at ../src/test_parser.nit:79,2--6 text='print' +Read token at ../src/test_parser.nit:79,7 text='(' +Read token at ../src/test_parser.nit:79,8--60 text='" -x instead of a ascii tree, output a XML document"' +Read token at ../src/test_parser.nit:79,61 text=')' +Read token at ../src/test_parser.nit:79,62--80,0 text=' +' +Read token at ../src/test_parser.nit:80,2--6 text='print' +Read token at ../src/test_parser.nit:80,7 text='(' +Read token at ../src/test_parser.nit:80,8--67 text='" -e instead on files, each argument is a content to parse"' +Read token at ../src/test_parser.nit:80,68 text=')' +Read token at ../src/test_parser.nit:80,69--81,0 text=' +' +Read token at ../src/test_parser.nit:81,2--6 text='print' +Read token at ../src/test_parser.nit:81,7 text='(' +Read token at ../src/test_parser.nit:81,8--50 text='" -i tree to parse are read interactively"' +Read token at ../src/test_parser.nit:81,51 text=')' +Read token at ../src/test_parser.nit:81,52--82,0 text=' +' +Read token at ../src/test_parser.nit:82,2--6 text='print' +Read token at ../src/test_parser.nit:82,7 text='(' +Read token at ../src/test_parser.nit:82,8--29 text='" -h print this help"' +Read token at ../src/test_parser.nit:82,30 text=')' +Read token at ../src/test_parser.nit:82,31--83,0 text=' +' +Read token at ../src/test_parser.nit:83,1--4 text='else' +Read token at ../src/test_parser.nit:83,6--7 text='if' +Read token at ../src/test_parser.nit:83,9--19 text='interactive' +Read token at ../src/test_parser.nit:83,21--24 text='then' +Read token at ../src/test_parser.nit:83,25--84,0 text=' +' +Read token at ../src/test_parser.nit:84,2--3 text='if' +Read token at ../src/test_parser.nit:84,5--14 text='only_lexer' +Read token at ../src/test_parser.nit:84,16--19 text='then' +Read token at ../src/test_parser.nit:84,20--85,0 text=' ' Read token at ../src/test_parser.nit:85,3--7 text='print' -Read token at ../src/test_parser.nit:85,9--43 text='"Error: -i works without arguments"' -Read token at ../src/test_parser.nit:85,44--86,0 text=' +Read token at ../src/test_parser.nit:85,9--44 text='"Error: -l and -i are incompatibles"' +Read token at ../src/test_parser.nit:85,45--86,0 text=' ' Read token at ../src/test_parser.nit:86,3--6 text='exit' Read token at ../src/test_parser.nit:86,8 text='1' Read token at ../src/test_parser.nit:86,9--87,0 text=' ' -Read token at ../src/test_parser.nit:87,2--4 text='end' -Read token at ../src/test_parser.nit:87,5--88,0 text=' -' -Read token at ../src/test_parser.nit:88,1--89,0 text=' -' -Read token at ../src/test_parser.nit:89,2--4 text='var' -Read token at ../src/test_parser.nit:89,6--7 text='tc' -Read token at ../src/test_parser.nit:89,9 text='=' -Read token at ../src/test_parser.nit:89,11--13 text='new' -Read token at ../src/test_parser.nit:89,15--25 text='ToolContext' -Read token at ../src/test_parser.nit:89,26--90,0 text=' -' -Read token at ../src/test_parser.nit:90,1--91,0 text=' -' -Read token at ../src/test_parser.nit:91,2--5 text='loop' -Read token at ../src/test_parser.nit:91,6--92,0 text=' -' -Read token at ../src/test_parser.nit:92,3--5 text='var' -Read token at ../src/test_parser.nit:92,7 text='n' -Read token at ../src/test_parser.nit:92,9 text='=' -Read token at ../src/test_parser.nit:92,11--12 text='tc' -Read token at ../src/test_parser.nit:92,13 text='.' -Read token at ../src/test_parser.nit:92,14--30 text='interactive_parse' -Read token at ../src/test_parser.nit:92,31 text='(' -Read token at ../src/test_parser.nit:92,32--36 text='"-->"' -Read token at ../src/test_parser.nit:92,37 text=')' -Read token at ../src/test_parser.nit:92,38--93,0 text=' -' -Read token at ../src/test_parser.nit:93,3--4 text='if' -Read token at ../src/test_parser.nit:93,6 text='n' -Read token at ../src/test_parser.nit:93,8--10 text='isa' -Read token at ../src/test_parser.nit:93,12--18 text='TString' -Read token at ../src/test_parser.nit:93,20--23 text='then' -Read token at ../src/test_parser.nit:93,24--94,0 text=' -' -Read token at ../src/test_parser.nit:94,4--6 text='var' -Read token at ../src/test_parser.nit:94,8 text='s' -Read token at ../src/test_parser.nit:94,10 text='=' -Read token at ../src/test_parser.nit:94,12 text='n' -Read token at ../src/test_parser.nit:94,13 text='.' -Read token at ../src/test_parser.nit:94,14--17 text='text' -Read token at ../src/test_parser.nit:94,18--95,0 text=' -' -Read token at ../src/test_parser.nit:95,4--5 text='if' -Read token at ../src/test_parser.nit:95,7 text='s' -Read token at ../src/test_parser.nit:95,9--10 text='==' -Read token at ../src/test_parser.nit:95,12--15 text='":q"' -Read token at ../src/test_parser.nit:95,17--20 text='then' -Read token at ../src/test_parser.nit:95,21--96,0 text=' -' -Read token at ../src/test_parser.nit:96,5--9 text='break' -Read token at ../src/test_parser.nit:96,10--97,0 text=' -' -Read token at ../src/test_parser.nit:97,4--7 text='else' -Read token at ../src/test_parser.nit:97,8--98,0 text=' -' -Read token at ../src/test_parser.nit:98,5--9 text='print' -Read token at ../src/test_parser.nit:98,11--24 text='"`:q` to quit"' -Read token at ../src/test_parser.nit:98,25--99,0 text=' -' -Read token at ../src/test_parser.nit:99,4--6 text='end' -Read token at ../src/test_parser.nit:99,7--100,0 text=' -' -Read token at ../src/test_parser.nit:100,4--11 text='continue' -Read token at ../src/test_parser.nit:100,12--101,0 text=' -' -Read token at ../src/test_parser.nit:101,3--5 text='end' -Read token at ../src/test_parser.nit:101,6--102,0 text=' -' -Read token at ../src/test_parser.nit:102,1--103,0 text=' -' -Read token at ../src/test_parser.nit:103,3--4 text='if' -Read token at ../src/test_parser.nit:103,6 text='n' -Read token at ../src/test_parser.nit:103,8--10 text='isa' -Read token at ../src/test_parser.nit:103,12--17 text='AError' -Read token at ../src/test_parser.nit:103,19--22 text='then' -Read token at ../src/test_parser.nit:103,23--104,0 text=' -' -Read token at ../src/test_parser.nit:104,4--8 text='print' -Read token at ../src/test_parser.nit:104,10--11 text='"{' -Read token at ../src/test_parser.nit:104,12 text='n' -Read token at ../src/test_parser.nit:104,13 text='.' -Read token at ../src/test_parser.nit:104,14--21 text='location' -Read token at ../src/test_parser.nit:104,22 text='.' -Read token at ../src/test_parser.nit:104,23--34 text='colored_line' -Read token at ../src/test_parser.nit:104,35 text='(' -Read token at ../src/test_parser.nit:104,36--41 text='"0;31"' -Read token at ../src/test_parser.nit:104,42 text=')' -Read token at ../src/test_parser.nit:104,43--46 text='}: {' -Read token at ../src/test_parser.nit:104,47 text='n' -Read token at ../src/test_parser.nit:104,48 text='.' -Read token at ../src/test_parser.nit:104,49--55 text='message' -Read token at ../src/test_parser.nit:104,56--57 text='}"' -Read token at ../src/test_parser.nit:104,58--105,0 text=' -' -Read token at ../src/test_parser.nit:105,4--11 text='continue' -Read token at ../src/test_parser.nit:105,12--106,0 text=' -' -Read token at ../src/test_parser.nit:106,3--5 text='end' -Read token at ../src/test_parser.nit:106,6--107,0 text=' -' -Read token at ../src/test_parser.nit:107,1--108,0 text=' -' -Read token at ../src/test_parser.nit:108,3--4 text='if' -Read token at ../src/test_parser.nit:108,6--8 text='not' -Read token at ../src/test_parser.nit:108,10--17 text='no_print' -Read token at ../src/test_parser.nit:108,19--22 text='then' -Read token at ../src/test_parser.nit:108,23--109,0 text=' -' -Read token at ../src/test_parser.nit:109,4 text='(' -Read token at ../src/test_parser.nit:109,5--7 text='new' -Read token at ../src/test_parser.nit:109,9--24 text='PrintTreeVisitor' -Read token at ../src/test_parser.nit:109,25 text=')' -Read token at ../src/test_parser.nit:109,26 text='.' -Read token at ../src/test_parser.nit:109,27--37 text='enter_visit' -Read token at ../src/test_parser.nit:109,38 text='(' -Read token at ../src/test_parser.nit:109,39 text='n' -Read token at ../src/test_parser.nit:109,40 text=')' -Read token at ../src/test_parser.nit:109,41--110,0 text=' -' -Read token at ../src/test_parser.nit:110,3--5 text='end' -Read token at ../src/test_parser.nit:110,6--111,0 text=' -' -Read token at ../src/test_parser.nit:111,2--4 text='end' -Read token at ../src/test_parser.nit:111,5--112,0 text=' -' -Read token at ../src/test_parser.nit:112,1--4 text='else' -Read token at ../src/test_parser.nit:112,5--113,0 text=' -' -Read token at ../src/test_parser.nit:113,2--4 text='for' -Read token at ../src/test_parser.nit:113,6 text='a' -Read token at ../src/test_parser.nit:113,8--9 text='in' -Read token at ../src/test_parser.nit:113,11--14 text='args' -Read token at ../src/test_parser.nit:113,16--17 text='do' -Read token at ../src/test_parser.nit:113,18--114,0 text=' -' -Read token at ../src/test_parser.nit:114,3--5 text='var' -Read token at ../src/test_parser.nit:114,7--12 text='source' -Read token at ../src/test_parser.nit:114,13--115,0 text=' -' -Read token at ../src/test_parser.nit:115,3--4 text='if' -Read token at ../src/test_parser.nit:115,6--12 text='no_file' -Read token at ../src/test_parser.nit:115,14--17 text='then' -Read token at ../src/test_parser.nit:115,18--116,0 text=' -' -Read token at ../src/test_parser.nit:116,4--9 text='source' -Read token at ../src/test_parser.nit:116,11 text='=' -Read token at ../src/test_parser.nit:116,13--15 text='new' -Read token at ../src/test_parser.nit:116,17--26 text='SourceFile' -Read token at ../src/test_parser.nit:116,27 text='.' -Read token at ../src/test_parser.nit:116,28--38 text='from_string' -Read token at ../src/test_parser.nit:116,39 text='(' -Read token at ../src/test_parser.nit:116,40--41 text='""' -Read token at ../src/test_parser.nit:116,42 text=',' -Read token at ../src/test_parser.nit:116,44 text='a' -Read token at ../src/test_parser.nit:116,45 text=')' -Read token at ../src/test_parser.nit:116,46--117,0 text=' -' -Read token at ../src/test_parser.nit:117,3--6 text='else' -Read token at ../src/test_parser.nit:117,7--118,0 text=' -' -Read token at ../src/test_parser.nit:118,4--6 text='var' -Read token at ../src/test_parser.nit:118,8 text='f' -Read token at ../src/test_parser.nit:118,10 text='=' -Read token at ../src/test_parser.nit:118,12--14 text='new' -Read token at ../src/test_parser.nit:118,16--25 text='FileReader' -Read token at ../src/test_parser.nit:118,26 text='.' -Read token at ../src/test_parser.nit:118,27--30 text='open' -Read token at ../src/test_parser.nit:118,31 text='(' -Read token at ../src/test_parser.nit:118,32 text='a' -Read token at ../src/test_parser.nit:118,33 text=')' -Read token at ../src/test_parser.nit:118,34--119,0 text=' -' -Read token at ../src/test_parser.nit:119,4--9 text='source' -Read token at ../src/test_parser.nit:119,11 text='=' -Read token at ../src/test_parser.nit:119,13--15 text='new' -Read token at ../src/test_parser.nit:119,17--26 text='SourceFile' -Read token at ../src/test_parser.nit:119,27 text='(' -Read token at ../src/test_parser.nit:119,28 text='a' -Read token at ../src/test_parser.nit:119,29 text=',' -Read token at ../src/test_parser.nit:119,31 text='f' -Read token at ../src/test_parser.nit:119,32 text=')' -Read token at ../src/test_parser.nit:119,33--120,0 text=' -' -Read token at ../src/test_parser.nit:120,4 text='f' -Read token at ../src/test_parser.nit:120,5 text='.' -Read token at ../src/test_parser.nit:120,6--10 text='close' -Read token at ../src/test_parser.nit:120,11--121,0 text=' -' -Read token at ../src/test_parser.nit:121,3--5 text='end' -Read token at ../src/test_parser.nit:121,6--122,0 text=' -' -Read token at ../src/test_parser.nit:122,3--5 text='var' -Read token at ../src/test_parser.nit:122,7--11 text='lexer' -Read token at ../src/test_parser.nit:122,13 text='=' -Read token at ../src/test_parser.nit:122,15--17 text='new' -Read token at ../src/test_parser.nit:122,19--23 text='Lexer' -Read token at ../src/test_parser.nit:122,24 text='(' -Read token at ../src/test_parser.nit:122,25--30 text='source' -Read token at ../src/test_parser.nit:122,31 text=')' -Read token at ../src/test_parser.nit:122,32--123,0 text=' -' -Read token at ../src/test_parser.nit:123,3--4 text='if' -Read token at ../src/test_parser.nit:123,6--15 text='only_lexer' -Read token at ../src/test_parser.nit:123,17--20 text='then' -Read token at ../src/test_parser.nit:123,21--124,0 text=' +Read token at ../src/test_parser.nit:87,2--5 text='else' +Read token at ../src/test_parser.nit:87,7--8 text='if' +Read token at ../src/test_parser.nit:87,10--16 text='no_file' +Read token at ../src/test_parser.nit:87,18--21 text='then' +Read token at ../src/test_parser.nit:87,22--88,0 text=' +' +Read token at ../src/test_parser.nit:88,3--7 text='print' +Read token at ../src/test_parser.nit:88,9--44 text='"Error: -e and -i are incompatibles"' +Read token at ../src/test_parser.nit:88,45--89,0 text=' +' +Read token at ../src/test_parser.nit:89,3--6 text='exit' +Read token at ../src/test_parser.nit:89,8 text='1' +Read token at ../src/test_parser.nit:89,9--90,0 text=' +' +Read token at ../src/test_parser.nit:90,2--5 text='else' +Read token at ../src/test_parser.nit:90,7--8 text='if' +Read token at ../src/test_parser.nit:90,10--12 text='not' +Read token at ../src/test_parser.nit:90,14--17 text='args' +Read token at ../src/test_parser.nit:90,18 text='.' +Read token at ../src/test_parser.nit:90,19--26 text='is_empty' +Read token at ../src/test_parser.nit:90,28--31 text='then' +Read token at ../src/test_parser.nit:90,32--91,0 text=' +' +Read token at ../src/test_parser.nit:91,3--7 text='print' +Read token at ../src/test_parser.nit:91,9--43 text='"Error: -i works without arguments"' +Read token at ../src/test_parser.nit:91,44--92,0 text=' +' +Read token at ../src/test_parser.nit:92,3--6 text='exit' +Read token at ../src/test_parser.nit:92,8 text='1' +Read token at ../src/test_parser.nit:92,9--93,0 text=' +' +Read token at ../src/test_parser.nit:93,2--4 text='end' +Read token at ../src/test_parser.nit:93,5--94,0 text=' +' +Read token at ../src/test_parser.nit:94,1--95,0 text=' +' +Read token at ../src/test_parser.nit:95,2--4 text='var' +Read token at ../src/test_parser.nit:95,6--7 text='tc' +Read token at ../src/test_parser.nit:95,9 text='=' +Read token at ../src/test_parser.nit:95,11--13 text='new' +Read token at ../src/test_parser.nit:95,15--25 text='ToolContext' +Read token at ../src/test_parser.nit:95,26--96,0 text=' +' +Read token at ../src/test_parser.nit:96,1--97,0 text=' +' +Read token at ../src/test_parser.nit:97,2--5 text='loop' +Read token at ../src/test_parser.nit:97,6--98,0 text=' +' +Read token at ../src/test_parser.nit:98,3--5 text='var' +Read token at ../src/test_parser.nit:98,7 text='n' +Read token at ../src/test_parser.nit:98,9 text='=' +Read token at ../src/test_parser.nit:98,11--12 text='tc' +Read token at ../src/test_parser.nit:98,13 text='.' +Read token at ../src/test_parser.nit:98,14--30 text='interactive_parse' +Read token at ../src/test_parser.nit:98,31 text='(' +Read token at ../src/test_parser.nit:98,32--36 text='"-->"' +Read token at ../src/test_parser.nit:98,37 text=')' +Read token at ../src/test_parser.nit:98,38--99,0 text=' +' +Read token at ../src/test_parser.nit:99,3--4 text='if' +Read token at ../src/test_parser.nit:99,6 text='n' +Read token at ../src/test_parser.nit:99,8--10 text='isa' +Read token at ../src/test_parser.nit:99,12--18 text='TString' +Read token at ../src/test_parser.nit:99,20--23 text='then' +Read token at ../src/test_parser.nit:99,24--100,0 text=' +' +Read token at ../src/test_parser.nit:100,4--6 text='var' +Read token at ../src/test_parser.nit:100,8 text='s' +Read token at ../src/test_parser.nit:100,10 text='=' +Read token at ../src/test_parser.nit:100,12 text='n' +Read token at ../src/test_parser.nit:100,13 text='.' +Read token at ../src/test_parser.nit:100,14--17 text='text' +Read token at ../src/test_parser.nit:100,18--101,0 text=' +' +Read token at ../src/test_parser.nit:101,4--5 text='if' +Read token at ../src/test_parser.nit:101,7 text='s' +Read token at ../src/test_parser.nit:101,9--10 text='==' +Read token at ../src/test_parser.nit:101,12--15 text='":q"' +Read token at ../src/test_parser.nit:101,17--20 text='then' +Read token at ../src/test_parser.nit:101,21--102,0 text=' +' +Read token at ../src/test_parser.nit:102,5--9 text='break' +Read token at ../src/test_parser.nit:102,10--103,0 text=' +' +Read token at ../src/test_parser.nit:103,4--7 text='else' +Read token at ../src/test_parser.nit:103,8--104,0 text=' +' +Read token at ../src/test_parser.nit:104,5--9 text='print' +Read token at ../src/test_parser.nit:104,11--24 text='"`:q` to quit"' +Read token at ../src/test_parser.nit:104,25--105,0 text=' +' +Read token at ../src/test_parser.nit:105,4--6 text='end' +Read token at ../src/test_parser.nit:105,7--106,0 text=' +' +Read token at ../src/test_parser.nit:106,4--11 text='continue' +Read token at ../src/test_parser.nit:106,12--107,0 text=' +' +Read token at ../src/test_parser.nit:107,3--5 text='end' +Read token at ../src/test_parser.nit:107,6--108,0 text=' +' +Read token at ../src/test_parser.nit:108,1--109,0 text=' +' +Read token at ../src/test_parser.nit:109,3--4 text='if' +Read token at ../src/test_parser.nit:109,6 text='n' +Read token at ../src/test_parser.nit:109,8--10 text='isa' +Read token at ../src/test_parser.nit:109,12--17 text='AError' +Read token at ../src/test_parser.nit:109,19--22 text='then' +Read token at ../src/test_parser.nit:109,23--110,0 text=' +' +Read token at ../src/test_parser.nit:110,4--8 text='print' +Read token at ../src/test_parser.nit:110,10--11 text='"{' +Read token at ../src/test_parser.nit:110,12 text='n' +Read token at ../src/test_parser.nit:110,13 text='.' +Read token at ../src/test_parser.nit:110,14--21 text='location' +Read token at ../src/test_parser.nit:110,22 text='.' +Read token at ../src/test_parser.nit:110,23--34 text='colored_line' +Read token at ../src/test_parser.nit:110,35 text='(' +Read token at ../src/test_parser.nit:110,36--41 text='"0;31"' +Read token at ../src/test_parser.nit:110,42 text=')' +Read token at ../src/test_parser.nit:110,43--46 text='}: {' +Read token at ../src/test_parser.nit:110,47 text='n' +Read token at ../src/test_parser.nit:110,48 text='.' +Read token at ../src/test_parser.nit:110,49--55 text='message' +Read token at ../src/test_parser.nit:110,56--57 text='}"' +Read token at ../src/test_parser.nit:110,58--111,0 text=' +' +Read token at ../src/test_parser.nit:111,4--11 text='continue' +Read token at ../src/test_parser.nit:111,12--112,0 text=' +' +Read token at ../src/test_parser.nit:112,3--5 text='end' +Read token at ../src/test_parser.nit:112,6--113,0 text=' +' +Read token at ../src/test_parser.nit:113,1--114,0 text=' +' +Read token at ../src/test_parser.nit:114,3--4 text='if' +Read token at ../src/test_parser.nit:114,6--8 text='not' +Read token at ../src/test_parser.nit:114,10--17 text='no_print' +Read token at ../src/test_parser.nit:114,19--22 text='then' +Read token at ../src/test_parser.nit:114,23--115,0 text=' +' +Read token at ../src/test_parser.nit:115,4 text='(' +Read token at ../src/test_parser.nit:115,5--7 text='new' +Read token at ../src/test_parser.nit:115,9--24 text='PrintTreeVisitor' +Read token at ../src/test_parser.nit:115,25 text=')' +Read token at ../src/test_parser.nit:115,26 text='.' +Read token at ../src/test_parser.nit:115,27--37 text='enter_visit' +Read token at ../src/test_parser.nit:115,38 text='(' +Read token at ../src/test_parser.nit:115,39 text='n' +Read token at ../src/test_parser.nit:115,40 text=')' +Read token at ../src/test_parser.nit:115,41--116,0 text=' +' +Read token at ../src/test_parser.nit:116,3--5 text='end' +Read token at ../src/test_parser.nit:116,6--117,0 text=' +' +Read token at ../src/test_parser.nit:117,2--4 text='end' +Read token at ../src/test_parser.nit:117,5--118,0 text=' +' +Read token at ../src/test_parser.nit:118,1--4 text='else' +Read token at ../src/test_parser.nit:118,5--119,0 text=' +' +Read token at ../src/test_parser.nit:119,2--4 text='for' +Read token at ../src/test_parser.nit:119,6 text='a' +Read token at ../src/test_parser.nit:119,8--9 text='in' +Read token at ../src/test_parser.nit:119,11--14 text='args' +Read token at ../src/test_parser.nit:119,16--17 text='do' +Read token at ../src/test_parser.nit:119,18--120,0 text=' +' +Read token at ../src/test_parser.nit:120,3--5 text='var' +Read token at ../src/test_parser.nit:120,7--12 text='source' +Read token at ../src/test_parser.nit:120,13--121,0 text=' +' +Read token at ../src/test_parser.nit:121,3--4 text='if' +Read token at ../src/test_parser.nit:121,6--12 text='no_file' +Read token at ../src/test_parser.nit:121,14--17 text='then' +Read token at ../src/test_parser.nit:121,18--122,0 text=' +' +Read token at ../src/test_parser.nit:122,4--9 text='source' +Read token at ../src/test_parser.nit:122,11 text='=' +Read token at ../src/test_parser.nit:122,13--15 text='new' +Read token at ../src/test_parser.nit:122,17--26 text='SourceFile' +Read token at ../src/test_parser.nit:122,27 text='.' +Read token at ../src/test_parser.nit:122,28--38 text='from_string' +Read token at ../src/test_parser.nit:122,39 text='(' +Read token at ../src/test_parser.nit:122,40--41 text='""' +Read token at ../src/test_parser.nit:122,42 text=',' +Read token at ../src/test_parser.nit:122,44 text='a' +Read token at ../src/test_parser.nit:122,45 text=')' +Read token at ../src/test_parser.nit:122,46--123,0 text=' +' +Read token at ../src/test_parser.nit:123,3--6 text='else' +Read token at ../src/test_parser.nit:123,7--124,0 text=' ' Read token at ../src/test_parser.nit:124,4--6 text='var' -Read token at ../src/test_parser.nit:124,8--12 text='token' -Read token at ../src/test_parser.nit:124,14 text='=' -Read token at ../src/test_parser.nit:124,16--20 text='lexer' -Read token at ../src/test_parser.nit:124,21 text='.' -Read token at ../src/test_parser.nit:124,22--25 text='next' -Read token at ../src/test_parser.nit:124,26--125,0 text=' -' -Read token at ../src/test_parser.nit:125,4--8 text='while' -Read token at ../src/test_parser.nit:125,10--12 text='not' -Read token at ../src/test_parser.nit:125,14--18 text='token' -Read token at ../src/test_parser.nit:125,20--22 text='isa' -Read token at ../src/test_parser.nit:125,24--26 text='EOF' -Read token at ../src/test_parser.nit:125,28--29 text='do' -Read token at ../src/test_parser.nit:125,30--126,0 text=' -' -Read token at ../src/test_parser.nit:126,5--6 text='if' -Read token at ../src/test_parser.nit:126,8--10 text='not' -Read token at ../src/test_parser.nit:126,12--19 text='no_print' -Read token at ../src/test_parser.nit:126,21--24 text='then' -Read token at ../src/test_parser.nit:126,25--127,0 text=' -' -Read token at ../src/test_parser.nit:127,6--10 text='print' -Read token at ../src/test_parser.nit:127,11 text='(' -Read token at ../src/test_parser.nit:127,12--27 text='"Read token at {' -Read token at ../src/test_parser.nit:127,28--32 text='token' -Read token at ../src/test_parser.nit:127,33 text='.' -Read token at ../src/test_parser.nit:127,34--41 text='location' -Read token at ../src/test_parser.nit:127,42--50 text='} text='{' -Read token at ../src/test_parser.nit:127,51--55 text='token' -Read token at ../src/test_parser.nit:127,56 text='.' -Read token at ../src/test_parser.nit:127,57--60 text='text' -Read token at ../src/test_parser.nit:127,61--63 text='}'"' -Read token at ../src/test_parser.nit:127,64 text=')' -Read token at ../src/test_parser.nit:127,65--128,0 text=' -' -Read token at ../src/test_parser.nit:128,5--7 text='end' -Read token at ../src/test_parser.nit:128,8--129,0 text=' -' -Read token at ../src/test_parser.nit:129,5--9 text='token' -Read token at ../src/test_parser.nit:129,11 text='=' -Read token at ../src/test_parser.nit:129,13--17 text='lexer' -Read token at ../src/test_parser.nit:129,18 text='.' -Read token at ../src/test_parser.nit:129,19--22 text='next' -Read token at ../src/test_parser.nit:129,23--130,0 text=' -' -Read token at ../src/test_parser.nit:130,4--6 text='end' -Read token at ../src/test_parser.nit:130,7--131,0 text=' -' -Read token at ../src/test_parser.nit:131,3--6 text='else' -Read token at ../src/test_parser.nit:131,7--132,0 text=' -' -Read token at ../src/test_parser.nit:132,4--6 text='var' -Read token at ../src/test_parser.nit:132,8--13 text='parser' -Read token at ../src/test_parser.nit:132,15 text='=' -Read token at ../src/test_parser.nit:132,17--19 text='new' -Read token at ../src/test_parser.nit:132,21--26 text='Parser' -Read token at ../src/test_parser.nit:132,27 text='(' -Read token at ../src/test_parser.nit:132,28--32 text='lexer' -Read token at ../src/test_parser.nit:132,33 text=')' -Read token at ../src/test_parser.nit:132,34--133,0 text=' -' -Read token at ../src/test_parser.nit:133,4--6 text='var' -Read token at ../src/test_parser.nit:133,8--11 text='tree' -Read token at ../src/test_parser.nit:133,13 text='=' -Read token at ../src/test_parser.nit:133,15--20 text='parser' -Read token at ../src/test_parser.nit:133,21 text='.' -Read token at ../src/test_parser.nit:133,22--26 text='parse' -Read token at ../src/test_parser.nit:133,27--134,0 text=' -' -Read token at ../src/test_parser.nit:134,1--135,0 text=' -' -Read token at ../src/test_parser.nit:135,4--6 text='var' -Read token at ../src/test_parser.nit:135,8--12 text='error' -Read token at ../src/test_parser.nit:135,14 text='=' -Read token at ../src/test_parser.nit:135,16--19 text='tree' -Read token at ../src/test_parser.nit:135,20 text='.' -Read token at ../src/test_parser.nit:135,21--25 text='n_eof' -Read token at ../src/test_parser.nit:135,26--136,0 text=' -' -Read token at ../src/test_parser.nit:136,4--5 text='if' -Read token at ../src/test_parser.nit:136,7--11 text='error' -Read token at ../src/test_parser.nit:136,13--15 text='isa' -Read token at ../src/test_parser.nit:136,17--22 text='AError' -Read token at ../src/test_parser.nit:136,24--27 text='then' -Read token at ../src/test_parser.nit:136,28--137,0 text=' -' -Read token at ../src/test_parser.nit:137,5--9 text='print' -Read token at ../src/test_parser.nit:137,10 text='(' -Read token at ../src/test_parser.nit:137,11--21 text='"Error at {' -Read token at ../src/test_parser.nit:137,22--26 text='error' -Read token at ../src/test_parser.nit:137,27 text='.' -Read token at ../src/test_parser.nit:137,28--35 text='location' -Read token at ../src/test_parser.nit:137,36--42 text='}:\n\t{' -Read token at ../src/test_parser.nit:137,43--47 text='error' -Read token at ../src/test_parser.nit:137,48 text='.' -Read token at ../src/test_parser.nit:137,49--55 text='message' -Read token at ../src/test_parser.nit:137,56--57 text='}"' -Read token at ../src/test_parser.nit:137,58 text=')' -Read token at ../src/test_parser.nit:137,59--138,0 text=' -' -Read token at ../src/test_parser.nit:138,5--10 text='return' -Read token at ../src/test_parser.nit:138,11--139,0 text=' -' -Read token at ../src/test_parser.nit:139,4--6 text='end' -Read token at ../src/test_parser.nit:139,7--140,0 text=' +Read token at ../src/test_parser.nit:124,8 text='f' +Read token at ../src/test_parser.nit:124,10 text='=' +Read token at ../src/test_parser.nit:124,12--14 text='new' +Read token at ../src/test_parser.nit:124,16--25 text='FileReader' +Read token at ../src/test_parser.nit:124,26 text='.' +Read token at ../src/test_parser.nit:124,27--30 text='open' +Read token at ../src/test_parser.nit:124,31 text='(' +Read token at ../src/test_parser.nit:124,32 text='a' +Read token at ../src/test_parser.nit:124,33 text=')' +Read token at ../src/test_parser.nit:124,34--125,0 text=' +' +Read token at ../src/test_parser.nit:125,4--9 text='source' +Read token at ../src/test_parser.nit:125,11 text='=' +Read token at ../src/test_parser.nit:125,13--15 text='new' +Read token at ../src/test_parser.nit:125,17--26 text='SourceFile' +Read token at ../src/test_parser.nit:125,27 text='(' +Read token at ../src/test_parser.nit:125,28 text='a' +Read token at ../src/test_parser.nit:125,29 text=',' +Read token at ../src/test_parser.nit:125,31 text='f' +Read token at ../src/test_parser.nit:125,32 text=')' +Read token at ../src/test_parser.nit:125,33--126,0 text=' +' +Read token at ../src/test_parser.nit:126,4 text='f' +Read token at ../src/test_parser.nit:126,5 text='.' +Read token at ../src/test_parser.nit:126,6--10 text='close' +Read token at ../src/test_parser.nit:126,11--127,0 text=' +' +Read token at ../src/test_parser.nit:127,3--5 text='end' +Read token at ../src/test_parser.nit:127,6--128,0 text=' +' +Read token at ../src/test_parser.nit:128,3--5 text='var' +Read token at ../src/test_parser.nit:128,7--11 text='lexer' +Read token at ../src/test_parser.nit:128,13 text='=' +Read token at ../src/test_parser.nit:128,15--17 text='new' +Read token at ../src/test_parser.nit:128,19--23 text='Lexer' +Read token at ../src/test_parser.nit:128,24 text='(' +Read token at ../src/test_parser.nit:128,25--30 text='source' +Read token at ../src/test_parser.nit:128,31 text=')' +Read token at ../src/test_parser.nit:128,32--129,0 text=' +' +Read token at ../src/test_parser.nit:129,3--4 text='if' +Read token at ../src/test_parser.nit:129,6--15 text='only_lexer' +Read token at ../src/test_parser.nit:129,17--20 text='then' +Read token at ../src/test_parser.nit:129,21--130,0 text=' +' +Read token at ../src/test_parser.nit:130,4--6 text='var' +Read token at ../src/test_parser.nit:130,8--12 text='token' +Read token at ../src/test_parser.nit:130,14 text='=' +Read token at ../src/test_parser.nit:130,16--20 text='lexer' +Read token at ../src/test_parser.nit:130,21 text='.' +Read token at ../src/test_parser.nit:130,22--25 text='next' +Read token at ../src/test_parser.nit:130,26--131,0 text=' +' +Read token at ../src/test_parser.nit:131,4--8 text='while' +Read token at ../src/test_parser.nit:131,10--12 text='not' +Read token at ../src/test_parser.nit:131,14--18 text='token' +Read token at ../src/test_parser.nit:131,20--22 text='isa' +Read token at ../src/test_parser.nit:131,24--26 text='EOF' +Read token at ../src/test_parser.nit:131,28--29 text='do' +Read token at ../src/test_parser.nit:131,30--132,0 text=' +' +Read token at ../src/test_parser.nit:132,5--6 text='if' +Read token at ../src/test_parser.nit:132,8--10 text='not' +Read token at ../src/test_parser.nit:132,12--19 text='no_print' +Read token at ../src/test_parser.nit:132,21--24 text='then' +Read token at ../src/test_parser.nit:132,25--133,0 text=' +' +Read token at ../src/test_parser.nit:133,6--10 text='print' +Read token at ../src/test_parser.nit:133,11 text='(' +Read token at ../src/test_parser.nit:133,12--27 text='"Read token at {' +Read token at ../src/test_parser.nit:133,28--32 text='token' +Read token at ../src/test_parser.nit:133,33 text='.' +Read token at ../src/test_parser.nit:133,34--41 text='location' +Read token at ../src/test_parser.nit:133,42--50 text='} text='{' +Read token at ../src/test_parser.nit:133,51--55 text='token' +Read token at ../src/test_parser.nit:133,56 text='.' +Read token at ../src/test_parser.nit:133,57--60 text='text' +Read token at ../src/test_parser.nit:133,61--63 text='}'"' +Read token at ../src/test_parser.nit:133,64 text=')' +Read token at ../src/test_parser.nit:133,65--134,0 text=' +' +Read token at ../src/test_parser.nit:134,5--7 text='end' +Read token at ../src/test_parser.nit:134,8--135,0 text=' +' +Read token at ../src/test_parser.nit:135,5--9 text='token' +Read token at ../src/test_parser.nit:135,11 text='=' +Read token at ../src/test_parser.nit:135,13--17 text='lexer' +Read token at ../src/test_parser.nit:135,18 text='.' +Read token at ../src/test_parser.nit:135,19--22 text='next' +Read token at ../src/test_parser.nit:135,23--136,0 text=' +' +Read token at ../src/test_parser.nit:136,4--6 text='end' +Read token at ../src/test_parser.nit:136,7--137,0 text=' +' +Read token at ../src/test_parser.nit:137,3--6 text='else' +Read token at ../src/test_parser.nit:137,7--138,0 text=' +' +Read token at ../src/test_parser.nit:138,4--6 text='var' +Read token at ../src/test_parser.nit:138,8--13 text='parser' +Read token at ../src/test_parser.nit:138,15 text='=' +Read token at ../src/test_parser.nit:138,17--19 text='new' +Read token at ../src/test_parser.nit:138,21--26 text='Parser' +Read token at ../src/test_parser.nit:138,27 text='(' +Read token at ../src/test_parser.nit:138,28--32 text='lexer' +Read token at ../src/test_parser.nit:138,33 text=')' +Read token at ../src/test_parser.nit:138,34--139,0 text=' +' +Read token at ../src/test_parser.nit:139,4--6 text='var' +Read token at ../src/test_parser.nit:139,8--11 text='tree' +Read token at ../src/test_parser.nit:139,13 text='=' +Read token at ../src/test_parser.nit:139,15--20 text='parser' +Read token at ../src/test_parser.nit:139,21 text='.' +Read token at ../src/test_parser.nit:139,22--26 text='parse' +Read token at ../src/test_parser.nit:139,27--140,0 text=' ' Read token at ../src/test_parser.nit:140,1--141,0 text=' ' -Read token at ../src/test_parser.nit:141,4--5 text='if' -Read token at ../src/test_parser.nit:141,7--9 text='not' -Read token at ../src/test_parser.nit:141,11--18 text='no_print' -Read token at ../src/test_parser.nit:141,20--23 text='then' -Read token at ../src/test_parser.nit:141,24--142,0 text=' -' -Read token at ../src/test_parser.nit:142,5 text='(' -Read token at ../src/test_parser.nit:142,6--8 text='new' -Read token at ../src/test_parser.nit:142,10--25 text='PrintTreeVisitor' -Read token at ../src/test_parser.nit:142,26 text=')' -Read token at ../src/test_parser.nit:142,27 text='.' -Read token at ../src/test_parser.nit:142,28--38 text='enter_visit' -Read token at ../src/test_parser.nit:142,39 text='(' -Read token at ../src/test_parser.nit:142,40--43 text='tree' -Read token at ../src/test_parser.nit:142,44 text=')' -Read token at ../src/test_parser.nit:142,45--143,0 text=' -' -Read token at ../src/test_parser.nit:143,4--6 text='end' -Read token at ../src/test_parser.nit:143,7--144,0 text=' -' -Read token at ../src/test_parser.nit:144,3--5 text='end' -Read token at ../src/test_parser.nit:144,6--145,0 text=' -' -Read token at ../src/test_parser.nit:145,2--4 text='end' -Read token at ../src/test_parser.nit:145,5--146,0 text=' -' -Read token at ../src/test_parser.nit:146,1--3 text='end' -Read token at ../src/test_parser.nit:146,4--147,0 text=' +Read token at ../src/test_parser.nit:141,4--6 text='var' +Read token at ../src/test_parser.nit:141,8--12 text='error' +Read token at ../src/test_parser.nit:141,14 text='=' +Read token at ../src/test_parser.nit:141,16--19 text='tree' +Read token at ../src/test_parser.nit:141,20 text='.' +Read token at ../src/test_parser.nit:141,21--25 text='n_eof' +Read token at ../src/test_parser.nit:141,26--142,0 text=' +' +Read token at ../src/test_parser.nit:142,4--5 text='if' +Read token at ../src/test_parser.nit:142,7--11 text='error' +Read token at ../src/test_parser.nit:142,13--15 text='isa' +Read token at ../src/test_parser.nit:142,17--22 text='AError' +Read token at ../src/test_parser.nit:142,24--27 text='then' +Read token at ../src/test_parser.nit:142,28--143,0 text=' +' +Read token at ../src/test_parser.nit:143,5--9 text='print' +Read token at ../src/test_parser.nit:143,10 text='(' +Read token at ../src/test_parser.nit:143,11--21 text='"Error at {' +Read token at ../src/test_parser.nit:143,22--26 text='error' +Read token at ../src/test_parser.nit:143,27 text='.' +Read token at ../src/test_parser.nit:143,28--35 text='location' +Read token at ../src/test_parser.nit:143,36--42 text='}:\n\t{' +Read token at ../src/test_parser.nit:143,43--47 text='error' +Read token at ../src/test_parser.nit:143,48 text='.' +Read token at ../src/test_parser.nit:143,49--55 text='message' +Read token at ../src/test_parser.nit:143,56--57 text='}"' +Read token at ../src/test_parser.nit:143,58 text=')' +Read token at ../src/test_parser.nit:143,59--144,0 text=' +' +Read token at ../src/test_parser.nit:144,5--10 text='return' +Read token at ../src/test_parser.nit:144,11--145,0 text=' +' +Read token at ../src/test_parser.nit:145,4--6 text='end' +Read token at ../src/test_parser.nit:145,7--146,0 text=' +' +Read token at ../src/test_parser.nit:146,1--147,0 text=' +' +Read token at ../src/test_parser.nit:147,4--5 text='if' +Read token at ../src/test_parser.nit:147,7--9 text='xml' +Read token at ../src/test_parser.nit:147,11--14 text='then' +Read token at ../src/test_parser.nit:147,15--148,0 text=' +' +Read token at ../src/test_parser.nit:148,5--8 text='tree' +Read token at ../src/test_parser.nit:148,9 text='.' +Read token at ../src/test_parser.nit:148,10--25 text='parentize_tokens' +Read token at ../src/test_parser.nit:148,26--149,0 text=' +' +Read token at ../src/test_parser.nit:149,5--8 text='tree' +Read token at ../src/test_parser.nit:149,9 text='.' +Read token at ../src/test_parser.nit:149,10--15 text='to_xml' +Read token at ../src/test_parser.nit:149,16 text='.' +Read token at ../src/test_parser.nit:149,17--24 text='write_to' +Read token at ../src/test_parser.nit:149,25 text='(' +Read token at ../src/test_parser.nit:149,26--31 text='stdout' +Read token at ../src/test_parser.nit:149,32 text=')' +Read token at ../src/test_parser.nit:149,33--150,0 text=' +' +Read token at ../src/test_parser.nit:150,4--7 text='else' +Read token at ../src/test_parser.nit:150,9--10 text='if' +Read token at ../src/test_parser.nit:150,12--14 text='not' +Read token at ../src/test_parser.nit:150,16--23 text='no_print' +Read token at ../src/test_parser.nit:150,25--28 text='then' +Read token at ../src/test_parser.nit:150,29--151,0 text=' +' +Read token at ../src/test_parser.nit:151,5 text='(' +Read token at ../src/test_parser.nit:151,6--8 text='new' +Read token at ../src/test_parser.nit:151,10--25 text='PrintTreeVisitor' +Read token at ../src/test_parser.nit:151,26 text=')' +Read token at ../src/test_parser.nit:151,27 text='.' +Read token at ../src/test_parser.nit:151,28--38 text='enter_visit' +Read token at ../src/test_parser.nit:151,39 text='(' +Read token at ../src/test_parser.nit:151,40--43 text='tree' +Read token at ../src/test_parser.nit:151,44 text=')' +Read token at ../src/test_parser.nit:151,45--152,0 text=' +' +Read token at ../src/test_parser.nit:152,4--6 text='end' +Read token at ../src/test_parser.nit:152,7--153,0 text=' +' +Read token at ../src/test_parser.nit:153,3--5 text='end' +Read token at ../src/test_parser.nit:153,6--154,0 text=' +' +Read token at ../src/test_parser.nit:154,2--4 text='end' +Read token at ../src/test_parser.nit:154,5--155,0 text=' +' +Read token at ../src/test_parser.nit:155,1--3 text='end' +Read token at ../src/test_parser.nit:155,4--156,0 text=' ' -- 1.7.9.5