diff --git a/grammar.js b/grammar.js index 1a9c8e9..a147f5e 100644 --- a/grammar.js +++ b/grammar.js @@ -163,6 +163,7 @@ module.exports = grammar({ _select_pattern: ($) => choice( $._string_literal, $.boolean_literal, + $.integer_literal, alias("any", $.any), $.pattern_binding, alias("default", $.default), diff --git a/src/grammar.json b/src/grammar.json index e11517b..74d5c51 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -757,6 +757,10 @@ "type": "SYMBOL", "name": "boolean_literal" }, + { + "type": "SYMBOL", + "name": "integer_literal" + }, { "type": "ALIAS", "content": { diff --git a/src/node-types.json b/src/node-types.json index 3cf0c60..2fe5cf6 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -531,6 +531,10 @@ "type": "default", "named": true }, + { + "type": "integer_literal", + "named": true + }, { "type": "interpreted_string_literal", "named": true diff --git a/src/parser.c b/src/parser.c index 929363d..166f6aa 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1029,6 +1029,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { '"', 95, '(', 61, ')', 62, + '-', 92, '/', 7, '`', 37, 'a', 22, @@ -1039,6 +1040,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(4); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(93); END_STATE(); case 5: ADVANCE_MAP( @@ -1826,7 +1828,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(2), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(85), 1, sym__expr, @@ -1835,7 +1837,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -1868,14 +1870,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(3), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(62), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -1908,14 +1910,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(4), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(47), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -1948,14 +1950,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(5), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(62), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -1986,14 +1988,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(6), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, - STATE(29), 1, + STATE(31), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -2024,14 +2026,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(7), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(57), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -2062,14 +2064,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(8), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(54), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -2100,14 +2102,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(9), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(53), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -2138,14 +2140,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(10), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(62), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(25), 7, + STATE(27), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -2153,11 +2155,15 @@ static const uint16_t ts_small_parse_table[] = { sym_list_expression, sym_map_expression, sym_binary_expression, - [492] = 15, + [492] = 17, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2172,7 +2178,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_default, STATE(11), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(110), 1, sym_select_case, @@ -2183,15 +2189,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [541] = 15, + [548] = 17, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2206,7 +2217,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, STATE(12), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(76), 1, sym_select_case, @@ -2217,15 +2228,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [590] = 15, + [604] = 17, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2240,7 +2256,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, STATE(13), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(110), 1, sym_select_case, @@ -2251,15 +2267,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [639] = 14, + [660] = 16, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2272,7 +2293,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_default, STATE(14), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(110), 1, sym_select_case, @@ -2283,15 +2304,20 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [685] = 12, + [713] = 14, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2304,22 +2330,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(15), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(115), 1, sym__select_pattern, ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [725] = 12, + [760] = 14, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2332,22 +2363,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(16), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(115), 1, sym__select_pattern, ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [765] = 11, + [807] = 13, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2358,22 +2394,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_default, STATE(17), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(79), 1, sym__select_pattern, ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [802] = 11, + [851] = 13, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(17), 1, + anon_sym_DASH, + ACTIONS(19), 1, + aux_sym_integer_literal_token1, ACTIONS(21), 1, sym_raw_string_literal, ACTIONS(23), 1, @@ -2384,18 +2425,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_default, STATE(18), 1, sym_comment, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(115), 1, sym__select_pattern, ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(75), 3, + STATE(75), 4, sym_boolean_literal, + sym_integer_literal, sym__string_literal, sym_pattern_binding, - [839] = 10, + [895] = 10, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2406,7 +2448,7 @@ static const uint16_t ts_small_parse_table[] = { ts_builtin_sym_end, STATE(19), 1, sym_comment, - STATE(22), 1, + STATE(24), 1, aux_sym_source_file_repeat1, STATE(104), 1, sym__old_module, @@ -2417,7 +2459,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(108), 2, sym_assignment, sym_module, - [871] = 4, + [927] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2433,7 +2475,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [891] = 4, + [947] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2449,14 +2491,46 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [911] = 9, + [967] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(61), 1, + STATE(22), 1, + sym_comment, + ACTIONS(61), 8, ts_builtin_sym_end, - ACTIONS(63), 1, + anon_sym_COMMA, + anon_sym_RBRACE, + anon_sym_RPAREN, + sym_identifier, + anon_sym_COLON, + anon_sym_RBRACK, + anon_sym_PLUS, + [987] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + STATE(23), 1, + sym_comment, + ACTIONS(63), 8, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_RBRACE, + anon_sym_RPAREN, + sym_identifier, + anon_sym_COLON, + anon_sym_RBRACK, + anon_sym_PLUS, + [1007] = 9, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(65), 1, + ts_builtin_sym_end, + ACTIONS(67), 1, sym_identifier, STATE(104), 1, sym__old_module, @@ -2464,75 +2538,45 @@ static const uint16_t ts_small_parse_table[] = { sym__definition, STATE(109), 1, sym__new_module, - STATE(22), 2, + STATE(24), 2, sym_comment, aux_sym_source_file_repeat1, STATE(108), 2, sym_assignment, sym_module, - [941] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - STATE(23), 1, - sym_comment, - ACTIONS(66), 8, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_RBRACE, - anon_sym_RPAREN, - sym_identifier, - anon_sym_COLON, - anon_sym_RBRACK, - anon_sym_PLUS, - [961] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - STATE(24), 1, - sym_comment, - ACTIONS(68), 8, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_RBRACE, - anon_sym_RPAREN, - sym_identifier, - anon_sym_COLON, - anon_sym_RBRACK, - anon_sym_PLUS, - [981] = 4, + [1037] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(25), 1, sym_comment, - ACTIONS(70), 7, + ACTIONS(70), 8, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, anon_sym_RPAREN, sym_identifier, + anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [1000] = 4, + [1057] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(26), 1, sym_comment, - ACTIONS(72), 7, + ACTIONS(72), 8, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, anon_sym_RPAREN, sym_identifier, + anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [1019] = 4, + [1077] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2547,7 +2591,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1038] = 4, + [1096] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2562,7 +2606,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1057] = 4, + [1115] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2577,7 +2621,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1076] = 4, + [1134] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2592,7 +2636,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1095] = 4, + [1153] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2607,7 +2651,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1114] = 4, + [1172] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2622,7 +2666,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1133] = 4, + [1191] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2637,7 +2681,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1152] = 4, + [1210] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2652,7 +2696,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1171] = 4, + [1229] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2667,7 +2711,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1190] = 4, + [1248] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2682,7 +2726,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1209] = 4, + [1267] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2697,7 +2741,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1228] = 4, + [1286] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2712,7 +2756,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1247] = 4, + [1305] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2727,7 +2771,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1266] = 8, + [1324] = 8, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2738,13 +2782,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DQUOTE, ACTIONS(100), 1, anon_sym_RPAREN, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(40), 1, sym_comment, STATE(68), 1, sym__string_literal, - [1291] = 6, + [1349] = 6, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -2758,7 +2802,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(41), 2, sym_comment, aux_sym_interpreted_string_literal_repeat1, - [1311] = 6, + [1369] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2772,7 +2816,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(114), 2, anon_sym_EQ, anon_sym_PLUS_EQ, - [1331] = 7, + [1389] = 7, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2781,13 +2825,13 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - STATE(24), 1, + STATE(26), 1, sym_interpreted_string_literal, STATE(43), 1, sym_comment, STATE(119), 1, sym__string_literal, - [1353] = 7, + [1411] = 7, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -2802,7 +2846,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_interpreted_string_literal_repeat1, STATE(44), 1, sym_comment, - [1375] = 7, + [1433] = 7, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2817,7 +2861,7 @@ static const uint16_t ts_small_parse_table[] = { sym_condition, STATE(124), 1, sym_select_value, - [1397] = 5, + [1455] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2830,7 +2874,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, anon_sym_RPAREN, anon_sym_COLON, - [1415] = 7, + [1473] = 7, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2845,7 +2889,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(52), 1, aux_sym_list_expression_repeat1, - [1437] = 7, + [1495] = 7, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -2860,7 +2904,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_interpreted_string_literal_repeat1, STATE(48), 1, sym_comment, - [1459] = 6, + [1517] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2873,7 +2917,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(67), 1, aux_sym_select_value_repeat1, - [1478] = 6, + [1536] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2886,7 +2930,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(91), 1, sym__colon_property, - [1497] = 6, + [1555] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2899,7 +2943,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(56), 1, aux_sym__old_module_repeat1, - [1516] = 6, + [1574] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2912,7 +2956,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(64), 1, aux_sym_list_expression_repeat1, - [1535] = 5, + [1593] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2924,7 +2968,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(158), 2, ts_builtin_sym_end, sym_identifier, - [1552] = 5, + [1610] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2936,7 +2980,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(160), 2, anon_sym_COMMA, anon_sym_RBRACE, - [1569] = 6, + [1627] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2949,7 +2993,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(91), 1, sym__colon_property, - [1588] = 5, + [1646] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2961,7 +3005,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(56), 2, sym_comment, aux_sym__old_module_repeat1, - [1605] = 5, + [1663] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2973,7 +3017,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(169), 2, anon_sym_COMMA, anon_sym_RPAREN, - [1622] = 6, + [1680] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2986,7 +3030,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(97), 1, sym__equal_property, - [1641] = 5, + [1699] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -2998,7 +3042,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(59), 2, sym_comment, aux_sym__new_module_repeat1, - [1658] = 6, + [1716] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3011,7 +3055,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(91), 1, sym__colon_property, - [1677] = 6, + [1735] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3024,7 +3068,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(86), 1, aux_sym__old_module_repeat1, - [1696] = 5, + [1754] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3036,7 +3080,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(186), 2, anon_sym_COMMA, anon_sym_RBRACK, - [1713] = 6, + [1771] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3049,7 +3093,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(69), 1, aux_sym__new_module_repeat1, - [1732] = 5, + [1790] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3061,7 +3105,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(64), 2, sym_comment, aux_sym_list_expression_repeat1, - [1749] = 6, + [1807] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3074,7 +3118,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__old_module_repeat1, STATE(65), 1, sym_comment, - [1768] = 6, + [1826] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3087,7 +3131,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(96), 1, sym_condition, - [1787] = 6, + [1845] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3100,7 +3144,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(72), 1, aux_sym_select_value_repeat1, - [1806] = 6, + [1864] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3113,7 +3157,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(74), 1, aux_sym_condition_repeat1, - [1825] = 6, + [1883] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3126,7 +3170,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__new_module_repeat1, STATE(69), 1, sym_comment, - [1844] = 6, + [1902] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3139,7 +3183,7 @@ static const uint16_t ts_small_parse_table[] = { sym__colon_property, STATE(70), 1, sym_comment, - [1863] = 6, + [1921] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3152,7 +3196,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(96), 1, sym_condition, - [1882] = 5, + [1940] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3164,7 +3208,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(72), 2, sym_comment, aux_sym_select_value_repeat1, - [1899] = 6, + [1957] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3177,7 +3221,7 @@ static const uint16_t ts_small_parse_table[] = { sym__equal_property, STATE(73), 1, sym_comment, - [1918] = 6, + [1976] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3190,7 +3234,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(78), 1, aux_sym_condition_repeat1, - [1937] = 4, + [1995] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3201,7 +3245,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, anon_sym_RPAREN, anon_sym_COLON, - [1952] = 6, + [2010] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3214,7 +3258,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(80), 1, aux_sym_select_cases_repeat1, - [1971] = 6, + [2029] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3227,7 +3271,7 @@ static const uint16_t ts_small_parse_table[] = { sym__colon_property, STATE(77), 1, sym_comment, - [1990] = 5, + [2048] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3239,7 +3283,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(78), 2, sym_comment, aux_sym_condition_repeat1, - [2007] = 6, + [2065] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3252,7 +3296,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(82), 1, aux_sym_select_pattern_repeat1, - [2026] = 6, + [2084] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3265,7 +3309,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(84), 1, aux_sym_select_cases_repeat1, - [2045] = 6, + [2103] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3278,7 +3322,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(91), 1, sym__colon_property, - [2064] = 6, + [2122] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3291,7 +3335,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(87), 1, aux_sym_select_pattern_repeat1, - [2083] = 4, + [2141] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3302,7 +3346,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, anon_sym_RPAREN, anon_sym_COLON, - [2098] = 5, + [2156] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3314,7 +3358,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(84), 2, sym_comment, aux_sym_select_cases_repeat1, - [2115] = 5, + [2173] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3326,7 +3370,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(254), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2132] = 6, + [2190] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3339,7 +3383,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym__old_module_repeat1, STATE(86), 1, sym_comment, - [2151] = 5, + [2209] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3351,7 +3395,7 @@ static const uint16_t ts_small_parse_table[] = { STATE(87), 2, sym_comment, aux_sym_select_pattern_repeat1, - [2168] = 6, + [2226] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3364,7 +3408,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(97), 1, sym__equal_property, - [2187] = 5, + [2245] = 5, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -3376,7 +3420,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(269), 2, anon_sym_DQUOTE2, sym_escape_sequence, - [2204] = 5, + [2262] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3387,7 +3431,7 @@ static const uint16_t ts_small_parse_table[] = { sym_condition, STATE(90), 1, sym_comment, - [2220] = 4, + [2278] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3397,7 +3441,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(271), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2234] = 4, + [2292] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3407,7 +3451,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(273), 2, ts_builtin_sym_end, sym_identifier, - [2248] = 4, + [2306] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3417,7 +3461,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(275), 2, ts_builtin_sym_end, sym_identifier, - [2262] = 4, + [2320] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3427,7 +3471,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(277), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2276] = 4, + [2334] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3437,7 +3481,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(279), 2, ts_builtin_sym_end, sym_identifier, - [2290] = 4, + [2348] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3447,7 +3491,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(220), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2304] = 4, + [2362] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3457,7 +3501,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(281), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2318] = 4, + [2376] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3467,7 +3511,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(283), 2, ts_builtin_sym_end, sym_identifier, - [2332] = 4, + [2390] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3477,7 +3521,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(285), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2346] = 4, + [2404] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3487,7 +3531,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(287), 2, ts_builtin_sym_end, sym_identifier, - [2360] = 5, + [2418] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3498,7 +3542,7 @@ static const uint16_t ts_small_parse_table[] = { sym_condition, STATE(101), 1, sym_comment, - [2376] = 5, + [2434] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3509,7 +3553,7 @@ static const uint16_t ts_small_parse_table[] = { sym__equal_property, STATE(102), 1, sym_comment, - [2392] = 4, + [2450] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3519,7 +3563,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(289), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2406] = 4, + [2464] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3529,7 +3573,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(291), 2, ts_builtin_sym_end, sym_identifier, - [2420] = 4, + [2478] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3539,7 +3583,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(293), 2, ts_builtin_sym_end, sym_identifier, - [2434] = 4, + [2492] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3549,7 +3593,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(295), 2, ts_builtin_sym_end, sym_identifier, - [2448] = 5, + [2506] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3560,7 +3604,7 @@ static const uint16_t ts_small_parse_table[] = { sym_comment, STATE(122), 1, sym_select_cases, - [2464] = 4, + [2522] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3570,7 +3614,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(299), 2, ts_builtin_sym_end, sym_identifier, - [2478] = 4, + [2536] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3580,7 +3624,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(291), 2, ts_builtin_sym_end, sym_identifier, - [2492] = 4, + [2550] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3590,7 +3634,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(252), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2506] = 4, + [2564] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3600,7 +3644,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(301), 2, ts_builtin_sym_end, sym_identifier, - [2520] = 4, + [2578] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3610,7 +3654,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(254), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2534] = 4, + [2592] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3620,7 +3664,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(303), 2, ts_builtin_sym_end, sym_identifier, - [2548] = 4, + [2606] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3630,7 +3674,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(305), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2562] = 4, + [2620] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3640,7 +3684,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(263), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2576] = 4, + [2634] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3650,7 +3694,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(307), 2, ts_builtin_sym_end, sym_identifier, - [2590] = 5, + [2648] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3661,7 +3705,7 @@ static const uint16_t ts_small_parse_table[] = { sym__colon_property, STATE(117), 1, sym_comment, - [2606] = 4, + [2664] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3671,7 +3715,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(309), 2, ts_builtin_sym_end, sym_identifier, - [2620] = 4, + [2678] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3681,7 +3725,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(235), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2634] = 4, + [2692] = 4, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -3690,7 +3734,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_comment_token1, STATE(120), 1, sym_comment, - [2647] = 4, + [2705] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3699,7 +3743,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, STATE(121), 1, sym_comment, - [2660] = 4, + [2718] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3708,7 +3752,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(122), 1, sym_comment, - [2673] = 4, + [2731] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3717,7 +3761,7 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, STATE(123), 1, sym_comment, - [2686] = 4, + [2744] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3726,7 +3770,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, STATE(124), 1, sym_comment, - [2699] = 4, + [2757] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3735,7 +3779,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(125), 1, sym_comment, - [2712] = 4, + [2770] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3744,7 +3788,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(126), 1, sym_comment, - [2725] = 4, + [2783] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3753,7 +3797,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(127), 1, sym_comment, - [2738] = 4, + [2796] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3762,7 +3806,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, STATE(128), 1, sym_comment, - [2751] = 4, + [2809] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3771,7 +3815,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(129), 1, sym_comment, - [2764] = 4, + [2822] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3780,7 +3824,7 @@ static const uint16_t ts_small_parse_table[] = { ts_builtin_sym_end, STATE(130), 1, sym_comment, - [2777] = 4, + [2835] = 4, ACTIONS(102), 1, anon_sym_SLASH_SLASH, ACTIONS(104), 1, @@ -3789,7 +3833,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_comment_token2, STATE(131), 1, sym_comment, - [2790] = 4, + [2848] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3798,7 +3842,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(132), 1, sym_comment, - [2803] = 4, + [2861] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3807,7 +3851,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(133), 1, sym_comment, - [2816] = 4, + [2874] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3816,7 +3860,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, STATE(134), 1, sym_comment, - [2829] = 4, + [2887] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3825,7 +3869,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH, STATE(135), 1, sym_comment, - [2842] = 4, + [2900] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3834,7 +3878,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(136), 1, sym_comment, - [2855] = 4, + [2913] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3843,7 +3887,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(137), 1, sym_comment, - [2868] = 4, + [2926] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3852,7 +3896,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(138), 1, sym_comment, - [2881] = 4, + [2939] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3861,7 +3905,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, STATE(139), 1, sym_comment, - [2894] = 4, + [2952] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3870,7 +3914,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, STATE(140), 1, sym_comment, - [2907] = 4, + [2965] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3879,7 +3923,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COMMA, STATE(141), 1, sym_comment, - [2920] = 4, + [2978] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3888,7 +3932,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, STATE(142), 1, sym_comment, - [2933] = 4, + [2991] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3897,7 +3941,7 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_integer_literal_token1, STATE(143), 1, sym_comment, - [2946] = 4, + [3004] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -3906,10 +3950,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, STATE(144), 1, sym_comment, - [2959] = 1, + [3017] = 1, ACTIONS(361), 1, ts_builtin_sym_end, - [2963] = 1, + [3021] = 1, ACTIONS(363), 1, ts_builtin_sym_end, }; @@ -3925,141 +3969,141 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(9)] = 386, [SMALL_STATE(10)] = 439, [SMALL_STATE(11)] = 492, - [SMALL_STATE(12)] = 541, - [SMALL_STATE(13)] = 590, - [SMALL_STATE(14)] = 639, - [SMALL_STATE(15)] = 685, - [SMALL_STATE(16)] = 725, - [SMALL_STATE(17)] = 765, - [SMALL_STATE(18)] = 802, - [SMALL_STATE(19)] = 839, - [SMALL_STATE(20)] = 871, - [SMALL_STATE(21)] = 891, - [SMALL_STATE(22)] = 911, - [SMALL_STATE(23)] = 941, - [SMALL_STATE(24)] = 961, - [SMALL_STATE(25)] = 981, - [SMALL_STATE(26)] = 1000, - [SMALL_STATE(27)] = 1019, - [SMALL_STATE(28)] = 1038, - [SMALL_STATE(29)] = 1057, - [SMALL_STATE(30)] = 1076, - [SMALL_STATE(31)] = 1095, - [SMALL_STATE(32)] = 1114, - [SMALL_STATE(33)] = 1133, - [SMALL_STATE(34)] = 1152, - [SMALL_STATE(35)] = 1171, - [SMALL_STATE(36)] = 1190, - [SMALL_STATE(37)] = 1209, - [SMALL_STATE(38)] = 1228, - [SMALL_STATE(39)] = 1247, - [SMALL_STATE(40)] = 1266, - [SMALL_STATE(41)] = 1291, - [SMALL_STATE(42)] = 1311, - [SMALL_STATE(43)] = 1331, - [SMALL_STATE(44)] = 1353, - [SMALL_STATE(45)] = 1375, - [SMALL_STATE(46)] = 1397, - [SMALL_STATE(47)] = 1415, - [SMALL_STATE(48)] = 1437, - [SMALL_STATE(49)] = 1459, - [SMALL_STATE(50)] = 1478, - [SMALL_STATE(51)] = 1497, - [SMALL_STATE(52)] = 1516, - [SMALL_STATE(53)] = 1535, - [SMALL_STATE(54)] = 1552, - [SMALL_STATE(55)] = 1569, - [SMALL_STATE(56)] = 1588, - [SMALL_STATE(57)] = 1605, - [SMALL_STATE(58)] = 1622, - [SMALL_STATE(59)] = 1641, - [SMALL_STATE(60)] = 1658, - [SMALL_STATE(61)] = 1677, - [SMALL_STATE(62)] = 1696, - [SMALL_STATE(63)] = 1713, - [SMALL_STATE(64)] = 1732, - [SMALL_STATE(65)] = 1749, - [SMALL_STATE(66)] = 1768, - [SMALL_STATE(67)] = 1787, - [SMALL_STATE(68)] = 1806, - [SMALL_STATE(69)] = 1825, - [SMALL_STATE(70)] = 1844, - [SMALL_STATE(71)] = 1863, - [SMALL_STATE(72)] = 1882, - [SMALL_STATE(73)] = 1899, - [SMALL_STATE(74)] = 1918, - [SMALL_STATE(75)] = 1937, - [SMALL_STATE(76)] = 1952, - [SMALL_STATE(77)] = 1971, - [SMALL_STATE(78)] = 1990, - [SMALL_STATE(79)] = 2007, - [SMALL_STATE(80)] = 2026, - [SMALL_STATE(81)] = 2045, - [SMALL_STATE(82)] = 2064, - [SMALL_STATE(83)] = 2083, - [SMALL_STATE(84)] = 2098, - [SMALL_STATE(85)] = 2115, - [SMALL_STATE(86)] = 2132, - [SMALL_STATE(87)] = 2151, - [SMALL_STATE(88)] = 2168, - [SMALL_STATE(89)] = 2187, - [SMALL_STATE(90)] = 2204, - [SMALL_STATE(91)] = 2220, - [SMALL_STATE(92)] = 2234, - [SMALL_STATE(93)] = 2248, - [SMALL_STATE(94)] = 2262, - [SMALL_STATE(95)] = 2276, - [SMALL_STATE(96)] = 2290, - [SMALL_STATE(97)] = 2304, - [SMALL_STATE(98)] = 2318, - [SMALL_STATE(99)] = 2332, - [SMALL_STATE(100)] = 2346, - [SMALL_STATE(101)] = 2360, - [SMALL_STATE(102)] = 2376, - [SMALL_STATE(103)] = 2392, - [SMALL_STATE(104)] = 2406, - [SMALL_STATE(105)] = 2420, - [SMALL_STATE(106)] = 2434, - [SMALL_STATE(107)] = 2448, - [SMALL_STATE(108)] = 2464, - [SMALL_STATE(109)] = 2478, - [SMALL_STATE(110)] = 2492, - [SMALL_STATE(111)] = 2506, - [SMALL_STATE(112)] = 2520, - [SMALL_STATE(113)] = 2534, - [SMALL_STATE(114)] = 2548, - [SMALL_STATE(115)] = 2562, - [SMALL_STATE(116)] = 2576, - [SMALL_STATE(117)] = 2590, - [SMALL_STATE(118)] = 2606, - [SMALL_STATE(119)] = 2620, - [SMALL_STATE(120)] = 2634, - [SMALL_STATE(121)] = 2647, - [SMALL_STATE(122)] = 2660, - [SMALL_STATE(123)] = 2673, - [SMALL_STATE(124)] = 2686, - [SMALL_STATE(125)] = 2699, - [SMALL_STATE(126)] = 2712, - [SMALL_STATE(127)] = 2725, - [SMALL_STATE(128)] = 2738, - [SMALL_STATE(129)] = 2751, - [SMALL_STATE(130)] = 2764, - [SMALL_STATE(131)] = 2777, - [SMALL_STATE(132)] = 2790, - [SMALL_STATE(133)] = 2803, - [SMALL_STATE(134)] = 2816, - [SMALL_STATE(135)] = 2829, - [SMALL_STATE(136)] = 2842, - [SMALL_STATE(137)] = 2855, - [SMALL_STATE(138)] = 2868, - [SMALL_STATE(139)] = 2881, - [SMALL_STATE(140)] = 2894, - [SMALL_STATE(141)] = 2907, - [SMALL_STATE(142)] = 2920, - [SMALL_STATE(143)] = 2933, - [SMALL_STATE(144)] = 2946, - [SMALL_STATE(145)] = 2959, - [SMALL_STATE(146)] = 2963, + [SMALL_STATE(12)] = 548, + [SMALL_STATE(13)] = 604, + [SMALL_STATE(14)] = 660, + [SMALL_STATE(15)] = 713, + [SMALL_STATE(16)] = 760, + [SMALL_STATE(17)] = 807, + [SMALL_STATE(18)] = 851, + [SMALL_STATE(19)] = 895, + [SMALL_STATE(20)] = 927, + [SMALL_STATE(21)] = 947, + [SMALL_STATE(22)] = 967, + [SMALL_STATE(23)] = 987, + [SMALL_STATE(24)] = 1007, + [SMALL_STATE(25)] = 1037, + [SMALL_STATE(26)] = 1057, + [SMALL_STATE(27)] = 1077, + [SMALL_STATE(28)] = 1096, + [SMALL_STATE(29)] = 1115, + [SMALL_STATE(30)] = 1134, + [SMALL_STATE(31)] = 1153, + [SMALL_STATE(32)] = 1172, + [SMALL_STATE(33)] = 1191, + [SMALL_STATE(34)] = 1210, + [SMALL_STATE(35)] = 1229, + [SMALL_STATE(36)] = 1248, + [SMALL_STATE(37)] = 1267, + [SMALL_STATE(38)] = 1286, + [SMALL_STATE(39)] = 1305, + [SMALL_STATE(40)] = 1324, + [SMALL_STATE(41)] = 1349, + [SMALL_STATE(42)] = 1369, + [SMALL_STATE(43)] = 1389, + [SMALL_STATE(44)] = 1411, + [SMALL_STATE(45)] = 1433, + [SMALL_STATE(46)] = 1455, + [SMALL_STATE(47)] = 1473, + [SMALL_STATE(48)] = 1495, + [SMALL_STATE(49)] = 1517, + [SMALL_STATE(50)] = 1536, + [SMALL_STATE(51)] = 1555, + [SMALL_STATE(52)] = 1574, + [SMALL_STATE(53)] = 1593, + [SMALL_STATE(54)] = 1610, + [SMALL_STATE(55)] = 1627, + [SMALL_STATE(56)] = 1646, + [SMALL_STATE(57)] = 1663, + [SMALL_STATE(58)] = 1680, + [SMALL_STATE(59)] = 1699, + [SMALL_STATE(60)] = 1716, + [SMALL_STATE(61)] = 1735, + [SMALL_STATE(62)] = 1754, + [SMALL_STATE(63)] = 1771, + [SMALL_STATE(64)] = 1790, + [SMALL_STATE(65)] = 1807, + [SMALL_STATE(66)] = 1826, + [SMALL_STATE(67)] = 1845, + [SMALL_STATE(68)] = 1864, + [SMALL_STATE(69)] = 1883, + [SMALL_STATE(70)] = 1902, + [SMALL_STATE(71)] = 1921, + [SMALL_STATE(72)] = 1940, + [SMALL_STATE(73)] = 1957, + [SMALL_STATE(74)] = 1976, + [SMALL_STATE(75)] = 1995, + [SMALL_STATE(76)] = 2010, + [SMALL_STATE(77)] = 2029, + [SMALL_STATE(78)] = 2048, + [SMALL_STATE(79)] = 2065, + [SMALL_STATE(80)] = 2084, + [SMALL_STATE(81)] = 2103, + [SMALL_STATE(82)] = 2122, + [SMALL_STATE(83)] = 2141, + [SMALL_STATE(84)] = 2156, + [SMALL_STATE(85)] = 2173, + [SMALL_STATE(86)] = 2190, + [SMALL_STATE(87)] = 2209, + [SMALL_STATE(88)] = 2226, + [SMALL_STATE(89)] = 2245, + [SMALL_STATE(90)] = 2262, + [SMALL_STATE(91)] = 2278, + [SMALL_STATE(92)] = 2292, + [SMALL_STATE(93)] = 2306, + [SMALL_STATE(94)] = 2320, + [SMALL_STATE(95)] = 2334, + [SMALL_STATE(96)] = 2348, + [SMALL_STATE(97)] = 2362, + [SMALL_STATE(98)] = 2376, + [SMALL_STATE(99)] = 2390, + [SMALL_STATE(100)] = 2404, + [SMALL_STATE(101)] = 2418, + [SMALL_STATE(102)] = 2434, + [SMALL_STATE(103)] = 2450, + [SMALL_STATE(104)] = 2464, + [SMALL_STATE(105)] = 2478, + [SMALL_STATE(106)] = 2492, + [SMALL_STATE(107)] = 2506, + [SMALL_STATE(108)] = 2522, + [SMALL_STATE(109)] = 2536, + [SMALL_STATE(110)] = 2550, + [SMALL_STATE(111)] = 2564, + [SMALL_STATE(112)] = 2578, + [SMALL_STATE(113)] = 2592, + [SMALL_STATE(114)] = 2606, + [SMALL_STATE(115)] = 2620, + [SMALL_STATE(116)] = 2634, + [SMALL_STATE(117)] = 2648, + [SMALL_STATE(118)] = 2664, + [SMALL_STATE(119)] = 2678, + [SMALL_STATE(120)] = 2692, + [SMALL_STATE(121)] = 2705, + [SMALL_STATE(122)] = 2718, + [SMALL_STATE(123)] = 2731, + [SMALL_STATE(124)] = 2744, + [SMALL_STATE(125)] = 2757, + [SMALL_STATE(126)] = 2770, + [SMALL_STATE(127)] = 2783, + [SMALL_STATE(128)] = 2796, + [SMALL_STATE(129)] = 2809, + [SMALL_STATE(130)] = 2822, + [SMALL_STATE(131)] = 2835, + [SMALL_STATE(132)] = 2848, + [SMALL_STATE(133)] = 2861, + [SMALL_STATE(134)] = 2874, + [SMALL_STATE(135)] = 2887, + [SMALL_STATE(136)] = 2900, + [SMALL_STATE(137)] = 2913, + [SMALL_STATE(138)] = 2926, + [SMALL_STATE(139)] = 2939, + [SMALL_STATE(140)] = 2952, + [SMALL_STATE(141)] = 2965, + [SMALL_STATE(142)] = 2978, + [SMALL_STATE(143)] = 2991, + [SMALL_STATE(144)] = 3004, + [SMALL_STATE(145)] = 3017, + [SMALL_STATE(146)] = 3021, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -4070,16 +4114,16 @@ static const TSParseActionEntry ts_parse_actions[] = { [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), @@ -4094,24 +4138,24 @@ static const TSParseActionEntry ts_parse_actions[] = { [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0), [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 3, 0, 0), [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1, 0, 0), - [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), - [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(42), - [66] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 2, 0, 0), - [68] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__string_literal, 1, 0, 0), - [70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1, 0, 0), - [72] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, 0, 5), - [74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 3, 0, 5), - [76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 3, 0, 6), - [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, 0, 7), - [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, 0, 6), - [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, 0, 11), - [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 2, 0, 0), - [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, 0, 12), - [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 2, 0, 0), - [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 5, 0, 11), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 1, 0, 0), + [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 2, 0, 0), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), + [67] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(42), + [70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 2, 0, 0), + [72] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__string_literal, 1, 0, 0), + [74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1, 0, 0), + [76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, 0, 5), + [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 3, 0, 5), + [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 3, 0, 6), + [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, 0, 7), + [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, 0, 6), + [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, 0, 11), + [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 2, 0, 0), + [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, 0, 12), [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_expression, 6, 0, 0), [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 5, 0, 12), - [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 1, 0, 0), + [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 5, 0, 11), [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 2, 0, 0), [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), [102] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), @@ -4130,17 +4174,17 @@ static const TSParseActionEntry ts_parse_actions[] = { [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__select_pattern, 1, 0, 0), [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), [154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, 0, 2), [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__colon_property, 3, 0, 8), [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), @@ -4151,7 +4195,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), [175] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, 0, 10), SHIFT_REPEAT(102), [178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, 0, 10), - [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, 0, 6), @@ -4160,7 +4204,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [192] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, 0, 13), SHIFT_REPEAT(10), [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, 0, 13), [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), @@ -4175,7 +4219,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), [228] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [230] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), [232] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2, 0, 0), SHIFT_REPEAT(43), [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2, 0, 0), [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), @@ -4237,7 +4281,7 @@ static const TSParseActionEntry ts_parse_actions[] = { [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 4, 0, 0), [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 5, 0, 0), [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 5, 0, 0), - [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0), [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 0), diff --git a/test/corpus/select.txt b/test/corpus/select.txt index 7fb9f3d..c06c76e 100644 --- a/test/corpus/select.txt +++ b/test/corpus/select.txt @@ -409,6 +409,46 @@ foo = select(some_boolean("IS_TRUE"), { (boolean_literal)) (interpreted_string_literal)))))) +================================================================================ +Select (integer typed) +================================================================================ + +foo = select(some_integer("VALUE"), { + 0: "0", + -1: "-1", + 1: "1", + default: "default", +}) + +-------------------------------------------------------------------------------- + +(source_file + (assignment + (identifier) + (operator) + (select_expression + (select_value + (condition + (identifier) + (interpreted_string_literal))) + (select_cases + (select_case + (select_pattern + (integer_literal)) + (interpreted_string_literal)) + (select_case + (select_pattern + (integer_literal)) + (interpreted_string_literal)) + (select_case + (select_pattern + (integer_literal)) + (interpreted_string_literal)) + (select_case + (select_pattern + (default)) + (interpreted_string_literal)))))) + ================================================================================ Select as an identifier ================================================================================