Give rule-specific names to repeat helper rules
This commit is contained in:
parent
a5816a9624
commit
53285f7d0c
6 changed files with 416 additions and 399 deletions
|
|
@ -39,14 +39,14 @@ enum {
|
|||
ts_sym_switch_statement = 34,
|
||||
ts_sym_true = 35,
|
||||
ts_sym_var_declaration = 36,
|
||||
ts_aux_sym_repeat_helper1 = 37,
|
||||
ts_aux_sym_repeat_helper2 = 38,
|
||||
ts_aux_sym_repeat_helper3 = 39,
|
||||
ts_aux_sym_repeat_helper4 = 40,
|
||||
ts_aux_sym_repeat_helper5 = 41,
|
||||
ts_aux_sym_repeat_helper6 = 42,
|
||||
ts_aux_sym_repeat_helper7 = 43,
|
||||
ts_aux_sym_repeat_helper8 = 44,
|
||||
ts_aux_sym_array_repeat1 = 37,
|
||||
ts_aux_sym_formal_parameters_repeat1 = 38,
|
||||
ts_aux_sym_function_call_repeat1 = 39,
|
||||
ts_aux_sym_object_repeat1 = 40,
|
||||
ts_aux_sym_program_repeat1 = 41,
|
||||
ts_aux_sym_statement_block_repeat1 = 42,
|
||||
ts_aux_sym_switch_case_repeat1 = 43,
|
||||
ts_aux_sym_switch_statement_repeat1 = 44,
|
||||
ts_aux_sym_token1 = 45,
|
||||
ts_aux_sym_token10 = 46,
|
||||
ts_aux_sym_token2 = 47,
|
||||
|
|
@ -95,14 +95,14 @@ SYMBOL_NAMES = {
|
|||
[ts_sym_switch_statement] = "switch_statement",
|
||||
[ts_sym_true] = "true",
|
||||
[ts_sym_var_declaration] = "var_declaration",
|
||||
[ts_aux_sym_repeat_helper1] = "repeat_helper1",
|
||||
[ts_aux_sym_repeat_helper2] = "repeat_helper2",
|
||||
[ts_aux_sym_repeat_helper3] = "repeat_helper3",
|
||||
[ts_aux_sym_repeat_helper4] = "repeat_helper4",
|
||||
[ts_aux_sym_repeat_helper5] = "repeat_helper5",
|
||||
[ts_aux_sym_repeat_helper6] = "repeat_helper6",
|
||||
[ts_aux_sym_repeat_helper7] = "repeat_helper7",
|
||||
[ts_aux_sym_repeat_helper8] = "repeat_helper8",
|
||||
[ts_aux_sym_array_repeat1] = "array_repeat1",
|
||||
[ts_aux_sym_formal_parameters_repeat1] = "formal_parameters_repeat1",
|
||||
[ts_aux_sym_function_call_repeat1] = "function_call_repeat1",
|
||||
[ts_aux_sym_object_repeat1] = "object_repeat1",
|
||||
[ts_aux_sym_program_repeat1] = "program_repeat1",
|
||||
[ts_aux_sym_statement_block_repeat1] = "statement_block_repeat1",
|
||||
[ts_aux_sym_switch_case_repeat1] = "switch_case_repeat1",
|
||||
[ts_aux_sym_switch_statement_repeat1] = "switch_statement_repeat1",
|
||||
[ts_aux_sym_token1] = "'{'",
|
||||
[ts_aux_sym_token10] = "']'",
|
||||
[ts_aux_sym_token2] = "'}'",
|
||||
|
|
@ -128,14 +128,14 @@ HIDDEN_SYMBOLS = {
|
|||
[ts_sym__switch] = 1,
|
||||
[ts_sym__terminator] = 1,
|
||||
[ts_sym__var] = 1,
|
||||
[ts_aux_sym_repeat_helper1] = 1,
|
||||
[ts_aux_sym_repeat_helper2] = 1,
|
||||
[ts_aux_sym_repeat_helper3] = 1,
|
||||
[ts_aux_sym_repeat_helper4] = 1,
|
||||
[ts_aux_sym_repeat_helper5] = 1,
|
||||
[ts_aux_sym_repeat_helper6] = 1,
|
||||
[ts_aux_sym_repeat_helper7] = 1,
|
||||
[ts_aux_sym_repeat_helper8] = 1,
|
||||
[ts_aux_sym_array_repeat1] = 1,
|
||||
[ts_aux_sym_formal_parameters_repeat1] = 1,
|
||||
[ts_aux_sym_function_call_repeat1] = 1,
|
||||
[ts_aux_sym_object_repeat1] = 1,
|
||||
[ts_aux_sym_program_repeat1] = 1,
|
||||
[ts_aux_sym_statement_block_repeat1] = 1,
|
||||
[ts_aux_sym_switch_case_repeat1] = 1,
|
||||
[ts_aux_sym_switch_statement_repeat1] = 1,
|
||||
[ts_aux_sym_token1] = 1,
|
||||
[ts_aux_sym_token10] = 1,
|
||||
[ts_aux_sym_token2] = 1,
|
||||
|
|
@ -2717,10 +2717,10 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(588),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(588),
|
||||
[ts_aux_sym_repeat_helper1] = SHIFT(603),
|
||||
[ts_aux_sym_program_repeat1] = SHIFT(603),
|
||||
[ts_aux_sym_token1] = SHIFT(592),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_repeat_helper1, 0),
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_program_repeat1, 0),
|
||||
[ts_builtin_sym_error] = SHIFT(596),
|
||||
},
|
||||
[1] = {
|
||||
|
|
@ -2814,9 +2814,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(522),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(522),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(524),
|
||||
},
|
||||
|
|
@ -2929,9 +2929,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(507),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(507),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(509),
|
||||
},
|
||||
|
|
@ -3002,9 +3002,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(457),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(457),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(459),
|
||||
},
|
||||
|
|
@ -3114,9 +3114,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(287),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(287),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(289),
|
||||
},
|
||||
|
|
@ -3208,9 +3208,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_expression, 1),
|
||||
},
|
||||
[42] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(43),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(43),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -3244,9 +3244,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[46] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(47),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(47),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -3281,15 +3281,15 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[50] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(51),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(51),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
},
|
||||
[51] = {
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 3),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 3),
|
||||
},
|
||||
[52] = {
|
||||
[ts_sym_identifier] = SHIFT(53),
|
||||
|
|
@ -3365,9 +3365,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(253),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(253),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(255),
|
||||
},
|
||||
|
|
@ -3446,9 +3446,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[65] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(66),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(66),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -3569,9 +3569,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(239),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(239),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(241),
|
||||
},
|
||||
|
|
@ -3682,9 +3682,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[89] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(90),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(90),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -3770,9 +3770,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(217),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(217),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(219),
|
||||
},
|
||||
|
|
@ -3805,14 +3805,14 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(99),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(99),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(216),
|
||||
},
|
||||
[99] = {
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 2),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 2),
|
||||
},
|
||||
[100] = {
|
||||
[ts_sym__break] = SHIFT(9),
|
||||
|
|
@ -3843,7 +3843,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(204),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(204),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -3891,8 +3891,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_expression, 1),
|
||||
},
|
||||
[105] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(106),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(106),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -3928,9 +3928,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[109] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(110),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(110),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -3980,15 +3980,15 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[116] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(117),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(117),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
[ts_aux_sym_token9] = SHIFT(120),
|
||||
},
|
||||
[117] = {
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 5),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 5),
|
||||
},
|
||||
[118] = {
|
||||
[ts_sym_identifier] = SHIFT(119),
|
||||
|
|
@ -4137,8 +4137,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[134] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(135),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(135),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -4216,8 +4216,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[143] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(144),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(144),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -4269,8 +4269,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_expression, 1),
|
||||
},
|
||||
[149] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(150),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(150),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -4307,9 +4307,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[153] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(154),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(154),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -4352,15 +4352,15 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(190),
|
||||
},
|
||||
[158] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(159),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(159),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
[ts_aux_sym_token9] = SHIFT(162),
|
||||
},
|
||||
[159] = {
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 3),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 3),
|
||||
},
|
||||
[160] = {
|
||||
[ts_sym_identifier] = SHIFT(161),
|
||||
|
|
@ -4428,8 +4428,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(189),
|
||||
},
|
||||
[166] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(167),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(167),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -4507,8 +4507,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[175] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(176),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(176),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -4532,8 +4532,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[179] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(180),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(180),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[180] = {
|
||||
|
|
@ -4568,8 +4568,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(187),
|
||||
},
|
||||
[183] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(184),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(184),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -4593,8 +4593,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[187] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(184),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(184),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[188] = {
|
||||
|
|
@ -4604,13 +4604,13 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[189] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(167),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(167),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[190] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(159),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(159),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[191] = {
|
||||
|
|
@ -4621,8 +4621,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[192] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(150),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(150),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[193] = {
|
||||
|
|
@ -4633,8 +4633,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[194] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(195),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(195),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[195] = {
|
||||
|
|
@ -4654,8 +4654,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[198] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(199),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(199),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[199] = {
|
||||
|
|
@ -4668,12 +4668,12 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 4),
|
||||
},
|
||||
[201] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(202),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(202),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[202] = {
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 3),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 3),
|
||||
},
|
||||
[203] = {
|
||||
[ts_sym__terminator] = REDUCE(ts_sym_literal, 1),
|
||||
|
|
@ -4731,8 +4731,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(212),
|
||||
},
|
||||
[208] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(209),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(209),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -4754,13 +4754,13 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[212] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(209),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(209),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[213] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(205),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -4810,8 +4810,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token4] = SHIFT(230),
|
||||
},
|
||||
[224] = {
|
||||
[ts_aux_sym_repeat_helper6] = SHIFT(225),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper6, 0),
|
||||
[ts_aux_sym_formal_parameters_repeat1] = SHIFT(225),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_formal_parameters_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(227),
|
||||
},
|
||||
[225] = {
|
||||
|
|
@ -4824,19 +4824,19 @@ PARSE_TABLE = {
|
|||
[ts_sym_identifier] = SHIFT(228),
|
||||
},
|
||||
[228] = {
|
||||
[ts_aux_sym_repeat_helper6] = SHIFT(229),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper6, 0),
|
||||
[ts_aux_sym_formal_parameters_repeat1] = SHIFT(229),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_formal_parameters_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(227),
|
||||
},
|
||||
[229] = {
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper6, 3),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_formal_parameters_repeat1, 3),
|
||||
},
|
||||
[230] = {
|
||||
[ts_aux_sym_token1] = REDUCE(ts_sym_formal_parameters, 2),
|
||||
},
|
||||
[231] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(232),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(232),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -4860,8 +4860,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[235] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(232),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(232),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[236] = {
|
||||
|
|
@ -4874,8 +4874,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token5] = SHIFT(102),
|
||||
},
|
||||
[238] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[239] = {
|
||||
|
|
@ -4908,8 +4908,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_function_expression, 4),
|
||||
},
|
||||
[245] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(246),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(246),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -4933,8 +4933,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[249] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(250),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(250),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[250] = {
|
||||
|
|
@ -5093,8 +5093,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[274] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(275),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(275),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -5114,8 +5114,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[278] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(279),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(279),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[279] = {
|
||||
|
|
@ -5148,8 +5148,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(286),
|
||||
},
|
||||
[282] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(283),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(283),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -5169,8 +5169,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[286] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(283),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(283),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[287] = {
|
||||
|
|
@ -5203,9 +5203,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_function_expression, 4),
|
||||
},
|
||||
[293] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(294),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(294),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -5232,8 +5232,8 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(454),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(454),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[299] = {
|
||||
[ts_sym__function] = SHIFT(300),
|
||||
|
|
@ -5298,9 +5298,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(304),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(304),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper2, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_statement_block_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(306),
|
||||
},
|
||||
|
|
@ -5370,9 +5370,9 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(93),
|
||||
},
|
||||
[314] = {
|
||||
[ts_aux_sym_repeat_helper5] = SHIFT(315),
|
||||
[ts_aux_sym_function_call_repeat1] = SHIFT(315),
|
||||
[ts_aux_sym_token3] = SHIFT(45),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_repeat_helper5, 0),
|
||||
[ts_aux_sym_token4] = REDUCE(ts_aux_sym_function_call_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(49),
|
||||
[ts_aux_sym_token8] = SHIFT(52),
|
||||
[ts_aux_sym_token9] = SHIFT(54),
|
||||
|
|
@ -5394,8 +5394,8 @@ PARSE_TABLE = {
|
|||
},
|
||||
[318] = {
|
||||
[ts_sym__break] = SHIFT(319),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__for] = SHIFT(321),
|
||||
[ts_sym__function] = SHIFT(5),
|
||||
[ts_sym__if] = SHIFT(329),
|
||||
|
|
@ -5423,9 +5423,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(390),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(390),
|
||||
[ts_aux_sym_repeat_helper4] = SHIFT(429),
|
||||
[ts_aux_sym_switch_case_repeat1] = SHIFT(429),
|
||||
[ts_aux_sym_token1] = SHIFT(395),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(399),
|
||||
},
|
||||
|
|
@ -5866,16 +5866,16 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(401),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(401),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[350] = {
|
||||
[ts_aux_sym_token5] = SHIFT(351),
|
||||
},
|
||||
[351] = {
|
||||
[ts_sym__break] = SHIFT(319),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__for] = SHIFT(321),
|
||||
[ts_sym__function] = SHIFT(5),
|
||||
[ts_sym__if] = SHIFT(329),
|
||||
|
|
@ -5903,9 +5903,9 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(390),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(390),
|
||||
[ts_aux_sym_repeat_helper4] = SHIFT(400),
|
||||
[ts_aux_sym_switch_case_repeat1] = SHIFT(400),
|
||||
[ts_aux_sym_token1] = SHIFT(395),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(399),
|
||||
},
|
||||
|
|
@ -5945,18 +5945,18 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(359),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(359),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[357] = {
|
||||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(358),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(358),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[358] = {
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 2),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 2),
|
||||
},
|
||||
[359] = {
|
||||
[ts_aux_sym_token2] = SHIFT(360),
|
||||
|
|
@ -6084,8 +6084,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[372] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(373),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(373),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -6107,8 +6107,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[376] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(377),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(377),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[377] = {
|
||||
|
|
@ -6142,8 +6142,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(384),
|
||||
},
|
||||
[380] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(381),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(381),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -6165,8 +6165,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[384] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(381),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(381),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[385] = {
|
||||
|
|
@ -6272,8 +6272,8 @@ PARSE_TABLE = {
|
|||
},
|
||||
[393] = {
|
||||
[ts_sym__break] = SHIFT(319),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_sym__for] = SHIFT(321),
|
||||
[ts_sym__function] = SHIFT(5),
|
||||
[ts_sym__if] = SHIFT(329),
|
||||
|
|
@ -6301,16 +6301,16 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(390),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(390),
|
||||
[ts_aux_sym_repeat_helper4] = SHIFT(394),
|
||||
[ts_aux_sym_switch_case_repeat1] = SHIFT(394),
|
||||
[ts_aux_sym_token1] = SHIFT(395),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper4, 0),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_case_repeat1, 0),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_error] = SHIFT(399),
|
||||
},
|
||||
[394] = {
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_repeat_helper4, 2),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_repeat_helper4, 2),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper4, 2),
|
||||
[ts_sym__case] = REDUCE(ts_aux_sym_switch_case_repeat1, 2),
|
||||
[ts_sym__default] = REDUCE(ts_aux_sym_switch_case_repeat1, 2),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_case_repeat1, 2),
|
||||
},
|
||||
[395] = {
|
||||
[ts_sym__break] = SHIFT(9),
|
||||
|
|
@ -6341,7 +6341,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(396),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(396),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -6372,7 +6372,7 @@ PARSE_TABLE = {
|
|||
},
|
||||
[398] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(397),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -6616,7 +6616,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(415),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(415),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -6648,7 +6648,7 @@ PARSE_TABLE = {
|
|||
},
|
||||
[417] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(416),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -6893,8 +6893,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = SHIFT(146),
|
||||
},
|
||||
[441] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(442),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(442),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(108),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
[ts_aux_sym_token8] = SHIFT(118),
|
||||
|
|
@ -6916,8 +6916,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_object, 2),
|
||||
},
|
||||
[445] = {
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(446),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper7, 0),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(446),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_object_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
[446] = {
|
||||
|
|
@ -6951,8 +6951,8 @@ PARSE_TABLE = {
|
|||
[ts_builtin_sym_error] = SHIFT(453),
|
||||
},
|
||||
[449] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(450),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(450),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token3] = SHIFT(152),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
[ts_aux_sym_token8] = SHIFT(160),
|
||||
|
|
@ -6974,8 +6974,8 @@ PARSE_TABLE = {
|
|||
[ts_aux_sym_token9] = REDUCE(ts_sym_array, 2),
|
||||
},
|
||||
[453] = {
|
||||
[ts_aux_sym_repeat_helper8] = SHIFT(450),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_repeat_helper8, 0),
|
||||
[ts_aux_sym_array_repeat1] = SHIFT(450),
|
||||
[ts_aux_sym_token10] = REDUCE(ts_aux_sym_array_repeat1, 0),
|
||||
[ts_aux_sym_token7] = SHIFT(157),
|
||||
},
|
||||
[454] = {
|
||||
|
|
@ -7294,8 +7294,8 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(482),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(482),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[482] = {
|
||||
[ts_aux_sym_token2] = SHIFT(483),
|
||||
|
|
@ -7517,7 +7517,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(496),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(496),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -7547,7 +7547,7 @@ PARSE_TABLE = {
|
|||
},
|
||||
[498] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(497),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -8198,8 +8198,8 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(553),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(553),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[553] = {
|
||||
[ts_aux_sym_token2] = SHIFT(554),
|
||||
|
|
@ -8421,7 +8421,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(567),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(567),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -8451,7 +8451,7 @@ PARSE_TABLE = {
|
|||
},
|
||||
[569] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(568),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -8571,8 +8571,8 @@ PARSE_TABLE = {
|
|||
[ts_sym__case] = SHIFT(299),
|
||||
[ts_sym__default] = SHIFT(350),
|
||||
[ts_sym_switch_case] = SHIFT(357),
|
||||
[ts_aux_sym_repeat_helper3] = SHIFT(581),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_repeat_helper3, 0),
|
||||
[ts_aux_sym_switch_statement_repeat1] = SHIFT(581),
|
||||
[ts_aux_sym_token2] = REDUCE(ts_aux_sym_switch_statement_repeat1, 0),
|
||||
},
|
||||
[581] = {
|
||||
[ts_aux_sym_token2] = SHIFT(582),
|
||||
|
|
@ -8737,7 +8737,7 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(61),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(61),
|
||||
[ts_aux_sym_repeat_helper2] = SHIFT(593),
|
||||
[ts_aux_sym_statement_block_repeat1] = SHIFT(593),
|
||||
[ts_aux_sym_token1] = SHIFT(100),
|
||||
[ts_aux_sym_token2] = SHIFT(206),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
|
|
@ -8766,7 +8766,7 @@ PARSE_TABLE = {
|
|||
},
|
||||
[595] = {
|
||||
[ts_sym__terminator] = SHIFT(63),
|
||||
[ts_aux_sym_repeat_helper7] = SHIFT(214),
|
||||
[ts_aux_sym_object_repeat1] = SHIFT(214),
|
||||
[ts_aux_sym_token2] = SHIFT(594),
|
||||
[ts_aux_sym_token7] = SHIFT(113),
|
||||
},
|
||||
|
|
@ -8829,14 +8829,14 @@ PARSE_TABLE = {
|
|||
[ts_sym_switch_statement] = SHIFT(588),
|
||||
[ts_sym_true] = SHIFT(59),
|
||||
[ts_sym_var_declaration] = SHIFT(588),
|
||||
[ts_aux_sym_repeat_helper1] = SHIFT(602),
|
||||
[ts_aux_sym_program_repeat1] = SHIFT(602),
|
||||
[ts_aux_sym_token1] = SHIFT(592),
|
||||
[ts_aux_sym_token9] = SHIFT(207),
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_repeat_helper1, 0),
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_program_repeat1, 0),
|
||||
[ts_builtin_sym_error] = SHIFT(596),
|
||||
},
|
||||
[602] = {
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_repeat_helper1, 2),
|
||||
[ts_builtin_sym_end] = REDUCE(ts_aux_sym_program_repeat1, 2),
|
||||
},
|
||||
[603] = {
|
||||
[ts_builtin_sym_end] = REDUCE(ts_sym_program, 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue