From 42d7ca97a3c3553e325be1f681179bc80e9e702f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=97=D0=B5=D0=BC=D0=BB=D1=8F=D0=BA?= <92867056+AlexanderZemlyak@users.noreply.github.com> Date: Fri, 16 Jan 2026 21:51:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3=20=D0=B2=D0=B8=D0=B7=D0=B8=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B0=20SPython=20=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20global=20stateteme?= =?UTF-8?q?nt=20(#3375)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Delete nameTypes dictionary in SymbolTable * Refactor SymbolTableFillingVisitor * Disallow dotted idents in global statement --- .../SPythonParser.y | 37 +- .../SPythonParserYacc.cs | 1284 ++++++++--------- .../SymbolTableFillingVisitor.cs | 190 +-- .../import_and_from_import.pys | 8 + 4 files changed, 738 insertions(+), 781 deletions(-) create mode 100644 TestSuiteAdditionalLanguages/SPythonTests/CompilationSamples/import_and_from_import.pys diff --git a/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParser.y b/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParser.y index 119176230..baed66877 100644 --- a/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParser.y +++ b/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParser.y @@ -65,13 +65,13 @@ %right STARSTAR %left BINNOT -%type ident dotted_ident func_name_ident type_decl_identifier -%type extended_expr expr intellisense_dotted_ident proc_func_call const_value variable optional_condition act_param extended_new_expr new_expr is_expr variable_as_type +%type ident func_name_ident type_decl_identifier +%type extended_expr expr dotted_ident proc_func_call const_value variable optional_condition act_param extended_new_expr new_expr is_expr variable_as_type %type act_param_list optional_act_param_list proc_func_decl return_stmt break_stmt continue_stmt global_stmt pass_stmt %type var_stmt assign_stmt if_stmt stmt proc_func_call_stmt while_stmt for_stmt optional_else optional_elif exit_stmt %type expr_list %type stmt_list block -%type program param_name form_param_sect form_param_list optional_form_param_list dotted_ident_list +%type program param_name form_param_sect form_param_list optional_form_param_list %type ident_as_ident ident_as_ident_list ident_list %type proc_func_header type_ref simple_type_identifier template_type %type import_clause template_type_params template_param_list parts stmt_or_expression expr_mapping_list @@ -174,11 +174,11 @@ type_decl_identifier ; variable_as_type - : intellisense_dotted_ident + : dotted_ident { $$ = $1; } - | intellisense_dotted_ident template_type_params + | dotted_ident template_type_params { $$ = new ident_with_templateparams($1 as addressed_value, $2 as template_param_list, @$); } @@ -293,7 +293,7 @@ exit_stmt ; global_stmt - : GLOBAL dotted_ident_list + : GLOBAL ident_list { $$ = new global_statement($2 as ident_list, @$); } @@ -306,38 +306,17 @@ ident } ; +// этот нетерминал аналог dotted_identifier из ABCPascal.y dotted_ident : ident { - $$ = $1; + $$ = $1; } | dotted_ident DOT ident - { - $$ = new ident($1.name + "." + $3.name, @$); - } - ; - -// этот нетерминал аналог dotted_identifier из ABCPascal.y -intellisense_dotted_ident - : ident - { - $$ = $1; - } - | intellisense_dotted_ident DOT ident { $$ = new dot_node($1 as addressed_value, $3 as addressed_value, @$); } ; -dotted_ident_list - : dotted_ident - { - $$ = new ident_list($1, @$); - } - | dotted_ident_list COMMA dotted_ident - { - $$ = ($1 as ident_list).Add($3, @$); - } - ; ident_as_ident : ident AS ident diff --git a/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParserYacc.cs b/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParserYacc.cs index fff574ea7..ab4537536 100644 --- a/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParserYacc.cs +++ b/AdditionalLanguages/SPython/SPythonParserKrylovMovchan/SPythonParserYacc.cs @@ -4,7 +4,7 @@ // GPPG version 1.3.6 // Machine: DESKTOP-V3E9T2U -// DateTime: 07.11.2025 13:33:42 +// DateTime: 15.12.2025 12:38:14 // UserName: alex // Input file @@ -81,559 +81,549 @@ public partial class SPythonGPPGParser: ShiftReduceParser aliasses; #pragma warning restore 649 - private static Rule[] rules = new Rule[188]; - private static State[] states = new State[345]; + private static Rule[] rules = new Rule[184]; + private static State[] states = new State[339]; private static string[] nonTerms = new string[] { - "ident", "dotted_ident", "func_name_ident", "type_decl_identifier", "extended_expr", - "expr", "intellisense_dotted_ident", "proc_func_call", "const_value", "variable", - "optional_condition", "act_param", "extended_new_expr", "new_expr", "is_expr", - "variable_as_type", "act_param_list", "optional_act_param_list", "proc_func_decl", - "return_stmt", "break_stmt", "continue_stmt", "global_stmt", "pass_stmt", - "var_stmt", "assign_stmt", "if_stmt", "stmt", "proc_func_call_stmt", "while_stmt", + "ident", "func_name_ident", "type_decl_identifier", "extended_expr", "expr", + "dotted_ident", "proc_func_call", "const_value", "variable", "optional_condition", + "act_param", "extended_new_expr", "new_expr", "is_expr", "variable_as_type", + "act_param_list", "optional_act_param_list", "proc_func_decl", "return_stmt", + "break_stmt", "continue_stmt", "global_stmt", "pass_stmt", "var_stmt", + "assign_stmt", "if_stmt", "stmt", "proc_func_call_stmt", "while_stmt", "for_stmt", "optional_else", "optional_elif", "exit_stmt", "expr_list", "stmt_list", "block", "program", "param_name", "form_param_sect", "form_param_list", - "optional_form_param_list", "dotted_ident_list", "ident_as_ident", "ident_as_ident_list", - "ident_list", "proc_func_header", "type_ref", "simple_type_identifier", - "template_type", "import_clause", "template_type_params", "template_param_list", - "parts", "stmt_or_expression", "expr_mapping_list", "optional_semicolon", - "end_of_line", "variable_list", "assign_type", "expr_mapping", "list_constant", - "set_constant", "dict_constant", "generator_object", "generator_object_for_dict", - "tuple_expr", "assign_right_part", "turbo_tuple_expr", "$accept", }; + "optional_form_param_list", "ident_as_ident", "ident_as_ident_list", "ident_list", + "proc_func_header", "type_ref", "simple_type_identifier", "template_type", + "import_clause", "template_type_params", "template_param_list", "parts", + "stmt_or_expression", "expr_mapping_list", "optional_semicolon", "end_of_line", + "variable_list", "assign_type", "expr_mapping", "list_constant", "set_constant", + "dict_constant", "generator_object", "generator_object_for_dict", "tuple_expr", + "assign_right_part", "turbo_tuple_expr", "$accept", }; static SPythonGPPGParser() { - states[0] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,264,20,266,9,273,13,300,14,308,80,319,82,330,81,337},new int[]{-38,1,-36,3,-28,315,-26,8,-10,9,-1,79,-8,197,-9,181,-62,92,-63,98,-64,109,-25,205,-27,206,-29,225,-30,226,-31,231,-20,247,-21,250,-22,252,-23,254,-24,263,-34,265,-19,270,-47,271,-51,299,-54,317}); + states[0] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,258,20,260,9,267,13,294,14,302,80,313,82,324,81,331},new int[]{-37,1,-35,3,-27,309,-25,8,-9,9,-1,79,-7,197,-8,181,-60,92,-61,98,-62,109,-24,205,-26,206,-28,225,-29,226,-30,231,-19,247,-20,250,-21,252,-22,254,-23,257,-33,259,-18,264,-45,265,-49,293,-52,311}); states[1] = new State(new int[]{2,2}); states[2] = new State(-1); - states[3] = new State(new int[]{43,316,26,313,25,-187},new int[]{-57,4,-58,6}); + states[3] = new State(new int[]{43,310,26,307,25,-183},new int[]{-55,4,-56,6}); states[4] = new State(new int[]{25,5}); states[5] = new State(-2); - states[6] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,264,20,266,9,273,13,300,14,308},new int[]{-28,7,-26,8,-10,9,-1,79,-8,197,-9,181,-62,92,-63,98,-64,109,-25,205,-27,206,-29,225,-30,226,-31,231,-20,247,-21,250,-22,252,-23,254,-24,263,-34,265,-19,270,-47,271,-51,299}); + states[6] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,258,20,260,9,267,13,294,14,302},new int[]{-27,7,-25,8,-9,9,-1,79,-7,197,-8,181,-60,92,-61,98,-62,109,-24,205,-26,206,-28,225,-29,226,-30,231,-19,247,-20,250,-21,252,-22,254,-23,257,-33,259,-18,264,-45,265,-49,293}); states[7] = new State(-20); states[8] = new State(-21); - states[9] = new State(new int[]{46,10,34,69,40,163,38,165,41,175,42,183,47,187,48,188,49,189,50,190,51,191,52,192,53,193,54,194,55,195,56,196},new int[]{-60,173}); - states[10] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-68,11,-6,12,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-69,172}); - states[11] = new State(-59); - states[12] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,170,43,-57,26,-57,25,-57}); - states[13] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,14,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[9] = new State(new int[]{46,10,34,69,40,163,38,165,41,175,42,183,47,187,48,188,49,189,50,190,51,191,52,192,53,193,54,194,55,195,56,196},new int[]{-58,173}); + states[10] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-66,11,-5,12,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-67,172}); + states[11] = new State(-55); + states[12] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,170,43,-53,26,-53,25,-53}); + states[13] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,14,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[14] = new State(new int[]{7,15,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[15] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,16,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[16] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-73,43,-73,26,-73,25,-73,7,-73,3,-73,35,-73,39,-73,37,-73,42,-73}); - states[17] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,18,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[18] = new State(new int[]{6,13,57,-74,59,19,60,21,58,-74,64,-74,65,-74,66,-74,67,-74,68,-74,69,-74,70,-74,71,-74,61,41,62,43,76,-74,77,-74,78,-74,79,-74,75,-74,73,55,4,57,72,-74,41,-74,43,-74,26,-74,25,-74,7,-74,3,-74,35,-74,39,-74,37,-74,42,-74}); - states[19] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,20,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[20] = new State(new int[]{6,13,57,-75,59,-75,60,-75,58,-75,64,-75,65,-75,66,-75,67,-75,68,-75,69,-75,70,-75,71,-75,61,-75,62,-75,76,-75,77,-75,78,-75,79,-75,75,-75,73,55,4,57,72,-75,41,-75,43,-75,26,-75,25,-75,7,-75,3,-75,35,-75,39,-75,37,-75,42,-75}); - states[21] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,22,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[22] = new State(new int[]{6,13,57,-76,59,-76,60,-76,58,-76,64,-76,65,-76,66,-76,67,-76,68,-76,69,-76,70,-76,71,-76,61,-76,62,-76,76,-76,77,-76,78,-76,79,-76,75,-76,73,55,4,57,72,-76,41,-76,43,-76,26,-76,25,-76,7,-76,3,-76,35,-76,39,-76,37,-76,42,-76}); - states[23] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,24,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[24] = new State(new int[]{6,13,57,-77,59,19,60,21,58,-77,64,-77,65,-77,66,-77,67,-77,68,-77,69,-77,70,-77,71,-77,61,41,62,43,76,-77,77,-77,78,-77,79,-77,75,-77,73,55,4,57,72,-77,41,-77,43,-77,26,-77,25,-77,7,-77,3,-77,35,-77,39,-77,37,-77,42,-77}); - states[25] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,26,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[26] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-78,65,-78,66,-78,67,-78,68,-78,69,-78,70,-78,71,-78,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-78,41,-78,43,-78,26,-78,25,-78,7,-78,3,-78,35,-78,39,-78,37,-78,42,-78}); - states[27] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,28,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[28] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-79,65,-79,66,-79,67,-79,68,-79,69,-79,70,-79,71,-79,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-79,41,-79,43,-79,26,-79,25,-79,7,-79,3,-79,35,-79,39,-79,37,-79,42,-79}); - states[29] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,30,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[30] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-80,65,-80,66,-80,67,-80,68,-80,69,-80,70,-80,71,-80,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-80,41,-80,43,-80,26,-80,25,-80,7,-80,3,-80,35,-80,39,-80,37,-80,42,-80}); - states[31] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,32,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[32] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-81,65,-81,66,-81,67,-81,68,-81,69,-81,70,-81,71,-81,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-81,41,-81,43,-81,26,-81,25,-81,7,-81,3,-81,35,-81,39,-81,37,-81,42,-81}); - states[33] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,34,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[34] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-82,65,-82,66,-82,67,-82,68,-82,69,-82,70,-82,71,-82,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-82,41,-82,43,-82,26,-82,25,-82,7,-82,3,-82,35,-82,39,-82,37,-82,42,-82}); - states[35] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,36,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[36] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-83,65,-83,66,-83,67,-83,68,-83,69,-83,70,-83,71,-83,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-83,41,-83,43,-83,26,-83,25,-83,7,-83,3,-83,35,-83,39,-83,37,-83,42,-83}); - states[37] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,38,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[38] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,-84,71,-84,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-84,43,-84,26,-84,25,-84,7,-84,3,-84,35,-84,39,-84,37,-84,42,-84}); - states[39] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,40,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[40] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,-85,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-85,43,-85,26,-85,25,-85,7,-85,3,-85,35,-85,39,-85,37,-85,42,-85}); - states[41] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,42,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[42] = new State(new int[]{6,13,57,-86,59,-86,60,-86,58,-86,64,-86,65,-86,66,-86,67,-86,68,-86,69,-86,70,-86,71,-86,61,-86,62,-86,76,-86,77,-86,78,-86,79,-86,75,-86,73,55,4,57,72,-86,41,-86,43,-86,26,-86,25,-86,7,-86,3,-86,35,-86,39,-86,37,-86,42,-86}); - states[43] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,44,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[44] = new State(new int[]{6,13,57,-87,59,-87,60,-87,58,-87,64,-87,65,-87,66,-87,67,-87,68,-87,69,-87,70,-87,71,-87,61,-87,62,-87,76,-87,77,-87,78,-87,79,-87,75,-87,73,55,4,57,72,-87,41,-87,43,-87,26,-87,25,-87,7,-87,3,-87,35,-87,39,-87,37,-87,42,-87}); - states[45] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,46,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[46] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-88,65,-88,66,-88,67,-88,68,-88,69,-88,70,-88,71,-88,61,41,62,43,76,-88,77,-88,78,-88,79,-88,75,-88,73,55,4,57,72,-88,41,-88,43,-88,26,-88,25,-88,7,-88,3,-88,35,-88,39,-88,37,-88,42,-88}); - states[47] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,48,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[48] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-89,65,-89,66,-89,67,-89,68,-89,69,-89,70,-89,71,-89,61,41,62,43,76,-89,77,-89,78,-89,79,-89,75,-89,73,55,4,57,72,-89,41,-89,43,-89,26,-89,25,-89,7,-89,3,-89,35,-89,39,-89,37,-89,42,-89}); - states[49] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,50,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[50] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-90,65,-90,66,-90,67,-90,68,-90,69,-90,70,-90,71,-90,61,41,62,43,76,45,77,47,78,-90,79,-90,75,-90,73,55,4,57,72,-90,41,-90,43,-90,26,-90,25,-90,7,-90,3,-90,35,-90,39,-90,37,-90,42,-90}); - states[51] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,52,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[52] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-91,65,-91,66,-91,67,-91,68,-91,69,-91,70,-91,71,-91,61,41,62,43,76,45,77,47,78,49,79,-91,75,53,73,55,4,57,72,-91,41,-91,43,-91,26,-91,25,-91,7,-91,3,-91,35,-91,39,-91,37,-91,42,-91}); - states[53] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,54,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[54] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-92,65,-92,66,-92,67,-92,68,-92,69,-92,70,-92,71,-92,61,41,62,43,76,45,77,47,78,49,79,-92,75,-92,73,55,4,57,72,-92,41,-92,43,-92,26,-92,25,-92,7,-92,3,-92,35,-92,39,-92,37,-92,42,-92}); - states[55] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,56,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[56] = new State(new int[]{6,13,57,-93,59,-93,60,-93,58,-93,64,-93,65,-93,66,-93,67,-93,68,-93,69,-93,70,-93,71,-93,61,-93,62,-93,76,-93,77,-93,78,-93,79,-93,75,-93,73,55,4,57,72,-93,41,-93,43,-93,26,-93,25,-93,7,-93,3,-93,35,-93,39,-93,37,-93,42,-93}); - states[57] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,58,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[58] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-94,43,-94,26,-94,25,-94,7,-94,3,-94,35,-94,39,-94,37,-94,42,-94}); + states[15] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,16,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[16] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-69,43,-69,26,-69,25,-69,7,-69,3,-69,35,-69,39,-69,37,-69,42,-69}); + states[17] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,18,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[18] = new State(new int[]{6,13,57,-70,59,19,60,21,58,-70,64,-70,65,-70,66,-70,67,-70,68,-70,69,-70,70,-70,71,-70,61,41,62,43,76,-70,77,-70,78,-70,79,-70,75,-70,73,55,4,57,72,-70,41,-70,43,-70,26,-70,25,-70,7,-70,3,-70,35,-70,39,-70,37,-70,42,-70}); + states[19] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,20,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[20] = new State(new int[]{6,13,57,-71,59,-71,60,-71,58,-71,64,-71,65,-71,66,-71,67,-71,68,-71,69,-71,70,-71,71,-71,61,-71,62,-71,76,-71,77,-71,78,-71,79,-71,75,-71,73,55,4,57,72,-71,41,-71,43,-71,26,-71,25,-71,7,-71,3,-71,35,-71,39,-71,37,-71,42,-71}); + states[21] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,22,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[22] = new State(new int[]{6,13,57,-72,59,-72,60,-72,58,-72,64,-72,65,-72,66,-72,67,-72,68,-72,69,-72,70,-72,71,-72,61,-72,62,-72,76,-72,77,-72,78,-72,79,-72,75,-72,73,55,4,57,72,-72,41,-72,43,-72,26,-72,25,-72,7,-72,3,-72,35,-72,39,-72,37,-72,42,-72}); + states[23] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,24,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[24] = new State(new int[]{6,13,57,-73,59,19,60,21,58,-73,64,-73,65,-73,66,-73,67,-73,68,-73,69,-73,70,-73,71,-73,61,41,62,43,76,-73,77,-73,78,-73,79,-73,75,-73,73,55,4,57,72,-73,41,-73,43,-73,26,-73,25,-73,7,-73,3,-73,35,-73,39,-73,37,-73,42,-73}); + states[25] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,26,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[26] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-74,65,-74,66,-74,67,-74,68,-74,69,-74,70,-74,71,-74,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-74,41,-74,43,-74,26,-74,25,-74,7,-74,3,-74,35,-74,39,-74,37,-74,42,-74}); + states[27] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,28,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[28] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-75,65,-75,66,-75,67,-75,68,-75,69,-75,70,-75,71,-75,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-75,41,-75,43,-75,26,-75,25,-75,7,-75,3,-75,35,-75,39,-75,37,-75,42,-75}); + states[29] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,30,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[30] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-76,65,-76,66,-76,67,-76,68,-76,69,-76,70,-76,71,-76,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-76,41,-76,43,-76,26,-76,25,-76,7,-76,3,-76,35,-76,39,-76,37,-76,42,-76}); + states[31] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,32,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[32] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-77,65,-77,66,-77,67,-77,68,-77,69,-77,70,-77,71,-77,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-77,41,-77,43,-77,26,-77,25,-77,7,-77,3,-77,35,-77,39,-77,37,-77,42,-77}); + states[33] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,34,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[34] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-78,65,-78,66,-78,67,-78,68,-78,69,-78,70,-78,71,-78,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-78,41,-78,43,-78,26,-78,25,-78,7,-78,3,-78,35,-78,39,-78,37,-78,42,-78}); + states[35] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,36,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[36] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-79,65,-79,66,-79,67,-79,68,-79,69,-79,70,-79,71,-79,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-79,41,-79,43,-79,26,-79,25,-79,7,-79,3,-79,35,-79,39,-79,37,-79,42,-79}); + states[37] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,38,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[38] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,-80,71,-80,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-80,43,-80,26,-80,25,-80,7,-80,3,-80,35,-80,39,-80,37,-80,42,-80}); + states[39] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,40,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[40] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,-81,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-81,43,-81,26,-81,25,-81,7,-81,3,-81,35,-81,39,-81,37,-81,42,-81}); + states[41] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,42,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[42] = new State(new int[]{6,13,57,-82,59,-82,60,-82,58,-82,64,-82,65,-82,66,-82,67,-82,68,-82,69,-82,70,-82,71,-82,61,-82,62,-82,76,-82,77,-82,78,-82,79,-82,75,-82,73,55,4,57,72,-82,41,-82,43,-82,26,-82,25,-82,7,-82,3,-82,35,-82,39,-82,37,-82,42,-82}); + states[43] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,44,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[44] = new State(new int[]{6,13,57,-83,59,-83,60,-83,58,-83,64,-83,65,-83,66,-83,67,-83,68,-83,69,-83,70,-83,71,-83,61,-83,62,-83,76,-83,77,-83,78,-83,79,-83,75,-83,73,55,4,57,72,-83,41,-83,43,-83,26,-83,25,-83,7,-83,3,-83,35,-83,39,-83,37,-83,42,-83}); + states[45] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,46,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[46] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-84,65,-84,66,-84,67,-84,68,-84,69,-84,70,-84,71,-84,61,41,62,43,76,-84,77,-84,78,-84,79,-84,75,-84,73,55,4,57,72,-84,41,-84,43,-84,26,-84,25,-84,7,-84,3,-84,35,-84,39,-84,37,-84,42,-84}); + states[47] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,48,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[48] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-85,65,-85,66,-85,67,-85,68,-85,69,-85,70,-85,71,-85,61,41,62,43,76,-85,77,-85,78,-85,79,-85,75,-85,73,55,4,57,72,-85,41,-85,43,-85,26,-85,25,-85,7,-85,3,-85,35,-85,39,-85,37,-85,42,-85}); + states[49] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,50,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[50] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-86,65,-86,66,-86,67,-86,68,-86,69,-86,70,-86,71,-86,61,41,62,43,76,45,77,47,78,-86,79,-86,75,-86,73,55,4,57,72,-86,41,-86,43,-86,26,-86,25,-86,7,-86,3,-86,35,-86,39,-86,37,-86,42,-86}); + states[51] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,52,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[52] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-87,65,-87,66,-87,67,-87,68,-87,69,-87,70,-87,71,-87,61,41,62,43,76,45,77,47,78,49,79,-87,75,53,73,55,4,57,72,-87,41,-87,43,-87,26,-87,25,-87,7,-87,3,-87,35,-87,39,-87,37,-87,42,-87}); + states[53] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,54,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[54] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,-88,65,-88,66,-88,67,-88,68,-88,69,-88,70,-88,71,-88,61,41,62,43,76,45,77,47,78,49,79,-88,75,-88,73,55,4,57,72,-88,41,-88,43,-88,26,-88,25,-88,7,-88,3,-88,35,-88,39,-88,37,-88,42,-88}); + states[55] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,56,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[56] = new State(new int[]{6,13,57,-89,59,-89,60,-89,58,-89,64,-89,65,-89,66,-89,67,-89,68,-89,69,-89,70,-89,71,-89,61,-89,62,-89,76,-89,77,-89,78,-89,79,-89,75,-89,73,55,4,57,72,-89,41,-89,43,-89,26,-89,25,-89,7,-89,3,-89,35,-89,39,-89,37,-89,42,-89}); + states[57] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,58,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[58] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-90,43,-90,26,-90,25,-90,7,-90,3,-90,35,-90,39,-90,37,-90,42,-90}); states[59] = new State(new int[]{4,60}); - states[60] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,61,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[61] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-95,43,-95,26,-95,25,-95,7,-95,3,-95,35,-95,39,-95,37,-95,42,-95}); - states[62] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,63,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[63] = new State(new int[]{6,13,57,-96,59,19,60,21,58,-96,64,-96,65,-96,66,-96,67,-96,68,-96,69,-96,70,-96,71,-96,61,41,62,43,76,-96,77,-96,78,-96,79,-96,75,-96,73,55,4,57,72,-96,41,-96,43,-96,26,-96,25,-96,7,-96,3,-96,35,-96,39,-96,37,-96,42,-96}); - states[64] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,65,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[65] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,-97,71,-97,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-97,41,-97,43,-97,26,-97,25,-97,7,-97,3,-97,35,-97,39,-97,37,-97,42,-97}); - states[66] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,67,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[67] = new State(new int[]{6,13,57,-98,59,-98,60,-98,58,-98,64,-98,65,-98,66,-98,67,-98,68,-98,69,-98,70,-98,71,-98,61,-98,62,-98,76,-98,77,-98,78,-98,79,-98,75,-98,73,-98,4,57,72,-98,41,-98,43,-98,26,-98,25,-98,7,-98,3,-98,35,-98,39,-98,37,-98,42,-98}); - states[68] = new State(new int[]{34,69,40,163,38,165,22,168,6,-99,57,-99,59,-99,60,-99,58,-99,64,-99,65,-99,66,-99,67,-99,68,-99,69,-99,70,-99,71,-99,61,-99,62,-99,76,-99,77,-99,78,-99,79,-99,75,-99,73,-99,4,-99,72,-99,41,-99,43,-99,26,-99,25,-99,7,-99,3,-99,35,-99,39,-99,37,-99,42,-99}); - states[69] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-183},new int[]{-18,70,-17,72,-12,116,-6,117,-10,68,-1,76,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-65,134}); + states[60] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,61,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[61] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-91,43,-91,26,-91,25,-91,7,-91,3,-91,35,-91,39,-91,37,-91,42,-91}); + states[62] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,63,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[63] = new State(new int[]{6,13,57,-92,59,19,60,21,58,-92,64,-92,65,-92,66,-92,67,-92,68,-92,69,-92,70,-92,71,-92,61,41,62,43,76,-92,77,-92,78,-92,79,-92,75,-92,73,55,4,57,72,-92,41,-92,43,-92,26,-92,25,-92,7,-92,3,-92,35,-92,39,-92,37,-92,42,-92}); + states[64] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,65,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[65] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,-93,71,-93,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,-93,41,-93,43,-93,26,-93,25,-93,7,-93,3,-93,35,-93,39,-93,37,-93,42,-93}); + states[66] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,67,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[67] = new State(new int[]{6,13,57,-94,59,-94,60,-94,58,-94,64,-94,65,-94,66,-94,67,-94,68,-94,69,-94,70,-94,71,-94,61,-94,62,-94,76,-94,77,-94,78,-94,79,-94,75,-94,73,-94,4,57,72,-94,41,-94,43,-94,26,-94,25,-94,7,-94,3,-94,35,-94,39,-94,37,-94,42,-94}); + states[68] = new State(new int[]{34,69,40,163,38,165,22,168,6,-95,57,-95,59,-95,60,-95,58,-95,64,-95,65,-95,66,-95,67,-95,68,-95,69,-95,70,-95,71,-95,61,-95,62,-95,76,-95,77,-95,78,-95,79,-95,75,-95,73,-95,4,-95,72,-95,41,-95,43,-95,26,-95,25,-95,7,-95,3,-95,35,-95,39,-95,37,-95,42,-95}); + states[69] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-179},new int[]{-17,70,-16,72,-11,116,-5,117,-9,68,-1,76,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-63,134}); states[70] = new State(new int[]{35,71}); - states[71] = new State(-160); - states[72] = new State(new int[]{41,73,35,-181}); - states[73] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-12,74,-6,75,-10,68,-1,76,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[74] = new State(-180); - states[75] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-177,35,-177}); - states[76] = new State(new int[]{46,77,34,-134,40,-134,38,-134,22,-134,6,-134,57,-134,59,-134,60,-134,58,-134,64,-134,65,-134,66,-134,67,-134,68,-134,69,-134,70,-134,71,-134,61,-134,62,-134,76,-134,77,-134,78,-134,79,-134,75,-134,73,-134,4,-134,72,-134,3,-134,41,-134,35,-134}); - states[77] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,78,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[78] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-178,35,-178}); - states[79] = new State(-134); + states[71] = new State(-156); + states[72] = new State(new int[]{41,73,35,-177}); + states[73] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-11,74,-5,75,-9,68,-1,76,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[74] = new State(-176); + states[75] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-173,35,-173}); + states[76] = new State(new int[]{46,77,34,-130,40,-130,38,-130,22,-130,6,-130,57,-130,59,-130,60,-130,58,-130,64,-130,65,-130,66,-130,67,-130,68,-130,69,-130,70,-130,71,-130,61,-130,62,-130,76,-130,77,-130,78,-130,79,-130,75,-130,73,-130,4,-130,72,-130,3,-130,41,-130,35,-130}); + states[77] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,78,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[78] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,41,-174,35,-174}); + states[79] = new State(-130); states[80] = new State(-41); - states[81] = new State(-135); - states[82] = new State(new int[]{40,83,6,-100,57,-100,59,-100,60,-100,58,-100,64,-100,65,-100,66,-100,67,-100,68,-100,69,-100,70,-100,71,-100,61,-100,62,-100,76,-100,77,-100,78,-100,79,-100,75,-100,73,-100,4,-100,72,-100,41,-100,43,-100,26,-100,25,-100,7,-100,3,-100,35,-100,39,-100,37,-100,42,-100}); + states[81] = new State(-131); + states[82] = new State(new int[]{40,83,6,-96,57,-96,59,-96,60,-96,58,-96,64,-96,65,-96,66,-96,67,-96,68,-96,69,-96,70,-96,71,-96,61,-96,62,-96,76,-96,77,-96,78,-96,79,-96,75,-96,73,-96,4,-96,72,-96,41,-96,43,-96,26,-96,25,-96,7,-96,3,-96,35,-96,39,-96,37,-96,42,-96}); states[83] = new State(new int[]{63,80},new int[]{-1,84}); - states[84] = new State(-137); - states[85] = new State(-109); - states[86] = new State(-110); - states[87] = new State(-111); - states[88] = new State(-112); - states[89] = new State(-113); - states[90] = new State(-114); - states[91] = new State(-115); - states[92] = new State(-138); - states[93] = new State(new int[]{39,159,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-35,94,-65,160,-6,162,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[84] = new State(-133); + states[85] = new State(-105); + states[86] = new State(-106); + states[87] = new State(-107); + states[88] = new State(-108); + states[89] = new State(-109); + states[90] = new State(-110); + states[91] = new State(-111); + states[92] = new State(-134); + states[93] = new State(new int[]{39,159,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-34,94,-63,160,-5,162,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[94] = new State(new int[]{39,95,41,96}); - states[95] = new State(-152); - states[96] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,97,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[97] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,39,-117,41,-117,37,-117,35,-117,43,-117,26,-117,25,-117}); - states[98] = new State(-139); - states[99] = new State(new int[]{37,147,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-35,100,-56,102,-65,148,-66,150,-6,152,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-61,153}); + states[95] = new State(-148); + states[96] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,97,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[97] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,39,-113,41,-113,37,-113,35,-113,43,-113,26,-113,25,-113}); + states[98] = new State(-135); + states[99] = new State(new int[]{37,147,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-34,100,-54,102,-63,148,-64,150,-5,152,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-59,153}); states[100] = new State(new int[]{37,101,41,96}); - states[101] = new State(-151); + states[101] = new State(-147); states[102] = new State(new int[]{37,103,41,104}); - states[103] = new State(-149); - states[104] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-61,105,-6,106,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[105] = new State(-54); + states[103] = new State(-145); + states[104] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-59,105,-5,106,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[105] = new State(-50); states[106] = new State(new int[]{42,107,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[107] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,108,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[108] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,-52,37,-52,41,-52}); - states[109] = new State(-140); - states[110] = new State(-101); - states[111] = new State(new int[]{63,80},new int[]{-48,112,-49,135,-1,144,-50,145}); + states[107] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,108,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[108] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,-48,37,-48,41,-48}); + states[109] = new State(-136); + states[110] = new State(-97); + states[111] = new State(new int[]{63,80},new int[]{-46,112,-47,135,-1,144,-48,145}); states[112] = new State(new int[]{34,113}); - states[113] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-183},new int[]{-18,114,-17,72,-12,116,-6,117,-10,68,-1,76,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-65,134}); + states[113] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-179},new int[]{-17,114,-16,72,-11,116,-5,117,-9,68,-1,76,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-63,134}); states[114] = new State(new int[]{35,115}); - states[115] = new State(-108); - states[116] = new State(-179); - states[117] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,118,41,-177,35,-177}); + states[115] = new State(-104); + states[116] = new State(-175); + states[117] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,118,41,-173,35,-173}); states[118] = new State(new int[]{63,80},new int[]{-1,119}); states[119] = new State(new int[]{4,120}); - states[120] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,121,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[121] = new State(new int[]{6,123,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-154,39,-154,37,-154},new int[]{-11,122}); - states[122] = new State(-147); - states[123] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,124,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[124] = new State(new int[]{7,15,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-155,39,-155,37,-155}); - states[125] = new State(-102); - states[126] = new State(-103); - states[127] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,128,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[120] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,121,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[121] = new State(new int[]{6,123,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-150,39,-150,37,-150},new int[]{-10,122}); + states[122] = new State(-143); + states[123] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,124,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[124] = new State(new int[]{7,15,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-151,39,-151,37,-151}); + states[125] = new State(-98); + states[126] = new State(-99); + states[127] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,128,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[128] = new State(new int[]{41,129,35,133,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[129] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-35,130,-6,132,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[129] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-34,130,-5,132,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[130] = new State(new int[]{35,131,41,96}); - states[131] = new State(-105); - states[132] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-116,41,-116,43,-116,26,-116,25,-116}); - states[133] = new State(-104); - states[134] = new State(-182); - states[135] = new State(new int[]{40,136,38,139,34,-163,39,-163,41,-163,6,-163,57,-163,59,-163,60,-163,58,-163,64,-163,65,-163,66,-163,67,-163,68,-163,69,-163,70,-163,71,-163,61,-163,62,-163,76,-163,77,-163,78,-163,79,-163,75,-163,73,-163,4,-163,72,-163,43,-163,26,-163,25,-163,7,-163,3,-163,35,-163,37,-163,42,-163,46,-163},new int[]{-52,138}); + states[131] = new State(-101); + states[132] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,35,-112,41,-112,43,-112,26,-112,25,-112}); + states[133] = new State(-100); + states[134] = new State(-178); + states[135] = new State(new int[]{40,136,38,139,34,-159,39,-159,41,-159,6,-159,57,-159,59,-159,60,-159,58,-159,64,-159,65,-159,66,-159,67,-159,68,-159,69,-159,70,-159,71,-159,61,-159,62,-159,76,-159,77,-159,78,-159,79,-159,75,-159,73,-159,4,-159,72,-159,43,-159,26,-159,25,-159,7,-159,3,-159,35,-159,37,-159,42,-159,46,-159},new int[]{-50,138}); states[136] = new State(new int[]{63,80},new int[]{-1,137}); - states[137] = new State(-162); - states[138] = new State(-165); - states[139] = new State(new int[]{63,80},new int[]{-53,140,-48,146,-49,135,-1,144,-50,145}); + states[137] = new State(-158); + states[138] = new State(-161); + states[139] = new State(new int[]{63,80},new int[]{-51,140,-46,146,-47,135,-1,144,-48,145}); states[140] = new State(new int[]{39,141,41,142}); - states[141] = new State(-166); - states[142] = new State(new int[]{63,80},new int[]{-48,143,-49,135,-1,144,-50,145}); - states[143] = new State(-168); - states[144] = new State(-161); - states[145] = new State(-164); - states[146] = new State(-167); - states[147] = new State(-150); + states[141] = new State(-162); + states[142] = new State(new int[]{63,80},new int[]{-46,143,-47,135,-1,144,-48,145}); + states[143] = new State(-164); + states[144] = new State(-157); + states[145] = new State(-160); + states[146] = new State(-163); + states[147] = new State(-146); states[148] = new State(new int[]{37,149}); - states[149] = new State(-143); + states[149] = new State(-139); states[150] = new State(new int[]{37,151}); - states[151] = new State(-144); - states[152] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,42,107,3,118,37,-116,41,-116}); - states[153] = new State(new int[]{3,154,37,-53,41,-53}); + states[151] = new State(-140); + states[152] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,42,107,3,118,37,-112,41,-112}); + states[153] = new State(new int[]{3,154,37,-49,41,-49}); states[154] = new State(new int[]{63,80},new int[]{-1,155}); states[155] = new State(new int[]{4,156}); - states[156] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,157,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[157] = new State(new int[]{6,123,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,37,-154},new int[]{-11,158}); - states[158] = new State(-148); - states[159] = new State(-153); + states[156] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,157,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[157] = new State(new int[]{6,123,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,37,-150},new int[]{-10,158}); + states[158] = new State(-144); + states[159] = new State(-149); states[160] = new State(new int[]{39,161}); - states[161] = new State(-142); - states[162] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,118,39,-116,41,-116}); + states[161] = new State(-138); + states[162] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,3,118,39,-112,41,-112}); states[163] = new State(new int[]{63,80},new int[]{-1,164}); - states[164] = new State(-136); - states[165] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,166,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[164] = new State(-132); + states[165] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,166,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[166] = new State(new int[]{39,167,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[167] = new State(-141); - states[168] = new State(new int[]{63,80},new int[]{-48,169,-49,135,-1,144,-50,145}); - states[169] = new State(-107); - states[170] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-35,171,-6,132,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[171] = new State(new int[]{41,96,43,-106,26,-106,25,-106}); - states[172] = new State(-58); - states[173] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-68,174,-6,12,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-69,172}); - states[174] = new State(-60); - states[175] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-59,176,-10,182,-1,79,-8,81,-9,181,-62,92,-63,98,-64,109}); + states[167] = new State(-137); + states[168] = new State(new int[]{63,80},new int[]{-46,169,-47,135,-1,144,-48,145}); + states[169] = new State(-103); + states[170] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-34,171,-5,132,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[171] = new State(new int[]{41,96,43,-102,26,-102,25,-102}); + states[172] = new State(-54); + states[173] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-66,174,-5,12,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-67,172}); + states[174] = new State(-56); + states[175] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-57,176,-9,182,-1,79,-7,81,-8,181,-60,92,-61,98,-62,109}); states[176] = new State(new int[]{46,177,41,179}); - states[177] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-68,178,-6,12,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-69,172}); - states[178] = new State(-62); - states[179] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-10,180,-1,79,-8,81,-9,181,-62,92,-63,98,-64,109}); - states[180] = new State(new int[]{34,69,40,163,38,165,46,-146,41,-146,35,-146}); + states[177] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-66,178,-5,12,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-67,172}); + states[178] = new State(-58); + states[179] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-9,180,-1,79,-7,81,-8,181,-60,92,-61,98,-62,109}); + states[180] = new State(new int[]{34,69,40,163,38,165,46,-142,41,-142,35,-142}); states[181] = new State(new int[]{40,83}); - states[182] = new State(new int[]{34,69,40,163,38,165,46,-145,41,-145,35,-145}); - states[183] = new State(new int[]{63,80},new int[]{-48,184,-49,135,-1,144,-50,145}); - states[184] = new State(new int[]{46,185,43,-55,26,-55,25,-55}); - states[185] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,186,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[186] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,43,-56,26,-56,25,-56}); - states[187] = new State(-63); - states[188] = new State(-64); - states[189] = new State(-65); - states[190] = new State(-66); - states[191] = new State(-67); - states[192] = new State(-68); - states[193] = new State(-69); - states[194] = new State(-70); - states[195] = new State(-71); - states[196] = new State(-72); - states[197] = new State(new int[]{46,-135,34,-135,40,-135,38,-135,41,-135,42,-135,47,-135,48,-135,49,-135,50,-135,51,-135,52,-135,53,-135,54,-135,55,-135,56,-135,43,-133,26,-133,25,-133}); - states[198] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-10,199,-1,79,-8,81,-9,181,-62,92,-63,98,-64,109}); + states[182] = new State(new int[]{34,69,40,163,38,165,46,-141,41,-141,35,-141}); + states[183] = new State(new int[]{63,80},new int[]{-46,184,-47,135,-1,144,-48,145}); + states[184] = new State(new int[]{46,185,43,-51,26,-51,25,-51}); + states[185] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,186,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[186] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,43,-52,26,-52,25,-52}); + states[187] = new State(-59); + states[188] = new State(-60); + states[189] = new State(-61); + states[190] = new State(-62); + states[191] = new State(-63); + states[192] = new State(-64); + states[193] = new State(-65); + states[194] = new State(-66); + states[195] = new State(-67); + states[196] = new State(-68); + states[197] = new State(new int[]{46,-131,34,-131,40,-131,38,-131,41,-131,42,-131,47,-131,48,-131,49,-131,50,-131,51,-131,52,-131,53,-131,54,-131,55,-131,56,-131,43,-129,26,-129,25,-129}); + states[198] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-9,199,-1,79,-7,81,-8,181,-60,92,-61,98,-62,109}); states[199] = new State(new int[]{41,200,34,69,40,163,38,165}); - states[200] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-59,201,-10,182,-1,79,-8,81,-9,181,-62,92,-63,98,-64,109}); + states[200] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99},new int[]{-57,201,-9,182,-1,79,-7,81,-8,181,-60,92,-61,98,-62,109}); states[201] = new State(new int[]{35,202,41,179}); states[202] = new State(new int[]{46,203}); - states[203] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-68,204,-6,12,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-69,172}); - states[204] = new State(-61); + states[203] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-66,204,-5,12,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-67,172}); + states[204] = new State(-57); states[205] = new State(-22); states[206] = new State(-23); - states[207] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,208,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[207] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,208,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[208] = new State(new int[]{42,209,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[209] = new State(new int[]{23,221},new int[]{-37,210}); - states[210] = new State(new int[]{8,212,7,218,43,-122,26,-122,25,-122},new int[]{-33,211,-32,217}); - states[211] = new State(-118); - states[212] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,213,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[209] = new State(new int[]{23,221},new int[]{-36,210}); + states[210] = new State(new int[]{8,212,7,218,43,-118,26,-118,25,-118},new int[]{-32,211,-31,217}); + states[211] = new State(-114); + states[212] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,213,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[213] = new State(new int[]{42,214,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[214] = new State(new int[]{23,221},new int[]{-37,215}); - states[215] = new State(new int[]{8,212,7,218,43,-122,26,-122,25,-122},new int[]{-33,216,-32,217}); - states[216] = new State(-119); - states[217] = new State(-120); + states[214] = new State(new int[]{23,221},new int[]{-36,215}); + states[215] = new State(new int[]{8,212,7,218,43,-118,26,-118,25,-118},new int[]{-32,216,-31,217}); + states[216] = new State(-115); + states[217] = new State(-116); states[218] = new State(new int[]{42,219}); - states[219] = new State(new int[]{23,221},new int[]{-37,220}); - states[220] = new State(-121); - states[221] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,264,20,266,9,273,13,300,14,308},new int[]{-36,222,-28,315,-26,8,-10,9,-1,79,-8,197,-9,181,-62,92,-63,98,-64,109,-25,205,-27,206,-29,225,-30,226,-31,231,-20,247,-21,250,-22,252,-23,254,-24,263,-34,265,-19,270,-47,271,-51,299}); - states[222] = new State(new int[]{26,313,43,314},new int[]{-58,223}); - states[223] = new State(new int[]{24,224,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,264,20,266,9,273,13,300,14,308},new int[]{-28,7,-26,8,-10,9,-1,79,-8,197,-9,181,-62,92,-63,98,-64,109,-25,205,-27,206,-29,225,-30,226,-31,231,-20,247,-21,250,-22,252,-23,254,-24,263,-34,265,-19,270,-47,271,-51,299}); - states[224] = new State(-156); + states[219] = new State(new int[]{23,221},new int[]{-36,220}); + states[220] = new State(-117); + states[221] = new State(new int[]{63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,258,20,260,9,267,13,294,14,302},new int[]{-35,222,-27,309,-25,8,-9,9,-1,79,-7,197,-8,181,-60,92,-61,98,-62,109,-24,205,-26,206,-28,225,-29,226,-30,231,-19,247,-20,250,-21,252,-22,254,-23,257,-33,259,-18,264,-45,265,-49,293}); + states[222] = new State(new int[]{26,307,43,308},new int[]{-56,223}); + states[223] = new State(new int[]{24,224,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,34,198,6,207,5,227,3,232,10,248,11,251,12,253,15,255,17,258,20,260,9,267,13,294,14,302},new int[]{-27,7,-25,8,-9,9,-1,79,-7,197,-8,181,-60,92,-61,98,-62,109,-24,205,-26,206,-28,225,-29,226,-30,231,-19,247,-20,250,-21,252,-22,254,-23,257,-33,259,-18,264,-45,265,-49,293}); + states[224] = new State(-152); states[225] = new State(-24); states[226] = new State(-25); - states[227] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,228,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[227] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,228,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[228] = new State(new int[]{42,229,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[229] = new State(new int[]{23,221},new int[]{-37,230}); - states[230] = new State(-123); + states[229] = new State(new int[]{23,221},new int[]{-36,230}); + states[230] = new State(-119); states[231] = new State(-26); states[232] = new State(new int[]{63,80},new int[]{-1,233}); states[233] = new State(new int[]{4,234,41,238}); - states[234] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,235,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[234] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,235,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[235] = new State(new int[]{42,236,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[236] = new State(new int[]{23,221},new int[]{-37,237}); - states[237] = new State(-124); - states[238] = new State(new int[]{63,80},new int[]{-46,239,-1,246}); + states[236] = new State(new int[]{23,221},new int[]{-36,237}); + states[237] = new State(-120); + states[238] = new State(new int[]{63,80},new int[]{-44,239,-1,246}); states[239] = new State(new int[]{4,240,41,244}); - states[240] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,241,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); + states[240] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,241,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); states[241] = new State(new int[]{42,242,6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59}); - states[242] = new State(new int[]{23,221},new int[]{-37,243}); - states[243] = new State(-125); + states[242] = new State(new int[]{23,221},new int[]{-36,243}); + states[243] = new State(-121); states[244] = new State(new int[]{63,80},new int[]{-1,245}); - states[245] = new State(-127); - states[246] = new State(-126); + states[245] = new State(-123); + states[246] = new State(-122); states[247] = new State(-27); - states[248] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,43,-130,26,-130,25,-130},new int[]{-68,249,-6,12,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-69,172}); - states[249] = new State(-129); + states[248] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,43,-126,26,-126,25,-126},new int[]{-66,249,-5,12,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-67,172}); + states[249] = new State(-125); states[250] = new State(-28); - states[251] = new State(-131); + states[251] = new State(-127); states[252] = new State(-29); - states[253] = new State(-132); + states[253] = new State(-128); states[254] = new State(-30); - states[255] = new State(new int[]{63,80},new int[]{-43,256,-2,262,-1,261}); - states[256] = new State(new int[]{41,257,43,-40,26,-40,25,-40}); - states[257] = new State(new int[]{63,80},new int[]{-2,258,-1,261}); - states[258] = new State(new int[]{40,259,41,-47,43,-47,26,-47,25,-47}); - states[259] = new State(new int[]{63,80},new int[]{-1,260}); - states[260] = new State(-43); - states[261] = new State(-42); - states[262] = new State(new int[]{40,259,41,-46,43,-46,26,-46,25,-46}); - states[263] = new State(-31); - states[264] = new State(-38); - states[265] = new State(-32); - states[266] = new State(new int[]{34,267}); - states[267] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-183},new int[]{-18,268,-17,72,-12,116,-6,117,-10,68,-1,76,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-65,134}); - states[268] = new State(new int[]{35,269}); - states[269] = new State(-39); - states[270] = new State(-33); - states[271] = new State(new int[]{23,221},new int[]{-37,272}); - states[272] = new State(-157); - states[273] = new State(new int[]{63,80},new int[]{-3,274,-1,298}); - states[274] = new State(new int[]{34,275}); - states[275] = new State(new int[]{63,80,59,289,73,293,35,-176},new int[]{-42,276,-41,282,-40,297,-39,285,-1,288}); - states[276] = new State(new int[]{35,277}); - states[277] = new State(new int[]{42,278,44,279}); - states[278] = new State(-158); - states[279] = new State(new int[]{63,80},new int[]{-48,280,-49,135,-1,144,-50,145}); - states[280] = new State(new int[]{42,281}); - states[281] = new State(-159); - states[282] = new State(new int[]{41,283,35,-175}); - states[283] = new State(new int[]{63,80,59,289,73,293},new int[]{-40,284,-39,285,-1,288}); - states[284] = new State(-174); - states[285] = new State(new int[]{42,286}); - states[286] = new State(new int[]{63,80},new int[]{-48,287,-49,135,-1,144,-50,145}); - states[287] = new State(-170); - states[288] = new State(-169); - states[289] = new State(new int[]{63,80},new int[]{-39,290,-1,288}); - states[290] = new State(new int[]{42,291}); - states[291] = new State(new int[]{63,80},new int[]{-48,292,-49,135,-1,144,-50,145}); - states[292] = new State(-171); - states[293] = new State(new int[]{63,80},new int[]{-39,294,-1,288}); - states[294] = new State(new int[]{42,295}); - states[295] = new State(new int[]{63,80},new int[]{-48,296,-49,135,-1,144,-50,145}); - states[296] = new State(-172); - states[297] = new State(-173); - states[298] = new State(-128); - states[299] = new State(-34); - states[300] = new State(new int[]{63,80},new int[]{-45,301,-44,307,-1,304}); - states[301] = new State(new int[]{41,302,43,-35,26,-35,25,-35}); - states[302] = new State(new int[]{63,80},new int[]{-44,303,-1,304}); - states[303] = new State(-51); - states[304] = new State(new int[]{16,305,41,-49,43,-49,26,-49,25,-49}); - states[305] = new State(new int[]{63,80},new int[]{-1,306}); - states[306] = new State(-48); - states[307] = new State(-50); - states[308] = new State(new int[]{63,80},new int[]{-1,309}); - states[309] = new State(new int[]{13,310}); - states[310] = new State(new int[]{59,312,63,80},new int[]{-45,311,-44,307,-1,304}); - states[311] = new State(new int[]{41,302,43,-36,26,-36,25,-36}); - states[312] = new State(-37); - states[313] = new State(-184); - states[314] = new State(-185); - states[315] = new State(-19); - states[316] = new State(new int[]{25,-186,63,-185,28,-185,29,-185,30,-185,31,-185,45,-185,33,-185,32,-185,38,-185,36,-185,34,-185,6,-185,5,-185,3,-185,10,-185,11,-185,12,-185,15,-185,17,-185,20,-185,9,-185,13,-185,14,-185}); - states[317] = new State(new int[]{25,318}); - states[318] = new State(-3); - states[319] = new State(new int[]{27,321,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,327,34,127},new int[]{-5,320,-6,325,-10,68,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,326,-15,125,-67,126,-13,329}); - states[320] = new State(-4); - states[321] = new State(new int[]{63,80},new int[]{-4,322,-1,323}); - states[322] = new State(-5); - states[323] = new State(new int[]{38,139,25,-12},new int[]{-52,324}); - states[324] = new State(-13); - states[325] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,25,-8}); - states[326] = new State(new int[]{6,-101,57,-101,59,-101,60,-101,58,-101,64,-101,65,-101,66,-101,67,-101,68,-101,69,-101,70,-101,71,-101,61,-101,62,-101,76,-101,77,-101,78,-101,79,-101,75,-101,73,-101,4,-101,72,-101,25,-10}); - states[327] = new State(new int[]{63,80},new int[]{-48,328,-49,135,-1,144,-50,145}); - states[328] = new State(new int[]{34,113,25,-11}); - states[329] = new State(-9); - states[330] = new State(new int[]{63,80},new int[]{-16,331,-7,332,-1,336}); - states[331] = new State(-6); - states[332] = new State(new int[]{40,333,38,139,25,-14},new int[]{-52,335}); - states[333] = new State(new int[]{63,80},new int[]{-1,334}); - states[334] = new State(-45); - states[335] = new State(-15); - states[336] = new State(-44); - states[337] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,341},new int[]{-55,338,-6,339,-10,340,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126,-26,343,-25,344}); - states[338] = new State(-7); - states[339] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,25,-16}); - states[340] = new State(new int[]{34,69,40,163,38,165,22,168,46,10,41,175,42,183,47,187,48,188,49,189,50,190,51,191,52,192,53,193,54,194,55,195,56,196,6,-99,57,-99,59,-99,60,-99,58,-99,64,-99,65,-99,66,-99,67,-99,68,-99,69,-99,70,-99,71,-99,61,-99,62,-99,76,-99,77,-99,78,-99,79,-99,75,-99,73,-99,4,-99,72,-99,25,-99},new int[]{-60,173}); - states[341] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-6,128,-10,342,-1,79,-8,81,-9,82,-62,92,-63,98,-64,109,-14,110,-15,125,-67,126}); - states[342] = new State(new int[]{41,200,34,69,40,163,38,165,22,168,35,-99,6,-99,57,-99,59,-99,60,-99,58,-99,64,-99,65,-99,66,-99,67,-99,68,-99,69,-99,70,-99,71,-99,61,-99,62,-99,76,-99,77,-99,78,-99,79,-99,75,-99,73,-99,4,-99,72,-99}); - states[343] = new State(-17); - states[344] = new State(-18); + states[255] = new State(new int[]{63,80},new int[]{-44,256,-1,246}); + states[256] = new State(new int[]{41,244,43,-40,26,-40,25,-40}); + states[257] = new State(-31); + states[258] = new State(-38); + states[259] = new State(-32); + states[260] = new State(new int[]{34,261}); + states[261] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127,35,-179},new int[]{-17,262,-16,72,-11,116,-5,117,-9,68,-1,76,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-63,134}); + states[262] = new State(new int[]{35,263}); + states[263] = new State(-39); + states[264] = new State(-33); + states[265] = new State(new int[]{23,221},new int[]{-36,266}); + states[266] = new State(-153); + states[267] = new State(new int[]{63,80},new int[]{-2,268,-1,292}); + states[268] = new State(new int[]{34,269}); + states[269] = new State(new int[]{63,80,59,283,73,287,35,-172},new int[]{-41,270,-40,276,-39,291,-38,279,-1,282}); + states[270] = new State(new int[]{35,271}); + states[271] = new State(new int[]{42,272,44,273}); + states[272] = new State(-154); + states[273] = new State(new int[]{63,80},new int[]{-46,274,-47,135,-1,144,-48,145}); + states[274] = new State(new int[]{42,275}); + states[275] = new State(-155); + states[276] = new State(new int[]{41,277,35,-171}); + states[277] = new State(new int[]{63,80,59,283,73,287},new int[]{-39,278,-38,279,-1,282}); + states[278] = new State(-170); + states[279] = new State(new int[]{42,280}); + states[280] = new State(new int[]{63,80},new int[]{-46,281,-47,135,-1,144,-48,145}); + states[281] = new State(-166); + states[282] = new State(-165); + states[283] = new State(new int[]{63,80},new int[]{-38,284,-1,282}); + states[284] = new State(new int[]{42,285}); + states[285] = new State(new int[]{63,80},new int[]{-46,286,-47,135,-1,144,-48,145}); + states[286] = new State(-167); + states[287] = new State(new int[]{63,80},new int[]{-38,288,-1,282}); + states[288] = new State(new int[]{42,289}); + states[289] = new State(new int[]{63,80},new int[]{-46,290,-47,135,-1,144,-48,145}); + states[290] = new State(-168); + states[291] = new State(-169); + states[292] = new State(-124); + states[293] = new State(-34); + states[294] = new State(new int[]{63,80},new int[]{-43,295,-42,301,-1,298}); + states[295] = new State(new int[]{41,296,43,-35,26,-35,25,-35}); + states[296] = new State(new int[]{63,80},new int[]{-42,297,-1,298}); + states[297] = new State(-47); + states[298] = new State(new int[]{16,299,41,-45,43,-45,26,-45,25,-45}); + states[299] = new State(new int[]{63,80},new int[]{-1,300}); + states[300] = new State(-44); + states[301] = new State(-46); + states[302] = new State(new int[]{63,80},new int[]{-1,303}); + states[303] = new State(new int[]{13,304}); + states[304] = new State(new int[]{59,306,63,80},new int[]{-43,305,-42,301,-1,298}); + states[305] = new State(new int[]{41,296,43,-36,26,-36,25,-36}); + states[306] = new State(-37); + states[307] = new State(-180); + states[308] = new State(-181); + states[309] = new State(-19); + states[310] = new State(new int[]{25,-182,63,-181,28,-181,29,-181,30,-181,31,-181,45,-181,33,-181,32,-181,38,-181,36,-181,34,-181,6,-181,5,-181,3,-181,10,-181,11,-181,12,-181,15,-181,17,-181,20,-181,9,-181,13,-181,14,-181}); + states[311] = new State(new int[]{25,312}); + states[312] = new State(-3); + states[313] = new State(new int[]{27,315,58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,321,34,127},new int[]{-4,314,-5,319,-9,68,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,320,-14,125,-65,126,-12,323}); + states[314] = new State(-4); + states[315] = new State(new int[]{63,80},new int[]{-3,316,-1,317}); + states[316] = new State(-5); + states[317] = new State(new int[]{38,139,25,-12},new int[]{-50,318}); + states[318] = new State(-13); + states[319] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,25,-8}); + states[320] = new State(new int[]{6,-97,57,-97,59,-97,60,-97,58,-97,64,-97,65,-97,66,-97,67,-97,68,-97,69,-97,70,-97,71,-97,61,-97,62,-97,76,-97,77,-97,78,-97,79,-97,75,-97,73,-97,4,-97,72,-97,25,-10}); + states[321] = new State(new int[]{63,80},new int[]{-46,322,-47,135,-1,144,-48,145}); + states[322] = new State(new int[]{34,113,25,-11}); + states[323] = new State(-9); + states[324] = new State(new int[]{63,80},new int[]{-15,325,-6,326,-1,330}); + states[325] = new State(-6); + states[326] = new State(new int[]{40,327,38,139,25,-14},new int[]{-50,329}); + states[327] = new State(new int[]{63,80},new int[]{-1,328}); + states[328] = new State(-43); + states[329] = new State(-15); + states[330] = new State(-42); + states[331] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,335},new int[]{-53,332,-5,333,-9,334,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126,-25,337,-24,338}); + states[332] = new State(-7); + states[333] = new State(new int[]{6,13,57,17,59,19,60,21,58,23,64,25,65,27,66,29,67,31,68,33,69,35,70,37,71,39,61,41,62,43,76,45,77,47,78,49,79,51,75,53,73,55,4,57,72,59,25,-16}); + states[334] = new State(new int[]{34,69,40,163,38,165,22,168,46,10,41,175,42,183,47,187,48,188,49,189,50,190,51,191,52,192,53,193,54,194,55,195,56,196,6,-95,57,-95,59,-95,60,-95,58,-95,64,-95,65,-95,66,-95,67,-95,68,-95,69,-95,70,-95,71,-95,61,-95,62,-95,76,-95,77,-95,78,-95,79,-95,75,-95,73,-95,4,-95,72,-95,25,-95},new int[]{-58,173}); + states[335] = new State(new int[]{58,62,72,64,74,66,63,80,28,85,29,86,30,87,31,88,45,89,33,90,32,91,38,93,36,99,21,111,34,127},new int[]{-5,128,-9,336,-1,79,-7,81,-8,82,-60,92,-61,98,-62,109,-13,110,-14,125,-65,126}); + states[336] = new State(new int[]{41,200,34,69,40,163,38,165,22,168,35,-95,6,-95,57,-95,59,-95,60,-95,58,-95,64,-95,65,-95,66,-95,67,-95,68,-95,69,-95,70,-95,71,-95,61,-95,62,-95,76,-95,77,-95,78,-95,79,-95,75,-95,73,-95,4,-95,72,-95}); + states[337] = new State(-17); + states[338] = new State(-18); - rules[1] = new Rule(-70, new int[]{-38,2}); - rules[2] = new Rule(-38, new int[]{-36,-57,25}); - rules[3] = new Rule(-38, new int[]{-54,25}); - rules[4] = new Rule(-54, new int[]{80,-5}); - rules[5] = new Rule(-54, new int[]{80,27,-4}); - rules[6] = new Rule(-54, new int[]{82,-16}); - rules[7] = new Rule(-54, new int[]{81,-55}); - rules[8] = new Rule(-5, new int[]{-6}); - rules[9] = new Rule(-5, new int[]{-13}); - rules[10] = new Rule(-13, new int[]{-14}); - rules[11] = new Rule(-13, new int[]{21,-48}); - rules[12] = new Rule(-4, new int[]{-1}); - rules[13] = new Rule(-4, new int[]{-1,-52}); - rules[14] = new Rule(-16, new int[]{-7}); - rules[15] = new Rule(-16, new int[]{-7,-52}); - rules[16] = new Rule(-55, new int[]{-6}); - rules[17] = new Rule(-55, new int[]{-26}); - rules[18] = new Rule(-55, new int[]{-25}); - rules[19] = new Rule(-36, new int[]{-28}); - rules[20] = new Rule(-36, new int[]{-36,-58,-28}); - rules[21] = new Rule(-28, new int[]{-26}); - rules[22] = new Rule(-28, new int[]{-25}); - rules[23] = new Rule(-28, new int[]{-27}); - rules[24] = new Rule(-28, new int[]{-29}); - rules[25] = new Rule(-28, new int[]{-30}); - rules[26] = new Rule(-28, new int[]{-31}); - rules[27] = new Rule(-28, new int[]{-20}); - rules[28] = new Rule(-28, new int[]{-21}); - rules[29] = new Rule(-28, new int[]{-22}); - rules[30] = new Rule(-28, new int[]{-23}); - rules[31] = new Rule(-28, new int[]{-24}); - rules[32] = new Rule(-28, new int[]{-34}); - rules[33] = new Rule(-28, new int[]{-19}); - rules[34] = new Rule(-28, new int[]{-51}); - rules[35] = new Rule(-51, new int[]{13,-45}); - rules[36] = new Rule(-51, new int[]{14,-1,13,-45}); - rules[37] = new Rule(-51, new int[]{14,-1,13,59}); - rules[38] = new Rule(-24, new int[]{17}); - rules[39] = new Rule(-34, new int[]{20,34,-18,35}); - rules[40] = new Rule(-23, new int[]{15,-43}); + rules[1] = new Rule(-68, new int[]{-37,2}); + rules[2] = new Rule(-37, new int[]{-35,-55,25}); + rules[3] = new Rule(-37, new int[]{-52,25}); + rules[4] = new Rule(-52, new int[]{80,-4}); + rules[5] = new Rule(-52, new int[]{80,27,-3}); + rules[6] = new Rule(-52, new int[]{82,-15}); + rules[7] = new Rule(-52, new int[]{81,-53}); + rules[8] = new Rule(-4, new int[]{-5}); + rules[9] = new Rule(-4, new int[]{-12}); + rules[10] = new Rule(-12, new int[]{-13}); + rules[11] = new Rule(-12, new int[]{21,-46}); + rules[12] = new Rule(-3, new int[]{-1}); + rules[13] = new Rule(-3, new int[]{-1,-50}); + rules[14] = new Rule(-15, new int[]{-6}); + rules[15] = new Rule(-15, new int[]{-6,-50}); + rules[16] = new Rule(-53, new int[]{-5}); + rules[17] = new Rule(-53, new int[]{-25}); + rules[18] = new Rule(-53, new int[]{-24}); + rules[19] = new Rule(-35, new int[]{-27}); + rules[20] = new Rule(-35, new int[]{-35,-56,-27}); + rules[21] = new Rule(-27, new int[]{-25}); + rules[22] = new Rule(-27, new int[]{-24}); + rules[23] = new Rule(-27, new int[]{-26}); + rules[24] = new Rule(-27, new int[]{-28}); + rules[25] = new Rule(-27, new int[]{-29}); + rules[26] = new Rule(-27, new int[]{-30}); + rules[27] = new Rule(-27, new int[]{-19}); + rules[28] = new Rule(-27, new int[]{-20}); + rules[29] = new Rule(-27, new int[]{-21}); + rules[30] = new Rule(-27, new int[]{-22}); + rules[31] = new Rule(-27, new int[]{-23}); + rules[32] = new Rule(-27, new int[]{-33}); + rules[33] = new Rule(-27, new int[]{-18}); + rules[34] = new Rule(-27, new int[]{-49}); + rules[35] = new Rule(-49, new int[]{13,-43}); + rules[36] = new Rule(-49, new int[]{14,-1,13,-43}); + rules[37] = new Rule(-49, new int[]{14,-1,13,59}); + rules[38] = new Rule(-23, new int[]{17}); + rules[39] = new Rule(-33, new int[]{20,34,-17,35}); + rules[40] = new Rule(-22, new int[]{15,-44}); rules[41] = new Rule(-1, new int[]{63}); - rules[42] = new Rule(-2, new int[]{-1}); - rules[43] = new Rule(-2, new int[]{-2,40,-1}); - rules[44] = new Rule(-7, new int[]{-1}); - rules[45] = new Rule(-7, new int[]{-7,40,-1}); - rules[46] = new Rule(-43, new int[]{-2}); - rules[47] = new Rule(-43, new int[]{-43,41,-2}); - rules[48] = new Rule(-44, new int[]{-1,16,-1}); - rules[49] = new Rule(-44, new int[]{-1}); - rules[50] = new Rule(-45, new int[]{-44}); - rules[51] = new Rule(-45, new int[]{-45,41,-44}); - rules[52] = new Rule(-61, new int[]{-6,42,-6}); - rules[53] = new Rule(-56, new int[]{-61}); - rules[54] = new Rule(-56, new int[]{-56,41,-61}); - rules[55] = new Rule(-25, new int[]{-10,42,-48}); - rules[56] = new Rule(-25, new int[]{-10,42,-48,46,-6}); - rules[57] = new Rule(-68, new int[]{-6}); - rules[58] = new Rule(-68, new int[]{-69}); - rules[59] = new Rule(-26, new int[]{-10,46,-68}); - rules[60] = new Rule(-26, new int[]{-10,-60,-68}); - rules[61] = new Rule(-26, new int[]{34,-10,41,-59,35,46,-68}); - rules[62] = new Rule(-26, new int[]{-10,41,-59,46,-68}); - rules[63] = new Rule(-60, new int[]{47}); - rules[64] = new Rule(-60, new int[]{48}); - rules[65] = new Rule(-60, new int[]{49}); - rules[66] = new Rule(-60, new int[]{50}); - rules[67] = new Rule(-60, new int[]{51}); - rules[68] = new Rule(-60, new int[]{52}); - rules[69] = new Rule(-60, new int[]{53}); - rules[70] = new Rule(-60, new int[]{54}); - rules[71] = new Rule(-60, new int[]{55}); - rules[72] = new Rule(-60, new int[]{56}); - rules[73] = new Rule(-6, new int[]{-6,6,-6,7,-6}); - rules[74] = new Rule(-6, new int[]{-6,57,-6}); - rules[75] = new Rule(-6, new int[]{-6,59,-6}); - rules[76] = new Rule(-6, new int[]{-6,60,-6}); - rules[77] = new Rule(-6, new int[]{-6,58,-6}); - rules[78] = new Rule(-6, new int[]{-6,64,-6}); - rules[79] = new Rule(-6, new int[]{-6,65,-6}); - rules[80] = new Rule(-6, new int[]{-6,66,-6}); - rules[81] = new Rule(-6, new int[]{-6,67,-6}); - rules[82] = new Rule(-6, new int[]{-6,68,-6}); - rules[83] = new Rule(-6, new int[]{-6,69,-6}); - rules[84] = new Rule(-6, new int[]{-6,70,-6}); - rules[85] = new Rule(-6, new int[]{-6,71,-6}); - rules[86] = new Rule(-6, new int[]{-6,61,-6}); - rules[87] = new Rule(-6, new int[]{-6,62,-6}); - rules[88] = new Rule(-6, new int[]{-6,76,-6}); - rules[89] = new Rule(-6, new int[]{-6,77,-6}); - rules[90] = new Rule(-6, new int[]{-6,78,-6}); - rules[91] = new Rule(-6, new int[]{-6,79,-6}); - rules[92] = new Rule(-6, new int[]{-6,75,-6}); - rules[93] = new Rule(-6, new int[]{-6,73,-6}); - rules[94] = new Rule(-6, new int[]{-6,4,-6}); - rules[95] = new Rule(-6, new int[]{-6,72,4,-6}); - rules[96] = new Rule(-6, new int[]{58,-6}); - rules[97] = new Rule(-6, new int[]{72,-6}); - rules[98] = new Rule(-6, new int[]{74,-6}); - rules[99] = new Rule(-6, new int[]{-10}); - rules[100] = new Rule(-6, new int[]{-9}); - rules[101] = new Rule(-6, new int[]{-14}); - rules[102] = new Rule(-6, new int[]{-15}); - rules[103] = new Rule(-6, new int[]{-67}); - rules[104] = new Rule(-6, new int[]{34,-6,35}); - rules[105] = new Rule(-67, new int[]{34,-6,41,-35,35}); - rules[106] = new Rule(-69, new int[]{-6,41,-35}); - rules[107] = new Rule(-15, new int[]{-10,22,-48}); - rules[108] = new Rule(-14, new int[]{21,-48,34,-18,35}); - rules[109] = new Rule(-9, new int[]{28}); - rules[110] = new Rule(-9, new int[]{29}); - rules[111] = new Rule(-9, new int[]{30}); - rules[112] = new Rule(-9, new int[]{31}); - rules[113] = new Rule(-9, new int[]{45}); - rules[114] = new Rule(-9, new int[]{33}); - rules[115] = new Rule(-9, new int[]{32}); - rules[116] = new Rule(-35, new int[]{-6}); - rules[117] = new Rule(-35, new int[]{-35,41,-6}); - rules[118] = new Rule(-27, new int[]{6,-6,42,-37,-33}); - rules[119] = new Rule(-33, new int[]{8,-6,42,-37,-33}); - rules[120] = new Rule(-33, new int[]{-32}); - rules[121] = new Rule(-32, new int[]{7,42,-37}); - rules[122] = new Rule(-32, new int[]{}); - rules[123] = new Rule(-30, new int[]{5,-6,42,-37}); - rules[124] = new Rule(-31, new int[]{3,-1,4,-6,42,-37}); - rules[125] = new Rule(-31, new int[]{3,-1,41,-46,4,-6,42,-37}); - rules[126] = new Rule(-46, new int[]{-1}); - rules[127] = new Rule(-46, new int[]{-46,41,-1}); - rules[128] = new Rule(-3, new int[]{-1}); - rules[129] = new Rule(-20, new int[]{10,-68}); - rules[130] = new Rule(-20, new int[]{10}); - rules[131] = new Rule(-21, new int[]{11}); - rules[132] = new Rule(-22, new int[]{12}); - rules[133] = new Rule(-29, new int[]{-8}); - rules[134] = new Rule(-10, new int[]{-1}); - rules[135] = new Rule(-10, new int[]{-8}); - rules[136] = new Rule(-10, new int[]{-10,40,-1}); - rules[137] = new Rule(-10, new int[]{-9,40,-1}); - rules[138] = new Rule(-10, new int[]{-62}); - rules[139] = new Rule(-10, new int[]{-63}); - rules[140] = new Rule(-10, new int[]{-64}); - rules[141] = new Rule(-10, new int[]{-10,38,-6,39}); - rules[142] = new Rule(-10, new int[]{38,-65,39}); - rules[143] = new Rule(-10, new int[]{36,-65,37}); - rules[144] = new Rule(-10, new int[]{36,-66,37}); - rules[145] = new Rule(-59, new int[]{-10}); - rules[146] = new Rule(-59, new int[]{-59,41,-10}); - rules[147] = new Rule(-65, new int[]{-6,3,-1,4,-6,-11}); - rules[148] = new Rule(-66, new int[]{-61,3,-1,4,-6,-11}); - rules[149] = new Rule(-64, new int[]{36,-56,37}); - rules[150] = new Rule(-64, new int[]{36,37}); - rules[151] = new Rule(-63, new int[]{36,-35,37}); - rules[152] = new Rule(-62, new int[]{38,-35,39}); - rules[153] = new Rule(-62, new int[]{38,39}); - rules[154] = new Rule(-11, new int[]{}); - rules[155] = new Rule(-11, new int[]{6,-6}); - rules[156] = new Rule(-37, new int[]{23,-36,-58,24}); - rules[157] = new Rule(-19, new int[]{-47,-37}); - rules[158] = new Rule(-47, new int[]{9,-3,34,-42,35,42}); - rules[159] = new Rule(-47, new int[]{9,-3,34,-42,35,44,-48,42}); - rules[160] = new Rule(-8, new int[]{-10,34,-18,35}); - rules[161] = new Rule(-49, new int[]{-1}); - rules[162] = new Rule(-49, new int[]{-49,40,-1}); - rules[163] = new Rule(-48, new int[]{-49}); - rules[164] = new Rule(-48, new int[]{-50}); - rules[165] = new Rule(-50, new int[]{-49,-52}); - rules[166] = new Rule(-52, new int[]{38,-53,39}); - rules[167] = new Rule(-53, new int[]{-48}); - rules[168] = new Rule(-53, new int[]{-53,41,-48}); - rules[169] = new Rule(-39, new int[]{-1}); - rules[170] = new Rule(-40, new int[]{-39,42,-48}); - rules[171] = new Rule(-40, new int[]{59,-39,42,-48}); - rules[172] = new Rule(-40, new int[]{73,-39,42,-48}); - rules[173] = new Rule(-41, new int[]{-40}); - rules[174] = new Rule(-41, new int[]{-41,41,-40}); - rules[175] = new Rule(-42, new int[]{-41}); - rules[176] = new Rule(-42, new int[]{}); - rules[177] = new Rule(-12, new int[]{-6}); - rules[178] = new Rule(-12, new int[]{-1,46,-6}); - rules[179] = new Rule(-17, new int[]{-12}); - rules[180] = new Rule(-17, new int[]{-17,41,-12}); - rules[181] = new Rule(-18, new int[]{-17}); - rules[182] = new Rule(-18, new int[]{-65}); - rules[183] = new Rule(-18, new int[]{}); - rules[184] = new Rule(-58, new int[]{26}); - rules[185] = new Rule(-58, new int[]{43}); - rules[186] = new Rule(-57, new int[]{43}); - rules[187] = new Rule(-57, new int[]{}); + rules[42] = new Rule(-6, new int[]{-1}); + rules[43] = new Rule(-6, new int[]{-6,40,-1}); + rules[44] = new Rule(-42, new int[]{-1,16,-1}); + rules[45] = new Rule(-42, new int[]{-1}); + rules[46] = new Rule(-43, new int[]{-42}); + rules[47] = new Rule(-43, new int[]{-43,41,-42}); + rules[48] = new Rule(-59, new int[]{-5,42,-5}); + rules[49] = new Rule(-54, new int[]{-59}); + rules[50] = new Rule(-54, new int[]{-54,41,-59}); + rules[51] = new Rule(-24, new int[]{-9,42,-46}); + rules[52] = new Rule(-24, new int[]{-9,42,-46,46,-5}); + rules[53] = new Rule(-66, new int[]{-5}); + rules[54] = new Rule(-66, new int[]{-67}); + rules[55] = new Rule(-25, new int[]{-9,46,-66}); + rules[56] = new Rule(-25, new int[]{-9,-58,-66}); + rules[57] = new Rule(-25, new int[]{34,-9,41,-57,35,46,-66}); + rules[58] = new Rule(-25, new int[]{-9,41,-57,46,-66}); + rules[59] = new Rule(-58, new int[]{47}); + rules[60] = new Rule(-58, new int[]{48}); + rules[61] = new Rule(-58, new int[]{49}); + rules[62] = new Rule(-58, new int[]{50}); + rules[63] = new Rule(-58, new int[]{51}); + rules[64] = new Rule(-58, new int[]{52}); + rules[65] = new Rule(-58, new int[]{53}); + rules[66] = new Rule(-58, new int[]{54}); + rules[67] = new Rule(-58, new int[]{55}); + rules[68] = new Rule(-58, new int[]{56}); + rules[69] = new Rule(-5, new int[]{-5,6,-5,7,-5}); + rules[70] = new Rule(-5, new int[]{-5,57,-5}); + rules[71] = new Rule(-5, new int[]{-5,59,-5}); + rules[72] = new Rule(-5, new int[]{-5,60,-5}); + rules[73] = new Rule(-5, new int[]{-5,58,-5}); + rules[74] = new Rule(-5, new int[]{-5,64,-5}); + rules[75] = new Rule(-5, new int[]{-5,65,-5}); + rules[76] = new Rule(-5, new int[]{-5,66,-5}); + rules[77] = new Rule(-5, new int[]{-5,67,-5}); + rules[78] = new Rule(-5, new int[]{-5,68,-5}); + rules[79] = new Rule(-5, new int[]{-5,69,-5}); + rules[80] = new Rule(-5, new int[]{-5,70,-5}); + rules[81] = new Rule(-5, new int[]{-5,71,-5}); + rules[82] = new Rule(-5, new int[]{-5,61,-5}); + rules[83] = new Rule(-5, new int[]{-5,62,-5}); + rules[84] = new Rule(-5, new int[]{-5,76,-5}); + rules[85] = new Rule(-5, new int[]{-5,77,-5}); + rules[86] = new Rule(-5, new int[]{-5,78,-5}); + rules[87] = new Rule(-5, new int[]{-5,79,-5}); + rules[88] = new Rule(-5, new int[]{-5,75,-5}); + rules[89] = new Rule(-5, new int[]{-5,73,-5}); + rules[90] = new Rule(-5, new int[]{-5,4,-5}); + rules[91] = new Rule(-5, new int[]{-5,72,4,-5}); + rules[92] = new Rule(-5, new int[]{58,-5}); + rules[93] = new Rule(-5, new int[]{72,-5}); + rules[94] = new Rule(-5, new int[]{74,-5}); + rules[95] = new Rule(-5, new int[]{-9}); + rules[96] = new Rule(-5, new int[]{-8}); + rules[97] = new Rule(-5, new int[]{-13}); + rules[98] = new Rule(-5, new int[]{-14}); + rules[99] = new Rule(-5, new int[]{-65}); + rules[100] = new Rule(-5, new int[]{34,-5,35}); + rules[101] = new Rule(-65, new int[]{34,-5,41,-34,35}); + rules[102] = new Rule(-67, new int[]{-5,41,-34}); + rules[103] = new Rule(-14, new int[]{-9,22,-46}); + rules[104] = new Rule(-13, new int[]{21,-46,34,-17,35}); + rules[105] = new Rule(-8, new int[]{28}); + rules[106] = new Rule(-8, new int[]{29}); + rules[107] = new Rule(-8, new int[]{30}); + rules[108] = new Rule(-8, new int[]{31}); + rules[109] = new Rule(-8, new int[]{45}); + rules[110] = new Rule(-8, new int[]{33}); + rules[111] = new Rule(-8, new int[]{32}); + rules[112] = new Rule(-34, new int[]{-5}); + rules[113] = new Rule(-34, new int[]{-34,41,-5}); + rules[114] = new Rule(-26, new int[]{6,-5,42,-36,-32}); + rules[115] = new Rule(-32, new int[]{8,-5,42,-36,-32}); + rules[116] = new Rule(-32, new int[]{-31}); + rules[117] = new Rule(-31, new int[]{7,42,-36}); + rules[118] = new Rule(-31, new int[]{}); + rules[119] = new Rule(-29, new int[]{5,-5,42,-36}); + rules[120] = new Rule(-30, new int[]{3,-1,4,-5,42,-36}); + rules[121] = new Rule(-30, new int[]{3,-1,41,-44,4,-5,42,-36}); + rules[122] = new Rule(-44, new int[]{-1}); + rules[123] = new Rule(-44, new int[]{-44,41,-1}); + rules[124] = new Rule(-2, new int[]{-1}); + rules[125] = new Rule(-19, new int[]{10,-66}); + rules[126] = new Rule(-19, new int[]{10}); + rules[127] = new Rule(-20, new int[]{11}); + rules[128] = new Rule(-21, new int[]{12}); + rules[129] = new Rule(-28, new int[]{-7}); + rules[130] = new Rule(-9, new int[]{-1}); + rules[131] = new Rule(-9, new int[]{-7}); + rules[132] = new Rule(-9, new int[]{-9,40,-1}); + rules[133] = new Rule(-9, new int[]{-8,40,-1}); + rules[134] = new Rule(-9, new int[]{-60}); + rules[135] = new Rule(-9, new int[]{-61}); + rules[136] = new Rule(-9, new int[]{-62}); + rules[137] = new Rule(-9, new int[]{-9,38,-5,39}); + rules[138] = new Rule(-9, new int[]{38,-63,39}); + rules[139] = new Rule(-9, new int[]{36,-63,37}); + rules[140] = new Rule(-9, new int[]{36,-64,37}); + rules[141] = new Rule(-57, new int[]{-9}); + rules[142] = new Rule(-57, new int[]{-57,41,-9}); + rules[143] = new Rule(-63, new int[]{-5,3,-1,4,-5,-10}); + rules[144] = new Rule(-64, new int[]{-59,3,-1,4,-5,-10}); + rules[145] = new Rule(-62, new int[]{36,-54,37}); + rules[146] = new Rule(-62, new int[]{36,37}); + rules[147] = new Rule(-61, new int[]{36,-34,37}); + rules[148] = new Rule(-60, new int[]{38,-34,39}); + rules[149] = new Rule(-60, new int[]{38,39}); + rules[150] = new Rule(-10, new int[]{}); + rules[151] = new Rule(-10, new int[]{6,-5}); + rules[152] = new Rule(-36, new int[]{23,-35,-56,24}); + rules[153] = new Rule(-18, new int[]{-45,-36}); + rules[154] = new Rule(-45, new int[]{9,-2,34,-41,35,42}); + rules[155] = new Rule(-45, new int[]{9,-2,34,-41,35,44,-46,42}); + rules[156] = new Rule(-7, new int[]{-9,34,-17,35}); + rules[157] = new Rule(-47, new int[]{-1}); + rules[158] = new Rule(-47, new int[]{-47,40,-1}); + rules[159] = new Rule(-46, new int[]{-47}); + rules[160] = new Rule(-46, new int[]{-48}); + rules[161] = new Rule(-48, new int[]{-47,-50}); + rules[162] = new Rule(-50, new int[]{38,-51,39}); + rules[163] = new Rule(-51, new int[]{-46}); + rules[164] = new Rule(-51, new int[]{-51,41,-46}); + rules[165] = new Rule(-38, new int[]{-1}); + rules[166] = new Rule(-39, new int[]{-38,42,-46}); + rules[167] = new Rule(-39, new int[]{59,-38,42,-46}); + rules[168] = new Rule(-39, new int[]{73,-38,42,-46}); + rules[169] = new Rule(-40, new int[]{-39}); + rules[170] = new Rule(-40, new int[]{-40,41,-39}); + rules[171] = new Rule(-41, new int[]{-40}); + rules[172] = new Rule(-41, new int[]{}); + rules[173] = new Rule(-11, new int[]{-5}); + rules[174] = new Rule(-11, new int[]{-1,46,-5}); + rules[175] = new Rule(-16, new int[]{-11}); + rules[176] = new Rule(-16, new int[]{-16,41,-11}); + rules[177] = new Rule(-17, new int[]{-16}); + rules[178] = new Rule(-17, new int[]{-63}); + rules[179] = new Rule(-17, new int[]{}); + rules[180] = new Rule(-56, new int[]{26}); + rules[181] = new Rule(-56, new int[]{43}); + rules[182] = new Rule(-55, new int[]{43}); + rules[183] = new Rule(-55, new int[]{}); } protected override void Initialize() { @@ -718,12 +708,12 @@ public partial class SPythonGPPGParser: ShiftReduceParser intellisense_dotted_ident + case 14: // variable_as_type -> dotted_ident { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 15: // variable_as_type -> intellisense_dotted_ident, template_type_params + case 15: // variable_as_type -> dotted_ident, template_type_params { CurrentSemanticValue.ex = new ident_with_templateparams(ValueStack[ValueStack.Depth-2].ex as addressed_value, ValueStack[ValueStack.Depth-1].stn as template_param_list, CurrentLocationSpan); } @@ -842,7 +832,7 @@ public partial class SPythonGPPGParser: ShiftReduceParser GLOBAL, dotted_ident_list + case 40: // global_stmt -> GLOBAL, ident_list { CurrentSemanticValue.stn = new global_statement(ValueStack[ValueStack.Depth-1].stn as ident_list, CurrentLocationSpan); } @@ -854,107 +844,87 @@ public partial class SPythonGPPGParser: ShiftReduceParser ident { - CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; + CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; } break; case 43: // dotted_ident -> dotted_ident, DOT, ident -{ - CurrentSemanticValue.id = new ident(ValueStack[ValueStack.Depth-3].id.name + "." + ValueStack[ValueStack.Depth-1].id.name, CurrentLocationSpan); - } - break; - case 44: // intellisense_dotted_ident -> ident -{ - CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; - } - break; - case 45: // intellisense_dotted_ident -> intellisense_dotted_ident, DOT, ident { CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan); } break; - case 46: // dotted_ident_list -> dotted_ident -{ - CurrentSemanticValue.stn = new ident_list(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); - } - break; - case 47: // dotted_ident_list -> dotted_ident_list, COMMA, dotted_ident -{ - CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as ident_list).Add(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); - } - break; - case 48: // ident_as_ident -> ident, AS, ident + case 44: // ident_as_ident -> ident, AS, ident { CurrentSemanticValue.stn = new as_statement(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 49: // ident_as_ident -> ident + case 45: // ident_as_ident -> ident { CurrentSemanticValue.stn = new as_statement(ValueStack[ValueStack.Depth-1].id, ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 50: // ident_as_ident_list -> ident_as_ident + case 46: // ident_as_ident_list -> ident_as_ident { CurrentSemanticValue.stn = new as_statement_list(ValueStack[ValueStack.Depth-1].stn as as_statement, CurrentLocationSpan); } break; - case 51: // ident_as_ident_list -> ident_as_ident_list, COMMA, ident_as_ident + case 47: // ident_as_ident_list -> ident_as_ident_list, COMMA, ident_as_ident { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as as_statement_list).Add(ValueStack[ValueStack.Depth-1].stn as as_statement, CurrentLocationSpan); } break; - case 52: // expr_mapping -> expr, COLON, expr + case 48: // expr_mapping -> expr, COLON, expr { expression_list el = new expression_list(new List { ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex }, CurrentLocationSpan); CurrentSemanticValue.ex = new tuple_node(el, CurrentLocationSpan); } break; - case 53: // expr_mapping_list -> expr_mapping + case 49: // expr_mapping_list -> expr_mapping { CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 54: // expr_mapping_list -> expr_mapping_list, COMMA, expr_mapping + case 50: // expr_mapping_list -> expr_mapping_list, COMMA, expr_mapping { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 55: // var_stmt -> variable, COLON, type_ref + case 51: // var_stmt -> variable, COLON, type_ref { var vds = new var_def_statement(new ident_list(ValueStack[ValueStack.Depth-3].ex as ident, LocationStack[LocationStack.Depth-3]), ValueStack[ValueStack.Depth-1].td, null, definition_attribute.None, false, CurrentLocationSpan); CurrentSemanticValue.stn = new var_statement(vds, CurrentLocationSpan); } break; - case 56: // var_stmt -> variable, COLON, type_ref, ASSIGN, expr + case 52: // var_stmt -> variable, COLON, type_ref, ASSIGN, expr { var vds = new var_def_statement(new ident_list(ValueStack[ValueStack.Depth-5].ex as ident, LocationStack[LocationStack.Depth-5]), ValueStack[ValueStack.Depth-3].td, ValueStack[ValueStack.Depth-1].ex, definition_attribute.None, false, CurrentLocationSpan); CurrentSemanticValue.stn = new var_statement(vds, CurrentLocationSpan); } break; - case 57: // assign_right_part -> expr + case 53: // assign_right_part -> expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 58: // assign_right_part -> turbo_tuple_expr + case 54: // assign_right_part -> turbo_tuple_expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 59: // assign_stmt -> variable, ASSIGN, assign_right_part + case 55: // assign_stmt -> variable, ASSIGN, assign_right_part { if (!(ValueStack[ValueStack.Depth-3].ex is addressed_value)) parserTools.AddErrorFromResource("LEFT_SIDE_CANNOT_BE_ASSIGNED_TO", CurrentLocationSpan); CurrentSemanticValue.stn = new assign(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 60: // assign_stmt -> variable, assign_type, assign_right_part + case 56: // assign_stmt -> variable, assign_type, assign_right_part { if (!(ValueStack[ValueStack.Depth-3].ex is addressed_value)) parserTools.AddErrorFromResource("LEFT_SIDE_CANNOT_BE_ASSIGNED_TO", CurrentLocationSpan); CurrentSemanticValue.stn = new assign(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 61: // assign_stmt -> LPAR, variable, COMMA, variable_list, RPAR, ASSIGN, + case 57: // assign_stmt -> LPAR, variable, COMMA, variable_list, RPAR, ASSIGN, // assign_right_part { // if False: @@ -965,7 +935,7 @@ public partial class SPythonGPPGParser: ShiftReduceParser variable, COMMA, variable_list, ASSIGN, assign_right_part + case 58: // assign_stmt -> variable, COMMA, variable_list, ASSIGN, assign_right_part { // if False: if (ValueStack[ValueStack.Depth-2].op.type != Operators.Assignment) @@ -975,220 +945,220 @@ public partial class SPythonGPPGParser: ShiftReduceParser PLUSEQUAL + case 59: // assign_type -> PLUSEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 64: // assign_type -> MINUSEQUAL + case 60: // assign_type -> MINUSEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 65: // assign_type -> STAREQUAL + case 61: // assign_type -> STAREQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 66: // assign_type -> DIVEQUAL + case 62: // assign_type -> DIVEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 67: // assign_type -> BINXOREQUAL + case 63: // assign_type -> BINXOREQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 68: // assign_type -> SHLEQUAL + case 64: // assign_type -> SHLEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 69: // assign_type -> SHREQUAL + case 65: // assign_type -> SHREQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 70: // assign_type -> BINANDEQUAL + case 66: // assign_type -> BINANDEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 71: // assign_type -> BINOREQUAL + case 67: // assign_type -> BINOREQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 72: // assign_type -> INTDIVISIONEQUAL + case 68: // assign_type -> INTDIVISIONEQUAL { CurrentSemanticValue.op = ValueStack[ValueStack.Depth-1].op; } break; - case 73: // expr -> expr, IF, expr, ELSE, expr + case 69: // expr -> expr, IF, expr, ELSE, expr { CurrentSemanticValue.ex = new question_colon_expression(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-5].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 74: // expr -> expr, PLUS, expr + case 70: // expr -> expr, PLUS, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 75: // expr -> expr, STAR, expr + case 71: // expr -> expr, STAR, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 76: // expr -> expr, DIVIDE, expr + case 72: // expr -> expr, DIVIDE, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 77: // expr -> expr, MINUS, expr + case 73: // expr -> expr, MINUS, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 78: // expr -> expr, LESS, expr + case 74: // expr -> expr, LESS, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 79: // expr -> expr, GREATER, expr + case 75: // expr -> expr, GREATER, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 80: // expr -> expr, LESSEQUAL, expr + case 76: // expr -> expr, LESSEQUAL, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 81: // expr -> expr, GREATEREQUAL, expr + case 77: // expr -> expr, GREATEREQUAL, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 82: // expr -> expr, EQUAL, expr + case 78: // expr -> expr, EQUAL, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 83: // expr -> expr, NOTEQUAL, expr + case 79: // expr -> expr, NOTEQUAL, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 84: // expr -> expr, AND, expr + case 80: // expr -> expr, AND, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 85: // expr -> expr, OR, expr + case 81: // expr -> expr, OR, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 86: // expr -> expr, SLASHSLASH, expr + case 82: // expr -> expr, SLASHSLASH, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 87: // expr -> expr, PERCENTAGE, expr + case 83: // expr -> expr, PERCENTAGE, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 88: // expr -> expr, SHL, expr + case 84: // expr -> expr, SHL, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 89: // expr -> expr, SHR, expr + case 85: // expr -> expr, SHR, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 90: // expr -> expr, BINAND, expr + case 86: // expr -> expr, BINAND, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 91: // expr -> expr, BINOR, expr + case 87: // expr -> expr, BINOR, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 92: // expr -> expr, BINXOR, expr + case 88: // expr -> expr, BINXOR, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 93: // expr -> expr, STARSTAR, expr + case 89: // expr -> expr, STARSTAR, expr { addressed_value method_name = new ident("!pow", CurrentLocationSpan); expression_list el = new expression_list(new List { ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex }, CurrentLocationSpan); CurrentSemanticValue.ex = new method_call(method_name, el, CurrentLocationSpan); } break; - case 94: // expr -> expr, IN, expr + case 90: // expr -> expr, IN, expr { CurrentSemanticValue.ex = new bin_expr(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].ex, Operators.In, CurrentLocationSpan); } break; - case 95: // expr -> expr, NOT, IN, expr + case 91: // expr -> expr, NOT, IN, expr { // $$ = new bin_expr($1, $4, Operators.NotIn, @$); CurrentSemanticValue.ex = new un_expr(new bin_expr(ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-1].ex, Operators.In, CurrentLocationSpan),Operators.LogicalNOT,CurrentLocationSpan); } break; - case 96: // expr -> MINUS, expr + case 92: // expr -> MINUS, expr { CurrentSemanticValue.ex = new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 97: // expr -> NOT, expr + case 93: // expr -> NOT, expr { CurrentSemanticValue.ex = new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 98: // expr -> BINNOT, expr + case 94: // expr -> BINNOT, expr { CurrentSemanticValue.ex = new un_expr(ValueStack[ValueStack.Depth-1].ex, ValueStack[ValueStack.Depth-2].op.type, CurrentLocationSpan); } break; - case 99: // expr -> variable + case 95: // expr -> variable { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 100: // expr -> const_value + case 96: // expr -> const_value { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 101: // expr -> new_expr + case 97: // expr -> new_expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 102: // expr -> is_expr + case 98: // expr -> is_expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 103: // expr -> tuple_expr + case 99: // expr -> tuple_expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 104: // expr -> LPAR, expr, RPAR + case 100: // expr -> LPAR, expr, RPAR { CurrentSemanticValue.ex = new bracket_expr(ValueStack[ValueStack.Depth-2].ex, CurrentLocationSpan); } break; - case 105: // tuple_expr -> LPAR, expr, COMMA, expr_list, RPAR + case 101: // tuple_expr -> LPAR, expr, COMMA, expr_list, RPAR { // inherited from PABC if ((ValueStack[ValueStack.Depth-2].stn as expression_list).Count > 6) @@ -1197,7 +1167,7 @@ public partial class SPythonGPPGParser: ShiftReduceParser expr, COMMA, expr_list + case 102: // turbo_tuple_expr -> expr, COMMA, expr_list { // inherited from PABC if ((ValueStack[ValueStack.Depth-1].stn as expression_list).Count > 6) @@ -1206,97 +1176,97 @@ public partial class SPythonGPPGParser: ShiftReduceParser variable, IS, type_ref + case 103: // is_expr -> variable, IS, type_ref { CurrentSemanticValue.ex = parserTools.NewAsIsExpr(ValueStack[ValueStack.Depth-3].ex, op_typecast.is_op, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan); } break; - case 108: // new_expr -> NEW, type_ref, LPAR, optional_act_param_list, RPAR + case 104: // new_expr -> NEW, type_ref, LPAR, optional_act_param_list, RPAR { CurrentSemanticValue.ex = new new_expr(ValueStack[ValueStack.Depth-4].td, ValueStack[ValueStack.Depth-2].stn as expression_list, false, null, CurrentLocationSpan); } break; - case 109: // const_value -> INTNUM + case 105: // const_value -> INTNUM { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 110: // const_value -> REALNUM + case 106: // const_value -> REALNUM { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 111: // const_value -> TRUE + case 107: // const_value -> TRUE { CurrentSemanticValue.ex = new ident("true", CurrentLocationSpan); } break; - case 112: // const_value -> FALSE + case 108: // const_value -> FALSE { CurrentSemanticValue.ex = new ident("false", CurrentLocationSpan); } break; - case 113: // const_value -> STRINGNUM + case 109: // const_value -> STRINGNUM { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].stn as literal; } break; - case 114: // const_value -> FSTRINGNUM + case 110: // const_value -> FSTRINGNUM { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 115: // const_value -> BIGINT + case 111: // const_value -> BIGINT { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 116: // expr_list -> expr + case 112: // expr_list -> expr { CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 117: // expr_list -> expr_list, COMMA, expr + case 113: // expr_list -> expr_list, COMMA, expr { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 118: // if_stmt -> IF, expr, COLON, block, optional_elif + case 114: // if_stmt -> IF, expr, COLON, block, optional_elif { CurrentSemanticValue.stn = new if_node(ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-2].stn as statement, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan); } break; - case 119: // optional_elif -> ELIF, expr, COLON, block, optional_elif + case 115: // optional_elif -> ELIF, expr, COLON, block, optional_elif { CurrentSemanticValue.stn = new if_node(ValueStack[ValueStack.Depth-4].ex, ValueStack[ValueStack.Depth-2].stn as statement, ValueStack[ValueStack.Depth-1].stn as statement, CurrentLocationSpan); } break; - case 120: // optional_elif -> optional_else + case 116: // optional_elif -> optional_else { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; } break; - case 121: // optional_else -> ELSE, COLON, block + case 117: // optional_else -> ELSE, COLON, block { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; } break; - case 122: // optional_else -> /* empty */ + case 118: // optional_else -> /* empty */ { CurrentSemanticValue.stn = null; } break; - case 123: // while_stmt -> WHILE, expr, COLON, block + case 119: // while_stmt -> WHILE, expr, COLON, block { CurrentSemanticValue.stn = new while_node(ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].stn as statement, WhileCycleType.While, CurrentLocationSpan); } break; - case 124: // for_stmt -> FOR, ident, IN, expr, COLON, block + case 120: // for_stmt -> FOR, ident, IN, expr, COLON, block { CurrentSemanticValue.stn = new foreach_stmt(ValueStack[ValueStack.Depth-5].id, new no_type_foreach(), ValueStack[ValueStack.Depth-3].ex, ValueStack[ValueStack.Depth-1].stn as statement, null, CurrentLocationSpan); } break; - case 125: // for_stmt -> FOR, ident, COMMA, ident_list, IN, expr, COLON, block + case 121: // for_stmt -> FOR, ident, COMMA, ident_list, IN, expr, COLON, block { (ValueStack[ValueStack.Depth-5].stn as ident_list).AddFirst(ValueStack[ValueStack.Depth-7].id); var id = parserTools.NewId("#fe",LocationStack[LocationStack.Depth-5]); @@ -1308,164 +1278,164 @@ public partial class SPythonGPPGParser: ShiftReduceParser ident + case 122: // ident_list -> ident { CurrentSemanticValue.stn = new ident_list(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 127: // ident_list -> ident_list, COMMA, ident + case 123: // ident_list -> ident_list, COMMA, ident { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as ident_list).Add(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 128: // func_name_ident -> ident + case 124: // func_name_ident -> ident { CurrentSemanticValue.id = ValueStack[ValueStack.Depth-1].id; } break; - case 129: // return_stmt -> RETURN, assign_right_part + case 125: // return_stmt -> RETURN, assign_right_part { CurrentSemanticValue.stn = new return_statement(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 130: // return_stmt -> RETURN + case 126: // return_stmt -> RETURN { CurrentSemanticValue.stn = new return_statement(null, CurrentLocationSpan); } break; - case 131: // break_stmt -> BREAK + case 127: // break_stmt -> BREAK { CurrentSemanticValue.stn = new procedure_call(new ident("break", CurrentLocationSpan), true, CurrentLocationSpan); } break; - case 132: // continue_stmt -> CONTINUE + case 128: // continue_stmt -> CONTINUE { CurrentSemanticValue.stn = new procedure_call(new ident("continue", CurrentLocationSpan), true, CurrentLocationSpan); } break; - case 133: // proc_func_call_stmt -> proc_func_call + case 129: // proc_func_call_stmt -> proc_func_call { CurrentSemanticValue.stn = new procedure_call(ValueStack[ValueStack.Depth-1].ex as addressed_value, ValueStack[ValueStack.Depth-1].ex is ident, CurrentLocationSpan); } break; - case 134: // variable -> ident + case 130: // variable -> ident { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].id; } break; - case 135: // variable -> proc_func_call + case 131: // variable -> proc_func_call { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 136: // variable -> variable, DOT, ident + case 132: // variable -> variable, DOT, ident { CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan); } break; - case 137: // variable -> const_value, DOT, ident + case 133: // variable -> const_value, DOT, ident { CurrentSemanticValue.ex = new dot_node(ValueStack[ValueStack.Depth-3].ex as addressed_value, ValueStack[ValueStack.Depth-1].id as addressed_value, CurrentLocationSpan); } break; - case 138: // variable -> list_constant + case 134: // variable -> list_constant { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 139: // variable -> set_constant + case 135: // variable -> set_constant { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 140: // variable -> dict_constant + case 136: // variable -> dict_constant { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 141: // variable -> variable, LBRACKET, expr, RBRACKET + case 137: // variable -> variable, LBRACKET, expr, RBRACKET { var el = new expression_list(ValueStack[ValueStack.Depth-2].ex as expression, CurrentLocationSpan); CurrentSemanticValue.ex = new indexer(ValueStack[ValueStack.Depth-4].ex as addressed_value, el, CurrentLocationSpan); } break; - case 142: // variable -> LBRACKET, generator_object, RBRACKET + case 138: // variable -> LBRACKET, generator_object, RBRACKET { CurrentSemanticValue.ex = new method_call(new ident("list", ValueStack[ValueStack.Depth-2].ex.source_context), new expression_list(ValueStack[ValueStack.Depth-2].ex, ValueStack[ValueStack.Depth-2].ex.source_context), ValueStack[ValueStack.Depth-2].ex.source_context); } break; - case 143: // variable -> LBRACE, generator_object, RBRACE + case 139: // variable -> LBRACE, generator_object, RBRACE { CurrentSemanticValue.ex = new method_call(new ident("set", ValueStack[ValueStack.Depth-2].ex.source_context), new expression_list(ValueStack[ValueStack.Depth-2].ex, ValueStack[ValueStack.Depth-2].ex.source_context), ValueStack[ValueStack.Depth-2].ex.source_context); } break; - case 144: // variable -> LBRACE, generator_object_for_dict, RBRACE + case 140: // variable -> LBRACE, generator_object_for_dict, RBRACE { dot_node dn = new dot_node(ValueStack[ValueStack.Depth-2].ex as addressed_value, (new ident("ToDictionary")) as addressed_value, ValueStack[ValueStack.Depth-2].ex.source_context); CurrentSemanticValue.ex = new method_call(dn as addressed_value, null, ValueStack[ValueStack.Depth-2].ex.source_context); } break; - case 145: // variable_list -> variable + case 141: // variable_list -> variable { CurrentSemanticValue.ob = new addressed_value_list(ValueStack[ValueStack.Depth-1].ex as addressed_value,LocationStack[LocationStack.Depth-1]); } break; - case 146: // variable_list -> variable_list, COMMA, variable + case 142: // variable_list -> variable_list, COMMA, variable { (ValueStack[ValueStack.Depth-3].ob as addressed_value_list).Add(ValueStack[ValueStack.Depth-1].ex as addressed_value); (ValueStack[ValueStack.Depth-3].ob as syntax_tree_node).source_context = LexLocation.MergeAll(LocationStack[LocationStack.Depth-3],LocationStack[LocationStack.Depth-2],LocationStack[LocationStack.Depth-1]); CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-3].ob; } break; - case 147: // generator_object -> expr, FOR, ident, IN, expr, optional_condition + case 143: // generator_object -> expr, FOR, ident, IN, expr, optional_condition { CurrentSemanticValue.ex = new generator_object(ValueStack[ValueStack.Depth-6].ex, ValueStack[ValueStack.Depth-4].id, ValueStack[ValueStack.Depth-2].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 148: // generator_object_for_dict -> expr_mapping, FOR, ident, IN, expr, + case 144: // generator_object_for_dict -> expr_mapping, FOR, ident, IN, expr, // optional_condition { CurrentSemanticValue.ex = new generator_object(ValueStack[ValueStack.Depth-6].ex, ValueStack[ValueStack.Depth-4].id, ValueStack[ValueStack.Depth-2].ex, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 149: // dict_constant -> LBRACE, expr_mapping_list, RBRACE + case 145: // dict_constant -> LBRACE, expr_mapping_list, RBRACE { CurrentSemanticValue.ex = new method_call(new ident("dict", CurrentLocationSpan), ValueStack[ValueStack.Depth-2].stn as expression_list, CurrentLocationSpan); } break; - case 150: // dict_constant -> LBRACE, RBRACE + case 146: // dict_constant -> LBRACE, RBRACE { CurrentSemanticValue.ex = new method_call(new ident("!empty_dict", CurrentLocationSpan), null, CurrentLocationSpan); } break; - case 151: // set_constant -> LBRACE, expr_list, RBRACE + case 147: // set_constant -> LBRACE, expr_list, RBRACE { var acn = new array_const_new(ValueStack[ValueStack.Depth-2].stn as expression_list, '|', CurrentLocationSpan); CurrentSemanticValue.ex = new method_call(new ident("set", CurrentLocationSpan), new expression_list(acn, CurrentLocationSpan), CurrentLocationSpan); } break; - case 152: // list_constant -> LBRACKET, expr_list, RBRACKET + case 148: // list_constant -> LBRACKET, expr_list, RBRACKET { var acn = new array_const_new(ValueStack[ValueStack.Depth-2].stn as expression_list, '|', CurrentLocationSpan); CurrentSemanticValue.ex = new method_call(new ident("list", CurrentLocationSpan), new expression_list(acn, CurrentLocationSpan), CurrentLocationSpan); } break; - case 153: // list_constant -> LBRACKET, RBRACKET + case 149: // list_constant -> LBRACKET, RBRACKET { CurrentSemanticValue.ex = new method_call(new ident("!empty_list", CurrentLocationSpan), null, CurrentLocationSpan); } break; - case 154: // optional_condition -> /* empty */ + case 150: // optional_condition -> /* empty */ { CurrentSemanticValue.ex = null; } break; - case 155: // optional_condition -> IF, expr + case 151: // optional_condition -> IF, expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 156: // block -> INDENT, stmt_list, end_of_line, UNINDENT + case 152: // block -> INDENT, stmt_list, end_of_line, UNINDENT { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-3].stn as statement_list; (CurrentSemanticValue.stn as statement_list).left_logical_bracket = ValueStack[ValueStack.Depth-4].ti; @@ -1473,161 +1443,161 @@ public partial class SPythonGPPGParser: ShiftReduceParser proc_func_header, block + case 153: // proc_func_decl -> proc_func_header, block { CurrentSemanticValue.stn = new procedure_definition(ValueStack[ValueStack.Depth-2].td as procedure_header, new block(null, ValueStack[ValueStack.Depth-1].stn as statement_list, LocationStack[LocationStack.Depth-1]), CurrentLocationSpan); } break; - case 158: // proc_func_header -> DEF, func_name_ident, LPAR, optional_form_param_list, RPAR, + case 154: // proc_func_header -> DEF, func_name_ident, LPAR, optional_form_param_list, RPAR, // COLON { CurrentSemanticValue.td = new procedure_header(ValueStack[ValueStack.Depth-3].stn as formal_parameters, new procedure_attributes_list(new List()), new method_name(null,null, ValueStack[ValueStack.Depth-5].id, null, LocationStack[LocationStack.Depth-5]), null, CurrentLocationSpan); } break; - case 159: // proc_func_header -> DEF, func_name_ident, LPAR, optional_form_param_list, RPAR, + case 155: // proc_func_header -> DEF, func_name_ident, LPAR, optional_form_param_list, RPAR, // ARROW, type_ref, COLON { CurrentSemanticValue.td = new function_header(ValueStack[ValueStack.Depth-5].stn as formal_parameters, new procedure_attributes_list(new List()), new method_name(null,null, ValueStack[ValueStack.Depth-7].id, null, LocationStack[LocationStack.Depth-7]), null, ValueStack[ValueStack.Depth-2].td as type_definition, CurrentLocationSpan); } break; - case 160: // proc_func_call -> variable, LPAR, optional_act_param_list, RPAR + case 156: // proc_func_call -> variable, LPAR, optional_act_param_list, RPAR { CurrentSemanticValue.ex = new method_call(ValueStack[ValueStack.Depth-4].ex as addressed_value, ValueStack[ValueStack.Depth-2].stn as expression_list, CurrentLocationSpan); } break; - case 161: // simple_type_identifier -> ident + case 157: // simple_type_identifier -> ident { CurrentSemanticValue.td = new named_type_reference(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 162: // simple_type_identifier -> simple_type_identifier, DOT, ident + case 158: // simple_type_identifier -> simple_type_identifier, DOT, ident { CurrentSemanticValue.td = (ValueStack[ValueStack.Depth-3].td as named_type_reference).Add(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 163: // type_ref -> simple_type_identifier + case 159: // type_ref -> simple_type_identifier { CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td as named_type_reference; } break; - case 164: // type_ref -> template_type + case 160: // type_ref -> template_type { CurrentSemanticValue.td = ValueStack[ValueStack.Depth-1].td; } break; - case 165: // template_type -> simple_type_identifier, template_type_params + case 161: // template_type -> simple_type_identifier, template_type_params { CurrentSemanticValue.td = new template_type_reference(ValueStack[ValueStack.Depth-2].td as named_type_reference, ValueStack[ValueStack.Depth-1].stn as template_param_list, CurrentLocationSpan); } break; - case 166: // template_type_params -> LBRACKET, template_param_list, RBRACKET + case 162: // template_type_params -> LBRACKET, template_param_list, RBRACKET { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-2].stn; CurrentSemanticValue.stn.source_context = CurrentLocationSpan; } break; - case 167: // template_param_list -> type_ref + case 163: // template_param_list -> type_ref { CurrentSemanticValue.stn = new template_param_list(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan); } break; - case 168: // template_param_list -> template_param_list, COMMA, type_ref + case 164: // template_param_list -> template_param_list, COMMA, type_ref { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as template_param_list).Add(ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan); } break; - case 169: // param_name -> ident + case 165: // param_name -> ident { CurrentSemanticValue.stn = new ident_list(ValueStack[ValueStack.Depth-1].id, CurrentLocationSpan); } break; - case 170: // form_param_sect -> param_name, COLON, type_ref + case 166: // form_param_sect -> param_name, COLON, type_ref { CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.none, null, CurrentLocationSpan); } break; - case 171: // form_param_sect -> STAR, param_name, COLON, type_ref + case 167: // form_param_sect -> STAR, param_name, COLON, type_ref { var at = new array_type(null, ValueStack[ValueStack.Depth-1].td, CurrentLocationSpan); CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, at, parametr_kind.params_parametr, null, CurrentLocationSpan); } break; - case 172: // form_param_sect -> STARSTAR, param_name, COLON, type_ref + case 168: // form_param_sect -> STARSTAR, param_name, COLON, type_ref { CurrentSemanticValue.stn = new typed_parameters(ValueStack[ValueStack.Depth-3].stn as ident_list, ValueStack[ValueStack.Depth-1].td, parametr_kind.kwargs_parameter, null, CurrentLocationSpan); } break; - case 173: // form_param_list -> form_param_sect + case 169: // form_param_list -> form_param_sect { CurrentSemanticValue.stn = new formal_parameters(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan); } break; - case 174: // form_param_list -> form_param_list, COMMA, form_param_sect + case 170: // form_param_list -> form_param_list, COMMA, form_param_sect { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as formal_parameters).Add(ValueStack[ValueStack.Depth-1].stn as typed_parameters, CurrentLocationSpan); } break; - case 175: // optional_form_param_list -> form_param_list + case 171: // optional_form_param_list -> form_param_list { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; } break; - case 176: // optional_form_param_list -> /* empty */ + case 172: // optional_form_param_list -> /* empty */ { CurrentSemanticValue.stn = null; } break; - case 177: // act_param -> expr + case 173: // act_param -> expr { CurrentSemanticValue.ex = ValueStack[ValueStack.Depth-1].ex; } break; - case 178: // act_param -> ident, ASSIGN, expr + case 174: // act_param -> ident, ASSIGN, expr { CurrentSemanticValue.ex = new name_assign_expr(ValueStack[ValueStack.Depth-3].id, ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 179: // act_param_list -> act_param + case 175: // act_param_list -> act_param { CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 180: // act_param_list -> act_param_list, COMMA, act_param + case 176: // act_param_list -> act_param_list, COMMA, act_param { CurrentSemanticValue.stn = (ValueStack[ValueStack.Depth-3].stn as expression_list).Add(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 181: // optional_act_param_list -> act_param_list + case 177: // optional_act_param_list -> act_param_list { CurrentSemanticValue.stn = ValueStack[ValueStack.Depth-1].stn; } break; - case 182: // optional_act_param_list -> generator_object + case 178: // optional_act_param_list -> generator_object { CurrentSemanticValue.stn = new expression_list(ValueStack[ValueStack.Depth-1].ex, CurrentLocationSpan); } break; - case 183: // optional_act_param_list -> /* empty */ + case 179: // optional_act_param_list -> /* empty */ { CurrentSemanticValue.stn = null; } break; - case 184: // end_of_line -> END_OF_LINE + case 180: // end_of_line -> END_OF_LINE { CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ti; } break; - case 185: // end_of_line -> SEMICOLON + case 181: // end_of_line -> SEMICOLON { CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ti; } break; - case 186: // optional_semicolon -> SEMICOLON + case 182: // optional_semicolon -> SEMICOLON { CurrentSemanticValue.ob = ValueStack[ValueStack.Depth-1].ti; } break; - case 187: // optional_semicolon -> /* empty */ + case 183: // optional_semicolon -> /* empty */ { CurrentSemanticValue.ob = null; } diff --git a/AdditionalLanguages/SPython/SyntaxTreeConverters/SPythonStandardTreeConverter/SymbolTableFillingVisitor.cs b/AdditionalLanguages/SPython/SyntaxTreeConverters/SPythonStandardTreeConverter/SymbolTableFillingVisitor.cs index f29734ffd..0a229b074 100644 --- a/AdditionalLanguages/SPython/SyntaxTreeConverters/SPythonStandardTreeConverter/SymbolTableFillingVisitor.cs +++ b/AdditionalLanguages/SPython/SyntaxTreeConverters/SPythonStandardTreeConverter/SymbolTableFillingVisitor.cs @@ -1,7 +1,8 @@ -using System; -using System.Collections.Generic; -using PascalABCCompiler; +using PascalABCCompiler; +using PascalABCCompiler.Parsers; using PascalABCCompiler.SyntaxTree; +using System; +using System.Collections.Generic; namespace Languages.SPython.Frontend.Converters { @@ -10,6 +11,8 @@ namespace Languages.SPython.Frontend.Converters { protected SymbolTable symbolTable; + private readonly ILanguageInformation languageInformation = Facade.LanguageProvider.Instance.SelectLanguageByName("SPython").LanguageInformation; + public SymbolTableFillingVisitor(Dictionary> par) { symbolTable = new SymbolTable(par); } @@ -77,7 +80,7 @@ namespace Languages.SPython.Frontend.Converters } else { - symbolTable.Add(procedure_name, NameKind.GlobalFunction); + symbolTable.AddToParentScope(procedure_name, NameKind.GlobalFunction); } base.visit(_procedure_header); } @@ -149,8 +152,8 @@ namespace Languages.SPython.Frontend.Converters { string real_name = as_Statement.real_name.name; string alias = as_Statement.alias.name; - if (SymbolTable.specialModulesAliases.ContainsKey(real_name)) - real_name = SymbolTable.specialModulesAliases[real_name]; + if (languageInformation.SpecialModulesAliases.ContainsKey(real_name)) + real_name = languageInformation.SpecialModulesAliases[real_name]; symbolTable.AddModuleAlias(real_name, alias); } } @@ -159,8 +162,8 @@ namespace Languages.SPython.Frontend.Converters { string module_real_name = _from_import_statement.module_name.name; string module_name = module_real_name; - if (SymbolTable.specialModulesAliases.ContainsKey(module_name)) - module_name = SymbolTable.specialModulesAliases[module_name]; + if (languageInformation.SpecialModulesAliases.ContainsKey(module_name)) + module_name = languageInformation.SpecialModulesAliases[module_name]; if (_from_import_statement.is_star) { @@ -182,17 +185,18 @@ namespace Languages.SPython.Frontend.Converters } } - public override void visit(variable_definitions _variable_definitions) + // Возможно рудимент (Выпилить, если не понадобится) 13.12.2025 EVA +/* public override void visit(variable_definitions _variable_definitions) { foreach (var_def_statement vds in _variable_definitions.var_definitions) { foreach (ident id in vds.vars.idents) { symbolTable.Add(id.name, NameKind.GlobalVariable); - base.visit(_variable_definitions); } } - } + base.visit(_variable_definitions); + }*/ [Flags] protected enum NameKind @@ -219,10 +223,9 @@ namespace Languages.SPython.Frontend.Converters protected class SymbolTable { - private Dictionary nameTypes = new Dictionary(); - private HashSet forwardDeclaredFunctions = new HashSet(); + private readonly HashSet forwardDeclaredFunctions = new HashSet(); - static string[] Keywords = { + private readonly string[] Keywords = { "int", "float", "str", "bool", "tuple", // standard types "break", "continue", "exit", "halt", // standard ops "true", "false", // constants @@ -231,24 +234,20 @@ namespace Languages.SPython.Frontend.Converters private void FillKeywords() { foreach (var keyword in Keywords) - nameTypes.Add(keyword, NameKind.Keyword); + currentScope.Add(keyword, NameKind.Keyword); } public SymbolTable(Dictionary> par) { ModuleNameToSymbols = par; + entryScope = new LocalScope(); + currentScope = entryScope; FillKeywords(); AddAliasesFromStandartLibraries(); } - public static Dictionary specialModulesAliases = new Dictionary - { - { "time", "time1" }, - { "random", "random1" }, - }; - // names added to current function with global statements - private HashSet NamesAddedByGlobal = new HashSet(); + private readonly HashSet NamesAddedByGlobal = new HashSet(); private bool isInFunctionBody = false; @@ -268,47 +267,33 @@ namespace Languages.SPython.Frontend.Converters } } - // module alias -> module real name - private Dictionary modulesAliases = new Dictionary(); + private readonly string[] StandardLibraries = Facade.LanguageProvider.Instance.SelectLanguageByName("SPython").SystemUnitNames; - private List StandardLibraries = new List { "SPythonSystem", "SPythonHidden", "SPythonSystemPys" }; + private LocalScope currentScope; - // alias of function or global variable from module -> real name and module real name - private Dictionary> aliasToRealNameAndModuleName = new Dictionary>(); - - private LocalScope localVariables = new LocalScope(); + private readonly LocalScope entryScope; // moduleRealName -> functions and global variables in this module real names - private Dictionary> moduleNameToSymbols; - - public Dictionary> ModuleNameToSymbols - { - get => moduleNameToSymbols; - set - { moduleNameToSymbols = value; } - } + public Dictionary> ModuleNameToSymbols { get; set; } private void AddAliasesFromStandartLibraries() { foreach (string standardLibrary in StandardLibraries) { - if (moduleNameToSymbols.ContainsKey(standardLibrary)) - foreach (var kv in moduleNameToSymbols[standardLibrary]) + if (ModuleNameToSymbols.ContainsKey(standardLibrary)) + foreach (var kv in ModuleNameToSymbols[standardLibrary]) AddAlias(kv.Key, kv.Value, kv.Key, standardLibrary); } } public string AliasToRealName(string alias) { - if (modulesAliases.ContainsKey(alias)) - return modulesAliases[alias]; - else - return aliasToRealNameAndModuleName[alias].Item1; + return entryScope.GetRealName(alias); } public string AliasToModuleName(string alias) { - return aliasToRealNameAndModuleName[alias].Item2; + return entryScope.GetDeclaredModuleName(alias); } public void MakeVisibleForAssignment(string name) @@ -330,10 +315,8 @@ namespace Languages.SPython.Frontend.Converters public NameKind this[string name] { get { - if (localVariables.Contains(name)) - return NameKind.LocalVariable; - if (nameTypes.ContainsKey(name)) - return nameTypes[name]; + if (currentScope.Contains(name)) + return currentScope.GetNameKind(name); if (forwardDeclaredFunctions.Contains(name)) return NameKind.ForwardDeclaredFunction; return NameKind.Unknown; @@ -345,11 +328,9 @@ namespace Languages.SPython.Frontend.Converters switch (nameType) { case NameKind.LocalVariable: - localVariables.Add(name); - break; case NameKind.GlobalVariable: case NameKind.GlobalFunction: - AddGlobalName(name, nameType); + currentScope.Add(name, nameType); break; case NameKind.ForwardDeclaredFunction: forwardDeclaredFunctions.Add(name); @@ -359,76 +340,70 @@ namespace Languages.SPython.Frontend.Converters } } - private void AddGlobalName(string name, NameKind nameType) + public void AddToParentScope(string name, NameKind nameType) { - EraseNameAsLocal(name); - - if (nameTypes.ContainsKey(name)) - nameTypes[name] = nameType; - else nameTypes.Add(name, nameType); + currentScope.OuterScope.Add(name, nameType); } public void AddAlias(string realName, bool isVariable, string alias, string moduleName) - { - if (aliasToRealNameAndModuleName.ContainsKey(alias)) - aliasToRealNameAndModuleName[alias] = Tuple.Create(realName, moduleName); - else aliasToRealNameAndModuleName.Add(alias, Tuple.Create(realName, moduleName)); - AddGlobalName(alias, isVariable ? NameKind.ImportedVariableAlias : NameKind.ImportedNotVariableAlias); + { + entryScope.Add(alias, realName, isVariable ? NameKind.ImportedVariableAlias : NameKind.ImportedNotVariableAlias, moduleName); } public void AddModuleAlias(string realName, string alias) { - if (modulesAliases.ContainsKey(alias)) - modulesAliases[alias] = realName; - else modulesAliases.Add(alias, realName); - AddGlobalName(alias, NameKind.ModuleAlias); + entryScope.Add(alias, realName, NameKind.ModuleAlias); } - private void EraseNameAsLocal(string name) + // Возможно рудимент (Выпилить, если не понадобится) 13.12.2025 EVA + /*private void EraseNameAsLocal(string name) { localVariables.EraseName(name); - } + }*/ public void OpenLocalScope() { - localVariables = new LocalScope(localVariables); + currentScope = new LocalScope(currentScope); } public void CloseLocalScope() { - localVariables.ClearScope(); + currentScope.ClearScope(); } public bool IsOutermostScope() { - return localVariables.IsOutermostScope(); + return currentScope.IsOutermostScope(); } - public class LocalScope + private class LocalScope { - private LocalScope outerScope; - private HashSet symbols = new HashSet(); + private class SymbolInfo + { + internal string realName; + internal NameKind kind; + internal string declaredModuleName; + + internal SymbolInfo(string realName, NameKind kind, string declaredModuleName) + { + this.realName = realName; + this.kind = kind; + this.declaredModuleName = declaredModuleName; + } + } + + public LocalScope OuterScope { get; private set; } + private Dictionary symbolsInfos = new Dictionary(); public LocalScope(LocalScope outerScope = null) { - this.outerScope = outerScope; + this.OuterScope = outerScope; } - public bool Contains(string name) - { - LocalScope curr = this; + public bool Contains(string name) => FindNameRecursive(name) != null; - while (curr != null) - { - if (curr.symbols.Contains(name)) - return true; - curr = curr.outerScope; - } - - return false; - } - - public void EraseName(string name) + // Возможно рудимент (Выпилить, если не понадобится) 13.12.2025 EVA + /*public void EraseName(string name) { LocalScope curr = this; @@ -438,25 +413,50 @@ namespace Languages.SPython.Frontend.Converters curr.symbols.Remove(name); curr = curr.outerScope; } + }*/ + + public void Add(string ident, string realName, NameKind kind, string declaredModuleName = null) + { + symbolsInfos[ident] = new SymbolInfo(realName, kind, declaredModuleName); } - public void Add(string ident) + public void Add(string ident, NameKind kind) { - symbols.Add(ident); + Add(ident, ident, kind); } + private SymbolInfo FindNameRecursive(string name) + { + LocalScope curr = this; + + while (curr != null) + { + if (curr.symbolsInfos.ContainsKey(name)) + return curr.symbolsInfos[name]; + curr = curr.OuterScope; + } + + return null; + } + + public string GetRealName(string ident) => FindNameRecursive(ident).realName; + + public NameKind GetNameKind(string ident) => FindNameRecursive(ident).kind; + + public string GetDeclaredModuleName(string ident) => FindNameRecursive(ident).declaredModuleName; + public void ClearScope() { - if (outerScope != null) + if (OuterScope != null) { - symbols = outerScope.symbols; - outerScope = outerScope.outerScope; + symbolsInfos = OuterScope.symbolsInfos; + OuterScope = OuterScope.OuterScope; } } public bool IsOutermostScope() { - return outerScope.outerScope == null; + return OuterScope.OuterScope == null; } } } diff --git a/TestSuiteAdditionalLanguages/SPythonTests/CompilationSamples/import_and_from_import.pys b/TestSuiteAdditionalLanguages/SPythonTests/CompilationSamples/import_and_from_import.pys new file mode 100644 index 000000000..faf7ef6ec --- /dev/null +++ b/TestSuiteAdditionalLanguages/SPythonTests/CompilationSamples/import_and_from_import.pys @@ -0,0 +1,8 @@ +import PABCSystem as pabc +from PABCSystem import AllDelimiters as delims + +def f(): + print(delims) + +f() +print(pabc.Range(0, 1)) \ No newline at end of file