diff --git a/grammar.js b/grammar.js index 0c3bc4a..1a9c8e9 100644 --- a/grammar.js +++ b/grammar.js @@ -145,7 +145,7 @@ module.exports = grammar({ select_cases: ($) => seq( "{", - optional(commaSeparatedTrailing($.select_case)), + optional(commaSeparatedOptTrailing($.select_case)), "}", ), diff --git a/src/grammar.json b/src/grammar.json index d54a443..369d802 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -614,20 +614,41 @@ "type": "CHOICE", "members": [ { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "select_case" - }, - { - "type": "STRING", - "value": "," + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "select_case" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "select_case" + } + ] } - ] - } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "BLANK" + } + ] + } + ] }, { "type": "BLANK" diff --git a/src/parser.c b/src/parser.c index 5e0ef96..bf2a2bd 100644 --- a/src/parser.c +++ b/src/parser.c @@ -5,7 +5,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 142 +#define STATE_COUNT 147 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 67 #define ALIAS_COUNT 0 @@ -763,6 +763,11 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [139] = 139, [140] = 140, [141] = 141, + [142] = 142, + [143] = 143, + [144] = 144, + [145] = 145, + [146] = 146, }; static inline bool sym_identifier_character_set_1(int32_t c) { @@ -4250,8 +4255,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [15] = {.lex_state = 3}, [16] = {.lex_state = 3}, [17] = {.lex_state = 3}, - [18] = {.lex_state = 39}, - [19] = {.lex_state = 3}, + [18] = {.lex_state = 3}, + [19] = {.lex_state = 39}, [20] = {.lex_state = 39}, [21] = {.lex_state = 39}, [22] = {.lex_state = 39}, @@ -4273,96 +4278,96 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [38] = {.lex_state = 39}, [39] = {.lex_state = 39}, [40] = {.lex_state = 39}, - [41] = {.lex_state = 0}, + [41] = {.lex_state = 1}, [42] = {.lex_state = 39}, [43] = {.lex_state = 39}, - [44] = {.lex_state = 1}, - [45] = {.lex_state = 4}, - [46] = {.lex_state = 1}, - [47] = {.lex_state = 39}, + [44] = {.lex_state = 4}, + [45] = {.lex_state = 39}, + [46] = {.lex_state = 0}, + [47] = {.lex_state = 1}, [48] = {.lex_state = 1}, - [49] = {.lex_state = 39}, - [50] = {.lex_state = 39}, + [49] = {.lex_state = 0}, + [50] = {.lex_state = 0}, [51] = {.lex_state = 0}, - [52] = {.lex_state = 1}, + [52] = {.lex_state = 0}, [53] = {.lex_state = 39}, [54] = {.lex_state = 0}, - [55] = {.lex_state = 0}, - [56] = {.lex_state = 39}, + [55] = {.lex_state = 39}, + [56] = {.lex_state = 0}, [57] = {.lex_state = 0}, [58] = {.lex_state = 0}, - [59] = {.lex_state = 39}, + [59] = {.lex_state = 0}, [60] = {.lex_state = 0}, - [61] = {.lex_state = 0}, - [62] = {.lex_state = 0}, + [61] = {.lex_state = 39}, + [62] = {.lex_state = 1}, [63] = {.lex_state = 0}, - [64] = {.lex_state = 0}, - [65] = {.lex_state = 0}, - [66] = {.lex_state = 39}, + [64] = {.lex_state = 39}, + [65] = {.lex_state = 39}, + [66] = {.lex_state = 0}, [67] = {.lex_state = 39}, [68] = {.lex_state = 39}, - [69] = {.lex_state = 39}, - [70] = {.lex_state = 0}, - [71] = {.lex_state = 0}, - [72] = {.lex_state = 0}, + [69] = {.lex_state = 0}, + [70] = {.lex_state = 39}, + [71] = {.lex_state = 39}, + [72] = {.lex_state = 39}, [73] = {.lex_state = 0}, [74] = {.lex_state = 39}, - [75] = {.lex_state = 39}, + [75] = {.lex_state = 0}, [76] = {.lex_state = 0}, [77] = {.lex_state = 39}, - [78] = {.lex_state = 39}, + [78] = {.lex_state = 0}, [79] = {.lex_state = 0}, [80] = {.lex_state = 0}, - [81] = {.lex_state = 0}, - [82] = {.lex_state = 0}, + [81] = {.lex_state = 39}, + [82] = {.lex_state = 39}, [83] = {.lex_state = 0}, - [84] = {.lex_state = 39}, - [85] = {.lex_state = 39}, + [84] = {.lex_state = 0}, + [85] = {.lex_state = 0}, [86] = {.lex_state = 39}, [87] = {.lex_state = 39}, [88] = {.lex_state = 0}, - [89] = {.lex_state = 39}, + [89] = {.lex_state = 0}, [90] = {.lex_state = 39}, - [91] = {.lex_state = 39}, - [92] = {.lex_state = 39}, + [91] = {.lex_state = 0}, + [92] = {.lex_state = 0}, [93] = {.lex_state = 39}, [94] = {.lex_state = 39}, - [95] = {.lex_state = 0}, + [95] = {.lex_state = 39}, [96] = {.lex_state = 0}, [97] = {.lex_state = 39}, [98] = {.lex_state = 39}, [99] = {.lex_state = 39}, - [100] = {.lex_state = 39}, - [101] = {.lex_state = 39}, - [102] = {.lex_state = 39}, + [100] = {.lex_state = 0}, + [101] = {.lex_state = 0}, + [102] = {.lex_state = 0}, [103] = {.lex_state = 0}, [104] = {.lex_state = 39}, - [105] = {.lex_state = 39}, + [105] = {.lex_state = 0}, [106] = {.lex_state = 39}, [107] = {.lex_state = 0}, - [108] = {.lex_state = 0}, + [108] = {.lex_state = 39}, [109] = {.lex_state = 0}, [110] = {.lex_state = 39}, [111] = {.lex_state = 0}, [112] = {.lex_state = 39}, - [113] = {.lex_state = 0}, - [114] = {.lex_state = 0}, - [115] = {.lex_state = 0}, - [116] = {.lex_state = 0}, - [117] = {.lex_state = 7}, - [118] = {.lex_state = 0}, - [119] = {.lex_state = 0}, + [113] = {.lex_state = 39}, + [114] = {.lex_state = 39}, + [115] = {.lex_state = 39}, + [116] = {.lex_state = 39}, + [117] = {.lex_state = 0}, + [118] = {.lex_state = 39}, + [119] = {.lex_state = 39}, [120] = {.lex_state = 0}, [121] = {.lex_state = 0}, [122] = {.lex_state = 0}, - [123] = {.lex_state = 0}, - [124] = {.lex_state = 39}, + [123] = {.lex_state = 39}, + [124] = {.lex_state = 0}, [125] = {.lex_state = 0}, [126] = {.lex_state = 0}, [127] = {.lex_state = 0}, - [128] = {.lex_state = 46}, + [128] = {.lex_state = 0}, [129] = {.lex_state = 0}, - [130] = {.lex_state = 0}, + [130] = {.lex_state = 7}, [131] = {.lex_state = 0}, [132] = {.lex_state = 0}, [133] = {.lex_state = 0}, @@ -4372,8 +4377,13 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [137] = {.lex_state = 0}, [138] = {.lex_state = 0}, [139] = {.lex_state = 0}, - [140] = {(TSStateId)(-1)}, - [141] = {(TSStateId)(-1)}, + [140] = {.lex_state = 46}, + [141] = {.lex_state = 0}, + [142] = {.lex_state = 0}, + [143] = {.lex_state = 0}, + [144] = {.lex_state = 0}, + [145] = {(TSStateId)(-1)}, + [146] = {(TSStateId)(-1)}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -4410,14 +4420,14 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PLUS] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(138), - [sym__definition] = STATE(101), + [sym_source_file] = STATE(121), + [sym__definition] = STATE(94), [sym_comment] = STATE(1), - [sym_assignment] = STATE(102), - [sym_module] = STATE(102), - [sym__old_module] = STATE(104), - [sym__new_module] = STATE(106), - [aux_sym_source_file_repeat1] = STATE(21), + [sym_assignment] = STATE(99), + [sym_module] = STATE(99), + [sym__old_module] = STATE(108), + [sym__new_module] = STATE(110), + [aux_sym_source_file_repeat1] = STATE(24), [ts_builtin_sym_end] = ACTIONS(7), [anon_sym_SLASH_SLASH] = ACTIONS(3), [anon_sym_SLASH_STAR] = ACTIONS(5), @@ -4451,16 +4461,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(2), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(98), 1, + STATE(72), 1, sym__expr, - STATE(135), 1, + STATE(102), 1, sym__case_value, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4493,14 +4503,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(3), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(84), 1, + STATE(82), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4533,14 +4543,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(4), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(84), 1, + STATE(82), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4573,14 +4583,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, STATE(5), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(42), 1, + STATE(43), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4611,14 +4621,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(6), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(66), 1, + STATE(33), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4649,14 +4659,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(7), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(49), 1, + STATE(82), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4687,14 +4697,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(8), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(28), 1, + STATE(71), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4725,14 +4735,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(9), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(85), 1, + STATE(65), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4763,14 +4773,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACK, STATE(10), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(84), 1, + STATE(81), 1, sym__expr, ACTIONS(15), 2, anon_sym_true, anon_sym_false, - STATE(37), 7, + STATE(38), 7, sym_boolean_literal, sym_integer_literal, sym__string_literal, @@ -4783,73 +4793,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(21), 1, + sym_raw_string_literal, + ACTIONS(23), 1, + anon_sym_DQUOTE, ACTIONS(37), 1, anon_sym_RBRACE, ACTIONS(39), 1, anon_sym_LPAREN, + ACTIONS(43), 1, + anon_sym_any, ACTIONS(45), 1, - sym_raw_string_literal, - ACTIONS(48), 1, - anon_sym_DQUOTE, - ACTIONS(51), 1, - anon_sym_any, - ACTIONS(54), 1, - anon_sym_default, - STATE(23), 1, - sym_interpreted_string_literal, - STATE(119), 1, - sym_select_pattern, - STATE(121), 1, - sym_select_case, - STATE(127), 1, - sym__select_pattern, - ACTIONS(42), 2, - anon_sym_true, - anon_sym_false, - STATE(11), 2, - sym_comment, - aux_sym_select_cases_repeat1, - STATE(64), 3, - sym_boolean_literal, - sym__string_literal, - sym_pattern_binding, - [542] = 16, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(21), 1, - sym_raw_string_literal, - ACTIONS(23), 1, - anon_sym_DQUOTE, - ACTIONS(57), 1, - anon_sym_RBRACE, - ACTIONS(59), 1, - anon_sym_LPAREN, - ACTIONS(63), 1, - anon_sym_any, - ACTIONS(65), 1, anon_sym_default, STATE(11), 1, - aux_sym_select_cases_repeat1, - STATE(12), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(119), 1, - sym_select_pattern, - STATE(121), 1, + STATE(111), 1, sym_select_case, - STATE(127), 1, + STATE(122), 1, sym__select_pattern, - ACTIONS(61), 2, + STATE(126), 1, + sym_select_pattern, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [594] = 16, + [541] = 15, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -4858,34 +4831,66 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(59), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(63), 1, + ACTIONS(43), 1, anon_sym_any, - ACTIONS(65), 1, + ACTIONS(45), 1, anon_sym_default, - ACTIONS(67), 1, + ACTIONS(47), 1, anon_sym_RBRACE, STATE(12), 1, - aux_sym_select_cases_repeat1, + sym_comment, + STATE(19), 1, + sym_interpreted_string_literal, + STATE(111), 1, + sym_select_case, + STATE(122), 1, + sym__select_pattern, + STATE(126), 1, + sym_select_pattern, + ACTIONS(41), 2, + anon_sym_true, + anon_sym_false, + STATE(51), 3, + sym_boolean_literal, + sym__string_literal, + sym_pattern_binding, + [590] = 15, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(21), 1, + sym_raw_string_literal, + ACTIONS(23), 1, + anon_sym_DQUOTE, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(43), 1, + anon_sym_any, + ACTIONS(45), 1, + anon_sym_default, + ACTIONS(49), 1, + anon_sym_RBRACE, STATE(13), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(119), 1, - sym_select_pattern, - STATE(121), 1, + STATE(60), 1, sym_select_case, - STATE(127), 1, + STATE(122), 1, sym__select_pattern, - ACTIONS(61), 2, + STATE(126), 1, + sym_select_pattern, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [646] = 12, + [639] = 14, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -4894,26 +4899,30 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(63), 1, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(43), 1, anon_sym_any, - ACTIONS(65), 1, + ACTIONS(45), 1, anon_sym_default, - ACTIONS(69), 1, - anon_sym_RPAREN, STATE(14), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(95), 1, + STATE(111), 1, + sym_select_case, + STATE(122), 1, sym__select_pattern, - ACTIONS(61), 2, + STATE(126), 1, + sym_select_pattern, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [686] = 12, + [685] = 12, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -4922,26 +4931,26 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(63), 1, + ACTIONS(43), 1, anon_sym_any, - ACTIONS(65), 1, + ACTIONS(45), 1, anon_sym_default, - ACTIONS(71), 1, + ACTIONS(51), 1, anon_sym_RPAREN, STATE(15), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(95), 1, + STATE(100), 1, sym__select_pattern, - ACTIONS(61), 2, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [726] = 11, + [725] = 12, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -4950,24 +4959,26 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(63), 1, + ACTIONS(43), 1, anon_sym_any, - ACTIONS(65), 1, + ACTIONS(45), 1, anon_sym_default, + ACTIONS(53), 1, + anon_sym_RPAREN, STATE(16), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(95), 1, + STATE(100), 1, sym__select_pattern, - ACTIONS(61), 2, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [763] = 11, + [765] = 11, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -4976,63 +4987,73 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(63), 1, + ACTIONS(43), 1, anon_sym_any, - ACTIONS(65), 1, + ACTIONS(45), 1, anon_sym_default, STATE(17), 1, sym_comment, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(62), 1, + STATE(100), 1, sym__select_pattern, - ACTIONS(61), 2, + ACTIONS(41), 2, anon_sym_true, anon_sym_false, - STATE(64), 3, + STATE(51), 3, sym_boolean_literal, sym__string_literal, sym_pattern_binding, - [800] = 4, + [802] = 11, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(21), 1, + sym_raw_string_literal, + ACTIONS(23), 1, + anon_sym_DQUOTE, + ACTIONS(43), 1, + anon_sym_any, + ACTIONS(45), 1, + anon_sym_default, STATE(18), 1, sym_comment, - ACTIONS(73), 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, - [820] = 4, + STATE(19), 1, + sym_interpreted_string_literal, + STATE(80), 1, + sym__select_pattern, + ACTIONS(41), 2, + anon_sym_true, + anon_sym_false, + STATE(51), 3, + sym_boolean_literal, + sym__string_literal, + sym_pattern_binding, + [839] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(19), 1, sym_comment, - ACTIONS(37), 8, + ACTIONS(55), 8, + ts_builtin_sym_end, + anon_sym_COMMA, anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_true, - anon_sym_false, - sym_raw_string_literal, - anon_sym_DQUOTE, - anon_sym_any, - anon_sym_default, - [840] = 4, + anon_sym_RPAREN, + sym_identifier, + anon_sym_COLON, + anon_sym_RBRACK, + anon_sym_PLUS, + [859] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(20), 1, sym_comment, - ACTIONS(75), 8, + ACTIONS(57), 8, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5041,36 +5062,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [860] = 10, + [879] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(9), 1, - sym_identifier, - ACTIONS(77), 1, - ts_builtin_sym_end, STATE(21), 1, sym_comment, - STATE(24), 1, - aux_sym_source_file_repeat1, - STATE(101), 1, - sym__definition, - STATE(104), 1, - sym__old_module, - STATE(106), 1, - sym__new_module, - STATE(102), 2, - sym_assignment, - sym_module, - [892] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - STATE(22), 1, - sym_comment, - ACTIONS(79), 8, + ACTIONS(59), 8, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5079,14 +5078,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [912] = 4, + [899] = 9, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(61), 1, + ts_builtin_sym_end, + ACTIONS(63), 1, + sym_identifier, + STATE(94), 1, + sym__definition, + STATE(108), 1, + sym__old_module, + STATE(110), 1, + sym__new_module, + STATE(22), 2, + sym_comment, + aux_sym_source_file_repeat1, + STATE(99), 2, + sym_assignment, + sym_module, + [929] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(23), 1, sym_comment, - ACTIONS(81), 8, + ACTIONS(66), 8, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5095,50 +5115,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLON, anon_sym_RBRACK, anon_sym_PLUS, - [932] = 9, + [949] = 10, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(83), 1, - ts_builtin_sym_end, - ACTIONS(85), 1, + ACTIONS(9), 1, sym_identifier, - STATE(101), 1, - sym__definition, - STATE(104), 1, - sym__old_module, - STATE(106), 1, - sym__new_module, - STATE(24), 2, - sym_comment, + ACTIONS(68), 1, + ts_builtin_sym_end, + STATE(22), 1, aux_sym_source_file_repeat1, - STATE(102), 2, + STATE(24), 1, + sym_comment, + STATE(94), 1, + sym__definition, + STATE(108), 1, + sym__old_module, + STATE(110), 1, + sym__new_module, + STATE(99), 2, sym_assignment, sym_module, - [962] = 4, + [981] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(25), 1, sym_comment, - ACTIONS(88), 7, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_RBRACE, - anon_sym_RPAREN, - sym_identifier, - anon_sym_RBRACK, - anon_sym_PLUS, - [981] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - STATE(26), 1, - sym_comment, - ACTIONS(90), 7, + ACTIONS(70), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5151,9 +5157,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(27), 1, + STATE(26), 1, sym_comment, - ACTIONS(92), 7, + ACTIONS(72), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5166,9 +5172,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(28), 1, + STATE(27), 1, sym_comment, - ACTIONS(94), 7, + ACTIONS(74), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5181,9 +5187,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(29), 1, + STATE(28), 1, sym_comment, - ACTIONS(96), 7, + ACTIONS(76), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5196,9 +5202,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(30), 1, + STATE(29), 1, sym_comment, - ACTIONS(98), 7, + ACTIONS(78), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5211,9 +5217,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(31), 1, + STATE(30), 1, sym_comment, - ACTIONS(100), 7, + ACTIONS(80), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5226,9 +5232,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(32), 1, + STATE(31), 1, sym_comment, - ACTIONS(102), 7, + ACTIONS(82), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5241,9 +5247,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(33), 1, + STATE(32), 1, sym_comment, - ACTIONS(104), 7, + ACTIONS(84), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5256,9 +5262,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(34), 1, + STATE(33), 1, sym_comment, - ACTIONS(106), 7, + ACTIONS(86), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5271,9 +5277,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(35), 1, + STATE(34), 1, sym_comment, - ACTIONS(108), 7, + ACTIONS(88), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5286,9 +5292,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(36), 1, + STATE(35), 1, sym_comment, - ACTIONS(110), 7, + ACTIONS(90), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5301,9 +5307,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(37), 1, + STATE(36), 1, sym_comment, - ACTIONS(112), 7, + ACTIONS(92), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5316,9 +5322,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(38), 1, + STATE(37), 1, sym_comment, - ACTIONS(114), 7, + ACTIONS(94), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5331,9 +5337,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - STATE(39), 1, + STATE(38), 1, sym_comment, - ACTIONS(116), 7, + ACTIONS(96), 7, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_RBRACE, @@ -5341,7 +5347,22 @@ static const uint16_t ts_small_parse_table[] = { sym_identifier, anon_sym_RBRACK, anon_sym_PLUS, - [1247] = 8, + [1247] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + STATE(39), 1, + sym_comment, + ACTIONS(98), 7, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_RBRACE, + anon_sym_RPAREN, + sym_identifier, + anon_sym_RBRACK, + anon_sym_PLUS, + [1266] = 8, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -5350,102 +5371,74 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - ACTIONS(118), 1, + ACTIONS(100), 1, anon_sym_RPAREN, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, STATE(40), 1, sym_comment, - STATE(79), 1, + STATE(89), 1, sym__string_literal, - [1272] = 5, + [1291] = 7, + ACTIONS(102), 1, + anon_sym_SLASH_SLASH, + ACTIONS(104), 1, + anon_sym_SLASH_STAR, + ACTIONS(106), 1, + aux_sym_interpreted_string_literal_token1, + ACTIONS(108), 1, + anon_sym_DQUOTE2, + ACTIONS(110), 1, + sym_escape_sequence, + STATE(41), 1, + sym_comment, + STATE(48), 1, + aux_sym_interpreted_string_literal_repeat1, + [1313] = 7, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(122), 1, - anon_sym_AT, - STATE(41), 1, + ACTIONS(112), 1, + anon_sym_LPAREN, + ACTIONS(114), 1, + sym_identifier, + STATE(42), 1, sym_comment, - ACTIONS(120), 3, + STATE(135), 1, + sym_select_value, + STATE(137), 1, + sym_condition, + [1335] = 7, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(116), 1, anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_COLON, - [1290] = 7, + ACTIONS(118), 1, + anon_sym_RBRACK, + ACTIONS(120), 1, + anon_sym_PLUS, + STATE(43), 1, + sym_comment, + STATE(63), 1, + aux_sym_list_expression_repeat1, + [1357] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, ACTIONS(124), 1, - anon_sym_COMMA, + anon_sym_LBRACE, ACTIONS(126), 1, - anon_sym_RBRACK, - ACTIONS(128), 1, - anon_sym_PLUS, - STATE(42), 1, - sym_comment, - STATE(65), 1, - aux_sym_list_expression_repeat1, - [1312] = 7, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(130), 1, anon_sym_LPAREN, - ACTIONS(132), 1, - sym_identifier, - STATE(43), 1, - sym_comment, - STATE(122), 1, - sym_condition, - STATE(123), 1, - sym_select_value, - [1334] = 7, - ACTIONS(134), 1, - anon_sym_SLASH_SLASH, - ACTIONS(136), 1, - anon_sym_SLASH_STAR, - ACTIONS(138), 1, - aux_sym_interpreted_string_literal_token1, - ACTIONS(140), 1, - anon_sym_DQUOTE2, - ACTIONS(142), 1, - sym_escape_sequence, STATE(44), 1, sym_comment, - STATE(48), 1, - aux_sym_interpreted_string_literal_repeat1, - [1356] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(146), 1, - anon_sym_LBRACE, - ACTIONS(148), 1, - anon_sym_LPAREN, - STATE(45), 1, - sym_comment, - ACTIONS(144), 2, + ACTIONS(122), 2, anon_sym_EQ, anon_sym_PLUS_EQ, - [1376] = 7, - ACTIONS(134), 1, - anon_sym_SLASH_SLASH, - ACTIONS(136), 1, - anon_sym_SLASH_STAR, - ACTIONS(138), 1, - aux_sym_interpreted_string_literal_token1, - ACTIONS(142), 1, - sym_escape_sequence, - ACTIONS(150), 1, - anon_sym_DQUOTE2, - STATE(44), 1, - aux_sym_interpreted_string_literal_repeat1, - STATE(46), 1, - sym_comment, - [1398] = 7, + [1377] = 7, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -5454,304 +5447,394 @@ static const uint16_t ts_small_parse_table[] = { sym_raw_string_literal, ACTIONS(23), 1, anon_sym_DQUOTE, - STATE(23), 1, + STATE(19), 1, sym_interpreted_string_literal, - STATE(47), 1, + STATE(45), 1, sym_comment, - STATE(113), 1, + STATE(91), 1, sym__string_literal, - [1420] = 6, - ACTIONS(134), 1, - anon_sym_SLASH_SLASH, - ACTIONS(136), 1, - anon_sym_SLASH_STAR, - ACTIONS(152), 1, - aux_sym_interpreted_string_literal_token1, - ACTIONS(155), 1, - anon_sym_DQUOTE2, - ACTIONS(157), 1, - sym_escape_sequence, - STATE(48), 2, - sym_comment, - aux_sym_interpreted_string_literal_repeat1, - [1440] = 5, + [1399] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(128), 1, - anon_sym_PLUS, - STATE(49), 1, + ACTIONS(130), 1, + anon_sym_AT, + STATE(46), 1, sym_comment, - ACTIONS(160), 2, + ACTIONS(128), 3, anon_sym_COMMA, anon_sym_RPAREN, - [1457] = 6, - ACTIONS(3), 1, + anon_sym_COLON, + [1417] = 6, + ACTIONS(102), 1, anon_sym_SLASH_SLASH, - ACTIONS(5), 1, + ACTIONS(104), 1, anon_sym_SLASH_STAR, ACTIONS(132), 1, - sym_identifier, - ACTIONS(162), 1, - anon_sym_RPAREN, - STATE(50), 1, + aux_sym_interpreted_string_literal_token1, + ACTIONS(135), 1, + anon_sym_DQUOTE2, + ACTIONS(137), 1, + sym_escape_sequence, + STATE(47), 2, sym_comment, - STATE(103), 1, - sym_condition, - [1476] = 6, + aux_sym_interpreted_string_literal_repeat1, + [1437] = 7, + ACTIONS(102), 1, + anon_sym_SLASH_SLASH, + ACTIONS(104), 1, + anon_sym_SLASH_STAR, + ACTIONS(106), 1, + aux_sym_interpreted_string_literal_token1, + ACTIONS(110), 1, + sym_escape_sequence, + ACTIONS(140), 1, + anon_sym_DQUOTE2, + STATE(47), 1, + aux_sym_interpreted_string_literal_repeat1, + STATE(48), 1, + sym_comment, + [1459] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(164), 1, + ACTIONS(142), 1, anon_sym_COMMA, - ACTIONS(166), 1, + ACTIONS(144), 1, anon_sym_RBRACE, + STATE(49), 1, + sym_comment, + STATE(54), 1, + aux_sym__old_module_repeat1, + [1478] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(146), 1, + anon_sym_COMMA, + ACTIONS(149), 1, + anon_sym_RBRACE, + STATE(50), 2, + sym_comment, + aux_sym__old_module_repeat1, + [1495] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, STATE(51), 1, sym_comment, - STATE(60), 1, - aux_sym__old_module_repeat1, - [1495] = 5, - ACTIONS(134), 1, - anon_sym_SLASH_SLASH, - ACTIONS(136), 1, - anon_sym_SLASH_STAR, - ACTIONS(168), 1, - aux_sym_interpreted_string_literal_token1, - STATE(52), 1, - sym_comment, - ACTIONS(170), 2, - anon_sym_DQUOTE2, - sym_escape_sequence, - [1512] = 6, + ACTIONS(128), 3, + anon_sym_COMMA, + anon_sym_RPAREN, + anon_sym_COLON, + [1510] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(172), 1, + ACTIONS(151), 1, + anon_sym_COMMA, + ACTIONS(153), 1, + anon_sym_RPAREN, + STATE(52), 1, + sym_comment, + STATE(75), 1, + aux_sym__new_module_repeat1, + [1529] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(155), 1, anon_sym_RBRACE, - ACTIONS(174), 1, + ACTIONS(157), 1, sym_identifier, STATE(53), 1, sym_comment, - STATE(111), 1, + STATE(105), 1, sym__colon_property, - [1531] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(176), 1, - anon_sym_COMMA, - ACTIONS(179), 1, - anon_sym_RPAREN, - STATE(54), 2, - sym_comment, - aux_sym_select_pattern_repeat1, [1548] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(181), 1, + ACTIONS(159), 1, anon_sym_COMMA, - ACTIONS(183), 1, + ACTIONS(161), 1, anon_sym_RBRACE, - STATE(55), 1, - sym_comment, - STATE(71), 1, + STATE(50), 1, aux_sym__old_module_repeat1, + STATE(54), 1, + sym_comment, [1567] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(185), 1, + ACTIONS(163), 1, anon_sym_RPAREN, - ACTIONS(187), 1, + ACTIONS(165), 1, sym_identifier, - STATE(56), 1, + STATE(55), 1, sym_comment, - STATE(108), 1, + STATE(73), 1, sym__equal_property, - [1586] = 4, + [1586] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(53), 1, + anon_sym_RPAREN, + ACTIONS(167), 1, + anon_sym_COMMA, + STATE(56), 1, + sym_comment, + STATE(83), 1, + aux_sym_select_pattern_repeat1, + [1605] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(169), 1, + anon_sym_COMMA, + ACTIONS(171), 1, + anon_sym_RBRACE, + STATE(50), 1, + aux_sym__old_module_repeat1, STATE(57), 1, sym_comment, - ACTIONS(189), 3, + [1624] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + STATE(58), 1, + sym_comment, + ACTIONS(173), 3, anon_sym_COMMA, anon_sym_RPAREN, anon_sym_COLON, - [1601] = 6, + [1639] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(191), 1, + ACTIONS(175), 1, anon_sym_COMMA, - ACTIONS(193), 1, + ACTIONS(177), 1, anon_sym_RPAREN, - STATE(58), 1, - sym_comment, - STATE(76), 1, - aux_sym__new_module_repeat1, - [1620] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(174), 1, - sym_identifier, - ACTIONS(195), 1, - anon_sym_RBRACE, STATE(59), 1, sym_comment, - STATE(111), 1, + STATE(76), 1, + aux_sym_condition_repeat1, + [1658] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(179), 1, + anon_sym_COMMA, + ACTIONS(181), 1, + anon_sym_RBRACE, + STATE(60), 1, + sym_comment, + STATE(84), 1, + aux_sym_select_cases_repeat1, + [1677] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(183), 1, + anon_sym_RBRACE, + STATE(61), 1, + sym_comment, + STATE(105), 1, sym__colon_property, - [1639] = 6, + [1696] = 5, + ACTIONS(102), 1, + anon_sym_SLASH_SLASH, + ACTIONS(104), 1, + anon_sym_SLASH_STAR, + ACTIONS(185), 1, + aux_sym_interpreted_string_literal_token1, + STATE(62), 1, + sym_comment, + ACTIONS(187), 2, + anon_sym_DQUOTE2, + sym_escape_sequence, + [1713] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(189), 1, + anon_sym_COMMA, + ACTIONS(191), 1, + anon_sym_RBRACK, + STATE(63), 1, + sym_comment, + STATE(85), 1, + aux_sym_list_expression_repeat1, + [1732] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(193), 1, + anon_sym_RBRACE, + STATE(64), 1, + sym_comment, + STATE(78), 1, + sym__colon_property, + [1751] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(120), 1, + anon_sym_PLUS, + STATE(65), 1, + sym_comment, + ACTIONS(195), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [1768] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, ACTIONS(197), 1, anon_sym_COMMA, - ACTIONS(199), 1, - anon_sym_RBRACE, - STATE(60), 1, - sym_comment, - STATE(71), 1, - aux_sym__old_module_repeat1, - [1658] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(71), 1, + ACTIONS(200), 1, anon_sym_RPAREN, - ACTIONS(201), 1, - anon_sym_COMMA, - STATE(54), 1, - aux_sym_select_pattern_repeat1, - STATE(61), 1, + STATE(66), 2, sym_comment, - [1677] = 6, + aux_sym_select_value_repeat1, + [1785] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(203), 1, - anon_sym_COMMA, - ACTIONS(205), 1, - anon_sym_RPAREN, - STATE(61), 1, - aux_sym_select_pattern_repeat1, - STATE(62), 1, - sym_comment, - [1696] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(207), 1, - anon_sym_COMMA, - ACTIONS(210), 1, - anon_sym_RPAREN, - STATE(63), 2, - sym_comment, - aux_sym_condition_repeat1, - [1713] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - STATE(64), 1, - sym_comment, - ACTIONS(120), 3, - anon_sym_COMMA, - anon_sym_RPAREN, - anon_sym_COLON, - [1728] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(212), 1, - anon_sym_COMMA, - ACTIONS(214), 1, - anon_sym_RBRACK, - STATE(65), 1, - sym_comment, - STATE(81), 1, - aux_sym_list_expression_repeat1, - [1747] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(128), 1, - anon_sym_PLUS, - STATE(66), 1, - sym_comment, - ACTIONS(216), 2, - anon_sym_COMMA, - anon_sym_RBRACE, - [1764] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(174), 1, + ACTIONS(114), 1, sym_identifier, - ACTIONS(218), 1, - anon_sym_RBRACE, + ACTIONS(202), 1, + anon_sym_RPAREN, STATE(67), 1, sym_comment, - STATE(83), 1, - sym__colon_property, - [1783] = 6, + STATE(103), 1, + sym_condition, + [1804] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(187), 1, + ACTIONS(157), 1, sym_identifier, - ACTIONS(220), 1, - anon_sym_RPAREN, + ACTIONS(204), 1, + anon_sym_RBRACE, STATE(68), 1, sym_comment, - STATE(72), 1, - sym__equal_property, - [1802] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(174), 1, - sym_identifier, - ACTIONS(222), 1, - anon_sym_RBRACE, - STATE(69), 1, - sym_comment, - STATE(111), 1, + STATE(105), 1, sym__colon_property, - [1821] = 6, + [1823] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(224), 1, + ACTIONS(206), 1, + anon_sym_COMMA, + ACTIONS(209), 1, + anon_sym_RBRACE, + STATE(69), 2, + sym_comment, + aux_sym_select_cases_repeat1, + [1840] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(211), 1, + anon_sym_RPAREN, + STATE(70), 1, + sym_comment, + STATE(101), 1, + sym__equal_property, + [1859] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(120), 1, + anon_sym_PLUS, + STATE(71), 1, + sym_comment, + ACTIONS(213), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [1876] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(120), 1, + anon_sym_PLUS, + STATE(72), 1, + sym_comment, + ACTIONS(215), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [1893] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(217), 1, + anon_sym_COMMA, + ACTIONS(219), 1, + anon_sym_RPAREN, + STATE(52), 1, + aux_sym__new_module_repeat1, + STATE(73), 1, + sym_comment, + [1912] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(165), 1, + sym_identifier, + ACTIONS(221), 1, + anon_sym_RPAREN, + STATE(74), 1, + sym_comment, + STATE(101), 1, + sym__equal_property, + [1931] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(223), 1, anon_sym_COMMA, ACTIONS(226), 1, anon_sym_RPAREN, - STATE(63), 1, - aux_sym_condition_repeat1, - STATE(70), 1, + STATE(75), 2, sym_comment, - [1840] = 5, + aux_sym__new_module_repeat1, + [1948] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, @@ -5759,712 +5842,710 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(228), 1, anon_sym_COMMA, ACTIONS(231), 1, - anon_sym_RBRACE, - STATE(71), 2, - sym_comment, - aux_sym__old_module_repeat1, - [1857] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(233), 1, - anon_sym_COMMA, - ACTIONS(235), 1, - anon_sym_RPAREN, - STATE(58), 1, - aux_sym__new_module_repeat1, - STATE(72), 1, - sym_comment, - [1876] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(237), 1, - anon_sym_COMMA, - ACTIONS(240), 1, - anon_sym_RPAREN, - STATE(73), 2, - sym_comment, - aux_sym_select_value_repeat1, - [1893] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(187), 1, - sym_identifier, - ACTIONS(242), 1, - anon_sym_RPAREN, - STATE(74), 1, - sym_comment, - STATE(108), 1, - sym__equal_property, - [1912] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(132), 1, - sym_identifier, - ACTIONS(244), 1, - anon_sym_RPAREN, - STATE(75), 1, - sym_comment, - STATE(103), 1, - sym_condition, - [1931] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(246), 1, - anon_sym_COMMA, - ACTIONS(249), 1, anon_sym_RPAREN, STATE(76), 2, sym_comment, - aux_sym__new_module_repeat1, - [1948] = 6, + aux_sym_condition_repeat1, + [1965] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(174), 1, + ACTIONS(157), 1, sym_identifier, - ACTIONS(251), 1, + ACTIONS(233), 1, anon_sym_RBRACE, - STATE(51), 1, - sym__colon_property, STATE(77), 1, sym_comment, - [1967] = 6, + STATE(105), 1, + sym__colon_property, + [1984] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(174), 1, - sym_identifier, - ACTIONS(253), 1, + ACTIONS(235), 1, + anon_sym_COMMA, + ACTIONS(237), 1, anon_sym_RBRACE, + STATE(57), 1, + aux_sym__old_module_repeat1, STATE(78), 1, sym_comment, - STATE(111), 1, - sym__colon_property, - [1986] = 6, + [2003] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(224), 1, + ACTIONS(239), 1, anon_sym_COMMA, - ACTIONS(255), 1, + ACTIONS(241), 1, anon_sym_RPAREN, - STATE(70), 1, - aux_sym_condition_repeat1, STATE(79), 1, sym_comment, - [2005] = 6, + STATE(88), 1, + aux_sym_select_value_repeat1, + [2022] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(257), 1, + ACTIONS(243), 1, anon_sym_COMMA, - ACTIONS(259), 1, + ACTIONS(245), 1, anon_sym_RPAREN, + STATE(56), 1, + aux_sym_select_pattern_repeat1, STATE(80), 1, sym_comment, - STATE(82), 1, - aux_sym_select_value_repeat1, - [2024] = 5, + [2041] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(261), 1, - anon_sym_COMMA, - ACTIONS(264), 1, - anon_sym_RBRACK, - STATE(81), 2, - sym_comment, - aux_sym_list_expression_repeat1, - [2041] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(162), 1, - anon_sym_RPAREN, - ACTIONS(266), 1, - anon_sym_COMMA, - STATE(73), 1, - aux_sym_select_value_repeat1, - STATE(82), 1, - sym_comment, - [2060] = 6, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(268), 1, - anon_sym_COMMA, - ACTIONS(270), 1, - anon_sym_RBRACE, - STATE(55), 1, - aux_sym__old_module_repeat1, - STATE(83), 1, - sym_comment, - [2079] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(128), 1, + ACTIONS(120), 1, anon_sym_PLUS, + STATE(81), 1, + sym_comment, + ACTIONS(247), 2, + ts_builtin_sym_end, + sym_identifier, + [2058] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(120), 1, + anon_sym_PLUS, + STATE(82), 1, + sym_comment, + ACTIONS(249), 2, + anon_sym_COMMA, + anon_sym_RBRACK, + [2075] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(251), 1, + anon_sym_COMMA, + ACTIONS(254), 1, + anon_sym_RPAREN, + STATE(83), 2, + sym_comment, + aux_sym_select_pattern_repeat1, + [2092] = 6, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(47), 1, + anon_sym_RBRACE, + ACTIONS(256), 1, + anon_sym_COMMA, + STATE(69), 1, + aux_sym_select_cases_repeat1, STATE(84), 1, sym_comment, - ACTIONS(272), 2, + [2111] = 5, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(258), 1, anon_sym_COMMA, + ACTIONS(261), 1, anon_sym_RBRACK, - [2096] = 5, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(128), 1, - anon_sym_PLUS, - STATE(85), 1, + STATE(85), 2, sym_comment, - ACTIONS(274), 2, - ts_builtin_sym_end, - sym_identifier, - [2113] = 4, + aux_sym_list_expression_repeat1, + [2128] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(157), 1, + sym_identifier, + ACTIONS(263), 1, + anon_sym_RBRACE, + STATE(49), 1, + sym__colon_property, STATE(86), 1, sym_comment, - ACTIONS(276), 2, - ts_builtin_sym_end, - sym_identifier, - [2127] = 5, + [2147] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(132), 1, + ACTIONS(114), 1, sym_identifier, - STATE(80), 1, - sym_condition, + ACTIONS(265), 1, + anon_sym_RPAREN, STATE(87), 1, sym_comment, - [2143] = 5, + STATE(103), 1, + sym_condition, + [2166] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(278), 1, - anon_sym_LBRACE, + ACTIONS(265), 1, + anon_sym_RPAREN, + ACTIONS(267), 1, + anon_sym_COMMA, + STATE(66), 1, + aux_sym_select_value_repeat1, STATE(88), 1, sym_comment, - STATE(134), 1, - sym_select_cases, - [2159] = 4, + [2185] = 6, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(175), 1, + anon_sym_COMMA, + ACTIONS(269), 1, + anon_sym_RPAREN, + STATE(59), 1, + aux_sym_condition_repeat1, STATE(89), 1, sym_comment, - ACTIONS(280), 2, - ts_builtin_sym_end, - sym_identifier, - [2173] = 4, + [2204] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(90), 1, sym_comment, - ACTIONS(282), 2, + ACTIONS(271), 2, ts_builtin_sym_end, sym_identifier, - [2187] = 4, + [2218] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(91), 1, sym_comment, - ACTIONS(284), 2, - ts_builtin_sym_end, - sym_identifier, - [2201] = 5, + ACTIONS(231), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [2232] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(174), 1, - sym_identifier, + ACTIONS(273), 1, + anon_sym_LBRACE, STATE(92), 1, sym_comment, - STATE(111), 1, - sym__colon_property, - [2217] = 4, + STATE(141), 1, + sym_select_cases, + [2248] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(93), 1, sym_comment, - ACTIONS(286), 2, + ACTIONS(275), 2, ts_builtin_sym_end, sym_identifier, - [2231] = 5, + [2262] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(187), 1, - sym_identifier, STATE(94), 1, sym_comment, - STATE(108), 1, - sym__equal_property, - [2247] = 4, + ACTIONS(277), 2, + ts_builtin_sym_end, + sym_identifier, + [2276] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(95), 1, sym_comment, - ACTIONS(179), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [2261] = 4, + ACTIONS(279), 2, + ts_builtin_sym_end, + sym_identifier, + [2290] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(96), 1, sym_comment, - ACTIONS(288), 2, + ACTIONS(281), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2275] = 4, + [2304] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(157), 1, + sym_identifier, STATE(97), 1, sym_comment, - ACTIONS(290), 2, - ts_builtin_sym_end, - sym_identifier, - [2289] = 5, + STATE(105), 1, + sym__colon_property, + [2320] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(128), 1, - anon_sym_PLUS, - ACTIONS(292), 1, - anon_sym_COMMA, STATE(98), 1, sym_comment, - [2305] = 5, + ACTIONS(283), 2, + ts_builtin_sym_end, + sym_identifier, + [2334] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(132), 1, - sym_identifier, STATE(99), 1, sym_comment, - STATE(103), 1, - sym_condition, - [2321] = 4, + ACTIONS(285), 2, + ts_builtin_sym_end, + sym_identifier, + [2348] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(100), 1, sym_comment, - ACTIONS(294), 2, - ts_builtin_sym_end, - sym_identifier, - [2335] = 4, + ACTIONS(254), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [2362] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(101), 1, sym_comment, - ACTIONS(296), 2, - ts_builtin_sym_end, - sym_identifier, - [2349] = 4, + ACTIONS(287), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [2376] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(102), 1, sym_comment, - ACTIONS(298), 2, - ts_builtin_sym_end, - sym_identifier, - [2363] = 4, + ACTIONS(289), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [2390] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(103), 1, sym_comment, - ACTIONS(240), 2, + ACTIONS(200), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2377] = 4, + [2404] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(104), 1, sym_comment, - ACTIONS(300), 2, + ACTIONS(291), 2, ts_builtin_sym_end, sym_identifier, - [2391] = 4, + [2418] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(105), 1, sym_comment, - ACTIONS(302), 2, - ts_builtin_sym_end, - sym_identifier, - [2405] = 4, + ACTIONS(293), 2, + anon_sym_COMMA, + anon_sym_RBRACE, + [2432] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(106), 1, sym_comment, - ACTIONS(300), 2, + ACTIONS(295), 2, ts_builtin_sym_end, sym_identifier, - [2419] = 4, + [2446] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(107), 1, sym_comment, - ACTIONS(304), 2, + ACTIONS(297), 2, anon_sym_COMMA, anon_sym_RPAREN, - [2433] = 4, + [2460] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(108), 1, sym_comment, - ACTIONS(306), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [2447] = 4, + ACTIONS(299), 2, + ts_builtin_sym_end, + sym_identifier, + [2474] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(109), 1, sym_comment, - ACTIONS(308), 2, + ACTIONS(215), 2, anon_sym_COMMA, - anon_sym_RPAREN, - [2461] = 4, + anon_sym_RBRACE, + [2488] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(110), 1, sym_comment, - ACTIONS(310), 2, + ACTIONS(299), 2, ts_builtin_sym_end, sym_identifier, - [2475] = 4, + [2502] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(111), 1, sym_comment, - ACTIONS(312), 2, + ACTIONS(209), 2, anon_sym_COMMA, anon_sym_RBRACE, - [2489] = 4, + [2516] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, + ACTIONS(114), 1, + sym_identifier, + STATE(79), 1, + sym_condition, STATE(112), 1, sym_comment, - ACTIONS(314), 2, - ts_builtin_sym_end, - sym_identifier, - [2503] = 4, + [2532] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, STATE(113), 1, sym_comment, - ACTIONS(210), 2, - anon_sym_COMMA, - anon_sym_RPAREN, - [2517] = 4, + ACTIONS(301), 2, + ts_builtin_sym_end, + sym_identifier, + [2546] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(316), 1, - aux_sym_integer_literal_token1, STATE(114), 1, sym_comment, - [2530] = 4, + ACTIONS(303), 2, + ts_builtin_sym_end, + sym_identifier, + [2560] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(318), 1, - anon_sym_RPAREN, STATE(115), 1, sym_comment, - [2543] = 4, + ACTIONS(305), 2, + ts_builtin_sym_end, + sym_identifier, + [2574] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(320), 1, - anon_sym_SLASH, STATE(116), 1, sym_comment, - [2556] = 4, - ACTIONS(134), 1, + ACTIONS(307), 2, + ts_builtin_sym_end, + sym_identifier, + [2588] = 4, + ACTIONS(3), 1, anon_sym_SLASH_SLASH, - ACTIONS(136), 1, + ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(322), 1, - aux_sym_comment_token2, STATE(117), 1, sym_comment, - [2569] = 4, + ACTIONS(309), 2, + anon_sym_COMMA, + anon_sym_RPAREN, + [2602] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(324), 1, - anon_sym_COMMA, + ACTIONS(114), 1, + sym_identifier, + STATE(103), 1, + sym_condition, STATE(118), 1, sym_comment, - [2582] = 4, + [2618] = 5, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(326), 1, - anon_sym_COLON, + ACTIONS(165), 1, + sym_identifier, + STATE(101), 1, + sym__equal_property, STATE(119), 1, sym_comment, - [2595] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(328), 1, - anon_sym_COLON, - STATE(120), 1, - sym_comment, - [2608] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(330), 1, - anon_sym_COMMA, - STATE(121), 1, - sym_comment, - [2621] = 4, - ACTIONS(3), 1, - anon_sym_SLASH_SLASH, - ACTIONS(5), 1, - anon_sym_SLASH_STAR, - ACTIONS(332), 1, - anon_sym_COMMA, - STATE(122), 1, - sym_comment, [2634] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(334), 1, - anon_sym_COMMA, - STATE(123), 1, + ACTIONS(311), 1, + anon_sym_RPAREN, + STATE(120), 1, sym_comment, [2647] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(336), 1, - sym_identifier, - STATE(124), 1, + ACTIONS(313), 1, + ts_builtin_sym_end, + STATE(121), 1, sym_comment, [2660] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(338), 1, - anon_sym_RPAREN, - STATE(125), 1, + ACTIONS(315), 1, + anon_sym_COLON, + STATE(122), 1, sym_comment, [2673] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(340), 1, - anon_sym_COLON, - STATE(126), 1, + ACTIONS(317), 1, + sym_identifier, + STATE(123), 1, sym_comment, [2686] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(342), 1, + ACTIONS(319), 1, anon_sym_COLON, - STATE(127), 1, + STATE(124), 1, sym_comment, [2699] = 4, - ACTIONS(134), 1, + ACTIONS(3), 1, anon_sym_SLASH_SLASH, - ACTIONS(136), 1, + ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(344), 1, - aux_sym_comment_token1, - STATE(128), 1, + ACTIONS(321), 1, + anon_sym_RPAREN, + STATE(125), 1, sym_comment, [2712] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(346), 1, - anon_sym_COMMA, - STATE(129), 1, + ACTIONS(323), 1, + anon_sym_COLON, + STATE(126), 1, sym_comment, [2725] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(348), 1, - anon_sym_COLON, - STATE(130), 1, + ACTIONS(325), 1, + anon_sym_LPAREN, + STATE(127), 1, sym_comment, [2738] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(350), 1, - anon_sym_LPAREN, - STATE(131), 1, + ACTIONS(327), 1, + aux_sym_integer_literal_token1, + STATE(128), 1, sym_comment, [2751] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(352), 1, - anon_sym_EQ, - STATE(132), 1, + ACTIONS(329), 1, + anon_sym_COLON, + STATE(129), 1, sym_comment, [2764] = 4, - ACTIONS(3), 1, + ACTIONS(102), 1, anon_sym_SLASH_SLASH, - ACTIONS(5), 1, + ACTIONS(104), 1, anon_sym_SLASH_STAR, - ACTIONS(292), 1, - anon_sym_COMMA, - STATE(133), 1, + ACTIONS(331), 1, + aux_sym_comment_token2, + STATE(130), 1, sym_comment, [2777] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(354), 1, - anon_sym_RPAREN, - STATE(134), 1, + ACTIONS(333), 1, + anon_sym_COLON, + STATE(131), 1, sym_comment, [2790] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(356), 1, - anon_sym_COMMA, - STATE(135), 1, + ACTIONS(335), 1, + anon_sym_EQ, + STATE(132), 1, sym_comment, [2803] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(358), 1, - anon_sym_COLON, - STATE(136), 1, + ACTIONS(337), 1, + anon_sym_COMMA, + STATE(133), 1, sym_comment, [2816] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(360), 1, - anon_sym_LPAREN, - STATE(137), 1, + ACTIONS(339), 1, + anon_sym_SLASH, + STATE(134), 1, sym_comment, [2829] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(362), 1, - ts_builtin_sym_end, - STATE(138), 1, + ACTIONS(341), 1, + anon_sym_COMMA, + STATE(135), 1, sym_comment, [2842] = 4, ACTIONS(3), 1, anon_sym_SLASH_SLASH, ACTIONS(5), 1, anon_sym_SLASH_STAR, - ACTIONS(364), 1, + ACTIONS(343), 1, + anon_sym_RPAREN, + STATE(136), 1, + sym_comment, + [2855] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(345), 1, anon_sym_COMMA, + STATE(137), 1, + sym_comment, + [2868] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(347), 1, + anon_sym_COMMA, + STATE(138), 1, + sym_comment, + [2881] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(349), 1, + anon_sym_COLON, STATE(139), 1, sym_comment, - [2855] = 1, - ACTIONS(366), 1, + [2894] = 4, + ACTIONS(102), 1, + anon_sym_SLASH_SLASH, + ACTIONS(104), 1, + anon_sym_SLASH_STAR, + ACTIONS(351), 1, + aux_sym_comment_token1, + STATE(140), 1, + sym_comment, + [2907] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(353), 1, + anon_sym_RPAREN, + STATE(141), 1, + sym_comment, + [2920] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(355), 1, + anon_sym_COMMA, + STATE(142), 1, + sym_comment, + [2933] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(357), 1, + anon_sym_RPAREN, + STATE(143), 1, + sym_comment, + [2946] = 4, + ACTIONS(3), 1, + anon_sym_SLASH_SLASH, + ACTIONS(5), 1, + anon_sym_SLASH_STAR, + ACTIONS(359), 1, + anon_sym_LPAREN, + STATE(144), 1, + sym_comment, + [2959] = 1, + ACTIONS(361), 1, ts_builtin_sym_end, - [2859] = 1, - ACTIONS(368), 1, + [2963] = 1, + ACTIONS(363), 1, ts_builtin_sym_end, }; @@ -6479,317 +6560,322 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(9)] = 386, [SMALL_STATE(10)] = 439, [SMALL_STATE(11)] = 492, - [SMALL_STATE(12)] = 542, - [SMALL_STATE(13)] = 594, - [SMALL_STATE(14)] = 646, - [SMALL_STATE(15)] = 686, - [SMALL_STATE(16)] = 726, - [SMALL_STATE(17)] = 763, - [SMALL_STATE(18)] = 800, - [SMALL_STATE(19)] = 820, - [SMALL_STATE(20)] = 840, - [SMALL_STATE(21)] = 860, - [SMALL_STATE(22)] = 892, - [SMALL_STATE(23)] = 912, - [SMALL_STATE(24)] = 932, - [SMALL_STATE(25)] = 962, - [SMALL_STATE(26)] = 981, - [SMALL_STATE(27)] = 1000, - [SMALL_STATE(28)] = 1019, - [SMALL_STATE(29)] = 1038, - [SMALL_STATE(30)] = 1057, - [SMALL_STATE(31)] = 1076, - [SMALL_STATE(32)] = 1095, - [SMALL_STATE(33)] = 1114, - [SMALL_STATE(34)] = 1133, - [SMALL_STATE(35)] = 1152, - [SMALL_STATE(36)] = 1171, - [SMALL_STATE(37)] = 1190, - [SMALL_STATE(38)] = 1209, - [SMALL_STATE(39)] = 1228, - [SMALL_STATE(40)] = 1247, - [SMALL_STATE(41)] = 1272, - [SMALL_STATE(42)] = 1290, - [SMALL_STATE(43)] = 1312, - [SMALL_STATE(44)] = 1334, - [SMALL_STATE(45)] = 1356, - [SMALL_STATE(46)] = 1376, - [SMALL_STATE(47)] = 1398, - [SMALL_STATE(48)] = 1420, - [SMALL_STATE(49)] = 1440, - [SMALL_STATE(50)] = 1457, - [SMALL_STATE(51)] = 1476, - [SMALL_STATE(52)] = 1495, - [SMALL_STATE(53)] = 1512, - [SMALL_STATE(54)] = 1531, - [SMALL_STATE(55)] = 1548, - [SMALL_STATE(56)] = 1567, - [SMALL_STATE(57)] = 1586, - [SMALL_STATE(58)] = 1601, - [SMALL_STATE(59)] = 1620, - [SMALL_STATE(60)] = 1639, - [SMALL_STATE(61)] = 1658, - [SMALL_STATE(62)] = 1677, - [SMALL_STATE(63)] = 1696, - [SMALL_STATE(64)] = 1713, - [SMALL_STATE(65)] = 1728, - [SMALL_STATE(66)] = 1747, - [SMALL_STATE(67)] = 1764, - [SMALL_STATE(68)] = 1783, - [SMALL_STATE(69)] = 1802, - [SMALL_STATE(70)] = 1821, - [SMALL_STATE(71)] = 1840, - [SMALL_STATE(72)] = 1857, - [SMALL_STATE(73)] = 1876, - [SMALL_STATE(74)] = 1893, - [SMALL_STATE(75)] = 1912, - [SMALL_STATE(76)] = 1931, - [SMALL_STATE(77)] = 1948, - [SMALL_STATE(78)] = 1967, - [SMALL_STATE(79)] = 1986, - [SMALL_STATE(80)] = 2005, - [SMALL_STATE(81)] = 2024, - [SMALL_STATE(82)] = 2041, - [SMALL_STATE(83)] = 2060, - [SMALL_STATE(84)] = 2079, - [SMALL_STATE(85)] = 2096, - [SMALL_STATE(86)] = 2113, - [SMALL_STATE(87)] = 2127, - [SMALL_STATE(88)] = 2143, - [SMALL_STATE(89)] = 2159, - [SMALL_STATE(90)] = 2173, - [SMALL_STATE(91)] = 2187, - [SMALL_STATE(92)] = 2201, - [SMALL_STATE(93)] = 2217, - [SMALL_STATE(94)] = 2231, - [SMALL_STATE(95)] = 2247, - [SMALL_STATE(96)] = 2261, - [SMALL_STATE(97)] = 2275, - [SMALL_STATE(98)] = 2289, - [SMALL_STATE(99)] = 2305, - [SMALL_STATE(100)] = 2321, - [SMALL_STATE(101)] = 2335, - [SMALL_STATE(102)] = 2349, - [SMALL_STATE(103)] = 2363, - [SMALL_STATE(104)] = 2377, - [SMALL_STATE(105)] = 2391, - [SMALL_STATE(106)] = 2405, - [SMALL_STATE(107)] = 2419, - [SMALL_STATE(108)] = 2433, - [SMALL_STATE(109)] = 2447, - [SMALL_STATE(110)] = 2461, - [SMALL_STATE(111)] = 2475, - [SMALL_STATE(112)] = 2489, - [SMALL_STATE(113)] = 2503, - [SMALL_STATE(114)] = 2517, - [SMALL_STATE(115)] = 2530, - [SMALL_STATE(116)] = 2543, - [SMALL_STATE(117)] = 2556, - [SMALL_STATE(118)] = 2569, - [SMALL_STATE(119)] = 2582, - [SMALL_STATE(120)] = 2595, - [SMALL_STATE(121)] = 2608, - [SMALL_STATE(122)] = 2621, - [SMALL_STATE(123)] = 2634, - [SMALL_STATE(124)] = 2647, - [SMALL_STATE(125)] = 2660, - [SMALL_STATE(126)] = 2673, - [SMALL_STATE(127)] = 2686, - [SMALL_STATE(128)] = 2699, - [SMALL_STATE(129)] = 2712, - [SMALL_STATE(130)] = 2725, - [SMALL_STATE(131)] = 2738, - [SMALL_STATE(132)] = 2751, - [SMALL_STATE(133)] = 2764, - [SMALL_STATE(134)] = 2777, - [SMALL_STATE(135)] = 2790, - [SMALL_STATE(136)] = 2803, - [SMALL_STATE(137)] = 2816, - [SMALL_STATE(138)] = 2829, - [SMALL_STATE(139)] = 2842, - [SMALL_STATE(140)] = 2855, - [SMALL_STATE(141)] = 2859, + [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)] = 859, + [SMALL_STATE(21)] = 879, + [SMALL_STATE(22)] = 899, + [SMALL_STATE(23)] = 929, + [SMALL_STATE(24)] = 949, + [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)] = 1313, + [SMALL_STATE(43)] = 1335, + [SMALL_STATE(44)] = 1357, + [SMALL_STATE(45)] = 1377, + [SMALL_STATE(46)] = 1399, + [SMALL_STATE(47)] = 1417, + [SMALL_STATE(48)] = 1437, + [SMALL_STATE(49)] = 1459, + [SMALL_STATE(50)] = 1478, + [SMALL_STATE(51)] = 1495, + [SMALL_STATE(52)] = 1510, + [SMALL_STATE(53)] = 1529, + [SMALL_STATE(54)] = 1548, + [SMALL_STATE(55)] = 1567, + [SMALL_STATE(56)] = 1586, + [SMALL_STATE(57)] = 1605, + [SMALL_STATE(58)] = 1624, + [SMALL_STATE(59)] = 1639, + [SMALL_STATE(60)] = 1658, + [SMALL_STATE(61)] = 1677, + [SMALL_STATE(62)] = 1696, + [SMALL_STATE(63)] = 1713, + [SMALL_STATE(64)] = 1732, + [SMALL_STATE(65)] = 1751, + [SMALL_STATE(66)] = 1768, + [SMALL_STATE(67)] = 1785, + [SMALL_STATE(68)] = 1804, + [SMALL_STATE(69)] = 1823, + [SMALL_STATE(70)] = 1840, + [SMALL_STATE(71)] = 1859, + [SMALL_STATE(72)] = 1876, + [SMALL_STATE(73)] = 1893, + [SMALL_STATE(74)] = 1912, + [SMALL_STATE(75)] = 1931, + [SMALL_STATE(76)] = 1948, + [SMALL_STATE(77)] = 1965, + [SMALL_STATE(78)] = 1984, + [SMALL_STATE(79)] = 2003, + [SMALL_STATE(80)] = 2022, + [SMALL_STATE(81)] = 2041, + [SMALL_STATE(82)] = 2058, + [SMALL_STATE(83)] = 2075, + [SMALL_STATE(84)] = 2092, + [SMALL_STATE(85)] = 2111, + [SMALL_STATE(86)] = 2128, + [SMALL_STATE(87)] = 2147, + [SMALL_STATE(88)] = 2166, + [SMALL_STATE(89)] = 2185, + [SMALL_STATE(90)] = 2204, + [SMALL_STATE(91)] = 2218, + [SMALL_STATE(92)] = 2232, + [SMALL_STATE(93)] = 2248, + [SMALL_STATE(94)] = 2262, + [SMALL_STATE(95)] = 2276, + [SMALL_STATE(96)] = 2290, + [SMALL_STATE(97)] = 2304, + [SMALL_STATE(98)] = 2320, + [SMALL_STATE(99)] = 2334, + [SMALL_STATE(100)] = 2348, + [SMALL_STATE(101)] = 2362, + [SMALL_STATE(102)] = 2376, + [SMALL_STATE(103)] = 2390, + [SMALL_STATE(104)] = 2404, + [SMALL_STATE(105)] = 2418, + [SMALL_STATE(106)] = 2432, + [SMALL_STATE(107)] = 2446, + [SMALL_STATE(108)] = 2460, + [SMALL_STATE(109)] = 2474, + [SMALL_STATE(110)] = 2488, + [SMALL_STATE(111)] = 2502, + [SMALL_STATE(112)] = 2516, + [SMALL_STATE(113)] = 2532, + [SMALL_STATE(114)] = 2546, + [SMALL_STATE(115)] = 2560, + [SMALL_STATE(116)] = 2574, + [SMALL_STATE(117)] = 2588, + [SMALL_STATE(118)] = 2602, + [SMALL_STATE(119)] = 2618, + [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[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), - [39] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(17), - [42] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(18), - [45] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(23), - [48] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(46), - [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(41), - [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(64), - [57] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [61] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [67] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [69] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 2), - [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 3), - [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__string_literal, 1), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(45), - [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, .production_id = 6), - [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 5, .production_id = 11), - [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, .production_id = 12), - [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 7), - [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 5, .production_id = 12), - [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, .production_id = 11), - [100] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, .production_id = 5), - [102] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 3, .production_id = 5), - [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 2), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 3, .production_id = 6), - [108] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 2), - [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 1), - [112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1), - [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 2), - [116] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_expression, 6), - [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__select_pattern, 1), - [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [134] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), - [136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), - [138] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [148] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [152] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), SHIFT_REPEAT(52), - [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), - [157] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), SHIFT_REPEAT(52), - [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__equal_property, 3, .production_id = 8), - [162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 1), - [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 1), - [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), - [176] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_pattern_repeat1, 2), SHIFT_REPEAT(16), - [179] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_pattern_repeat1, 2), - [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern_binding, 3, .production_id = 17), - [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), - [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [207] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2), SHIFT_REPEAT(47), - [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__colon_property, 3, .production_id = 8), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [222] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [226] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [228] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 10), SHIFT_REPEAT(92), - [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 10), - [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [237] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_value_repeat1, 2), SHIFT_REPEAT(99), - [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_value_repeat1, 2), - [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [246] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 10), SHIFT_REPEAT(94), - [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 10), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [261] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 13), SHIFT_REPEAT(10), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 13), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 6), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 2), - [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 5, .production_id = 4), - [278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 4, .production_id = 4), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 3, .production_id = 3), - [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 6, .production_id = 9), - [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 6, .production_id = 9), - [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 3, .production_id = 14), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 4, .production_id = 4), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__case_value, 1), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 3, .production_id = 3), - [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 1), - [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__definition, 1), - [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module, 1, .production_id = 1), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 5, .production_id = 9), - [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 4, .production_id = 15), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 5), - [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 5, .production_id = 16), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 5, .production_id = 9), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 5), - [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 5, .production_id = 4), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 3), - [320] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), - [322] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), - [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 5), - [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 1), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), - [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 2), - [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 5), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 1), - [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 4), - [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 3), - [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_case, 3, .production_id = 18), - [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 4), - [360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [362] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 3), - [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), - [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [45] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__string_literal, 1), + [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean_literal, 1), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 3), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), + [63] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(44), + [66] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpreted_string_literal, 2), + [68] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [70] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, .production_id = 11), + [72] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 1), + [74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 3, .production_id = 5), + [76] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, .production_id = 6), + [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 2), + [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 4, .production_id = 5), + [82] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 5, .production_id = 12), + [84] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_expression, 6), + [86] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 7), + [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 2), + [90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 3, .production_id = 6), + [92] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_integer_literal, 2), + [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_expression, 5, .production_id = 11), + [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expr, 1), + [98] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_list_expression, 4, .production_id = 12), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [102] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), + [104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [106] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [114] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [120] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__select_pattern, 1), + [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [132] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), SHIFT_REPEAT(62), + [135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), + [137] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 2), SHIFT_REPEAT(62), + [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [146] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 10), SHIFT_REPEAT(97), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 10), + [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), + [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern_binding, 3, .production_id = 17), + [175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [185] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 1), + [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_interpreted_string_literal_repeat1, 1), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__colon_property, 3, .production_id = 8), + [197] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_value_repeat1, 2), SHIFT_REPEAT(118), + [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_value_repeat1, 2), + [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [206] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), SHIFT_REPEAT(14), + [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_cases_repeat1, 2), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__equal_property, 3, .production_id = 8), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__case_value, 1), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [223] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 10), SHIFT_REPEAT(119), + [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 10), + [228] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2), SHIFT_REPEAT(45), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_condition_repeat1, 2), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [239] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 2), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 6), + [251] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_select_pattern_repeat1, 2), SHIFT_REPEAT(17), + [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_select_pattern_repeat1, 2), + [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [258] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 13), SHIFT_REPEAT(7), + [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_list_expression_repeat1, 2, .production_id = 13), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 5, .production_id = 4), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 5, .production_id = 9), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 1), + [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 6, .production_id = 9), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 3, .production_id = 14), + [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 6, .production_id = 9), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__definition, 1), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__new_module_repeat1, 2, .production_id = 5), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_case, 3, .production_id = 18), + [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 5, .production_id = 9), + [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__old_module_repeat1, 2, .production_id = 5), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 5, .production_id = 4), + [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 4, .production_id = 15), + [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_module, 1, .production_id = 1), + [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 4, .production_id = 4), + [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 3, .production_id = 3), + [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__new_module, 3, .production_id = 3), + [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__old_module, 4, .production_id = 4), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 5, .production_id = 16), + [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 4), + [313] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 1), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 3), + [323] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [325] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 3), + [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 5), + [335] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [337] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 5), + [339] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [343] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 2), + [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 1), + [347] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 4), + [349] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_pattern, 4), + [351] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), + [353] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_value, 3), + [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_select_cases, 5), + [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), }; #ifdef __cplusplus diff --git a/test/corpus/select.txt b/test/corpus/select.txt index c10ee09..7fb9f3d 100644 --- a/test/corpus/select.txt +++ b/test/corpus/select.txt @@ -33,6 +33,31 @@ foo = select(release_variable("RELEASE_TEST"), { (default)) (unset)))))) +================================================================================ +Select (no trailing comma) +================================================================================ + +foo = select(release_variable("RELEASE_TEST"), { + default: unset +}) + +-------------------------------------------------------------------------------- + +(source_file + (assignment + (identifier) + (operator) + (select_expression + (select_value + (condition + (identifier) + (interpreted_string_literal))) + (select_cases + (select_case + (select_pattern + (default)) + (unset)))))) + ================================================================================ Select (soong config variable) ================================================================================