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