diff --git a/grammar.js b/grammar.js index 0a88d5f..5bede7c 100644 --- a/grammar.js +++ b/grammar.js @@ -125,7 +125,7 @@ module.exports = grammar({ map_item_list: $ => choice($.map_item, seq($.map_item, ",", $.map_item_list)), map: $ => prec(-1, seq("{", optional($.map_item_list), "}")), - operator: _ => choice("+", "-", "*", "/", "%", "**", "&&", "||", "==", "!=", "<", ">", "<=", ">="), + operator: _ => choice("+", "-", "*", "/", "%", "**", "&&", "||", "^^", "==", "!=", "<", ">", "<=", ">="), overloadable_operator: _ => choice("++", "==="), primitive_type: _ => choice("any", "int", "str", "bool", "void"), identifier: $ => choice(/[_A-z][_A-z0-9]*/, $.primitive_type), diff --git a/src/grammar.json b/src/grammar.json index 11ab219..c30cfaf 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -1141,6 +1141,10 @@ "type": "STRING", "value": "||" }, + { + "type": "STRING", + "value": "^^" + }, { "type": "STRING", "value": "==" diff --git a/src/node-types.json b/src/node-types.json index 60f789f..9d34cfb 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -875,6 +875,10 @@ "type": "]", "named": false }, + { + "type": "^^", + "named": false + }, { "type": "any", "named": false diff --git a/src/parser.c b/src/parser.c index 6f98441..b911062 100644 --- a/src/parser.c +++ b/src/parser.c @@ -8,9 +8,9 @@ #define LANGUAGE_VERSION 14 #define STATE_COUNT 171 #define LARGE_STATE_COUNT 20 -#define SYMBOL_COUNT 94 +#define SYMBOL_COUNT 95 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 54 +#define TOKEN_COUNT 55 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 24 #define MAX_ALIAS_SEQUENCE_LENGTH 9 @@ -52,64 +52,65 @@ enum ts_symbol_identifiers { anon_sym_STAR_STAR = 33, anon_sym_AMP_AMP = 34, anon_sym_PIPE_PIPE = 35, - anon_sym_EQ_EQ = 36, - anon_sym_BANG_EQ = 37, - anon_sym_LT_EQ = 38, - anon_sym_GT_EQ = 39, - anon_sym_PLUS_PLUS = 40, - anon_sym_EQ_EQ_EQ = 41, - anon_sym_any = 42, - anon_sym_int = 43, - anon_sym_str = 44, - anon_sym_bool = 45, - anon_sym_void = 46, - aux_sym_identifier_token1 = 47, - sym_number = 48, - sym_string = 49, - anon_sym_true = 50, - anon_sym_false = 51, - anon_sym_error = 52, - sym_none = 53, - sym_source_file = 54, - sym_doc_comment = 55, - sym_statement = 56, - sym_block = 57, - sym_import = 58, - sym_import_path = 59, - sym_import_relative_dot = 60, - sym_qualifier = 61, - sym_qualifier_list = 62, - sym_function_declaration = 63, - sym_class_declaration = 64, - sym_print = 65, - sym_assert = 66, - sym_return = 67, - sym_expression = 68, - sym_parenthesized_expression = 69, - sym_access_list = 70, - sym_call = 71, - sym_type_name = 72, - sym_type = 73, - sym_param = 74, - sym_param_list = 75, - sym_arg_list = 76, - sym_literal = 77, - sym_var_declaration = 78, - sym_assignment = 79, - sym_binary_expression = 80, - sym_expression_list = 81, - sym_vec = 82, - sym_map_item = 83, - sym_map_item_list = 84, - sym_map = 85, - sym_operator = 86, - sym_overloadable_operator = 87, - sym_primitive_type = 88, - sym_identifier = 89, - sym_bool = 90, - aux_sym_source_file_repeat1 = 91, - aux_sym_param_list_repeat1 = 92, - aux_sym_arg_list_repeat1 = 93, + anon_sym_CARET_CARET = 36, + anon_sym_EQ_EQ = 37, + anon_sym_BANG_EQ = 38, + anon_sym_LT_EQ = 39, + anon_sym_GT_EQ = 40, + anon_sym_PLUS_PLUS = 41, + anon_sym_EQ_EQ_EQ = 42, + anon_sym_any = 43, + anon_sym_int = 44, + anon_sym_str = 45, + anon_sym_bool = 46, + anon_sym_void = 47, + aux_sym_identifier_token1 = 48, + sym_number = 49, + sym_string = 50, + anon_sym_true = 51, + anon_sym_false = 52, + anon_sym_error = 53, + sym_none = 54, + sym_source_file = 55, + sym_doc_comment = 56, + sym_statement = 57, + sym_block = 58, + sym_import = 59, + sym_import_path = 60, + sym_import_relative_dot = 61, + sym_qualifier = 62, + sym_qualifier_list = 63, + sym_function_declaration = 64, + sym_class_declaration = 65, + sym_print = 66, + sym_assert = 67, + sym_return = 68, + sym_expression = 69, + sym_parenthesized_expression = 70, + sym_access_list = 71, + sym_call = 72, + sym_type_name = 73, + sym_type = 74, + sym_param = 75, + sym_param_list = 76, + sym_arg_list = 77, + sym_literal = 78, + sym_var_declaration = 79, + sym_assignment = 80, + sym_binary_expression = 81, + sym_expression_list = 82, + sym_vec = 83, + sym_map_item = 84, + sym_map_item_list = 85, + sym_map = 86, + sym_operator = 87, + sym_overloadable_operator = 88, + sym_primitive_type = 89, + sym_identifier = 90, + sym_bool = 91, + aux_sym_source_file_repeat1 = 92, + aux_sym_param_list_repeat1 = 93, + aux_sym_arg_list_repeat1 = 94, }; static const char * const ts_symbol_names[] = { @@ -149,6 +150,7 @@ static const char * const ts_symbol_names[] = { [anon_sym_STAR_STAR] = "**", [anon_sym_AMP_AMP] = "&&", [anon_sym_PIPE_PIPE] = "||", + [anon_sym_CARET_CARET] = "^^", [anon_sym_EQ_EQ] = "==", [anon_sym_BANG_EQ] = "!=", [anon_sym_LT_EQ] = "<=", @@ -246,6 +248,7 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_STAR_STAR] = anon_sym_STAR_STAR, [anon_sym_AMP_AMP] = anon_sym_AMP_AMP, [anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE, + [anon_sym_CARET_CARET] = anon_sym_CARET_CARET, [anon_sym_EQ_EQ] = anon_sym_EQ_EQ, [anon_sym_BANG_EQ] = anon_sym_BANG_EQ, [anon_sym_LT_EQ] = anon_sym_LT_EQ, @@ -451,6 +454,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_CARET_CARET] = { + .visible = true, + .named = false, + }, [anon_sym_EQ_EQ] = { .visible = true, .named = false, @@ -926,22 +933,22 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [44] = 44, [45] = 45, [46] = 46, - [47] = 47, + [47] = 20, [48] = 48, [49] = 49, - [50] = 49, + [50] = 21, [51] = 51, [52] = 52, - [53] = 53, + [53] = 51, [54] = 54, [55] = 55, [56] = 56, - [57] = 54, + [57] = 57, [58] = 58, [59] = 59, - [60] = 55, + [60] = 56, [61] = 61, - [62] = 62, + [62] = 61, [63] = 63, [64] = 64, [65] = 65, @@ -971,32 +978,32 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [89] = 89, [90] = 90, [91] = 91, - [92] = 87, - [93] = 91, + [92] = 88, + [93] = 89, [94] = 94, [95] = 95, - [96] = 96, - [97] = 97, - [98] = 22, - [99] = 99, - [100] = 28, - [101] = 101, - [102] = 102, - [103] = 25, - [104] = 23, - [105] = 21, - [106] = 20, - [107] = 31, - [108] = 33, - [109] = 29, - [110] = 27, - [111] = 24, - [112] = 101, - [113] = 26, - [114] = 30, - [115] = 32, + [96] = 22, + [97] = 30, + [98] = 26, + [99] = 35, + [100] = 37, + [101] = 25, + [102] = 36, + [103] = 34, + [104] = 32, + [105] = 33, + [106] = 24, + [107] = 20, + [108] = 21, + [109] = 39, + [110] = 110, + [111] = 111, + [112] = 112, + [113] = 113, + [114] = 114, + [115] = 115, [116] = 116, - [117] = 117, + [117] = 115, [118] = 118, [119] = 119, [120] = 120, @@ -1016,10 +1023,10 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [134] = 134, [135] = 135, [136] = 136, - [137] = 136, + [137] = 137, [138] = 138, [139] = 139, - [140] = 140, + [140] = 139, [141] = 141, [142] = 142, [143] = 143, @@ -1040,15 +1047,15 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [158] = 158, [159] = 159, [160] = 160, - [161] = 20, - [162] = 21, + [161] = 161, + [162] = 162, [163] = 163, [164] = 164, [165] = 165, [166] = 166, - [167] = 158, - [168] = 168, - [169] = 163, + [167] = 167, + [168] = 167, + [169] = 158, [170] = 164, }; @@ -1077,47 +1084,52 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(61); if (lookahead == '[') ADVANCE(70); if (lookahead == ']') ADVANCE(72); - if (lookahead == 'a') ADVANCE(113); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'c') ADVANCE(110); - if (lookahead == 'e') ADVANCE(132); - if (lookahead == 'f') ADVANCE(93); - if (lookahead == 'i') ADVANCE(112); - if (lookahead == 'm') ADVANCE(96); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 'p') ADVANCE(128); - if (lookahead == 'r') ADVANCE(104); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(99); + if (lookahead == '^') ADVANCE(95); + if (lookahead == 'a') ADVANCE(116); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'c') ADVANCE(113); + if (lookahead == 'e') ADVANCE(135); + if (lookahead == 'f') ADVANCE(96); + if (lookahead == 'i') ADVANCE(115); + if (lookahead == 'm') ADVANCE(99); + if (lookahead == 'n') ADVANCE(123); + if (lookahead == 'p') ADVANCE(131); + if (lookahead == 'r') ADVANCE(107); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 't') ADVANCE(132); + if (lookahead == 'v') ADVANCE(102); if (lookahead == '{') ADVANCE(38); - if (lookahead == '|') ADVANCE(28); + if (lookahead == '|') ADVANCE(29); if (lookahead == '}') ADVANCE(39); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 1: if (lookahead == '!') ADVANCE(9); if (lookahead == '%') ADVANCE(77); if (lookahead == '&') ADVANCE(6); if (lookahead == '(') ADVANCE(48); + if (lookahead == ')') ADVANCE(49); if (lookahead == '*') ADVANCE(75); if (lookahead == '+') ADVANCE(73); if (lookahead == ',') ADVANCE(62); if (lookahead == '-') ADVANCE(67); if (lookahead == '.') ADVANCE(41); if (lookahead == '/') ADVANCE(76); + if (lookahead == ':') ADVANCE(63); if (lookahead == '<') ADVANCE(59); if (lookahead == '=') ADVANCE(11); if (lookahead == '>') ADVANCE(61); if (lookahead == ']') ADVANCE(71); - if (lookahead == 'c') ADVANCE(18); - if (lookahead == 'e') ADVANCE(27); - if (lookahead == 'f') ADVANCE(19); - if (lookahead == 'p') ADVANCE(26); - if (lookahead == '|') ADVANCE(28); + if (lookahead == '^') ADVANCE(14); + if (lookahead == 'c') ADVANCE(19); + if (lookahead == 'e') ADVANCE(28); + if (lookahead == 'f') ADVANCE(20); + if (lookahead == 'p') ADVANCE(27); + if (lookahead == '|') ADVANCE(29); + if (lookahead == '}') ADVANCE(39); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(1) END_STATE(); @@ -1126,45 +1138,45 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '(') ADVANCE(48); if (lookahead == ')') ADVANCE(49); if (lookahead == '[') ADVANCE(70); - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'e') ADVANCE(133); - if (lookahead == 'f') ADVANCE(94); - if (lookahead == 'i') ADVANCE(118); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(121); + if (lookahead == 'a') ADVANCE(117); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'e') ADVANCE(136); + if (lookahead == 'f') ADVANCE(97); + if (lookahead == 'i') ADVANCE(121); + if (lookahead == 'n') ADVANCE(123); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 't') ADVANCE(132); + if (lookahead == 'v') ADVANCE(124); if (lookahead == '{') ADVANCE(38); if (lookahead == '}') ADVANCE(39); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(2) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 3: if (lookahead == '"') ADVANCE(4); if (lookahead == '(') ADVANCE(48); if (lookahead == '[') ADVANCE(70); if (lookahead == ']') ADVANCE(72); - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'e') ADVANCE(133); - if (lookahead == 'f') ADVANCE(94); - if (lookahead == 'i') ADVANCE(118); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(121); + if (lookahead == 'a') ADVANCE(117); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'e') ADVANCE(136); + if (lookahead == 'f') ADVANCE(97); + if (lookahead == 'i') ADVANCE(121); + if (lookahead == 'n') ADVANCE(123); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 't') ADVANCE(132); + if (lookahead == 'v') ADVANCE(124); if (lookahead == '{') ADVANCE(38); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(3) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 4: - if (lookahead == '"') ADVANCE(156); - if (lookahead == '\\') ADVANCE(29); + if (lookahead == '"') ADVANCE(159); + if (lookahead == '\\') ADVANCE(30); if (lookahead != 0) ADVANCE(4); END_STATE(); case 5: @@ -1179,26 +1191,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '+') ADVANCE(8); if (lookahead == '.') ADVANCE(41); if (lookahead == '=') ADVANCE(12); - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'i') ADVANCE(118); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 'v') ADVANCE(121); + if (lookahead == 'a') ADVANCE(117); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'i') ADVANCE(121); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 'v') ADVANCE(124); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(7) - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 8: - if (lookahead == '+') ADVANCE(86); + if (lookahead == '+') ADVANCE(88); END_STATE(); case 9: - if (lookahead == '=') ADVANCE(83); + if (lookahead == '=') ADVANCE(85); END_STATE(); case 10: - if (lookahead == '=') ADVANCE(87); + if (lookahead == '=') ADVANCE(89); END_STATE(); case 11: - if (lookahead == '=') ADVANCE(81); + if (lookahead == '=') ADVANCE(83); END_STATE(); case 12: if (lookahead == '=') ADVANCE(10); @@ -1207,101 +1219,64 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(50); END_STATE(); case 14: - if (lookahead == 'a') ADVANCE(24); + if (lookahead == '^') ADVANCE(81); END_STATE(); case 15: - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'i') ADVANCE(118); - if (lookahead == 'm') ADVANCE(96); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 'v') ADVANCE(99); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') SKIP(15) - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (lookahead == 'a') ADVANCE(25); END_STATE(); case 16: - if (lookahead == 'e') ADVANCE(44); + if (lookahead == 'a') ADVANCE(117); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'i') ADVANCE(121); + if (lookahead == 'm') ADVANCE(99); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 'v') ADVANCE(102); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(16) + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 17: - if (lookahead == 'e') ADVANCE(21); + if (lookahead == 'e') ADVANCE(44); END_STATE(); case 18: - if (lookahead == 'l') ADVANCE(14); + if (lookahead == 'e') ADVANCE(22); END_STATE(); case 19: - if (lookahead == 'n') ADVANCE(46); + if (lookahead == 'l') ADVANCE(15); END_STATE(); case 20: - if (lookahead == 'n') ADVANCE(42); + if (lookahead == 'n') ADVANCE(46); END_STATE(); case 21: - if (lookahead == 'r') ADVANCE(20); + if (lookahead == 'n') ADVANCE(42); END_STATE(); case 22: - if (lookahead == 'r') ADVANCE(16); + if (lookahead == 'r') ADVANCE(21); END_STATE(); case 23: - if (lookahead == 's') ADVANCE(51); + if (lookahead == 'r') ADVANCE(17); END_STATE(); case 24: - if (lookahead == 's') ADVANCE(23); + if (lookahead == 's') ADVANCE(51); END_STATE(); case 25: - if (lookahead == 't') ADVANCE(17); + if (lookahead == 's') ADVANCE(24); END_STATE(); case 26: - if (lookahead == 'u') ADVANCE(22); + if (lookahead == 't') ADVANCE(18); END_STATE(); case 27: - if (lookahead == 'x') ADVANCE(25); + if (lookahead == 'u') ADVANCE(23); END_STATE(); case 28: - if (lookahead == '|') ADVANCE(80); + if (lookahead == 'x') ADVANCE(26); END_STATE(); case 29: - if (lookahead != 0 && - lookahead != '\n') ADVANCE(4); + if (lookahead == '|') ADVANCE(80); END_STATE(); case 30: - if (eof) ADVANCE(33); - if (lookahead == '!') ADVANCE(9); - if (lookahead == '"') ADVANCE(4); - if (lookahead == '#') ADVANCE(5); - if (lookahead == '%') ADVANCE(77); - if (lookahead == '&') ADVANCE(6); - if (lookahead == '(') ADVANCE(48); - if (lookahead == ')') ADVANCE(49); - if (lookahead == '*') ADVANCE(75); - if (lookahead == '+') ADVANCE(73); - if (lookahead == ',') ADVANCE(62); - if (lookahead == '-') ADVANCE(68); - if (lookahead == '.') ADVANCE(41); - if (lookahead == '/') ADVANCE(76); - if (lookahead == ':') ADVANCE(63); - if (lookahead == '<') ADVANCE(59); - if (lookahead == '=') ADVANCE(66); - if (lookahead == '>') ADVANCE(61); - if (lookahead == '[') ADVANCE(70); - if (lookahead == 'a') ADVANCE(113); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'c') ADVANCE(110); - if (lookahead == 'e') ADVANCE(132); - if (lookahead == 'f') ADVANCE(93); - if (lookahead == 'i') ADVANCE(112); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 'p') ADVANCE(128); - if (lookahead == 'r') ADVANCE(104); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(121); - if (lookahead == '{') ADVANCE(38); - if (lookahead == '|') ADVANCE(28); - if (lookahead == '}') ADVANCE(39); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') SKIP(30) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(4); END_STATE(); case 31: if (eof) ADVANCE(33); @@ -1323,25 +1298,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '=') ADVANCE(66); if (lookahead == '>') ADVANCE(61); if (lookahead == '[') ADVANCE(70); - if (lookahead == 'a') ADVANCE(113); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'c') ADVANCE(110); - if (lookahead == 'e') ADVANCE(132); - if (lookahead == 'f') ADVANCE(93); - if (lookahead == 'i') ADVANCE(112); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 'p') ADVANCE(128); - if (lookahead == 'r') ADVANCE(104); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(121); + if (lookahead == '^') ADVANCE(95); + if (lookahead == 'a') ADVANCE(116); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'c') ADVANCE(113); + if (lookahead == 'e') ADVANCE(135); + if (lookahead == 'f') ADVANCE(96); + if (lookahead == 'i') ADVANCE(115); + if (lookahead == 'n') ADVANCE(123); + if (lookahead == 'p') ADVANCE(131); + if (lookahead == 'r') ADVANCE(107); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 't') ADVANCE(132); + if (lookahead == 'v') ADVANCE(124); if (lookahead == '{') ADVANCE(38); - if (lookahead == '|') ADVANCE(28); + if (lookahead == '|') ADVANCE(29); if (lookahead == '}') ADVANCE(39); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(31) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 32: if (eof) ADVANCE(33); @@ -1356,24 +1332,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '=') ADVANCE(64); if (lookahead == '>') ADVANCE(60); if (lookahead == '[') ADVANCE(70); - if (lookahead == 'a') ADVANCE(113); - if (lookahead == 'b') ADVANCE(122); - if (lookahead == 'c') ADVANCE(110); - if (lookahead == 'e') ADVANCE(132); - if (lookahead == 'f') ADVANCE(93); - if (lookahead == 'i') ADVANCE(112); - if (lookahead == 'n') ADVANCE(120); - if (lookahead == 'p') ADVANCE(128); - if (lookahead == 'r') ADVANCE(104); - if (lookahead == 's') ADVANCE(149); - if (lookahead == 't') ADVANCE(129); - if (lookahead == 'v') ADVANCE(121); + if (lookahead == 'a') ADVANCE(116); + if (lookahead == 'b') ADVANCE(125); + if (lookahead == 'c') ADVANCE(113); + if (lookahead == 'e') ADVANCE(135); + if (lookahead == 'f') ADVANCE(96); + if (lookahead == 'i') ADVANCE(115); + if (lookahead == 'n') ADVANCE(123); + if (lookahead == 'p') ADVANCE(131); + if (lookahead == 'r') ADVANCE(107); + if (lookahead == 's') ADVANCE(152); + if (lookahead == 't') ADVANCE(132); + if (lookahead == 'v') ADVANCE(124); if (lookahead == '{') ADVANCE(38); if (lookahead == '}') ADVANCE(39); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(32) - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); - if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 33: ACCEPT_TOKEN(ts_builtin_sym_end); @@ -1408,7 +1384,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 40: ACCEPT_TOKEN(anon_sym_import); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 41: ACCEPT_TOKEN(anon_sym_DOT); @@ -1419,7 +1395,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 43: ACCEPT_TOKEN(anon_sym_extern); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 44: ACCEPT_TOKEN(anon_sym_pure); @@ -1427,7 +1403,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 45: ACCEPT_TOKEN(anon_sym_pure); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 46: ACCEPT_TOKEN(anon_sym_fn); @@ -1435,7 +1411,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 47: ACCEPT_TOKEN(anon_sym_fn); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 48: ACCEPT_TOKEN(anon_sym_LPAREN); @@ -1452,46 +1428,46 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 52: ACCEPT_TOKEN(anon_sym_class); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 53: ACCEPT_TOKEN(anon_sym_print); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 54: ACCEPT_TOKEN(anon_sym_assert); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 55: ACCEPT_TOKEN(anon_sym_return); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 56: ACCEPT_TOKEN(anon_sym_vec); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 57: ACCEPT_TOKEN(anon_sym_map); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 58: ACCEPT_TOKEN(anon_sym_LT); END_STATE(); case 59: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '=') ADVANCE(84); + if (lookahead == '=') ADVANCE(86); END_STATE(); case 60: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); case 61: ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(85); + if (lookahead == '=') ADVANCE(87); END_STATE(); case 62: ACCEPT_TOKEN(anon_sym_COMMA); @@ -1504,11 +1480,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 65: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(82); + if (lookahead == '=') ADVANCE(84); END_STATE(); case 66: ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(81); + if (lookahead == '=') ADVANCE(83); END_STATE(); case 67: ACCEPT_TOKEN(anon_sym_DASH); @@ -1519,12 +1495,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 69: ACCEPT_TOKEN(anon_sym_BANG); - if (lookahead == '=') ADVANCE(83); + if (lookahead == '=') ADVANCE(85); END_STATE(); case 70: ACCEPT_TOKEN(anon_sym_LBRACK); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 71: ACCEPT_TOKEN(anon_sym_RBRACK); @@ -1532,14 +1508,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 72: ACCEPT_TOKEN(anon_sym_RBRACK); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 73: ACCEPT_TOKEN(anon_sym_PLUS); END_STATE(); case 74: ACCEPT_TOKEN(anon_sym_PLUS); - if (lookahead == '+') ADVANCE(86); + if (lookahead == '+') ADVANCE(88); END_STATE(); case 75: ACCEPT_TOKEN(anon_sym_STAR); @@ -1561,455 +1537,469 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ACCEPT_TOKEN(anon_sym_PIPE_PIPE); END_STATE(); case 81: - ACCEPT_TOKEN(anon_sym_EQ_EQ); + ACCEPT_TOKEN(anon_sym_CARET_CARET); END_STATE(); case 82: - ACCEPT_TOKEN(anon_sym_EQ_EQ); - if (lookahead == '=') ADVANCE(87); + ACCEPT_TOKEN(anon_sym_CARET_CARET); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 83: - ACCEPT_TOKEN(anon_sym_BANG_EQ); + ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); case 84: - ACCEPT_TOKEN(anon_sym_LT_EQ); + ACCEPT_TOKEN(anon_sym_EQ_EQ); + if (lookahead == '=') ADVANCE(89); END_STATE(); case 85: - ACCEPT_TOKEN(anon_sym_GT_EQ); + ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); case 86: - ACCEPT_TOKEN(anon_sym_PLUS_PLUS); + ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); case 87: - ACCEPT_TOKEN(anon_sym_EQ_EQ_EQ); + ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); case 88: - ACCEPT_TOKEN(anon_sym_any); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ACCEPT_TOKEN(anon_sym_PLUS_PLUS); END_STATE(); case 89: - ACCEPT_TOKEN(anon_sym_int); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ACCEPT_TOKEN(anon_sym_EQ_EQ_EQ); END_STATE(); case 90: - ACCEPT_TOKEN(anon_sym_str); + ACCEPT_TOKEN(anon_sym_any); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 91: - ACCEPT_TOKEN(anon_sym_bool); + ACCEPT_TOKEN(anon_sym_int); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 92: - ACCEPT_TOKEN(anon_sym_void); + ACCEPT_TOKEN(anon_sym_str); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 93: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') ADVANCE(111); - if (lookahead == 'n') ADVANCE(47); + ACCEPT_TOKEN(anon_sym_bool); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 94: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') ADVANCE(111); + ACCEPT_TOKEN(anon_sym_void); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 95: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') ADVANCE(142); + if (lookahead == '^') ADVANCE(82); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 96: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') ADVANCE(126); + if (lookahead == 'a') ADVANCE(114); + if (lookahead == 'n') ADVANCE(47); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 97: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'c') ADVANCE(56); + if (lookahead == 'a') ADVANCE(114); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 98: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'd') ADVANCE(92); + if (lookahead == 'a') ADVANCE(145); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 99: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(97); - if (lookahead == 'o') ADVANCE(107); + if (lookahead == 'a') ADVANCE(129); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 100: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(160); + if (lookahead == 'c') ADVANCE(56); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 101: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(45); + if (lookahead == 'd') ADVANCE(94); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 102: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(157); + if (lookahead == 'e') ADVANCE(100); + if (lookahead == 'o') ADVANCE(110); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 103: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(158); + if (lookahead == 'e') ADVANCE(163); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 104: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(148); + if (lookahead == 'e') ADVANCE(45); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 105: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(138); + if (lookahead == 'e') ADVANCE(160); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 106: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') ADVANCE(134); + if (lookahead == 'e') ADVANCE(161); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 107: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'i') ADVANCE(98); + if (lookahead == 'e') ADVANCE(151); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 108: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'i') ADVANCE(119); + if (lookahead == 'e') ADVANCE(141); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 109: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') ADVANCE(91); + if (lookahead == 'e') ADVANCE(137); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 110: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') ADVANCE(95); + if (lookahead == 'i') ADVANCE(101); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 111: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') ADVANCE(143); + if (lookahead == 'i') ADVANCE(122); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 112: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'm') ADVANCE(127); - if (lookahead == 'n') ADVANCE(144); + if (lookahead == 'l') ADVANCE(93); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 113: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(153); - if (lookahead == 's') ADVANCE(141); + if (lookahead == 'l') ADVANCE(98); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 114: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(153); + if (lookahead == 'l') ADVANCE(146); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 115: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(43); + if (lookahead == 'm') ADVANCE(130); + if (lookahead == 'n') ADVANCE(147); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 116: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(55); + if (lookahead == 'n') ADVANCE(156); + if (lookahead == 's') ADVANCE(144); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 117: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(100); + if (lookahead == 'n') ADVANCE(156); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 118: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(144); + if (lookahead == 'n') ADVANCE(43); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 119: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') ADVANCE(145); + if (lookahead == 'n') ADVANCE(55); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 120: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(117); + if (lookahead == 'n') ADVANCE(103); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 121: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(107); + if (lookahead == 'n') ADVANCE(147); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 122: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(123); + if (lookahead == 'n') ADVANCE(148); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 123: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(109); + if (lookahead == 'o') ADVANCE(120); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 124: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(131); + if (lookahead == 'o') ADVANCE(110); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 125: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') ADVANCE(139); + if (lookahead == 'o') ADVANCE(126); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 126: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'p') ADVANCE(57); + if (lookahead == 'o') ADVANCE(112); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 127: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'p') ADVANCE(125); + if (lookahead == 'o') ADVANCE(134); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 128: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(108); - if (lookahead == 'u') ADVANCE(136); + if (lookahead == 'o') ADVANCE(142); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 129: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(151); + if (lookahead == 'p') ADVANCE(57); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 130: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(90); + if (lookahead == 'p') ADVANCE(128); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 131: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(159); + if (lookahead == 'r') ADVANCE(111); + if (lookahead == 'u') ADVANCE(139); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 132: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(135); - if (lookahead == 'x') ADVANCE(150); + if (lookahead == 'r') ADVANCE(154); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 133: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(135); + if (lookahead == 'r') ADVANCE(92); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 134: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(115); + if (lookahead == 'r') ADVANCE(162); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 135: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(124); + if (lookahead == 'r') ADVANCE(138); + if (lookahead == 'x') ADVANCE(153); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 136: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(101); + if (lookahead == 'r') ADVANCE(138); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 137: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(116); + if (lookahead == 'r') ADVANCE(118); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 138: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(146); + if (lookahead == 'r') ADVANCE(127); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 139: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') ADVANCE(147); + if (lookahead == 'r') ADVANCE(104); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 140: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') ADVANCE(52); + if (lookahead == 'r') ADVANCE(119); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 141: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') ADVANCE(105); + if (lookahead == 'r') ADVANCE(149); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 142: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') ADVANCE(140); + if (lookahead == 'r') ADVANCE(150); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 143: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') ADVANCE(103); + if (lookahead == 's') ADVANCE(52); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 144: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(89); + if (lookahead == 's') ADVANCE(108); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 145: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(53); + if (lookahead == 's') ADVANCE(143); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 146: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(54); + if (lookahead == 's') ADVANCE(106); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 147: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(40); + if (lookahead == 't') ADVANCE(91); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 148: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(152); + if (lookahead == 't') ADVANCE(53); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 149: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(130); + if (lookahead == 't') ADVANCE(54); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 150: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') ADVANCE(106); + if (lookahead == 't') ADVANCE(40); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 151: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'u') ADVANCE(102); + if (lookahead == 't') ADVANCE(155); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 152: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'u') ADVANCE(137); + if (lookahead == 't') ADVANCE(133); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 153: ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'y') ADVANCE(88); + if (lookahead == 't') ADVANCE(109); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 154: ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'u') ADVANCE(105); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 155: - ACCEPT_TOKEN(sym_number); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(155); + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'u') ADVANCE(140); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 156: - ACCEPT_TOKEN(sym_string); + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'y') ADVANCE(90); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 157: - ACCEPT_TOKEN(anon_sym_true); + ACCEPT_TOKEN(aux_sym_identifier_token1); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); case 158: + ACCEPT_TOKEN(sym_number); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(158); + END_STATE(); + case 159: + ACCEPT_TOKEN(sym_string); + END_STATE(); + case 160: + ACCEPT_TOKEN(anon_sym_true); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); + END_STATE(); + case 161: ACCEPT_TOKEN(anon_sym_false); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); - case 159: + case 162: ACCEPT_TOKEN(anon_sym_error); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); - case 160: + case 163: ACCEPT_TOKEN(sym_none); if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) ADVANCE(154); + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(157); END_STATE(); default: return false; @@ -2037,8 +2027,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [17] = {.lex_state = 32}, [18] = {.lex_state = 32}, [19] = {.lex_state = 32}, - [20] = {.lex_state = 30}, - [21] = {.lex_state = 30}, + [20] = {.lex_state = 31}, + [21] = {.lex_state = 31}, [22] = {.lex_state = 31}, [23] = {.lex_state = 31}, [24] = {.lex_state = 31}, @@ -2066,27 +2056,27 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [46] = {.lex_state = 32}, [47] = {.lex_state = 32}, [48] = {.lex_state = 32}, - [49] = {.lex_state = 2}, - [50] = {.lex_state = 2}, + [49] = {.lex_state = 32}, + [50] = {.lex_state = 32}, [51] = {.lex_state = 2}, [52] = {.lex_state = 2}, - [53] = {.lex_state = 32}, + [53] = {.lex_state = 2}, [54] = {.lex_state = 2}, - [55] = {.lex_state = 3}, - [56] = {.lex_state = 32}, - [57] = {.lex_state = 2}, + [55] = {.lex_state = 32}, + [56] = {.lex_state = 2}, + [57] = {.lex_state = 32}, [58] = {.lex_state = 32}, [59] = {.lex_state = 2}, - [60] = {.lex_state = 3}, - [61] = {.lex_state = 32}, - [62] = {.lex_state = 32}, + [60] = {.lex_state = 2}, + [61] = {.lex_state = 3}, + [62] = {.lex_state = 3}, [63] = {.lex_state = 32}, [64] = {.lex_state = 32}, [65] = {.lex_state = 32}, [66] = {.lex_state = 32}, [67] = {.lex_state = 32}, [68] = {.lex_state = 32}, - [69] = {.lex_state = 32}, + [69] = {.lex_state = 2}, [70] = {.lex_state = 32}, [71] = {.lex_state = 2}, [72] = {.lex_state = 32}, @@ -2094,32 +2084,32 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [74] = {.lex_state = 32}, [75] = {.lex_state = 32}, [76] = {.lex_state = 32}, - [77] = {.lex_state = 2}, + [77] = {.lex_state = 32}, [78] = {.lex_state = 32}, [79] = {.lex_state = 32}, [80] = {.lex_state = 32}, [81] = {.lex_state = 2}, [82] = {.lex_state = 32}, [83] = {.lex_state = 32}, - [84] = {.lex_state = 2}, - [85] = {.lex_state = 2}, - [86] = {.lex_state = 32}, + [84] = {.lex_state = 32}, + [85] = {.lex_state = 32}, + [86] = {.lex_state = 2}, [87] = {.lex_state = 2}, [88] = {.lex_state = 2}, [89] = {.lex_state = 2}, [90] = {.lex_state = 2}, - [91] = {.lex_state = 2}, + [91] = {.lex_state = 32}, [92] = {.lex_state = 2}, [93] = {.lex_state = 2}, - [94] = {.lex_state = 31}, - [95] = {.lex_state = 31}, + [94] = {.lex_state = 2}, + [95] = {.lex_state = 2}, [96] = {.lex_state = 1}, - [97] = {.lex_state = 31}, + [97] = {.lex_state = 1}, [98] = {.lex_state = 1}, - [99] = {.lex_state = 31}, + [99] = {.lex_state = 1}, [100] = {.lex_state = 1}, - [101] = {.lex_state = 31}, - [102] = {.lex_state = 31}, + [101] = {.lex_state = 1}, + [102] = {.lex_state = 1}, [103] = {.lex_state = 1}, [104] = {.lex_state = 1}, [105] = {.lex_state = 1}, @@ -2129,24 +2119,24 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [109] = {.lex_state = 1}, [110] = {.lex_state = 1}, [111] = {.lex_state = 1}, - [112] = {.lex_state = 31}, + [112] = {.lex_state = 1}, [113] = {.lex_state = 1}, [114] = {.lex_state = 1}, [115] = {.lex_state = 1}, - [116] = {.lex_state = 2}, - [117] = {.lex_state = 15}, - [118] = {.lex_state = 15}, - [119] = {.lex_state = 15}, - [120] = {.lex_state = 15}, - [121] = {.lex_state = 15}, - [122] = {.lex_state = 15}, - [123] = {.lex_state = 15}, - [124] = {.lex_state = 15}, - [125] = {.lex_state = 15}, - [126] = {.lex_state = 15}, - [127] = {.lex_state = 15}, - [128] = {.lex_state = 7}, - [129] = {.lex_state = 7}, + [116] = {.lex_state = 1}, + [117] = {.lex_state = 1}, + [118] = {.lex_state = 2}, + [119] = {.lex_state = 16}, + [120] = {.lex_state = 16}, + [121] = {.lex_state = 16}, + [122] = {.lex_state = 16}, + [123] = {.lex_state = 16}, + [124] = {.lex_state = 16}, + [125] = {.lex_state = 16}, + [126] = {.lex_state = 16}, + [127] = {.lex_state = 16}, + [128] = {.lex_state = 16}, + [129] = {.lex_state = 16}, [130] = {.lex_state = 7}, [131] = {.lex_state = 7}, [132] = {.lex_state = 7}, @@ -2157,35 +2147,35 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [137] = {.lex_state = 7}, [138] = {.lex_state = 7}, [139] = {.lex_state = 7}, - [140] = {.lex_state = 1}, + [140] = {.lex_state = 7}, [141] = {.lex_state = 7}, [142] = {.lex_state = 1}, - [143] = {.lex_state = 0}, - [144] = {.lex_state = 0}, + [143] = {.lex_state = 7}, + [144] = {.lex_state = 1}, [145] = {.lex_state = 0}, [146] = {.lex_state = 0}, [147] = {.lex_state = 0}, [148] = {.lex_state = 0}, - [149] = {.lex_state = 1}, + [149] = {.lex_state = 0}, [150] = {.lex_state = 0}, [151] = {.lex_state = 1}, [152] = {.lex_state = 0}, [153] = {.lex_state = 0}, - [154] = {.lex_state = 32}, - [155] = {.lex_state = 32}, + [154] = {.lex_state = 0}, + [155] = {.lex_state = 1}, [156] = {.lex_state = 0}, [157] = {.lex_state = 0}, - [158] = {.lex_state = 1}, + [158] = {.lex_state = 0}, [159] = {.lex_state = 0}, - [160] = {.lex_state = 0}, - [161] = {.lex_state = 32}, - [162] = {.lex_state = 32}, + [160] = {.lex_state = 32}, + [161] = {.lex_state = 0}, + [162] = {.lex_state = 1}, [163] = {.lex_state = 0}, [164] = {.lex_state = 0}, [165] = {.lex_state = 36}, - [166] = {.lex_state = 1}, + [166] = {.lex_state = 32}, [167] = {.lex_state = 1}, - [168] = {.lex_state = 0}, + [168] = {.lex_state = 1}, [169] = {.lex_state = 0}, [170] = {.lex_state = 0}, }; @@ -2227,6 +2217,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_STAR_STAR] = ACTIONS(1), [anon_sym_AMP_AMP] = ACTIONS(1), [anon_sym_PIPE_PIPE] = ACTIONS(1), + [anon_sym_CARET_CARET] = ACTIONS(1), [anon_sym_EQ_EQ] = ACTIONS(1), [anon_sym_BANG_EQ] = ACTIONS(1), [anon_sym_LT_EQ] = ACTIONS(1), @@ -2247,32 +2238,32 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(157), - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(5), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_source_file] = STATE(163), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(4), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), - [aux_sym_source_file_repeat1] = STATE(5), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), + [aux_sym_source_file_repeat1] = STATE(4), [ts_builtin_sym_end] = ACTIONS(3), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), @@ -2301,33 +2292,33 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [2] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(4), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(5), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(36), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(28), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), [sym_map_item] = STATE(153), [sym_map_item_list] = STATE(170), - [sym_map] = STATE(29), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), - [aux_sym_source_file_repeat1] = STATE(4), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), + [aux_sym_source_file_repeat1] = STATE(5), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2356,30 +2347,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [3] = { - [sym_doc_comment] = STATE(83), + [sym_doc_comment] = STATE(84), [sym_statement] = STATE(3), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [aux_sym_source_file_repeat1] = STATE(3), [ts_builtin_sym_end] = ACTIONS(41), [sym_comment] = ACTIONS(43), @@ -2410,35 +2401,35 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(91), }, [4] = { - [sym_doc_comment] = STATE(83), + [sym_doc_comment] = STATE(84), [sym_statement] = STATE(3), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [aux_sym_source_file_repeat1] = STATE(3), + [ts_builtin_sym_end] = ACTIONS(94), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(94), [anon_sym_import] = ACTIONS(11), [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), @@ -2463,35 +2454,35 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [5] = { - [sym_doc_comment] = STATE(83), + [sym_doc_comment] = STATE(84), [sym_statement] = STATE(3), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [aux_sym_source_file_repeat1] = STATE(3), - [ts_builtin_sym_end] = ACTIONS(96), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(96), [anon_sym_import] = ACTIONS(11), [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), @@ -2516,30 +2507,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [6] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(78), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(72), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2547,8 +2538,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(98), - [anon_sym_DASH_GT] = ACTIONS(100), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(98), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), [anon_sym_assert] = ACTIONS(23), @@ -2568,30 +2559,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [7] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(67), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(74), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2600,7 +2591,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(102), + [anon_sym_DASH_GT] = ACTIONS(100), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), [anon_sym_assert] = ACTIONS(23), @@ -2620,30 +2611,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [8] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(79), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(77), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2651,7 +2642,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(102), [anon_sym_DASH_GT] = ACTIONS(104), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), @@ -2672,30 +2663,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [9] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(73), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(67), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2703,8 +2694,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(106), - [anon_sym_DASH_GT] = ACTIONS(108), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(106), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), [anon_sym_assert] = ACTIONS(23), @@ -2724,30 +2715,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [10] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(62), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(78), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2756,7 +2747,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(110), + [anon_sym_DASH_GT] = ACTIONS(108), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), [anon_sym_assert] = ACTIONS(23), @@ -2776,30 +2767,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [11] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(82), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(76), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2807,7 +2798,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_extern] = ACTIONS(13), [anon_sym_pure] = ACTIONS(13), [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_LPAREN] = ACTIONS(110), [anon_sym_DASH_GT] = ACTIONS(112), [anon_sym_class] = ACTIONS(19), [anon_sym_print] = ACTIONS(21), @@ -2828,30 +2819,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [12] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(70), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(80), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2879,30 +2870,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [13] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(80), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(79), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2930,30 +2921,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [14] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(64), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(82), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -2981,30 +2972,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [15] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(65), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(63), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -3032,30 +3023,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [16] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(66), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(65), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -3083,30 +3074,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [17] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(69), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(83), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -3134,30 +3125,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [18] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(76), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(66), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -3185,30 +3176,30 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_none] = ACTIONS(37), }, [19] = { - [sym_doc_comment] = STATE(83), - [sym_statement] = STATE(72), - [sym_block] = STATE(83), - [sym_import] = STATE(83), - [sym_qualifier] = STATE(140), + [sym_doc_comment] = STATE(84), + [sym_statement] = STATE(75), + [sym_block] = STATE(84), + [sym_import] = STATE(84), + [sym_qualifier] = STATE(142), [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(83), - [sym_class_declaration] = STATE(83), - [sym_print] = STATE(83), - [sym_assert] = STATE(83), - [sym_return] = STATE(83), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(29), - [sym_access_list] = STATE(29), - [sym_call] = STATE(29), - [sym_literal] = STATE(29), - [sym_var_declaration] = STATE(56), - [sym_assignment] = STATE(83), - [sym_binary_expression] = STATE(29), - [sym_vec] = STATE(29), - [sym_map] = STATE(29), + [sym_function_declaration] = STATE(84), + [sym_class_declaration] = STATE(84), + [sym_print] = STATE(84), + [sym_assert] = STATE(84), + [sym_return] = STATE(84), + [sym_expression] = STATE(31), + [sym_parenthesized_expression] = STATE(39), + [sym_access_list] = STATE(39), + [sym_call] = STATE(39), + [sym_literal] = STATE(39), + [sym_var_declaration] = STATE(58), + [sym_assignment] = STATE(84), + [sym_binary_expression] = STATE(39), + [sym_vec] = STATE(39), + [sym_map] = STATE(39), [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(34), - [sym_bool] = STATE(28), + [sym_identifier] = STATE(23), + [sym_bool] = STATE(34), [sym_comment] = ACTIONS(5), [anon_sym_POUND_POUND] = ACTIONS(7), [anon_sym_LBRACE] = ACTIONS(9), @@ -3248,9 +3239,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOT, anon_sym_LPAREN, anon_sym_RPAREN, - anon_sym_DASH_GT, anon_sym_COMMA, anon_sym_COLON, + anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, @@ -3275,9 +3266,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_GT, anon_sym_EQ, - anon_sym_DASH, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3298,9 +3289,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOT, anon_sym_LPAREN, anon_sym_RPAREN, - anon_sym_DASH_GT, anon_sym_COMMA, anon_sym_COLON, + anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, @@ -3325,9 +3316,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT, anon_sym_GT, anon_sym_EQ, - anon_sym_DASH, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3343,16 +3334,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOT, ACTIONS(128), 1, anon_sym_LPAREN, - STATE(91), 1, + STATE(89), 1, sym_operator, - ACTIONS(122), 21, + ACTIONS(122), 19, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3367,31 +3356,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - ACTIONS(124), 22, - anon_sym_import, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - anon_sym_print, - anon_sym_assert, - anon_sym_return, - anon_sym_LT, - anon_sym_GT, - anon_sym_LBRACK, - anon_sym_STAR, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - aux_sym_identifier_token1, - anon_sym_true, - anon_sym_false, - anon_sym_error, - sym_none, - [161] = 2, - ACTIONS(132), 22, + ACTIONS(124), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3404,6 +3369,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3414,7 +3380,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(130), 23, + [160] = 4, + ACTIONS(134), 1, + anon_sym_COLON, + ACTIONS(136), 1, + anon_sym_EQ, + ACTIONS(130), 20, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3422,9 +3393,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -3438,8 +3406,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [211] = 2, - ACTIONS(136), 22, + ACTIONS(132), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3452,6 +3419,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3462,7 +3430,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(134), 23, + [214] = 2, + ACTIONS(138), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3470,8 +3439,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3486,8 +3453,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [261] = 2, - ACTIONS(140), 22, + ACTIONS(140), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3500,6 +3466,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3510,7 +3477,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(138), 23, + [263] = 2, + ACTIONS(142), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3518,8 +3486,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3534,8 +3500,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [311] = 2, - ACTIONS(144), 22, + ACTIONS(144), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3548,6 +3513,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3558,7 +3524,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(142), 23, + [312] = 2, + ACTIONS(146), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3566,8 +3533,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3582,8 +3547,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [361] = 2, - ACTIONS(148), 22, + ACTIONS(148), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3596,6 +3560,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3606,16 +3571,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(146), 23, + [361] = 4, + ACTIONS(156), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + anon_sym_CARET_CARET, + ACTIONS(150), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, + sym_number, + sym_string, + ACTIONS(154), 13, + anon_sym_DOT, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3628,10 +3600,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - sym_number, - sym_string, - [411] = 2, - ACTIONS(152), 22, + ACTIONS(152), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3640,10 +3609,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, - anon_sym_LT, - anon_sym_GT, anon_sym_LBRACK, - anon_sym_STAR, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3654,17 +3620,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(150), 23, - ts_builtin_sym_end, + [414] = 8, + ACTIONS(126), 1, + anon_sym_DOT, + ACTIONS(128), 1, + anon_sym_LPAREN, + ACTIONS(164), 1, + anon_sym_COLON, + STATE(89), 1, + sym_operator, + ACTIONS(162), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + anon_sym_CARET_CARET, + ACTIONS(158), 6, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, + sym_number, + sym_string, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -3676,10 +3653,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - sym_number, - sym_string, - [461] = 2, - ACTIONS(156), 22, + ACTIONS(160), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3688,10 +3662,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, - anon_sym_LT, - anon_sym_GT, anon_sym_LBRACK, - anon_sym_STAR, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3702,17 +3673,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(154), 23, - ts_builtin_sym_end, - sym_comment, + [475] = 7, + ACTIONS(126), 1, + anon_sym_DOT, + ACTIONS(128), 1, + anon_sym_LPAREN, + STATE(89), 1, + sym_operator, + ACTIONS(162), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + anon_sym_CARET_CARET, + ACTIONS(168), 7, + ts_builtin_sym_end, + sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, + sym_number, + sym_string, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -3724,10 +3705,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - sym_number, - sym_string, - [511] = 2, - ACTIONS(160), 22, + ACTIONS(170), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3736,10 +3714,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, - anon_sym_LT, - anon_sym_GT, anon_sym_LBRACK, - anon_sym_STAR, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3750,7 +3725,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(158), 23, + [534] = 2, + ACTIONS(154), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3758,8 +3734,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3774,8 +3748,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [561] = 2, - ACTIONS(164), 22, + ACTIONS(156), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3788,6 +3761,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3798,17 +3772,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(162), 23, + [583] = 7, + ACTIONS(126), 1, + anon_sym_DOT, + ACTIONS(128), 1, + anon_sym_LPAREN, + STATE(89), 1, + sym_operator, + ACTIONS(162), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + anon_sym_CARET_CARET, + ACTIONS(158), 7, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, - anon_sym_COLON, + sym_number, + sym_string, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -3820,10 +3804,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - sym_number, - sym_string, - [611] = 2, - ACTIONS(168), 22, + ACTIONS(160), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3832,10 +3813,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, - anon_sym_LT, - anon_sym_GT, anon_sym_LBRACK, - anon_sym_STAR, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3846,7 +3824,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(166), 23, + [642] = 2, + ACTIONS(172), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3854,8 +3833,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3870,8 +3847,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [661] = 2, - ACTIONS(172), 22, + ACTIONS(174), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3884,6 +3860,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3894,7 +3871,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - ACTIONS(170), 23, + [691] = 2, + ACTIONS(176), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3902,8 +3880,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_COMMA, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3918,12 +3894,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - [711] = 4, - ACTIONS(174), 1, - anon_sym_COLON, - ACTIONS(176), 1, - anon_sym_EQ, - ACTIONS(154), 20, + ACTIONS(178), 23, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, + anon_sym_LT, + anon_sym_GT, + anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_CARET_CARET, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + aux_sym_identifier_token1, + anon_sym_true, + anon_sym_false, + anon_sym_error, + sym_none, + [740] = 2, + ACTIONS(180), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -3931,6 +3927,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -3944,7 +3941,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, sym_number, sym_string, - ACTIONS(156), 22, + ACTIONS(182), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -3957,6 +3954,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_LBRACK, anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -3967,22 +3965,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [764] = 4, - ACTIONS(144), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(178), 8, + [789] = 2, + ACTIONS(184), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LPAREN, - sym_number, - sym_string, - ACTIONS(142), 13, anon_sym_DOT, + anon_sym_LPAREN, anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, @@ -3995,7 +3986,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(180), 19, + sym_number, + sym_string, + ACTIONS(186), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4004,7 +3997,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, + anon_sym_LT, + anon_sym_GT, anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -4015,27 +4012,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [816] = 8, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - ACTIONS(188), 1, - anon_sym_COLON, - STATE(91), 1, - sym_operator, - ACTIONS(186), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(182), 6, + [838] = 2, + ACTIONS(188), 21, + ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(190), 11, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4047,7 +4033,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(184), 19, + sym_number, + sym_string, + ACTIONS(190), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4056,7 +4044,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, + anon_sym_LT, + anon_sym_GT, anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -4067,26 +4059,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [876] = 7, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - STATE(91), 1, - sym_operator, - ACTIONS(186), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(192), 7, + [887] = 2, + ACTIONS(192), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(190), 11, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4098,7 +4080,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(194), 19, + sym_number, + sym_string, + ACTIONS(194), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4107,7 +4091,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, + anon_sym_LT, + anon_sym_GT, anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -4118,17 +4106,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [934] = 7, + [936] = 7, ACTIONS(126), 1, anon_sym_DOT, ACTIONS(128), 1, anon_sym_LPAREN, - STATE(91), 1, + STATE(89), 1, sym_operator, - ACTIONS(186), 3, + ACTIONS(162), 4, anon_sym_LT, anon_sym_GT, anon_sym_STAR, + anon_sym_CARET_CARET, ACTIONS(196), 7, ts_builtin_sym_end, sym_comment, @@ -4137,7 +4126,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, sym_number, sym_string, - ACTIONS(190), 11, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4169,26 +4158,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [992] = 7, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - STATE(91), 1, - sym_operator, - ACTIONS(186), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(182), 7, + [995] = 2, + ACTIONS(130), 21, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(190), 11, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COLON, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4200,7 +4179,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(184), 19, + sym_number, + sym_string, + ACTIONS(132), 23, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4209,7 +4190,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, + anon_sym_LT, + anon_sym_GT, anon_sym_LBRACK, + anon_sym_STAR, + anon_sym_CARET_CARET, anon_sym_any, anon_sym_int, anon_sym_str, @@ -4220,17 +4205,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1050] = 7, + [1044] = 7, ACTIONS(126), 1, anon_sym_DOT, ACTIONS(128), 1, anon_sym_LPAREN, - STATE(91), 1, + STATE(89), 1, sym_operator, - ACTIONS(186), 3, + ACTIONS(162), 4, anon_sym_LT, anon_sym_GT, anon_sym_STAR, + anon_sym_CARET_CARET, ACTIONS(200), 7, ts_builtin_sym_end, sym_comment, @@ -4239,7 +4225,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, sym_number, sym_string, - ACTIONS(190), 11, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4271,17 +4257,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1108] = 7, + [1103] = 7, ACTIONS(126), 1, anon_sym_DOT, ACTIONS(128), 1, anon_sym_LPAREN, - STATE(91), 1, + STATE(89), 1, sym_operator, - ACTIONS(186), 3, + ACTIONS(162), 4, anon_sym_LT, anon_sym_GT, anon_sym_STAR, + anon_sym_CARET_CARET, ACTIONS(204), 7, ts_builtin_sym_end, sym_comment, @@ -4290,7 +4277,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACE, sym_number, sym_string, - ACTIONS(190), 11, + ACTIONS(166), 11, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -4322,7 +4309,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1166] = 14, + [1162] = 14, ACTIONS(17), 1, anon_sym_LPAREN, ACTIONS(27), 1, @@ -4335,7 +4322,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(21), 1, sym_primitive_type, - STATE(28), 1, + STATE(34), 1, sym_bool, STATE(38), 1, sym_expression, @@ -4366,7 +4353,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_print, anon_sym_assert, anon_sym_return, - STATE(29), 8, + STATE(39), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4375,7 +4362,7 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [1233] = 3, + [1229] = 3, ACTIONS(218), 1, anon_sym_LT, ACTIONS(214), 12, @@ -4411,7 +4398,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1272] = 3, + [1268] = 3, ACTIONS(220), 1, anon_sym_LT, ACTIONS(214), 12, @@ -4447,7 +4434,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1311] = 2, + [1307] = 2, ACTIONS(222), 12, ts_builtin_sym_end, sym_comment, @@ -4481,7 +4468,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1347] = 2, + [1343] = 2, ACTIONS(226), 12, ts_builtin_sym_end, sym_comment, @@ -4515,21 +4502,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1383] = 2, - ACTIONS(230), 12, + [1379] = 2, + ACTIONS(114), 12, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_DOT, anon_sym_LPAREN, - anon_sym_RPAREN, + anon_sym_DASH_GT, anon_sym_GT, - anon_sym_COMMA, anon_sym_EQ, sym_number, sym_string, - ACTIONS(232), 19, + ACTIONS(116), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4549,7 +4536,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1419] = 2, + [1415] = 2, ACTIONS(214), 12, ts_builtin_sym_end, sym_comment, @@ -4583,43 +4570,111 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1455] = 15, - ACTIONS(17), 1, + [1451] = 2, + ACTIONS(230), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(27), 1, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(232), 19, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, anon_sym_LBRACK, - ACTIONS(31), 1, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, aux_sym_identifier_token1, - ACTIONS(37), 1, + anon_sym_true, + anon_sym_false, + anon_sym_error, sym_none, - ACTIONS(210), 1, + [1487] = 2, + ACTIONS(118), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_DASH_GT, + anon_sym_GT, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(120), 19, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, + anon_sym_LBRACK, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + aux_sym_identifier_token1, + anon_sym_true, + anon_sym_false, + anon_sym_error, + sym_none, + [1523] = 15, ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, anon_sym_RBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + ACTIONS(238), 1, + anon_sym_LPAREN, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + STATE(103), 1, sym_bool, - STATE(102), 1, + STATE(108), 1, + sym_primitive_type, + STATE(116), 1, sym_expression, STATE(153), 1, sym_map_item, STATE(164), 1, sym_map_item_list, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4628,43 +4683,45 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [1515] = 15, - ACTIONS(17), 1, + [1583] = 16, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(236), 1, - anon_sym_RBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + ACTIONS(252), 1, + anon_sym_RPAREN, + STATE(103), 1, sym_bool, - STATE(102), 1, + STATE(108), 1, + sym_primitive_type, + STATE(114), 1, + sym_identifier, + STATE(117), 1, sym_expression, - STATE(153), 1, - sym_map_item, - STATE(170), 1, - sym_map_item_list, - ACTIONS(33), 2, + STATE(149), 1, + sym_param, + STATE(156), 1, + sym_param_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 7, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4672,46 +4729,43 @@ static const uint16_t ts_small_parse_table[] = { sym_binary_expression, sym_vec, sym_map, - sym_identifier, - [1575] = 16, - ACTIONS(17), 1, + [1645] = 15, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(238), 1, - anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + ACTIONS(254), 1, + anon_sym_RBRACE, + STATE(103), 1, sym_bool, - STATE(99), 1, - sym_identifier, - STATE(112), 1, + STATE(108), 1, + sym_primitive_type, + STATE(116), 1, sym_expression, - STATE(144), 1, - sym_param, - STATE(168), 1, - sym_param_list, - ACTIONS(33), 2, + STATE(153), 1, + sym_map_item, + STATE(170), 1, + sym_map_item_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 7, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4719,45 +4773,46 @@ static const uint16_t ts_small_parse_table[] = { sym_binary_expression, sym_vec, sym_map, - [1637] = 16, - ACTIONS(17), 1, + sym_identifier, + [1705] = 16, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(240), 1, + ACTIONS(256), 1, anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(99), 1, + STATE(108), 1, + sym_primitive_type, + STATE(114), 1, sym_identifier, - STATE(112), 1, + STATE(117), 1, sym_expression, - STATE(144), 1, + STATE(149), 1, sym_param, - STATE(156), 1, + STATE(159), 1, sym_param_list, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 7, + STATE(109), 7, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4765,8 +4820,8 @@ static const uint16_t ts_small_parse_table[] = { sym_binary_expression, sym_vec, sym_map, - [1699] = 2, - ACTIONS(242), 9, + [1767] = 2, + ACTIONS(258), 9, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -4776,7 +4831,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, sym_number, sym_string, - ACTIONS(244), 19, + ACTIONS(260), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4796,41 +4851,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1732] = 14, - ACTIONS(17), 1, + [1800] = 14, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(246), 1, + ACTIONS(262), 1, anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(94), 1, + STATE(108), 1, + sym_primitive_type, + STATE(110), 1, sym_expression, - STATE(163), 1, + STATE(158), 1, sym_arg_list, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4839,53 +4894,42 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [1789] = 14, - ACTIONS(248), 1, + [1857] = 3, + ACTIONS(268), 1, + anon_sym_DOT, + ACTIONS(264), 8, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, anon_sym_LBRACE, - ACTIONS(250), 1, + anon_sym_RBRACE, anon_sym_LPAREN, - ACTIONS(252), 1, - anon_sym_LBRACK, - ACTIONS(254), 1, - anon_sym_RBRACK, - ACTIONS(258), 1, - aux_sym_identifier_token1, - ACTIONS(264), 1, - sym_none, - STATE(96), 1, - sym_expression, - STATE(100), 1, - sym_bool, - STATE(105), 1, - sym_primitive_type, - STATE(158), 1, - sym_expression_list, - ACTIONS(260), 2, sym_number, sym_string, - ACTIONS(262), 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(256), 5, + ACTIONS(266), 19, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, + anon_sym_LBRACK, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(109), 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1846] = 3, - ACTIONS(266), 1, + aux_sym_identifier_token1, + anon_sym_true, + anon_sym_false, + anon_sym_error, + sym_none, + [1892] = 3, + ACTIONS(270), 1, anon_sym_EQ, - ACTIONS(182), 8, + ACTIONS(158), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -4894,7 +4938,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(184), 19, + ACTIONS(160), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -4914,41 +4958,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [1881] = 14, - ACTIONS(17), 1, + [1927] = 14, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(268), 1, - anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(94), 1, + STATE(108), 1, + sym_primitive_type, + STATE(116), 1, sym_expression, - STATE(169), 1, - sym_arg_list, - ACTIONS(33), 2, + STATE(153), 1, + sym_map_item, + STATE(157), 1, + sym_map_item_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -4957,73 +5001,84 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [1938] = 3, - ACTIONS(274), 1, - anon_sym_DOT, - ACTIONS(270), 8, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, + [1984] = 14, + ACTIONS(234), 1, anon_sym_LBRACE, - anon_sym_RBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + ACTIONS(272), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_bool, + STATE(108), 1, + sym_primitive_type, + STATE(110), 1, + sym_expression, + STATE(169), 1, + sym_arg_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(272), 19, - anon_sym_import, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - anon_sym_print, - anon_sym_assert, - anon_sym_return, - anon_sym_LBRACK, + ACTIONS(248), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - aux_sym_identifier_token1, - anon_sym_true, - anon_sym_false, - anon_sym_error, - sym_none, - [1973] = 14, - ACTIONS(17), 1, + STATE(109), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2041] = 14, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + ACTIONS(274), 1, + anon_sym_RBRACK, + STATE(103), 1, sym_bool, - STATE(102), 1, + STATE(108), 1, + sym_primitive_type, + STATE(112), 1, sym_expression, - STATE(153), 1, - sym_map_item, - STATE(159), 1, - sym_map_item_list, - ACTIONS(33), 2, + STATE(167), 1, + sym_expression_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5032,35 +5087,35 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [2030] = 14, - ACTIONS(248), 1, + [2098] = 14, + ACTIONS(234), 1, anon_sym_LBRACE, - ACTIONS(250), 1, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(252), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(258), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(264), 1, + ACTIONS(250), 1, sym_none, ACTIONS(276), 1, anon_sym_RBRACK, - STATE(96), 1, - sym_expression, - STATE(100), 1, + STATE(103), 1, sym_bool, - STATE(105), 1, + STATE(108), 1, sym_primitive_type, - STATE(167), 1, + STATE(112), 1, + sym_expression, + STATE(168), 1, sym_expression_list, - ACTIONS(260), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(262), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(256), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, @@ -5075,7 +5130,7 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [2087] = 2, + [2155] = 2, ACTIONS(278), 8, ts_builtin_sym_end, sym_comment, @@ -5105,7 +5160,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2119] = 2, + [2187] = 2, ACTIONS(282), 8, ts_builtin_sym_end, sym_comment, @@ -5135,7 +5190,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2151] = 2, + [2219] = 2, ACTIONS(286), 8, ts_builtin_sym_end, sym_comment, @@ -5165,7 +5220,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2183] = 2, + [2251] = 2, ACTIONS(290), 8, ts_builtin_sym_end, sym_comment, @@ -5195,7 +5250,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2215] = 2, + [2283] = 2, ACTIONS(294), 8, ts_builtin_sym_end, sym_comment, @@ -5225,7 +5280,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2247] = 2, + [2315] = 2, ACTIONS(298), 8, ts_builtin_sym_end, sym_comment, @@ -5255,17 +5310,58 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2279] = 2, - ACTIONS(302), 8, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, + [2347] = 13, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, + anon_sym_LPAREN, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + ACTIONS(302), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_bool, + STATE(108), 1, + sym_primitive_type, + STATE(113), 1, + sym_expression, + ACTIONS(246), 2, + sym_number, + sym_string, + ACTIONS(248), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(242), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + STATE(109), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2401] = 2, + ACTIONS(304), 8, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(304), 19, + ACTIONS(306), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5285,8 +5381,49 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2311] = 2, - ACTIONS(306), 8, + [2433] = 13, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, + anon_sym_LPAREN, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + ACTIONS(308), 1, + anon_sym_RPAREN, + STATE(103), 1, + sym_bool, + STATE(108), 1, + sym_primitive_type, + STATE(113), 1, + sym_expression, + ACTIONS(246), 2, + sym_number, + sym_string, + ACTIONS(248), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(242), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + STATE(109), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2487] = 2, + ACTIONS(310), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5295,7 +5432,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(308), 19, + ACTIONS(312), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5315,8 +5452,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2343] = 2, - ACTIONS(310), 8, + [2519] = 2, + ACTIONS(314), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5325,7 +5462,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(312), 19, + ACTIONS(316), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5345,8 +5482,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2375] = 2, - ACTIONS(314), 8, + [2551] = 2, + ACTIONS(318), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5355,7 +5492,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(316), 19, + ACTIONS(320), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5375,49 +5512,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2407] = 13, - ACTIONS(17), 1, - anon_sym_LPAREN, - ACTIONS(27), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - aux_sym_identifier_token1, - ACTIONS(37), 1, - sym_none, - ACTIONS(210), 1, + [2583] = 2, + ACTIONS(322), 8, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, anon_sym_LBRACE, - ACTIONS(318), 1, - anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, - sym_bool, - STATE(97), 1, - sym_expression, - ACTIONS(33), 2, + anon_sym_RBRACE, + anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(35), 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(29), 5, + ACTIONS(324), 19, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, + anon_sym_LBRACK, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2461] = 2, - ACTIONS(320), 8, + aux_sym_identifier_token1, + anon_sym_true, + anon_sym_false, + anon_sym_error, + sym_none, + [2615] = 2, + ACTIONS(326), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5426,7 +5552,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(322), 19, + ACTIONS(328), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5446,8 +5572,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2493] = 2, - ACTIONS(324), 8, + [2647] = 2, + ACTIONS(330), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5456,7 +5582,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(326), 19, + ACTIONS(332), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5476,8 +5602,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2525] = 2, - ACTIONS(328), 8, + [2679] = 2, + ACTIONS(334), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5486,7 +5612,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(330), 19, + ACTIONS(336), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5506,8 +5632,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2557] = 2, - ACTIONS(332), 8, + [2711] = 2, + ACTIONS(338), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5516,7 +5642,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(334), 19, + ACTIONS(340), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5536,8 +5662,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2589] = 2, - ACTIONS(336), 8, + [2743] = 2, + ACTIONS(342), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5546,7 +5672,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(338), 19, + ACTIONS(344), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5566,39 +5692,39 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2621] = 13, - ACTIONS(17), 1, + [2775] = 13, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - ACTIONS(340), 1, - anon_sym_RPAREN, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(97), 1, + STATE(108), 1, + sym_primitive_type, + STATE(112), 1, sym_expression, - ACTIONS(33), 2, + STATE(162), 1, + sym_expression_list, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5607,37 +5733,7 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [2675] = 2, - ACTIONS(342), 8, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - sym_number, - sym_string, - ACTIONS(344), 19, - anon_sym_import, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - anon_sym_print, - anon_sym_assert, - anon_sym_return, - anon_sym_LBRACK, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - aux_sym_identifier_token1, - anon_sym_true, - anon_sym_false, - anon_sym_error, - sym_none, - [2707] = 2, + [2829] = 2, ACTIONS(346), 8, ts_builtin_sym_end, sym_comment, @@ -5667,7 +5763,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2739] = 2, + [2861] = 2, ACTIONS(350), 8, ts_builtin_sym_end, sym_comment, @@ -5697,49 +5793,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2771] = 13, - ACTIONS(248), 1, - anon_sym_LBRACE, - ACTIONS(250), 1, - anon_sym_LPAREN, - ACTIONS(252), 1, - anon_sym_LBRACK, - ACTIONS(258), 1, - aux_sym_identifier_token1, - ACTIONS(264), 1, - sym_none, - STATE(96), 1, - sym_expression, - STATE(100), 1, - sym_bool, - STATE(105), 1, - sym_primitive_type, - STATE(166), 1, - sym_expression_list, - ACTIONS(260), 2, - sym_number, - sym_string, - ACTIONS(262), 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(256), 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - STATE(109), 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2825] = 2, - ACTIONS(354), 8, + [2893] = 2, + ACTIONS(158), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5748,7 +5803,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(356), 19, + ACTIONS(160), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5768,8 +5823,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2857] = 2, - ACTIONS(182), 8, + [2925] = 2, + ACTIONS(354), 8, ts_builtin_sym_end, sym_comment, anon_sym_POUND_POUND, @@ -5778,7 +5833,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, sym_number, sym_string, - ACTIONS(184), 19, + ACTIONS(356), 19, anon_sym_import, anon_sym_extern, anon_sym_pure, @@ -5798,7 +5853,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [2889] = 12, + [2957] = 12, ACTIONS(17), 1, anon_sym_LPAREN, ACTIONS(27), 1, @@ -5811,10 +5866,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(21), 1, sym_primitive_type, - STATE(28), 1, - sym_bool, - STATE(41), 1, + STATE(29), 1, sym_expression, + STATE(34), 1, + sym_bool, ACTIONS(33), 2, sym_number, sym_string, @@ -5828,7 +5883,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(39), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5837,7 +5892,7 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [2940] = 12, + [3008] = 12, ACTIONS(17), 1, anon_sym_LPAREN, ACTIONS(27), 1, @@ -5850,9 +5905,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(21), 1, sym_primitive_type, - STATE(28), 1, + STATE(34), 1, sym_bool, - STATE(40), 1, + STATE(41), 1, sym_expression, ACTIONS(33), 2, sym_number, @@ -5867,7 +5922,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(39), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5876,66 +5931,37 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [2991] = 2, - ACTIONS(358), 7, - sym_comment, - anon_sym_POUND_POUND, + [3059] = 12, + ACTIONS(234), 1, anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - anon_sym_DASH_GT, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + STATE(103), 1, + sym_bool, + STATE(108), 1, + sym_primitive_type, + STATE(115), 1, + sym_expression, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(360), 19, - anon_sym_import, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - anon_sym_print, - anon_sym_assert, - anon_sym_return, - anon_sym_LBRACK, + ACTIONS(248), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - aux_sym_identifier_token1, - anon_sym_true, - anon_sym_false, - anon_sym_error, - sym_none, - [3022] = 12, - ACTIONS(17), 1, - anon_sym_LPAREN, - ACTIONS(27), 1, - anon_sym_LBRACK, - ACTIONS(31), 1, - aux_sym_identifier_token1, - ACTIONS(37), 1, - sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, - sym_bool, - STATE(101), 1, - sym_expression, - ACTIONS(33), 2, - sym_number, - sym_string, - ACTIONS(35), 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(29), 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5944,7 +5970,7 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3073] = 12, + [3110] = 12, ACTIONS(17), 1, anon_sym_LPAREN, ACTIONS(27), 1, @@ -5957,10 +5983,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LBRACE, STATE(21), 1, sym_primitive_type, - STATE(28), 1, - sym_bool, - STATE(95), 1, + STATE(22), 1, sym_expression, + STATE(34), 1, + sym_bool, ACTIONS(33), 2, sym_number, sym_string, @@ -5974,7 +6000,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(39), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -5983,37 +6009,37 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3124] = 12, - ACTIONS(17), 1, + [3161] = 12, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(97), 1, + STATE(108), 1, + sym_primitive_type, + STATE(113), 1, sym_expression, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -6022,37 +6048,66 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3175] = 12, - ACTIONS(17), 1, + [3212] = 2, + ACTIONS(358), 7, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, anon_sym_LPAREN, - ACTIONS(27), 1, + anon_sym_DASH_GT, + sym_number, + sym_string, + ACTIONS(360), 19, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, anon_sym_LBRACK, - ACTIONS(31), 1, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, aux_sym_identifier_token1, - ACTIONS(37), 1, + anon_sym_true, + anon_sym_false, + anon_sym_error, sym_none, - ACTIONS(210), 1, + [3243] = 12, + ACTIONS(234), 1, anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + ACTIONS(238), 1, + anon_sym_LPAREN, + ACTIONS(240), 1, + anon_sym_LBRACK, + ACTIONS(244), 1, + aux_sym_identifier_token1, + ACTIONS(250), 1, + sym_none, + STATE(103), 1, sym_bool, - STATE(37), 1, + STATE(108), 1, + sym_primitive_type, + STATE(117), 1, sym_expression, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -6061,37 +6116,37 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3226] = 12, - ACTIONS(17), 1, + [3294] = 12, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(22), 1, + STATE(96), 1, sym_expression, - STATE(28), 1, + STATE(103), 1, sym_bool, - ACTIONS(33), 2, + STATE(108), 1, + sym_primitive_type, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -6100,37 +6155,37 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3277] = 12, - ACTIONS(17), 1, + [3345] = 12, + ACTIONS(234), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, anon_sym_LPAREN, - ACTIONS(27), 1, + ACTIONS(240), 1, anon_sym_LBRACK, - ACTIONS(31), 1, + ACTIONS(244), 1, aux_sym_identifier_token1, - ACTIONS(37), 1, + ACTIONS(250), 1, sym_none, - ACTIONS(210), 1, - anon_sym_LBRACE, - STATE(21), 1, - sym_primitive_type, - STATE(28), 1, + STATE(103), 1, sym_bool, - STATE(112), 1, + STATE(108), 1, + sym_primitive_type, + STATE(111), 1, sym_expression, - ACTIONS(33), 2, + ACTIONS(246), 2, sym_number, sym_string, - ACTIONS(35), 3, + ACTIONS(248), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(29), 5, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(29), 8, + STATE(109), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -6139,37 +6194,37 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3328] = 12, - ACTIONS(248), 1, - anon_sym_LBRACE, - ACTIONS(250), 1, + [3396] = 12, + ACTIONS(17), 1, anon_sym_LPAREN, - ACTIONS(252), 1, + ACTIONS(27), 1, anon_sym_LBRACK, - ACTIONS(258), 1, + ACTIONS(31), 1, aux_sym_identifier_token1, - ACTIONS(264), 1, + ACTIONS(37), 1, sym_none, - STATE(98), 1, - sym_expression, - STATE(100), 1, - sym_bool, - STATE(105), 1, + ACTIONS(210), 1, + anon_sym_LBRACE, + STATE(21), 1, sym_primitive_type, - ACTIONS(260), 2, + STATE(34), 1, + sym_bool, + STATE(40), 1, + sym_expression, + ACTIONS(33), 2, sym_number, sym_string, - ACTIONS(262), 3, + ACTIONS(35), 3, anon_sym_true, anon_sym_false, anon_sym_error, - ACTIONS(256), 5, + ACTIONS(29), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - STATE(109), 8, + STATE(39), 8, sym_parenthesized_expression, sym_access_list, sym_call, @@ -6178,127 +6233,97 @@ static const uint16_t ts_small_parse_table[] = { sym_vec, sym_map, sym_identifier, - [3379] = 8, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, + [3447] = 5, ACTIONS(362), 1, - anon_sym_RPAREN, + anon_sym_DOT, ACTIONS(364), 1, - anon_sym_COMMA, - STATE(91), 1, + anon_sym_LPAREN, + STATE(93), 1, sym_operator, - STATE(145), 1, - aux_sym_arg_list_repeat1, - ACTIONS(186), 3, + ACTIONS(124), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(190), 11, + ACTIONS(122), 17, + anon_sym_RBRACE, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3416] = 6, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - STATE(91), 1, - sym_operator, - ACTIONS(366), 2, - anon_sym_RBRACE, - anon_sym_COMMA, - ACTIONS(186), 3, + [3481] = 2, + ACTIONS(156), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(190), 11, - anon_sym_DASH, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_PERCENT, - anon_sym_STAR_STAR, - anon_sym_AMP_AMP, - anon_sym_PIPE_PIPE, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - [3448] = 7, - ACTIONS(368), 1, + ACTIONS(154), 19, + anon_sym_RBRACE, anon_sym_DOT, - ACTIONS(370), 1, anon_sym_LPAREN, - ACTIONS(372), 1, + anon_sym_RPAREN, anon_sym_COMMA, - ACTIONS(374), 1, - anon_sym_RBRACK, - STATE(93), 1, - sym_operator, - ACTIONS(186), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(190), 11, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3482] = 6, - ACTIONS(126), 1, + [3508] = 2, + ACTIONS(148), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + ACTIONS(146), 19, + anon_sym_RBRACE, anon_sym_DOT, - ACTIONS(128), 1, anon_sym_LPAREN, - STATE(91), 1, - sym_operator, - ACTIONS(376), 2, anon_sym_RPAREN, anon_sym_COMMA, - ACTIONS(186), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(190), 11, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3514] = 5, - ACTIONS(368), 1, - anon_sym_DOT, - ACTIONS(370), 1, - anon_sym_LPAREN, - STATE(93), 1, - sym_operator, - ACTIONS(124), 3, + [3535] = 2, + ACTIONS(186), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(122), 13, + ACTIONS(184), 19, + anon_sym_RBRACE, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6307,43 +6332,48 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3544] = 4, - ACTIONS(380), 1, - anon_sym_COLON, - ACTIONS(378), 2, - anon_sym_RPAREN, - anon_sym_COMMA, - ACTIONS(156), 3, + [3562] = 2, + ACTIONS(194), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(154), 13, + ACTIONS(192), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3572] = 2, - ACTIONS(152), 3, + [3589] = 2, + ACTIONS(144), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(150), 15, + ACTIONS(142), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6352,69 +6382,73 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3595] = 6, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - ACTIONS(382), 1, - anon_sym_RPAREN, - STATE(91), 1, - sym_operator, - ACTIONS(186), 3, + [3616] = 2, + ACTIONS(190), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(190), 11, + ACTIONS(188), 19, + anon_sym_RBRACE, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3626] = 6, - ACTIONS(126), 1, - anon_sym_DOT, - ACTIONS(128), 1, - anon_sym_LPAREN, - ACTIONS(188), 1, - anon_sym_COLON, - STATE(91), 1, - sym_operator, - ACTIONS(186), 3, + [3643] = 2, + ACTIONS(182), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(190), 11, + ACTIONS(180), 19, + anon_sym_RBRACE, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, + anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3657] = 2, - ACTIONS(140), 3, + [3670] = 2, + ACTIONS(174), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(138), 15, + ACTIONS(172), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6423,19 +6457,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3680] = 2, - ACTIONS(132), 3, + [3697] = 2, + ACTIONS(178), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(130), 15, + ACTIONS(176), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6444,19 +6482,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3703] = 2, - ACTIONS(120), 3, + [3724] = 2, + ACTIONS(140), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(118), 15, + ACTIONS(138), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6465,19 +6507,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3726] = 2, + [3751] = 2, ACTIONS(116), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(114), 15, + ACTIONS(114), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6486,19 +6532,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3749] = 2, - ACTIONS(164), 3, + [3778] = 2, + ACTIONS(120), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(162), 15, + ACTIONS(118), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6507,19 +6557,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3772] = 2, - ACTIONS(172), 3, + [3805] = 2, + ACTIONS(132), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(170), 15, + ACTIONS(130), 19, + anon_sym_RBRACE, anon_sym_DOT, anon_sym_LPAREN, + anon_sym_RPAREN, anon_sym_COMMA, + anon_sym_COLON, anon_sym_DASH, anon_sym_RBRACK, anon_sym_PLUS, @@ -6528,87 +6582,111 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3795] = 2, - ACTIONS(156), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(154), 15, + [3832] = 8, + ACTIONS(362), 1, anon_sym_DOT, + ACTIONS(364), 1, anon_sym_LPAREN, + ACTIONS(366), 1, + anon_sym_RPAREN, + ACTIONS(368), 1, anon_sym_COMMA, + STATE(93), 1, + sym_operator, + STATE(145), 1, + aux_sym_arg_list_repeat1, + ACTIONS(162), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + ACTIONS(166), 12, anon_sym_DASH, - anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3818] = 2, - ACTIONS(148), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(146), 15, + [3870] = 6, + ACTIONS(362), 1, anon_sym_DOT, + ACTIONS(364), 1, anon_sym_LPAREN, + STATE(93), 1, + sym_operator, + ACTIONS(370), 2, + anon_sym_RBRACE, anon_sym_COMMA, + ACTIONS(162), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + ACTIONS(166), 12, anon_sym_DASH, - anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3841] = 2, - ACTIONS(136), 3, - anon_sym_LT, - anon_sym_GT, - anon_sym_STAR, - ACTIONS(134), 15, + [3903] = 7, + ACTIONS(362), 1, anon_sym_DOT, + ACTIONS(364), 1, anon_sym_LPAREN, + ACTIONS(372), 1, anon_sym_COMMA, - anon_sym_DASH, + ACTIONS(374), 1, anon_sym_RBRACK, + STATE(93), 1, + sym_operator, + ACTIONS(162), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + ACTIONS(166), 12, + anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3864] = 6, - ACTIONS(126), 1, + [3938] = 6, + ACTIONS(362), 1, anon_sym_DOT, - ACTIONS(128), 1, + ACTIONS(364), 1, anon_sym_LPAREN, - ACTIONS(384), 1, - anon_sym_RPAREN, - STATE(91), 1, + STATE(93), 1, sym_operator, - ACTIONS(186), 3, + ACTIONS(376), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + ACTIONS(162), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(190), 11, + ACTIONS(166), 12, anon_sym_DASH, anon_sym_PLUS, anon_sym_SLASH, @@ -6616,74 +6694,115 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3895] = 2, - ACTIONS(144), 3, + [3971] = 4, + ACTIONS(380), 1, + anon_sym_COLON, + ACTIONS(378), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + ACTIONS(132), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(142), 15, + ACTIONS(130), 14, anon_sym_DOT, anon_sym_LPAREN, - anon_sym_COMMA, anon_sym_DASH, - anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3918] = 2, - ACTIONS(160), 3, + [4000] = 6, + ACTIONS(362), 1, + anon_sym_DOT, + ACTIONS(364), 1, + anon_sym_LPAREN, + ACTIONS(382), 1, + anon_sym_RPAREN, + STATE(93), 1, + sym_operator, + ACTIONS(162), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(158), 15, + ACTIONS(166), 12, + anon_sym_DASH, + anon_sym_PLUS, + anon_sym_SLASH, + anon_sym_PERCENT, + anon_sym_STAR_STAR, + anon_sym_AMP_AMP, + anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + [4032] = 6, + ACTIONS(164), 1, + anon_sym_COLON, + ACTIONS(362), 1, anon_sym_DOT, + ACTIONS(364), 1, anon_sym_LPAREN, - anon_sym_COMMA, + STATE(93), 1, + sym_operator, + ACTIONS(162), 3, + anon_sym_LT, + anon_sym_GT, + anon_sym_STAR, + ACTIONS(166), 12, anon_sym_DASH, - anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3941] = 2, - ACTIONS(168), 3, + [4064] = 6, + ACTIONS(362), 1, + anon_sym_DOT, + ACTIONS(364), 1, + anon_sym_LPAREN, + ACTIONS(384), 1, + anon_sym_RPAREN, + STATE(93), 1, + sym_operator, + ACTIONS(162), 3, anon_sym_LT, anon_sym_GT, anon_sym_STAR, - ACTIONS(166), 15, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, + ACTIONS(166), 12, anon_sym_DASH, - anon_sym_RBRACK, anon_sym_PLUS, anon_sym_SLASH, anon_sym_PERCENT, anon_sym_STAR_STAR, anon_sym_AMP_AMP, anon_sym_PIPE_PIPE, + anon_sym_CARET_CARET, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [3964] = 2, + [4096] = 2, ACTIONS(386), 4, anon_sym_LBRACE, anon_sym_LPAREN, @@ -6701,188 +6820,167 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_false, anon_sym_error, sym_none, - [3984] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4116] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, + ACTIONS(396), 1, + aux_sym_identifier_token1, + STATE(16), 1, + sym_type, STATE(48), 1, sym_identifier, - STATE(160), 1, - sym_type, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4013] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4145] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, + ACTIONS(396), 1, + aux_sym_identifier_token1, STATE(48), 1, sym_identifier, - STATE(150), 1, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + STATE(55), 1, sym_type, - ACTIONS(29), 5, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4042] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4174] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(17), 1, - sym_type, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, - STATE(48), 1, - sym_identifier, - ACTIONS(29), 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [4071] = 8, - ACTIONS(31), 1, + ACTIONS(396), 1, aux_sym_identifier_token1, - ACTIONS(390), 1, - anon_sym_vec, - ACTIONS(392), 1, - anon_sym_map, - STATE(16), 1, + STATE(18), 1, sym_type, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4100] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4203] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, + ACTIONS(396), 1, + aux_sym_identifier_token1, STATE(15), 1, sym_type, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4129] = 8, + [4232] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - STATE(154), 1, - sym_type, - STATE(162), 1, + STATE(49), 1, + sym_type_name, + STATE(50), 1, sym_primitive_type, + STATE(160), 1, + sym_type, ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4158] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4261] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(12), 1, + ACTIONS(396), 1, + aux_sym_identifier_token1, + STATE(13), 1, sym_type, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4187] = 8, + [4290] = 8, ACTIONS(31), 1, aux_sym_identifier_token1, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(14), 1, - sym_type, STATE(21), 1, sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, + STATE(49), 1, + sym_type_name, + STATE(161), 1, + sym_type, ACTIONS(29), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4216] = 8, + [4319] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(46), 1, - sym_type_name, + STATE(14), 1, + sym_type, STATE(48), 1, sym_identifier, - STATE(155), 1, - sym_type, - STATE(162), 1, + STATE(49), 1, + sym_type_name, + STATE(50), 1, sym_primitive_type, ACTIONS(394), 5, anon_sym_any, @@ -6890,7 +6988,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - [4245] = 8, + [4348] = 8, ACTIONS(31), 1, aux_sym_identifier_token1, ACTIONS(390), 1, @@ -6899,11 +6997,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_map, STATE(21), 1, sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - STATE(53), 1, + STATE(49), 1, + sym_type_name, + STATE(154), 1, sym_type, ACTIONS(29), 5, anon_sym_any, @@ -6911,88 +7009,109 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - [4274] = 8, - ACTIONS(31), 1, - aux_sym_identifier_token1, + [4377] = 8, ACTIONS(390), 1, anon_sym_vec, ACTIONS(392), 1, anon_sym_map, - STATE(18), 1, + ACTIONS(396), 1, + aux_sym_identifier_token1, + STATE(17), 1, sym_type, - STATE(21), 1, - sym_primitive_type, - STATE(46), 1, - sym_type_name, STATE(48), 1, sym_identifier, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4303] = 5, - ACTIONS(31), 1, + [4406] = 8, + ACTIONS(390), 1, + anon_sym_vec, + ACTIONS(392), 1, + anon_sym_map, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(21), 1, - sym_primitive_type, - ACTIONS(398), 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - STATE(6), 2, - sym_overloadable_operator, + STATE(48), 1, sym_identifier, - ACTIONS(29), 5, + STATE(49), 1, + sym_type_name, + STATE(50), 1, + sym_primitive_type, + STATE(166), 1, + sym_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4325] = 7, - ACTIONS(31), 1, + [4435] = 7, + ACTIONS(396), 1, aux_sym_identifier_token1, - ACTIONS(400), 1, + ACTIONS(398), 1, anon_sym_DOT, - STATE(21), 1, + STATE(50), 1, sym_primitive_type, - STATE(58), 1, + STATE(57), 1, sym_identifier, - STATE(63), 1, + STATE(70), 1, sym_import_path, - STATE(133), 1, + STATE(136), 1, sym_import_relative_dot, - ACTIONS(29), 5, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4351] = 5, - ACTIONS(31), 1, + [4461] = 5, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(21), 1, + STATE(50), 1, sym_primitive_type, - ACTIONS(398), 2, + ACTIONS(400), 2, anon_sym_PLUS_PLUS, anon_sym_EQ_EQ_EQ, - STATE(9), 2, + STATE(8), 2, sym_overloadable_operator, sym_identifier, - ACTIONS(29), 5, + ACTIONS(394), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [4483] = 5, + ACTIONS(396), 1, + aux_sym_identifier_token1, + STATE(50), 1, + sym_primitive_type, + ACTIONS(400), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + STATE(11), 2, + sym_overloadable_operator, + sym_identifier, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4373] = 6, + [4505] = 6, ACTIONS(31), 1, aux_sym_identifier_token1, ACTIONS(402), 1, anon_sym_RPAREN, STATE(21), 1, sym_primitive_type, - STATE(147), 1, + STATE(150), 1, sym_identifier, STATE(152), 1, sym_param, @@ -7002,14 +7121,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - [4396] = 6, + [4528] = 6, ACTIONS(31), 1, aux_sym_identifier_token1, ACTIONS(404), 1, anon_sym_RPAREN, STATE(21), 1, sym_primitive_type, - STATE(147), 1, + STATE(150), 1, sym_identifier, STATE(152), 1, sym_param, @@ -7019,42 +7138,42 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - [4419] = 5, - ACTIONS(31), 1, + [4551] = 5, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(21), 1, + STATE(50), 1, sym_primitive_type, - STATE(58), 1, + STATE(57), 1, sym_identifier, - STATE(75), 1, + STATE(85), 1, sym_import_path, - ACTIONS(29), 5, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4439] = 5, - ACTIONS(31), 1, + [4571] = 5, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(21), 1, + STATE(50), 1, sym_primitive_type, - STATE(58), 1, + STATE(57), 1, sym_identifier, - STATE(74), 1, + STATE(64), 1, sym_import_path, - ACTIONS(29), 5, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4459] = 5, + [4591] = 5, ACTIONS(31), 1, aux_sym_identifier_token1, STATE(21), 1, sym_primitive_type, - STATE(147), 1, + STATE(150), 1, sym_identifier, STATE(152), 1, sym_param, @@ -7064,62 +7183,62 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_str, anon_sym_bool, anon_sym_void, - [4479] = 4, - ACTIONS(258), 1, + [4611] = 4, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(105), 1, - sym_primitive_type, - STATE(108), 1, + STATE(19), 1, sym_identifier, - ACTIONS(256), 5, + STATE(50), 1, + sym_primitive_type, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4496] = 4, - ACTIONS(31), 1, + [4628] = 4, + ACTIONS(244), 1, aux_sym_identifier_token1, - STATE(21), 1, - sym_primitive_type, - STATE(33), 1, + STATE(102), 1, sym_identifier, - ACTIONS(29), 5, + STATE(108), 1, + sym_primitive_type, + ACTIONS(242), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4513] = 4, + [4645] = 4, ACTIONS(31), 1, aux_sym_identifier_token1, - STATE(19), 1, - sym_identifier, STATE(21), 1, sym_primitive_type, + STATE(36), 1, + sym_identifier, ACTIONS(29), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4530] = 4, - ACTIONS(31), 1, + [4662] = 4, + ACTIONS(396), 1, aux_sym_identifier_token1, - STATE(13), 1, + STATE(12), 1, sym_identifier, - STATE(21), 1, + STATE(50), 1, sym_primitive_type, - ACTIONS(29), 5, + ACTIONS(394), 5, anon_sym_any, anon_sym_int, anon_sym_str, anon_sym_bool, anon_sym_void, - [4547] = 4, - STATE(140), 1, + [4679] = 4, + STATE(142), 1, sym_qualifier, - STATE(149), 1, + STATE(155), 1, sym_qualifier_list, ACTIONS(406), 2, anon_sym_extern, @@ -7127,7 +7246,7 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(408), 2, anon_sym_fn, anon_sym_class, - [4562] = 1, + [4694] = 1, ACTIONS(410), 6, anon_sym_any, anon_sym_int, @@ -7135,124 +7254,118 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_bool, anon_sym_void, aux_sym_identifier_token1, - [4571] = 1, + [4703] = 1, ACTIONS(412), 4, anon_sym_extern, anon_sym_pure, anon_sym_fn, anon_sym_class, - [4578] = 3, - ACTIONS(376), 1, + [4710] = 3, + ACTIONS(308), 1, anon_sym_RPAREN, ACTIONS(414), 1, anon_sym_COMMA, - STATE(143), 1, + STATE(146), 1, + aux_sym_arg_list_repeat1, + [4720] = 3, + ACTIONS(376), 1, + anon_sym_RPAREN, + ACTIONS(416), 1, + anon_sym_COMMA, + STATE(146), 1, aux_sym_arg_list_repeat1, - [4588] = 3, - ACTIONS(417), 1, + [4730] = 3, + ACTIONS(404), 1, anon_sym_RPAREN, ACTIONS(419), 1, anon_sym_COMMA, STATE(148), 1, aux_sym_param_list_repeat1, - [4598] = 3, - ACTIONS(318), 1, - anon_sym_RPAREN, + [4740] = 3, ACTIONS(421), 1, - anon_sym_COMMA, - STATE(143), 1, - aux_sym_arg_list_repeat1, - [4608] = 3, + anon_sym_RPAREN, ACTIONS(423), 1, + anon_sym_COMMA, + STATE(148), 1, + aux_sym_param_list_repeat1, + [4750] = 3, + ACTIONS(426), 1, anon_sym_RPAREN, - ACTIONS(425), 1, + ACTIONS(428), 1, anon_sym_COMMA, - STATE(146), 1, + STATE(147), 1, aux_sym_param_list_repeat1, - [4618] = 2, + [4760] = 2, ACTIONS(380), 1, anon_sym_COLON, ACTIONS(378), 2, anon_sym_RPAREN, anon_sym_COMMA, - [4626] = 3, - ACTIONS(402), 1, - anon_sym_RPAREN, - ACTIONS(428), 1, - anon_sym_COMMA, - STATE(146), 1, - aux_sym_param_list_repeat1, - [4636] = 1, - ACTIONS(430), 2, + [4768] = 2, + ACTIONS(430), 1, anon_sym_fn, + ACTIONS(432), 1, anon_sym_class, - [4641] = 1, - ACTIONS(432), 2, + [4775] = 1, + ACTIONS(421), 2, anon_sym_RPAREN, anon_sym_COMMA, - [4646] = 2, + [4780] = 2, ACTIONS(434), 1, - anon_sym_fn, + anon_sym_RBRACE, ACTIONS(436), 1, - anon_sym_class, - [4653] = 1, - ACTIONS(423), 2, - anon_sym_RPAREN, anon_sym_COMMA, - [4658] = 2, - ACTIONS(438), 1, - anon_sym_RBRACE, - ACTIONS(440), 1, + [4787] = 1, + ACTIONS(438), 2, + anon_sym_RPAREN, anon_sym_COMMA, - [4665] = 1, + [4792] = 1, + ACTIONS(440), 2, + anon_sym_fn, + anon_sym_class, + [4797] = 1, ACTIONS(442), 1, - anon_sym_GT, - [4669] = 1, + anon_sym_RPAREN, + [4801] = 1, ACTIONS(444), 1, - anon_sym_GT, - [4673] = 1, + anon_sym_RBRACE, + [4805] = 1, ACTIONS(446), 1, anon_sym_RPAREN, - [4677] = 1, + [4809] = 1, ACTIONS(448), 1, - ts_builtin_sym_end, - [4681] = 1, + anon_sym_RPAREN, + [4813] = 1, ACTIONS(450), 1, - anon_sym_RBRACK, - [4685] = 1, + anon_sym_GT, + [4817] = 1, ACTIONS(452), 1, - anon_sym_RBRACE, - [4689] = 1, - ACTIONS(454), 1, anon_sym_COMMA, - [4693] = 1, - ACTIONS(114), 1, - anon_sym_GT, - [4697] = 1, - ACTIONS(118), 1, - anon_sym_GT, - [4701] = 1, + [4821] = 1, + ACTIONS(454), 1, + anon_sym_RBRACK, + [4825] = 1, ACTIONS(456), 1, - anon_sym_RPAREN, - [4705] = 1, + ts_builtin_sym_end, + [4829] = 1, ACTIONS(458), 1, anon_sym_RBRACE, - [4709] = 1, + [4833] = 1, ACTIONS(460), 1, sym_doc_comment_content, - [4713] = 1, + [4837] = 1, ACTIONS(462), 1, - anon_sym_RBRACK, - [4717] = 1, + anon_sym_GT, + [4841] = 1, ACTIONS(464), 1, anon_sym_RBRACK, - [4721] = 1, + [4845] = 1, ACTIONS(466), 1, - anon_sym_RPAREN, - [4725] = 1, + anon_sym_RBRACK, + [4849] = 1, ACTIONS(468), 1, anon_sym_RPAREN, - [4729] = 1, + [4853] = 1, ACTIONS(470), 1, anon_sym_RBRACE, }; @@ -7261,384 +7374,384 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(20)] = 0, [SMALL_STATE(21)] = 52, [SMALL_STATE(22)] = 104, - [SMALL_STATE(23)] = 161, - [SMALL_STATE(24)] = 211, - [SMALL_STATE(25)] = 261, - [SMALL_STATE(26)] = 311, + [SMALL_STATE(23)] = 160, + [SMALL_STATE(24)] = 214, + [SMALL_STATE(25)] = 263, + [SMALL_STATE(26)] = 312, [SMALL_STATE(27)] = 361, - [SMALL_STATE(28)] = 411, - [SMALL_STATE(29)] = 461, - [SMALL_STATE(30)] = 511, - [SMALL_STATE(31)] = 561, - [SMALL_STATE(32)] = 611, - [SMALL_STATE(33)] = 661, - [SMALL_STATE(34)] = 711, - [SMALL_STATE(35)] = 764, - [SMALL_STATE(36)] = 816, - [SMALL_STATE(37)] = 876, - [SMALL_STATE(38)] = 934, - [SMALL_STATE(39)] = 992, - [SMALL_STATE(40)] = 1050, - [SMALL_STATE(41)] = 1108, - [SMALL_STATE(42)] = 1166, - [SMALL_STATE(43)] = 1233, - [SMALL_STATE(44)] = 1272, - [SMALL_STATE(45)] = 1311, - [SMALL_STATE(46)] = 1347, - [SMALL_STATE(47)] = 1383, - [SMALL_STATE(48)] = 1419, - [SMALL_STATE(49)] = 1455, - [SMALL_STATE(50)] = 1515, - [SMALL_STATE(51)] = 1575, - [SMALL_STATE(52)] = 1637, - [SMALL_STATE(53)] = 1699, - [SMALL_STATE(54)] = 1732, - [SMALL_STATE(55)] = 1789, - [SMALL_STATE(56)] = 1846, - [SMALL_STATE(57)] = 1881, - [SMALL_STATE(58)] = 1938, - [SMALL_STATE(59)] = 1973, - [SMALL_STATE(60)] = 2030, - [SMALL_STATE(61)] = 2087, - [SMALL_STATE(62)] = 2119, - [SMALL_STATE(63)] = 2151, - [SMALL_STATE(64)] = 2183, - [SMALL_STATE(65)] = 2215, - [SMALL_STATE(66)] = 2247, - [SMALL_STATE(67)] = 2279, - [SMALL_STATE(68)] = 2311, - [SMALL_STATE(69)] = 2343, - [SMALL_STATE(70)] = 2375, - [SMALL_STATE(71)] = 2407, - [SMALL_STATE(72)] = 2461, - [SMALL_STATE(73)] = 2493, - [SMALL_STATE(74)] = 2525, - [SMALL_STATE(75)] = 2557, - [SMALL_STATE(76)] = 2589, - [SMALL_STATE(77)] = 2621, - [SMALL_STATE(78)] = 2675, - [SMALL_STATE(79)] = 2707, - [SMALL_STATE(80)] = 2739, - [SMALL_STATE(81)] = 2771, - [SMALL_STATE(82)] = 2825, - [SMALL_STATE(83)] = 2857, - [SMALL_STATE(84)] = 2889, - [SMALL_STATE(85)] = 2940, - [SMALL_STATE(86)] = 2991, - [SMALL_STATE(87)] = 3022, - [SMALL_STATE(88)] = 3073, - [SMALL_STATE(89)] = 3124, - [SMALL_STATE(90)] = 3175, - [SMALL_STATE(91)] = 3226, - [SMALL_STATE(92)] = 3277, - [SMALL_STATE(93)] = 3328, - [SMALL_STATE(94)] = 3379, - [SMALL_STATE(95)] = 3416, - [SMALL_STATE(96)] = 3448, - [SMALL_STATE(97)] = 3482, - [SMALL_STATE(98)] = 3514, - [SMALL_STATE(99)] = 3544, - [SMALL_STATE(100)] = 3572, - [SMALL_STATE(101)] = 3595, - [SMALL_STATE(102)] = 3626, - [SMALL_STATE(103)] = 3657, - [SMALL_STATE(104)] = 3680, - [SMALL_STATE(105)] = 3703, - [SMALL_STATE(106)] = 3726, - [SMALL_STATE(107)] = 3749, - [SMALL_STATE(108)] = 3772, - [SMALL_STATE(109)] = 3795, - [SMALL_STATE(110)] = 3818, - [SMALL_STATE(111)] = 3841, - [SMALL_STATE(112)] = 3864, - [SMALL_STATE(113)] = 3895, - [SMALL_STATE(114)] = 3918, - [SMALL_STATE(115)] = 3941, - [SMALL_STATE(116)] = 3964, - [SMALL_STATE(117)] = 3984, - [SMALL_STATE(118)] = 4013, - [SMALL_STATE(119)] = 4042, - [SMALL_STATE(120)] = 4071, - [SMALL_STATE(121)] = 4100, - [SMALL_STATE(122)] = 4129, - [SMALL_STATE(123)] = 4158, - [SMALL_STATE(124)] = 4187, - [SMALL_STATE(125)] = 4216, - [SMALL_STATE(126)] = 4245, - [SMALL_STATE(127)] = 4274, - [SMALL_STATE(128)] = 4303, - [SMALL_STATE(129)] = 4325, - [SMALL_STATE(130)] = 4351, - [SMALL_STATE(131)] = 4373, - [SMALL_STATE(132)] = 4396, - [SMALL_STATE(133)] = 4419, - [SMALL_STATE(134)] = 4439, - [SMALL_STATE(135)] = 4459, - [SMALL_STATE(136)] = 4479, - [SMALL_STATE(137)] = 4496, - [SMALL_STATE(138)] = 4513, - [SMALL_STATE(139)] = 4530, - [SMALL_STATE(140)] = 4547, - [SMALL_STATE(141)] = 4562, - [SMALL_STATE(142)] = 4571, - [SMALL_STATE(143)] = 4578, - [SMALL_STATE(144)] = 4588, - [SMALL_STATE(145)] = 4598, - [SMALL_STATE(146)] = 4608, - [SMALL_STATE(147)] = 4618, - [SMALL_STATE(148)] = 4626, - [SMALL_STATE(149)] = 4636, - [SMALL_STATE(150)] = 4641, - [SMALL_STATE(151)] = 4646, - [SMALL_STATE(152)] = 4653, - [SMALL_STATE(153)] = 4658, - [SMALL_STATE(154)] = 4665, - [SMALL_STATE(155)] = 4669, - [SMALL_STATE(156)] = 4673, - [SMALL_STATE(157)] = 4677, - [SMALL_STATE(158)] = 4681, - [SMALL_STATE(159)] = 4685, - [SMALL_STATE(160)] = 4689, - [SMALL_STATE(161)] = 4693, - [SMALL_STATE(162)] = 4697, - [SMALL_STATE(163)] = 4701, - [SMALL_STATE(164)] = 4705, - [SMALL_STATE(165)] = 4709, - [SMALL_STATE(166)] = 4713, - [SMALL_STATE(167)] = 4717, - [SMALL_STATE(168)] = 4721, - [SMALL_STATE(169)] = 4725, - [SMALL_STATE(170)] = 4729, + [SMALL_STATE(28)] = 414, + [SMALL_STATE(29)] = 475, + [SMALL_STATE(30)] = 534, + [SMALL_STATE(31)] = 583, + [SMALL_STATE(32)] = 642, + [SMALL_STATE(33)] = 691, + [SMALL_STATE(34)] = 740, + [SMALL_STATE(35)] = 789, + [SMALL_STATE(36)] = 838, + [SMALL_STATE(37)] = 887, + [SMALL_STATE(38)] = 936, + [SMALL_STATE(39)] = 995, + [SMALL_STATE(40)] = 1044, + [SMALL_STATE(41)] = 1103, + [SMALL_STATE(42)] = 1162, + [SMALL_STATE(43)] = 1229, + [SMALL_STATE(44)] = 1268, + [SMALL_STATE(45)] = 1307, + [SMALL_STATE(46)] = 1343, + [SMALL_STATE(47)] = 1379, + [SMALL_STATE(48)] = 1415, + [SMALL_STATE(49)] = 1451, + [SMALL_STATE(50)] = 1487, + [SMALL_STATE(51)] = 1523, + [SMALL_STATE(52)] = 1583, + [SMALL_STATE(53)] = 1645, + [SMALL_STATE(54)] = 1705, + [SMALL_STATE(55)] = 1767, + [SMALL_STATE(56)] = 1800, + [SMALL_STATE(57)] = 1857, + [SMALL_STATE(58)] = 1892, + [SMALL_STATE(59)] = 1927, + [SMALL_STATE(60)] = 1984, + [SMALL_STATE(61)] = 2041, + [SMALL_STATE(62)] = 2098, + [SMALL_STATE(63)] = 2155, + [SMALL_STATE(64)] = 2187, + [SMALL_STATE(65)] = 2219, + [SMALL_STATE(66)] = 2251, + [SMALL_STATE(67)] = 2283, + [SMALL_STATE(68)] = 2315, + [SMALL_STATE(69)] = 2347, + [SMALL_STATE(70)] = 2401, + [SMALL_STATE(71)] = 2433, + [SMALL_STATE(72)] = 2487, + [SMALL_STATE(73)] = 2519, + [SMALL_STATE(74)] = 2551, + [SMALL_STATE(75)] = 2583, + [SMALL_STATE(76)] = 2615, + [SMALL_STATE(77)] = 2647, + [SMALL_STATE(78)] = 2679, + [SMALL_STATE(79)] = 2711, + [SMALL_STATE(80)] = 2743, + [SMALL_STATE(81)] = 2775, + [SMALL_STATE(82)] = 2829, + [SMALL_STATE(83)] = 2861, + [SMALL_STATE(84)] = 2893, + [SMALL_STATE(85)] = 2925, + [SMALL_STATE(86)] = 2957, + [SMALL_STATE(87)] = 3008, + [SMALL_STATE(88)] = 3059, + [SMALL_STATE(89)] = 3110, + [SMALL_STATE(90)] = 3161, + [SMALL_STATE(91)] = 3212, + [SMALL_STATE(92)] = 3243, + [SMALL_STATE(93)] = 3294, + [SMALL_STATE(94)] = 3345, + [SMALL_STATE(95)] = 3396, + [SMALL_STATE(96)] = 3447, + [SMALL_STATE(97)] = 3481, + [SMALL_STATE(98)] = 3508, + [SMALL_STATE(99)] = 3535, + [SMALL_STATE(100)] = 3562, + [SMALL_STATE(101)] = 3589, + [SMALL_STATE(102)] = 3616, + [SMALL_STATE(103)] = 3643, + [SMALL_STATE(104)] = 3670, + [SMALL_STATE(105)] = 3697, + [SMALL_STATE(106)] = 3724, + [SMALL_STATE(107)] = 3751, + [SMALL_STATE(108)] = 3778, + [SMALL_STATE(109)] = 3805, + [SMALL_STATE(110)] = 3832, + [SMALL_STATE(111)] = 3870, + [SMALL_STATE(112)] = 3903, + [SMALL_STATE(113)] = 3938, + [SMALL_STATE(114)] = 3971, + [SMALL_STATE(115)] = 4000, + [SMALL_STATE(116)] = 4032, + [SMALL_STATE(117)] = 4064, + [SMALL_STATE(118)] = 4096, + [SMALL_STATE(119)] = 4116, + [SMALL_STATE(120)] = 4145, + [SMALL_STATE(121)] = 4174, + [SMALL_STATE(122)] = 4203, + [SMALL_STATE(123)] = 4232, + [SMALL_STATE(124)] = 4261, + [SMALL_STATE(125)] = 4290, + [SMALL_STATE(126)] = 4319, + [SMALL_STATE(127)] = 4348, + [SMALL_STATE(128)] = 4377, + [SMALL_STATE(129)] = 4406, + [SMALL_STATE(130)] = 4435, + [SMALL_STATE(131)] = 4461, + [SMALL_STATE(132)] = 4483, + [SMALL_STATE(133)] = 4505, + [SMALL_STATE(134)] = 4528, + [SMALL_STATE(135)] = 4551, + [SMALL_STATE(136)] = 4571, + [SMALL_STATE(137)] = 4591, + [SMALL_STATE(138)] = 4611, + [SMALL_STATE(139)] = 4628, + [SMALL_STATE(140)] = 4645, + [SMALL_STATE(141)] = 4662, + [SMALL_STATE(142)] = 4679, + [SMALL_STATE(143)] = 4694, + [SMALL_STATE(144)] = 4703, + [SMALL_STATE(145)] = 4710, + [SMALL_STATE(146)] = 4720, + [SMALL_STATE(147)] = 4730, + [SMALL_STATE(148)] = 4740, + [SMALL_STATE(149)] = 4750, + [SMALL_STATE(150)] = 4760, + [SMALL_STATE(151)] = 4768, + [SMALL_STATE(152)] = 4775, + [SMALL_STATE(153)] = 4780, + [SMALL_STATE(154)] = 4787, + [SMALL_STATE(155)] = 4792, + [SMALL_STATE(156)] = 4797, + [SMALL_STATE(157)] = 4801, + [SMALL_STATE(158)] = 4805, + [SMALL_STATE(159)] = 4809, + [SMALL_STATE(160)] = 4813, + [SMALL_STATE(161)] = 4817, + [SMALL_STATE(162)] = 4821, + [SMALL_STATE(163)] = 4825, + [SMALL_STATE(164)] = 4829, + [SMALL_STATE(165)] = 4833, + [SMALL_STATE(166)] = 4837, + [SMALL_STATE(167)] = 4841, + [SMALL_STATE(168)] = 4845, + [SMALL_STATE(169)] = 4849, + [SMALL_STATE(170)] = 4853, }; 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}}, REDUCE(sym_source_file, 0), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(129), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(128), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23), - [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), - [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(83), + [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(84), [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(165), [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(2), - [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(129), - [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(142), - [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(128), + [52] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(130), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(144), + [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(131), [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(92), - [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(139), - [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(85), - [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(84), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(141), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(87), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(95), [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(42), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(55), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(62), [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(20), [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(21), - [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(28), - [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(23), - [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(28), - [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(34), + [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(32), + [91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(34), + [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_type, 1), [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_primitive_type, 1), [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 12), [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 12), - [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bool, 1), - [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bool, 1), - [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 9), - [136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 9), + [126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [136] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), [138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, .production_id = 18), [140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, .production_id = 18), - [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), - [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), - [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 3), - [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 3), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal, 1), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_literal, 1), - [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, .production_id = 11), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, .production_id = 11), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 2), - [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 2), - [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_access_list, 3, .production_id = 10), - [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_access_list, 3, .production_id = 10), - [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [176] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2), - [180] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2), - [182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [186] = {.entry = {.count = 1, .reusable = false}}, SHIFT(116), - [188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 13), - [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 13), + [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 9), + [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 9), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [162] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 13), + [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 13), + [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bool, 1), + [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bool, 1), + [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, .production_id = 11), + [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, .production_id = 11), + [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal, 1), + [182] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_literal, 1), + [184] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 3), + [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 3), + [188] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_access_list, 3, .production_id = 10), + [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_access_list, 3, .production_id = 10), + [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 2), + [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 2), [196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2, .production_id = 5), [198] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2, .production_id = 5), - [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_print, 2, .production_id = 3), - [202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_print, 2, .production_id = 3), - [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assert, 2, .production_id = 4), - [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assert, 2, .production_id = 4), + [200] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assert, 2, .production_id = 4), + [202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assert, 2, .production_id = 4), + [204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_print, 2, .production_id = 3), + [206] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_print, 2, .production_id = 3), [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 1), - [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [210] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 1), [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1), [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_name, 1), - [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), - [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), - [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 4), - [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), - [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 1), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 6), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 6), - [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_var_declaration, 3), - [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_var_declaration, 3), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [252] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), - [254] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), - [256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(106), - [258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), - [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), - [264] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [270] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 1, .production_id = 2), - [272] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 1, .production_id = 2), - [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [276] = {.entry = {.count = 1, .reusable = false}}, SHIFT(115), - [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3, .production_id = 6), - [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3, .production_id = 6), - [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 19), - [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 19), - [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 2, .production_id = 1), - [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 2, .production_id = 1), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 9, .production_id = 29), - [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 9, .production_id = 29), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 28), - [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 28), - [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 27), - [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 27), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 26), - [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 26), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doc_comment, 2), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doc_comment, 2), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 25), - [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 25), - [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 20), - [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 20), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 2), - [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 4, .production_id = 17), - [322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 4, .production_id = 17), - [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 17), - [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 4, .production_id = 17), - [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 3, .production_id = 15), - [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 3, .production_id = 15), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 3, .production_id = 7), - [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 3, .production_id = 7), - [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 24), - [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 24), - [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 3), - [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3, .production_id = 8), - [344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3, .production_id = 8), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 23), - [348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 23), - [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 3, .production_id = 8), - [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 3, .production_id = 8), - [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 21), - [356] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 21), + [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 6), + [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 6), + [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 4), + [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 1), + [234] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107), + [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), + [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), + [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_var_declaration, 3), + [260] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_var_declaration, 3), + [262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 1, .production_id = 2), + [266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 1, .production_id = 2), + [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), + [274] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [276] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), + [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 25), + [280] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 25), + [282] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 3, .production_id = 7), + [284] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 3, .production_id = 7), + [286] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 24), + [288] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 24), + [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 20), + [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 20), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 19), + [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 19), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doc_comment, 2), + [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doc_comment, 2), + [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 3), + [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 2, .production_id = 1), + [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 2, .production_id = 1), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 2), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 21), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 21), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3, .production_id = 6), + [316] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3, .production_id = 6), + [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 23), + [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 23), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 4, .production_id = 17), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 4, .production_id = 17), + [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 17), + [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 4, .production_id = 17), + [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3, .production_id = 8), + [332] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3, .production_id = 8), + [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 26), + [336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 26), + [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 27), + [340] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 27), + [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 3, .production_id = 8), + [344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 3, .production_id = 8), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 28), + [348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 28), + [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 9, .production_id = 29), + [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 9, .production_id = 29), + [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 3, .production_id = 15), + [356] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 3, .production_id = 15), [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_overloadable_operator, 1), [360] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_overloadable_operator, 1), - [362] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 1), - [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item, 3, .production_id = 14), - [368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 1), + [368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item, 3, .production_id = 14), [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 1), [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_arg_list_repeat1, 2), [378] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 1, .production_id = 16), - [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_operator, 1), [388] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_operator, 1), - [390] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), - [392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), - [394] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161), - [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(162), - [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), - [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 2), - [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 3), - [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [390] = {.entry = {.count = 1, .reusable = false}}, SHIFT(44), + [392] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [394] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), + [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50), + [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), + [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 3), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 2), + [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier_list, 1), [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_relative_dot, 1), [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier, 1), - [414] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_arg_list_repeat1, 2), SHIFT_REPEAT(89), - [417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 1), - [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), - [425] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), SHIFT_REPEAT(135), - [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), - [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier_list, 2), - [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 3, .production_id = 22), - [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 1), - [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [448] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 3), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [416] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_arg_list_repeat1, 2), SHIFT_REPEAT(90), + [419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), + [423] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), SHIFT_REPEAT(137), + [426] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 1), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 1), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 3, .production_id = 22), + [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier_list, 2), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 3), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 3), + [456] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 3), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), }; #ifdef __cplusplus