diff --git a/grammar.js b/grammar.js index 24008f9..05ddea6 100644 --- a/grammar.js +++ b/grammar.js @@ -107,7 +107,7 @@ module.exports = grammar({ arg_list: $ => comma_sep($.expression), - literal: $ => choice($.number, $.string, $.bool), + literal: $ => choice($.number, $.string, $.bool, $.none), var_declaration: $ => seq($.identifier, ":", $.type), assignment: $ => seq(field("left", choice($.var_declaration, $.identifier)), "=", field("right", $.expression)), @@ -131,5 +131,6 @@ module.exports = grammar({ number: _ => /\d+/, string: _ => /"([^"\\]|\\.)*"/, bool: _ => choice("true", "false", "error"), + none: _ => "none", }, }) diff --git a/queries/highlights.scm b/queries/highlights.scm index 6ed49d4..c53c441 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -68,3 +68,4 @@ (string) @string (number) @number (bool) @constant.builtin +(none) @constant.builtin diff --git a/src/grammar.json b/src/grammar.json index 5740ec0..c810199 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -849,6 +849,10 @@ { "type": "SYMBOL", "name": "bool" + }, + { + "type": "SYMBOL", + "name": "none" } ] }, @@ -1161,6 +1165,10 @@ "value": "error" } ] + }, + "none": { + "type": "STRING", + "value": "none" } }, "extras": [ diff --git a/src/node-types.json b/src/node-types.json index a1e2c5e..4136d66 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -416,6 +416,10 @@ "type": "bool", "named": true }, + { + "type": "none", + "named": true + }, { "type": "number", "named": true @@ -868,6 +872,10 @@ "type": "map", "named": false }, + { + "type": "none", + "named": true + }, { "type": "number", "named": true diff --git a/src/parser.c b/src/parser.c index fcbc953..f327b81 100644 --- a/src/parser.c +++ b/src/parser.c @@ -8,9 +8,9 @@ #define LANGUAGE_VERSION 14 #define STATE_COUNT 167 #define LARGE_STATE_COUNT 20 -#define SYMBOL_COUNT 81 +#define SYMBOL_COUNT 82 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 42 +#define TOKEN_COUNT 43 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 24 #define MAX_ALIAS_SEQUENCE_LENGTH 9 @@ -58,621 +58,547 @@ enum ts_symbol_identifiers { anon_sym_true = 39, anon_sym_false = 40, anon_sym_error = 41, - sym_source_file = 42, - sym_doc_comment = 43, - sym_statement = 44, - sym_block = 45, - sym_import = 46, - sym_import_path = 47, - sym_import_relative_dot = 48, - sym_qualifier = 49, - sym_qualifier_list = 50, - sym_function_declaration = 51, - sym_class_declaration = 52, - sym_print = 53, - sym_assert = 54, - sym_return = 55, - sym_expression = 56, - sym_parenthesized_expression = 57, - sym_access_list = 58, - sym_call = 59, - sym_type_name = 60, - sym_type = 61, - sym_param = 62, - sym_param_list = 63, - sym_arg_list = 64, - sym_literal = 65, - sym_var_declaration = 66, - sym_assignment = 67, - sym_binary_expression = 68, - sym_expression_list = 69, - sym_vec = 70, - sym_map_item = 71, - sym_map_item_list = 72, - sym_map = 73, - sym_overloadable_operator = 74, - sym_primitive_type = 75, - sym_identifier = 76, - sym_bool = 77, - aux_sym_source_file_repeat1 = 78, - aux_sym_param_list_repeat1 = 79, - aux_sym_arg_list_repeat1 = 80, + sym_none = 42, + sym_source_file = 43, + sym_doc_comment = 44, + sym_statement = 45, + sym_block = 46, + sym_import = 47, + sym_import_path = 48, + sym_import_relative_dot = 49, + sym_qualifier = 50, + sym_qualifier_list = 51, + sym_function_declaration = 52, + sym_class_declaration = 53, + sym_print = 54, + sym_assert = 55, + sym_return = 56, + sym_expression = 57, + sym_parenthesized_expression = 58, + sym_access_list = 59, + sym_call = 60, + sym_type_name = 61, + sym_type = 62, + sym_param = 63, + sym_param_list = 64, + sym_arg_list = 65, + sym_literal = 66, + sym_var_declaration = 67, + sym_assignment = 68, + sym_binary_expression = 69, + sym_expression_list = 70, + sym_vec = 71, + sym_map_item = 72, + sym_map_item_list = 73, + sym_map = 74, + sym_overloadable_operator = 75, + sym_primitive_type = 76, + sym_identifier = 77, + sym_bool = 78, + aux_sym_source_file_repeat1 = 79, + aux_sym_param_list_repeat1 = 80, + aux_sym_arg_list_repeat1 = 81, }; -static const char *const ts_symbol_names[] = { - [ts_builtin_sym_end] = "end", - [sym_comment] = "comment", - [anon_sym_POUND_POUND] = "##", - [sym_doc_comment_content] = "doc_comment_content", - [anon_sym_LBRACE] = "{", - [anon_sym_RBRACE] = "}", - [anon_sym_import] = "import", - [anon_sym_DOT] = ".", - [anon_sym_extern] = "extern", - [anon_sym_pure] = "pure", - [anon_sym_fn] = "fn", - [anon_sym_LPAREN] = "(", - [anon_sym_RPAREN] = ")", - [anon_sym_DASH_GT] = "->", - [anon_sym_class] = "class", - [anon_sym_print] = "print", - [anon_sym_assert] = "assert", - [anon_sym_return] = "return", - [anon_sym_vec] = "vec", - [anon_sym_map] = "map", - [anon_sym_LT] = "<", - [anon_sym_GT] = ">", - [anon_sym_COMMA] = ",", - [anon_sym_COLON] = ":", - [anon_sym_EQ] = "=", - [anon_sym_DASH] = "-", - [anon_sym_BANG] = "!", - [anon_sym_LBRACK] = "[", - [anon_sym_RBRACK] = "]", - [anon_sym_PLUS_PLUS] = "++", - [anon_sym_EQ_EQ_EQ] = "===", - [anon_sym_any] = "any", - [anon_sym_int] = "int", - [anon_sym_str] = "str", - [anon_sym_bool] = "bool", - [anon_sym_void] = "void", - [aux_sym_identifier_token1] = "identifier_token1", - [sym_number] = "number", - [sym_string] = "string", - [anon_sym_true] = "true", - [anon_sym_false] = "false", - [anon_sym_error] = "error", - [sym_source_file] = "source_file", - [sym_doc_comment] = "doc_comment", - [sym_statement] = "statement", - [sym_block] = "block", - [sym_import] = "import", - [sym_import_path] = "import_path", - [sym_import_relative_dot] = "import_relative_dot", - [sym_qualifier] = "qualifier", - [sym_qualifier_list] = "qualifier_list", - [sym_function_declaration] = "function_declaration", - [sym_class_declaration] = "class_declaration", - [sym_print] = "print", - [sym_assert] = "assert", - [sym_return] = "return", - [sym_expression] = "expression", - [sym_parenthesized_expression] = "parenthesized_expression", - [sym_access_list] = "access_list", - [sym_call] = "call", - [sym_type_name] = "type_name", - [sym_type] = "type", - [sym_param] = "param", - [sym_param_list] = "param_list", - [sym_arg_list] = "arg_list", - [sym_literal] = "literal", - [sym_var_declaration] = "var_declaration", - [sym_assignment] = "assignment", - [sym_binary_expression] = "binary_expression", - [sym_expression_list] = "expression_list", - [sym_vec] = "vec", - [sym_map_item] = "map_item", - [sym_map_item_list] = "map_item_list", - [sym_map] = "map", - [sym_overloadable_operator] = "overloadable_operator", - [sym_primitive_type] = "primitive_type", - [sym_identifier] = "identifier", - [sym_bool] = "bool", - [aux_sym_source_file_repeat1] = "source_file_repeat1", - [aux_sym_param_list_repeat1] = "param_list_repeat1", - [aux_sym_arg_list_repeat1] = "arg_list_repeat1", +static const char * const ts_symbol_names[] = { + [ts_builtin_sym_end] = "end", + [sym_comment] = "comment", + [anon_sym_POUND_POUND] = "##", + [sym_doc_comment_content] = "doc_comment_content", + [anon_sym_LBRACE] = "{", + [anon_sym_RBRACE] = "}", + [anon_sym_import] = "import", + [anon_sym_DOT] = ".", + [anon_sym_extern] = "extern", + [anon_sym_pure] = "pure", + [anon_sym_fn] = "fn", + [anon_sym_LPAREN] = "(", + [anon_sym_RPAREN] = ")", + [anon_sym_DASH_GT] = "->", + [anon_sym_class] = "class", + [anon_sym_print] = "print", + [anon_sym_assert] = "assert", + [anon_sym_return] = "return", + [anon_sym_vec] = "vec", + [anon_sym_map] = "map", + [anon_sym_LT] = "<", + [anon_sym_GT] = ">", + [anon_sym_COMMA] = ",", + [anon_sym_COLON] = ":", + [anon_sym_EQ] = "=", + [anon_sym_DASH] = "-", + [anon_sym_BANG] = "!", + [anon_sym_LBRACK] = "[", + [anon_sym_RBRACK] = "]", + [anon_sym_PLUS_PLUS] = "++", + [anon_sym_EQ_EQ_EQ] = "===", + [anon_sym_any] = "any", + [anon_sym_int] = "int", + [anon_sym_str] = "str", + [anon_sym_bool] = "bool", + [anon_sym_void] = "void", + [aux_sym_identifier_token1] = "identifier_token1", + [sym_number] = "number", + [sym_string] = "string", + [anon_sym_true] = "true", + [anon_sym_false] = "false", + [anon_sym_error] = "error", + [sym_none] = "none", + [sym_source_file] = "source_file", + [sym_doc_comment] = "doc_comment", + [sym_statement] = "statement", + [sym_block] = "block", + [sym_import] = "import", + [sym_import_path] = "import_path", + [sym_import_relative_dot] = "import_relative_dot", + [sym_qualifier] = "qualifier", + [sym_qualifier_list] = "qualifier_list", + [sym_function_declaration] = "function_declaration", + [sym_class_declaration] = "class_declaration", + [sym_print] = "print", + [sym_assert] = "assert", + [sym_return] = "return", + [sym_expression] = "expression", + [sym_parenthesized_expression] = "parenthesized_expression", + [sym_access_list] = "access_list", + [sym_call] = "call", + [sym_type_name] = "type_name", + [sym_type] = "type", + [sym_param] = "param", + [sym_param_list] = "param_list", + [sym_arg_list] = "arg_list", + [sym_literal] = "literal", + [sym_var_declaration] = "var_declaration", + [sym_assignment] = "assignment", + [sym_binary_expression] = "binary_expression", + [sym_expression_list] = "expression_list", + [sym_vec] = "vec", + [sym_map_item] = "map_item", + [sym_map_item_list] = "map_item_list", + [sym_map] = "map", + [sym_overloadable_operator] = "overloadable_operator", + [sym_primitive_type] = "primitive_type", + [sym_identifier] = "identifier", + [sym_bool] = "bool", + [aux_sym_source_file_repeat1] = "source_file_repeat1", + [aux_sym_param_list_repeat1] = "param_list_repeat1", + [aux_sym_arg_list_repeat1] = "arg_list_repeat1", }; static const TSSymbol ts_symbol_map[] = { - [ts_builtin_sym_end] = ts_builtin_sym_end, - [sym_comment] = sym_comment, - [anon_sym_POUND_POUND] = anon_sym_POUND_POUND, - [sym_doc_comment_content] = sym_doc_comment_content, - [anon_sym_LBRACE] = anon_sym_LBRACE, - [anon_sym_RBRACE] = anon_sym_RBRACE, - [anon_sym_import] = anon_sym_import, - [anon_sym_DOT] = anon_sym_DOT, - [anon_sym_extern] = anon_sym_extern, - [anon_sym_pure] = anon_sym_pure, - [anon_sym_fn] = anon_sym_fn, - [anon_sym_LPAREN] = anon_sym_LPAREN, - [anon_sym_RPAREN] = anon_sym_RPAREN, - [anon_sym_DASH_GT] = anon_sym_DASH_GT, - [anon_sym_class] = anon_sym_class, - [anon_sym_print] = anon_sym_print, - [anon_sym_assert] = anon_sym_assert, - [anon_sym_return] = anon_sym_return, - [anon_sym_vec] = anon_sym_vec, - [anon_sym_map] = anon_sym_map, - [anon_sym_LT] = anon_sym_LT, - [anon_sym_GT] = anon_sym_GT, - [anon_sym_COMMA] = anon_sym_COMMA, - [anon_sym_COLON] = anon_sym_COLON, - [anon_sym_EQ] = anon_sym_EQ, - [anon_sym_DASH] = anon_sym_DASH, - [anon_sym_BANG] = anon_sym_BANG, - [anon_sym_LBRACK] = anon_sym_LBRACK, - [anon_sym_RBRACK] = anon_sym_RBRACK, - [anon_sym_PLUS_PLUS] = anon_sym_PLUS_PLUS, - [anon_sym_EQ_EQ_EQ] = anon_sym_EQ_EQ_EQ, - [anon_sym_any] = anon_sym_any, - [anon_sym_int] = anon_sym_int, - [anon_sym_str] = anon_sym_str, - [anon_sym_bool] = anon_sym_bool, - [anon_sym_void] = anon_sym_void, - [aux_sym_identifier_token1] = aux_sym_identifier_token1, - [sym_number] = sym_number, - [sym_string] = sym_string, - [anon_sym_true] = anon_sym_true, - [anon_sym_false] = anon_sym_false, - [anon_sym_error] = anon_sym_error, - [sym_source_file] = sym_source_file, - [sym_doc_comment] = sym_doc_comment, - [sym_statement] = sym_statement, - [sym_block] = sym_block, - [sym_import] = sym_import, - [sym_import_path] = sym_import_path, - [sym_import_relative_dot] = sym_import_relative_dot, - [sym_qualifier] = sym_qualifier, - [sym_qualifier_list] = sym_qualifier_list, - [sym_function_declaration] = sym_function_declaration, - [sym_class_declaration] = sym_class_declaration, - [sym_print] = sym_print, - [sym_assert] = sym_assert, - [sym_return] = sym_return, - [sym_expression] = sym_expression, - [sym_parenthesized_expression] = sym_parenthesized_expression, - [sym_access_list] = sym_access_list, - [sym_call] = sym_call, - [sym_type_name] = sym_type_name, - [sym_type] = sym_type, - [sym_param] = sym_param, - [sym_param_list] = sym_param_list, - [sym_arg_list] = sym_arg_list, - [sym_literal] = sym_literal, - [sym_var_declaration] = sym_var_declaration, - [sym_assignment] = sym_assignment, - [sym_binary_expression] = sym_binary_expression, - [sym_expression_list] = sym_expression_list, - [sym_vec] = sym_vec, - [sym_map_item] = sym_map_item, - [sym_map_item_list] = sym_map_item_list, - [sym_map] = sym_map, - [sym_overloadable_operator] = sym_overloadable_operator, - [sym_primitive_type] = sym_primitive_type, - [sym_identifier] = sym_identifier, - [sym_bool] = sym_bool, - [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, - [aux_sym_param_list_repeat1] = aux_sym_param_list_repeat1, - [aux_sym_arg_list_repeat1] = aux_sym_arg_list_repeat1, + [ts_builtin_sym_end] = ts_builtin_sym_end, + [sym_comment] = sym_comment, + [anon_sym_POUND_POUND] = anon_sym_POUND_POUND, + [sym_doc_comment_content] = sym_doc_comment_content, + [anon_sym_LBRACE] = anon_sym_LBRACE, + [anon_sym_RBRACE] = anon_sym_RBRACE, + [anon_sym_import] = anon_sym_import, + [anon_sym_DOT] = anon_sym_DOT, + [anon_sym_extern] = anon_sym_extern, + [anon_sym_pure] = anon_sym_pure, + [anon_sym_fn] = anon_sym_fn, + [anon_sym_LPAREN] = anon_sym_LPAREN, + [anon_sym_RPAREN] = anon_sym_RPAREN, + [anon_sym_DASH_GT] = anon_sym_DASH_GT, + [anon_sym_class] = anon_sym_class, + [anon_sym_print] = anon_sym_print, + [anon_sym_assert] = anon_sym_assert, + [anon_sym_return] = anon_sym_return, + [anon_sym_vec] = anon_sym_vec, + [anon_sym_map] = anon_sym_map, + [anon_sym_LT] = anon_sym_LT, + [anon_sym_GT] = anon_sym_GT, + [anon_sym_COMMA] = anon_sym_COMMA, + [anon_sym_COLON] = anon_sym_COLON, + [anon_sym_EQ] = anon_sym_EQ, + [anon_sym_DASH] = anon_sym_DASH, + [anon_sym_BANG] = anon_sym_BANG, + [anon_sym_LBRACK] = anon_sym_LBRACK, + [anon_sym_RBRACK] = anon_sym_RBRACK, + [anon_sym_PLUS_PLUS] = anon_sym_PLUS_PLUS, + [anon_sym_EQ_EQ_EQ] = anon_sym_EQ_EQ_EQ, + [anon_sym_any] = anon_sym_any, + [anon_sym_int] = anon_sym_int, + [anon_sym_str] = anon_sym_str, + [anon_sym_bool] = anon_sym_bool, + [anon_sym_void] = anon_sym_void, + [aux_sym_identifier_token1] = aux_sym_identifier_token1, + [sym_number] = sym_number, + [sym_string] = sym_string, + [anon_sym_true] = anon_sym_true, + [anon_sym_false] = anon_sym_false, + [anon_sym_error] = anon_sym_error, + [sym_none] = sym_none, + [sym_source_file] = sym_source_file, + [sym_doc_comment] = sym_doc_comment, + [sym_statement] = sym_statement, + [sym_block] = sym_block, + [sym_import] = sym_import, + [sym_import_path] = sym_import_path, + [sym_import_relative_dot] = sym_import_relative_dot, + [sym_qualifier] = sym_qualifier, + [sym_qualifier_list] = sym_qualifier_list, + [sym_function_declaration] = sym_function_declaration, + [sym_class_declaration] = sym_class_declaration, + [sym_print] = sym_print, + [sym_assert] = sym_assert, + [sym_return] = sym_return, + [sym_expression] = sym_expression, + [sym_parenthesized_expression] = sym_parenthesized_expression, + [sym_access_list] = sym_access_list, + [sym_call] = sym_call, + [sym_type_name] = sym_type_name, + [sym_type] = sym_type, + [sym_param] = sym_param, + [sym_param_list] = sym_param_list, + [sym_arg_list] = sym_arg_list, + [sym_literal] = sym_literal, + [sym_var_declaration] = sym_var_declaration, + [sym_assignment] = sym_assignment, + [sym_binary_expression] = sym_binary_expression, + [sym_expression_list] = sym_expression_list, + [sym_vec] = sym_vec, + [sym_map_item] = sym_map_item, + [sym_map_item_list] = sym_map_item_list, + [sym_map] = sym_map, + [sym_overloadable_operator] = sym_overloadable_operator, + [sym_primitive_type] = sym_primitive_type, + [sym_identifier] = sym_identifier, + [sym_bool] = sym_bool, + [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, + [aux_sym_param_list_repeat1] = aux_sym_param_list_repeat1, + [aux_sym_arg_list_repeat1] = aux_sym_arg_list_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { - [ts_builtin_sym_end] = - { - .visible = false, - .named = true, - }, - [sym_comment] = - { - .visible = true, - .named = true, - }, - [anon_sym_POUND_POUND] = - { - .visible = true, - .named = false, - }, - [sym_doc_comment_content] = - { - .visible = true, - .named = true, - }, - [anon_sym_LBRACE] = - { - .visible = true, - .named = false, - }, - [anon_sym_RBRACE] = - { - .visible = true, - .named = false, - }, - [anon_sym_import] = - { - .visible = true, - .named = false, - }, - [anon_sym_DOT] = - { - .visible = true, - .named = false, - }, - [anon_sym_extern] = - { - .visible = true, - .named = false, - }, - [anon_sym_pure] = - { - .visible = true, - .named = false, - }, - [anon_sym_fn] = - { - .visible = true, - .named = false, - }, - [anon_sym_LPAREN] = - { - .visible = true, - .named = false, - }, - [anon_sym_RPAREN] = - { - .visible = true, - .named = false, - }, - [anon_sym_DASH_GT] = - { - .visible = true, - .named = false, - }, - [anon_sym_class] = - { - .visible = true, - .named = false, - }, - [anon_sym_print] = - { - .visible = true, - .named = false, - }, - [anon_sym_assert] = - { - .visible = true, - .named = false, - }, - [anon_sym_return] = - { - .visible = true, - .named = false, - }, - [anon_sym_vec] = - { - .visible = true, - .named = false, - }, - [anon_sym_map] = - { - .visible = true, - .named = false, - }, - [anon_sym_LT] = - { - .visible = true, - .named = false, - }, - [anon_sym_GT] = - { - .visible = true, - .named = false, - }, - [anon_sym_COMMA] = - { - .visible = true, - .named = false, - }, - [anon_sym_COLON] = - { - .visible = true, - .named = false, - }, - [anon_sym_EQ] = - { - .visible = true, - .named = false, - }, - [anon_sym_DASH] = - { - .visible = true, - .named = false, - }, - [anon_sym_BANG] = - { - .visible = true, - .named = false, - }, - [anon_sym_LBRACK] = - { - .visible = true, - .named = false, - }, - [anon_sym_RBRACK] = - { - .visible = true, - .named = false, - }, - [anon_sym_PLUS_PLUS] = - { - .visible = true, - .named = false, - }, - [anon_sym_EQ_EQ_EQ] = - { - .visible = true, - .named = false, - }, - [anon_sym_any] = - { - .visible = true, - .named = false, - }, - [anon_sym_int] = - { - .visible = true, - .named = false, - }, - [anon_sym_str] = - { - .visible = true, - .named = false, - }, - [anon_sym_bool] = - { - .visible = true, - .named = false, - }, - [anon_sym_void] = - { - .visible = true, - .named = false, - }, - [aux_sym_identifier_token1] = - { - .visible = false, - .named = false, - }, - [sym_number] = - { - .visible = true, - .named = true, - }, - [sym_string] = - { - .visible = true, - .named = true, - }, - [anon_sym_true] = - { - .visible = true, - .named = false, - }, - [anon_sym_false] = - { - .visible = true, - .named = false, - }, - [anon_sym_error] = - { - .visible = true, - .named = false, - }, - [sym_source_file] = - { - .visible = true, - .named = true, - }, - [sym_doc_comment] = - { - .visible = true, - .named = true, - }, - [sym_statement] = - { - .visible = true, - .named = true, - }, - [sym_block] = - { - .visible = true, - .named = true, - }, - [sym_import] = - { - .visible = true, - .named = true, - }, - [sym_import_path] = - { - .visible = true, - .named = true, - }, - [sym_import_relative_dot] = - { - .visible = true, - .named = true, - }, - [sym_qualifier] = - { - .visible = true, - .named = true, - }, - [sym_qualifier_list] = - { - .visible = true, - .named = true, - }, - [sym_function_declaration] = - { - .visible = true, - .named = true, - }, - [sym_class_declaration] = - { - .visible = true, - .named = true, - }, - [sym_print] = - { - .visible = true, - .named = true, - }, - [sym_assert] = - { - .visible = true, - .named = true, - }, - [sym_return] = - { - .visible = true, - .named = true, - }, - [sym_expression] = - { - .visible = true, - .named = true, - }, - [sym_parenthesized_expression] = - { - .visible = true, - .named = true, - }, - [sym_access_list] = - { - .visible = true, - .named = true, - }, - [sym_call] = - { - .visible = true, - .named = true, - }, - [sym_type_name] = - { - .visible = true, - .named = true, - }, - [sym_type] = - { - .visible = true, - .named = true, - }, - [sym_param] = - { - .visible = true, - .named = true, - }, - [sym_param_list] = - { - .visible = true, - .named = true, - }, - [sym_arg_list] = - { - .visible = true, - .named = true, - }, - [sym_literal] = - { - .visible = true, - .named = true, - }, - [sym_var_declaration] = - { - .visible = true, - .named = true, - }, - [sym_assignment] = - { - .visible = true, - .named = true, - }, - [sym_binary_expression] = - { - .visible = true, - .named = true, - }, - [sym_expression_list] = - { - .visible = true, - .named = true, - }, - [sym_vec] = - { - .visible = true, - .named = true, - }, - [sym_map_item] = - { - .visible = true, - .named = true, - }, - [sym_map_item_list] = - { - .visible = true, - .named = true, - }, - [sym_map] = - { - .visible = true, - .named = true, - }, - [sym_overloadable_operator] = - { - .visible = true, - .named = true, - }, - [sym_primitive_type] = - { - .visible = true, - .named = true, - }, - [sym_identifier] = - { - .visible = true, - .named = true, - }, - [sym_bool] = - { - .visible = true, - .named = true, - }, - [aux_sym_source_file_repeat1] = - { - .visible = false, - .named = false, - }, - [aux_sym_param_list_repeat1] = - { - .visible = false, - .named = false, - }, - [aux_sym_arg_list_repeat1] = - { - .visible = false, - .named = false, - }, + [ts_builtin_sym_end] = { + .visible = false, + .named = true, + }, + [sym_comment] = { + .visible = true, + .named = true, + }, + [anon_sym_POUND_POUND] = { + .visible = true, + .named = false, + }, + [sym_doc_comment_content] = { + .visible = true, + .named = true, + }, + [anon_sym_LBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACE] = { + .visible = true, + .named = false, + }, + [anon_sym_import] = { + .visible = true, + .named = false, + }, + [anon_sym_DOT] = { + .visible = true, + .named = false, + }, + [anon_sym_extern] = { + .visible = true, + .named = false, + }, + [anon_sym_pure] = { + .visible = true, + .named = false, + }, + [anon_sym_fn] = { + .visible = true, + .named = false, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_RPAREN] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_class] = { + .visible = true, + .named = false, + }, + [anon_sym_print] = { + .visible = true, + .named = false, + }, + [anon_sym_assert] = { + .visible = true, + .named = false, + }, + [anon_sym_return] = { + .visible = true, + .named = false, + }, + [anon_sym_vec] = { + .visible = true, + .named = false, + }, + [anon_sym_map] = { + .visible = true, + .named = false, + }, + [anon_sym_LT] = { + .visible = true, + .named = false, + }, + [anon_sym_GT] = { + .visible = true, + .named = false, + }, + [anon_sym_COMMA] = { + .visible = true, + .named = false, + }, + [anon_sym_COLON] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_DASH] = { + .visible = true, + .named = false, + }, + [anon_sym_BANG] = { + .visible = true, + .named = false, + }, + [anon_sym_LBRACK] = { + .visible = true, + .named = false, + }, + [anon_sym_RBRACK] = { + .visible = true, + .named = false, + }, + [anon_sym_PLUS_PLUS] = { + .visible = true, + .named = false, + }, + [anon_sym_EQ_EQ_EQ] = { + .visible = true, + .named = false, + }, + [anon_sym_any] = { + .visible = true, + .named = false, + }, + [anon_sym_int] = { + .visible = true, + .named = false, + }, + [anon_sym_str] = { + .visible = true, + .named = false, + }, + [anon_sym_bool] = { + .visible = true, + .named = false, + }, + [anon_sym_void] = { + .visible = true, + .named = false, + }, + [aux_sym_identifier_token1] = { + .visible = false, + .named = false, + }, + [sym_number] = { + .visible = true, + .named = true, + }, + [sym_string] = { + .visible = true, + .named = true, + }, + [anon_sym_true] = { + .visible = true, + .named = false, + }, + [anon_sym_false] = { + .visible = true, + .named = false, + }, + [anon_sym_error] = { + .visible = true, + .named = false, + }, + [sym_none] = { + .visible = true, + .named = true, + }, + [sym_source_file] = { + .visible = true, + .named = true, + }, + [sym_doc_comment] = { + .visible = true, + .named = true, + }, + [sym_statement] = { + .visible = true, + .named = true, + }, + [sym_block] = { + .visible = true, + .named = true, + }, + [sym_import] = { + .visible = true, + .named = true, + }, + [sym_import_path] = { + .visible = true, + .named = true, + }, + [sym_import_relative_dot] = { + .visible = true, + .named = true, + }, + [sym_qualifier] = { + .visible = true, + .named = true, + }, + [sym_qualifier_list] = { + .visible = true, + .named = true, + }, + [sym_function_declaration] = { + .visible = true, + .named = true, + }, + [sym_class_declaration] = { + .visible = true, + .named = true, + }, + [sym_print] = { + .visible = true, + .named = true, + }, + [sym_assert] = { + .visible = true, + .named = true, + }, + [sym_return] = { + .visible = true, + .named = true, + }, + [sym_expression] = { + .visible = true, + .named = true, + }, + [sym_parenthesized_expression] = { + .visible = true, + .named = true, + }, + [sym_access_list] = { + .visible = true, + .named = true, + }, + [sym_call] = { + .visible = true, + .named = true, + }, + [sym_type_name] = { + .visible = true, + .named = true, + }, + [sym_type] = { + .visible = true, + .named = true, + }, + [sym_param] = { + .visible = true, + .named = true, + }, + [sym_param_list] = { + .visible = true, + .named = true, + }, + [sym_arg_list] = { + .visible = true, + .named = true, + }, + [sym_literal] = { + .visible = true, + .named = true, + }, + [sym_var_declaration] = { + .visible = true, + .named = true, + }, + [sym_assignment] = { + .visible = true, + .named = true, + }, + [sym_binary_expression] = { + .visible = true, + .named = true, + }, + [sym_expression_list] = { + .visible = true, + .named = true, + }, + [sym_vec] = { + .visible = true, + .named = true, + }, + [sym_map_item] = { + .visible = true, + .named = true, + }, + [sym_map_item_list] = { + .visible = true, + .named = true, + }, + [sym_map] = { + .visible = true, + .named = true, + }, + [sym_overloadable_operator] = { + .visible = true, + .named = true, + }, + [sym_primitive_type] = { + .visible = true, + .named = true, + }, + [sym_identifier] = { + .visible = true, + .named = true, + }, + [sym_bool] = { + .visible = true, + .named = true, + }, + [aux_sym_source_file_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_param_list_repeat1] = { + .visible = false, + .named = false, + }, + [aux_sym_arg_list_repeat1] = { + .visible = false, + .named = false, + }, }; enum ts_field_identifiers { @@ -702,6795 +628,6090 @@ enum ts_field_identifiers { field_value = 24, }; -static const char *const ts_field_names[] = { - [0] = NULL, - [field_accessed] = "accessed", - [field_accessor] = "accessor", - [field_args] = "args", - [field_bit] = "bit", - [field_body] = "body", - [field_callable] = "callable", - [field_expression] = "expression", - [field_ident] = "ident", - [field_key] = "key", - [field_left] = "left", - [field_msg] = "msg", - [field_name] = "name", - [field_operator] = "operator", - [field_params] = "params", - [field_path] = "path", - [field_qualifiers] = "qualifiers", - [field_relative] = "relative", - [field_rest] = "rest", - [field_ret_type] = "ret_type", - [field_right] = "right", - [field_rv] = "rv", - [field_test] = "test", - [field_type] = "type", - [field_value] = "value", +static const char * const ts_field_names[] = { + [0] = NULL, + [field_accessed] = "accessed", + [field_accessor] = "accessor", + [field_args] = "args", + [field_bit] = "bit", + [field_body] = "body", + [field_callable] = "callable", + [field_expression] = "expression", + [field_ident] = "ident", + [field_key] = "key", + [field_left] = "left", + [field_msg] = "msg", + [field_name] = "name", + [field_operator] = "operator", + [field_params] = "params", + [field_path] = "path", + [field_qualifiers] = "qualifiers", + [field_relative] = "relative", + [field_rest] = "rest", + [field_ret_type] = "ret_type", + [field_right] = "right", + [field_rv] = "rv", + [field_test] = "test", + [field_type] = "type", + [field_value] = "value", }; static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { - [1] = {.index = 0, .length = 1}, [2] = {.index = 1, .length = 1}, - [3] = {.index = 2, .length = 1}, [4] = {.index = 3, .length = 1}, - [5] = {.index = 4, .length = 1}, [6] = {.index = 5, .length = 2}, - [7] = {.index = 7, .length = 1}, [8] = {.index = 8, .length = 2}, - [9] = {.index = 10, .length = 2}, [10] = {.index = 12, .length = 1}, - [11] = {.index = 13, .length = 2}, [12] = {.index = 15, .length = 1}, - [13] = {.index = 16, .length = 2}, [14] = {.index = 18, .length = 2}, - [15] = {.index = 20, .length = 2}, [16] = {.index = 22, .length = 1}, - [17] = {.index = 23, .length = 3}, [18] = {.index = 26, .length = 2}, - [19] = {.index = 28, .length = 2}, [20] = {.index = 30, .length = 3}, - [21] = {.index = 33, .length = 3}, [22] = {.index = 36, .length = 2}, - [23] = {.index = 38, .length = 3}, [24] = {.index = 41, .length = 4}, - [25] = {.index = 45, .length = 3}, [26] = {.index = 48, .length = 4}, - [27] = {.index = 52, .length = 4}, [28] = {.index = 56, .length = 4}, - [29] = {.index = 60, .length = 5}, + [1] = {.index = 0, .length = 1}, + [2] = {.index = 1, .length = 1}, + [3] = {.index = 2, .length = 1}, + [4] = {.index = 3, .length = 1}, + [5] = {.index = 4, .length = 1}, + [6] = {.index = 5, .length = 2}, + [7] = {.index = 7, .length = 1}, + [8] = {.index = 8, .length = 2}, + [9] = {.index = 10, .length = 2}, + [10] = {.index = 12, .length = 1}, + [11] = {.index = 13, .length = 2}, + [12] = {.index = 15, .length = 1}, + [13] = {.index = 16, .length = 2}, + [14] = {.index = 18, .length = 2}, + [15] = {.index = 20, .length = 2}, + [16] = {.index = 22, .length = 1}, + [17] = {.index = 23, .length = 3}, + [18] = {.index = 26, .length = 2}, + [19] = {.index = 28, .length = 2}, + [20] = {.index = 30, .length = 3}, + [21] = {.index = 33, .length = 3}, + [22] = {.index = 36, .length = 2}, + [23] = {.index = 38, .length = 3}, + [24] = {.index = 41, .length = 4}, + [25] = {.index = 45, .length = 3}, + [26] = {.index = 48, .length = 4}, + [27] = {.index = 52, .length = 4}, + [28] = {.index = 56, .length = 4}, + [29] = {.index = 60, .length = 5}, }; static const TSFieldMapEntry ts_field_map_entries[] = { - [0] = {field_path, 1}, - [1] = {field_bit, 0}, - [2] = {field_msg, 1}, - [3] = {field_test, 1}, - [4] = {field_rv, 1}, - [5] = {field_left, 0}, + [0] = + {field_path, 1}, + [1] = + {field_bit, 0}, + [2] = + {field_msg, 1}, + [3] = + {field_test, 1}, + [4] = + {field_rv, 1}, + [5] = + {field_left, 0}, {field_operator, 1}, - [7] = {field_body, 1}, - [8] = {field_path, 2}, + [7] = + {field_body, 1}, + [8] = + {field_path, 2}, {field_relative, 1}, - [10] = {field_body, 2}, + [10] = + {field_body, 2}, {field_name, 1}, - [12] = {field_expression, 1}, - [13] = {field_accessed, 0}, + [12] = + {field_expression, 1}, + [13] = + {field_accessed, 0}, {field_accessor, 2}, - [15] = {field_callable, 0}, - [16] = {field_left, 0}, + [15] = + {field_callable, 0}, + [16] = + {field_left, 0}, {field_right, 2}, - [18] = {field_key, 0}, + [18] = + {field_key, 0}, {field_value, 2}, - [20] = {field_bit, 0}, + [20] = + {field_bit, 0}, {field_rest, 2}, - [22] = {field_ident, 0}, - [23] = {field_body, 3}, + [22] = + {field_ident, 0}, + [23] = + {field_body, 3}, {field_name, 2}, {field_qualifiers, 0}, - [26] = {field_args, 2}, + [26] = + {field_args, 2}, {field_callable, 0}, - [28] = {field_body, 4}, + [28] = + {field_body, 4}, {field_name, 1}, - [30] = {field_body, 4}, + [30] = + {field_body, 4}, {field_name, 1}, {field_ret_type, 3}, - [33] = {field_body, 5}, + [33] = + {field_body, 5}, {field_name, 1}, {field_params, 3}, - [36] = {field_ident, 0}, + [36] = + {field_ident, 0}, {field_type, 2}, - [38] = {field_body, 5}, + [38] = + {field_body, 5}, {field_name, 2}, {field_qualifiers, 0}, - [41] = {field_body, 5}, + [41] = + {field_body, 5}, {field_name, 2}, {field_qualifiers, 0}, {field_ret_type, 4}, - [45] = {field_body, 6}, + [45] = + {field_body, 6}, {field_name, 1}, {field_ret_type, 5}, - [48] = {field_body, 6}, + [48] = + {field_body, 6}, {field_name, 2}, {field_params, 4}, {field_qualifiers, 0}, - [52] = {field_body, 7}, + [52] = + {field_body, 7}, {field_name, 1}, {field_params, 3}, {field_ret_type, 6}, - [56] = {field_body, 7}, + [56] = + {field_body, 7}, {field_name, 2}, {field_qualifiers, 0}, {field_ret_type, 6}, - [60] = {field_body, 8}, + [60] = + {field_body, 8}, {field_name, 2}, {field_params, 4}, {field_qualifiers, 0}, {field_ret_type, 7}, }; -static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT] - [MAX_ALIAS_SEQUENCE_LENGTH] = { - [0] = {0}, +static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { + [0] = {0}, }; static const uint16_t ts_non_terminal_alias_map[] = { - 0, + 0, }; static const TSStateId ts_primary_state_ids[STATE_COUNT] = { - [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, - [5] = 5, [6] = 6, [7] = 7, [8] = 8, [9] = 9, - [10] = 10, [11] = 11, [12] = 12, [13] = 13, [14] = 14, - [15] = 15, [16] = 16, [17] = 17, [18] = 18, [19] = 19, - [20] = 20, [21] = 21, [22] = 22, [23] = 23, [24] = 24, - [25] = 25, [26] = 26, [27] = 27, [28] = 28, [29] = 29, - [30] = 30, [31] = 31, [32] = 32, [33] = 33, [34] = 34, - [35] = 35, [36] = 36, [37] = 37, [38] = 38, [39] = 39, - [40] = 40, [41] = 41, [42] = 42, [43] = 43, [44] = 44, - [45] = 45, [46] = 46, [47] = 47, [48] = 48, [49] = 49, - [50] = 50, [51] = 51, [52] = 52, [53] = 51, [54] = 54, - [55] = 55, [56] = 56, [57] = 57, [58] = 57, [59] = 59, - [60] = 60, [61] = 56, [62] = 62, [63] = 63, [64] = 64, - [65] = 65, [66] = 66, [67] = 67, [68] = 68, [69] = 69, - [70] = 70, [71] = 71, [72] = 72, [73] = 73, [74] = 74, - [75] = 75, [76] = 76, [77] = 77, [78] = 78, [79] = 79, - [80] = 80, [81] = 81, [82] = 82, [83] = 83, [84] = 84, - [85] = 85, [86] = 86, [87] = 87, [88] = 86, [89] = 89, - [90] = 90, [91] = 91, [92] = 92, [93] = 93, [94] = 94, - [95] = 95, [96] = 96, [97] = 97, [98] = 98, [99] = 99, - [100] = 100, [101] = 101, [102] = 102, [103] = 103, [104] = 104, - [105] = 105, [106] = 106, [107] = 107, [108] = 108, [109] = 109, - [110] = 110, [111] = 111, [112] = 112, [113] = 113, [114] = 114, - [115] = 113, [116] = 116, [117] = 117, [118] = 118, [119] = 119, - [120] = 120, [121] = 22, [122] = 122, [123] = 120, [124] = 28, - [125] = 29, [126] = 34, [127] = 31, [128] = 26, [129] = 129, - [130] = 27, [131] = 35, [132] = 132, [133] = 24, [134] = 30, - [135] = 23, [136] = 25, [137] = 32, [138] = 33, [139] = 21, - [140] = 140, [141] = 141, [142] = 142, [143] = 143, [144] = 144, - [145] = 145, [146] = 146, [147] = 147, [148] = 148, [149] = 149, - [150] = 150, [151] = 151, [152] = 152, [153] = 153, [154] = 154, - [155] = 155, [156] = 156, [157] = 157, [158] = 158, [159] = 159, - [160] = 158, [161] = 161, [162] = 162, [163] = 157, [164] = 164, - [165] = 159, [166] = 166, + [0] = 0, + [1] = 1, + [2] = 2, + [3] = 3, + [4] = 4, + [5] = 5, + [6] = 6, + [7] = 7, + [8] = 8, + [9] = 9, + [10] = 10, + [11] = 11, + [12] = 12, + [13] = 13, + [14] = 14, + [15] = 15, + [16] = 16, + [17] = 17, + [18] = 18, + [19] = 19, + [20] = 20, + [21] = 21, + [22] = 22, + [23] = 23, + [24] = 24, + [25] = 25, + [26] = 26, + [27] = 27, + [28] = 28, + [29] = 29, + [30] = 30, + [31] = 31, + [32] = 32, + [33] = 33, + [34] = 34, + [35] = 35, + [36] = 36, + [37] = 37, + [38] = 38, + [39] = 39, + [40] = 40, + [41] = 41, + [42] = 42, + [43] = 43, + [44] = 44, + [45] = 45, + [46] = 46, + [47] = 47, + [48] = 48, + [49] = 49, + [50] = 50, + [51] = 51, + [52] = 52, + [53] = 51, + [54] = 54, + [55] = 55, + [56] = 56, + [57] = 57, + [58] = 57, + [59] = 59, + [60] = 60, + [61] = 56, + [62] = 62, + [63] = 63, + [64] = 64, + [65] = 65, + [66] = 66, + [67] = 67, + [68] = 68, + [69] = 69, + [70] = 70, + [71] = 71, + [72] = 72, + [73] = 73, + [74] = 74, + [75] = 75, + [76] = 76, + [77] = 77, + [78] = 78, + [79] = 79, + [80] = 80, + [81] = 81, + [82] = 82, + [83] = 83, + [84] = 84, + [85] = 85, + [86] = 86, + [87] = 87, + [88] = 86, + [89] = 89, + [90] = 90, + [91] = 91, + [92] = 92, + [93] = 93, + [94] = 94, + [95] = 95, + [96] = 96, + [97] = 97, + [98] = 98, + [99] = 99, + [100] = 100, + [101] = 101, + [102] = 102, + [103] = 103, + [104] = 104, + [105] = 105, + [106] = 106, + [107] = 107, + [108] = 108, + [109] = 109, + [110] = 110, + [111] = 111, + [112] = 112, + [113] = 113, + [114] = 114, + [115] = 113, + [116] = 116, + [117] = 117, + [118] = 118, + [119] = 119, + [120] = 120, + [121] = 22, + [122] = 122, + [123] = 120, + [124] = 28, + [125] = 29, + [126] = 34, + [127] = 31, + [128] = 26, + [129] = 129, + [130] = 27, + [131] = 35, + [132] = 132, + [133] = 24, + [134] = 30, + [135] = 23, + [136] = 25, + [137] = 32, + [138] = 33, + [139] = 21, + [140] = 140, + [141] = 141, + [142] = 142, + [143] = 143, + [144] = 144, + [145] = 145, + [146] = 146, + [147] = 147, + [148] = 148, + [149] = 149, + [150] = 150, + [151] = 151, + [152] = 152, + [153] = 153, + [154] = 154, + [155] = 155, + [156] = 156, + [157] = 157, + [158] = 158, + [159] = 159, + [160] = 158, + [161] = 161, + [162] = 162, + [163] = 157, + [164] = 164, + [165] = 159, + [166] = 166, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { START_LEXER(); eof = lexer->eof(lexer); switch (state) { - case 0: - if (eof) - ADVANCE(27); - if (lookahead == '!') - ADVANCE(58); - if (lookahead == '"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(4); - if (lookahead == '(') - ADVANCE(42); - if (lookahead == ')') - ADVANCE(43); - if (lookahead == '+') - ADVANCE(7); - if (lookahead == ',') - ADVANCE(54); - if (lookahead == '-') - ADVANCE(57); - if (lookahead == '.') - ADVANCE(35); - if (lookahead == ':') - ADVANCE(55); - if (lookahead == '<') - ADVANCE(52); - if (lookahead == '=') - ADVANCE(56); - if (lookahead == '>') - ADVANCE(53); - if (lookahead == '[') - ADVANCE(59); - if (lookahead == ']') - ADVANCE(61); - if (lookahead == 'a') - ADVANCE(88); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'c') - ADVANCE(85); - if (lookahead == 'e') - ADVANCE(105); - if (lookahead == 'f') - ADVANCE(69); - if (lookahead == 'i') - ADVANCE(87); - if (lookahead == 'm') - ADVANCE(72); - if (lookahead == 'p') - ADVANCE(101); - if (lookahead == 'r') - ADVANCE(79); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 't') - ADVANCE(102); - if (lookahead == 'v') - ADVANCE(75); - if (lookahead == '{') - ADVANCE(32); - if (lookahead == '}') - ADVANCE(33); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(0) - if (('0' <= lookahead && lookahead <= '9')) - ADVANCE(128); - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 1: - if (lookahead == '"') - ADVANCE(3); - if (lookahead == '(') - ADVANCE(42); - if (lookahead == ')') - ADVANCE(43); - if (lookahead == '[') - ADVANCE(59); - if (lookahead == 'a') - ADVANCE(89); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'e') - ADVANCE(106); - if (lookahead == 'f') - ADVANCE(70); - if (lookahead == 'i') - ADVANCE(92); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 't') - ADVANCE(102); - if (lookahead == 'v') - ADVANCE(95); - if (lookahead == '{') - ADVANCE(32); - if (lookahead == '}') - ADVANCE(33); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(1) - if (('0' <= lookahead && lookahead <= '9')) - ADVANCE(128); - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 2: - if (lookahead == '"') - ADVANCE(3); - if (lookahead == '(') - ADVANCE(42); - if (lookahead == '[') - ADVANCE(59); - if (lookahead == ']') - ADVANCE(61); - if (lookahead == 'a') - ADVANCE(89); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'e') - ADVANCE(106); - if (lookahead == 'f') - ADVANCE(70); - if (lookahead == 'i') - ADVANCE(92); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 't') - ADVANCE(102); - if (lookahead == 'v') - ADVANCE(95); - if (lookahead == '{') - ADVANCE(32); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(2) - if (('0' <= lookahead && lookahead <= '9')) - ADVANCE(128); - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 3: - if (lookahead == '"') - ADVANCE(129); - if (lookahead == '\\') - ADVANCE(25); - if (lookahead != 0) - ADVANCE(3); - END_STATE(); - case 4: - if (lookahead == '#') - ADVANCE(29); - if (lookahead != 0) - ADVANCE(28); - END_STATE(); - case 5: - if (lookahead == '(') - ADVANCE(42); - if (lookahead == '+') - ADVANCE(7); - if (lookahead == ',') - ADVANCE(54); - if (lookahead == '.') - ADVANCE(35); - if (lookahead == '=') - ADVANCE(8); - if (lookahead == ']') - ADVANCE(60); - if (lookahead == 'c') - ADVANCE(15); - if (lookahead == 'e') - ADVANCE(24); - if (lookahead == 'f') - ADVANCE(16); - if (lookahead == 'p') - ADVANCE(23); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(5) - END_STATE(); - case 6: - if (lookahead == ')') - ADVANCE(43); - if (lookahead == '+') - ADVANCE(7); - if (lookahead == '.') - ADVANCE(35); - if (lookahead == '=') - ADVANCE(8); - if (lookahead == 'a') - ADVANCE(89); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'i') - ADVANCE(92); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 'v') - ADVANCE(95); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(6) - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 7: - if (lookahead == '+') - ADVANCE(62); - END_STATE(); - case 8: - if (lookahead == '=') - ADVANCE(9); - END_STATE(); - case 9: - if (lookahead == '=') - ADVANCE(63); - END_STATE(); - case 10: - if (lookahead == '>') - ADVANCE(44); - END_STATE(); - case 11: - if (lookahead == 'a') - ADVANCE(21); - END_STATE(); - case 12: - if (lookahead == 'a') - ADVANCE(89); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'i') - ADVANCE(92); - if (lookahead == 'm') - ADVANCE(72); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 'v') - ADVANCE(75); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(12) - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 13: - if (lookahead == 'e') - ADVANCE(38); - END_STATE(); - case 14: - if (lookahead == 'e') - ADVANCE(18); - END_STATE(); - case 15: - if (lookahead == 'l') - ADVANCE(11); - END_STATE(); - case 16: - if (lookahead == 'n') - ADVANCE(40); - END_STATE(); - case 17: - if (lookahead == 'n') - ADVANCE(36); - END_STATE(); - case 18: - if (lookahead == 'r') - ADVANCE(17); - END_STATE(); - case 19: - if (lookahead == 'r') - ADVANCE(13); - END_STATE(); - case 20: - if (lookahead == 's') - ADVANCE(45); - END_STATE(); - case 21: - if (lookahead == 's') - ADVANCE(20); - END_STATE(); - case 22: - if (lookahead == 't') - ADVANCE(14); - END_STATE(); - case 23: - if (lookahead == 'u') - ADVANCE(19); - END_STATE(); - case 24: - if (lookahead == 'x') - ADVANCE(22); - END_STATE(); - case 25: - if (lookahead != 0 && lookahead != '\n') - ADVANCE(3); - END_STATE(); - case 26: - if (eof) - ADVANCE(27); - if (lookahead == '"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(4); - if (lookahead == '(') - ADVANCE(42); - if (lookahead == ')') - ADVANCE(43); - if (lookahead == '+') - ADVANCE(7); - if (lookahead == ',') - ADVANCE(54); - if (lookahead == '-') - ADVANCE(10); - if (lookahead == '.') - ADVANCE(35); - if (lookahead == ':') - ADVANCE(55); - if (lookahead == '<') - ADVANCE(52); - if (lookahead == '=') - ADVANCE(56); - if (lookahead == '>') - ADVANCE(53); - if (lookahead == '[') - ADVANCE(59); - if (lookahead == 'a') - ADVANCE(88); - if (lookahead == 'b') - ADVANCE(94); - if (lookahead == 'c') - ADVANCE(85); - if (lookahead == 'e') - ADVANCE(105); - if (lookahead == 'f') - ADVANCE(69); - if (lookahead == 'i') - ADVANCE(87); - if (lookahead == 'p') - ADVANCE(101); - if (lookahead == 'r') - ADVANCE(79); - if (lookahead == 's') - ADVANCE(122); - if (lookahead == 't') - ADVANCE(102); - if (lookahead == 'v') - ADVANCE(95); - if (lookahead == '{') - ADVANCE(32); - if (lookahead == '}') - ADVANCE(33); - if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') - SKIP(26) - if (('0' <= lookahead && lookahead <= '9')) - ADVANCE(128); - if (('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 27: - ACCEPT_TOKEN(ts_builtin_sym_end); - END_STATE(); - case 28: - ACCEPT_TOKEN(sym_comment); - if (lookahead != 0 && lookahead != '\n') - ADVANCE(28); - END_STATE(); - case 29: - ACCEPT_TOKEN(anon_sym_POUND_POUND); - END_STATE(); - case 30: - ACCEPT_TOKEN(sym_doc_comment_content); - if (lookahead == '\t' || (11 <= lookahead && lookahead <= '\r') || - lookahead == ' ') - ADVANCE(30); - if (lookahead != 0 && lookahead != '\n') - ADVANCE(31); - END_STATE(); - case 31: - ACCEPT_TOKEN(sym_doc_comment_content); - if (lookahead != 0 && lookahead != '\n') - ADVANCE(31); - END_STATE(); - case 32: - ACCEPT_TOKEN(anon_sym_LBRACE); - END_STATE(); - case 33: - ACCEPT_TOKEN(anon_sym_RBRACE); - END_STATE(); - case 34: - ACCEPT_TOKEN(anon_sym_import); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 35: - ACCEPT_TOKEN(anon_sym_DOT); - END_STATE(); - case 36: - ACCEPT_TOKEN(anon_sym_extern); - END_STATE(); - case 37: - ACCEPT_TOKEN(anon_sym_extern); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 38: - ACCEPT_TOKEN(anon_sym_pure); - END_STATE(); - case 39: - ACCEPT_TOKEN(anon_sym_pure); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 40: - ACCEPT_TOKEN(anon_sym_fn); - END_STATE(); - case 41: - ACCEPT_TOKEN(anon_sym_fn); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 42: - ACCEPT_TOKEN(anon_sym_LPAREN); - END_STATE(); - case 43: - ACCEPT_TOKEN(anon_sym_RPAREN); - END_STATE(); - case 44: - ACCEPT_TOKEN(anon_sym_DASH_GT); - END_STATE(); - case 45: - ACCEPT_TOKEN(anon_sym_class); - END_STATE(); - case 46: - ACCEPT_TOKEN(anon_sym_class); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 47: - ACCEPT_TOKEN(anon_sym_print); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 48: - ACCEPT_TOKEN(anon_sym_assert); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 49: - ACCEPT_TOKEN(anon_sym_return); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 50: - ACCEPT_TOKEN(anon_sym_vec); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 51: - ACCEPT_TOKEN(anon_sym_map); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 52: - ACCEPT_TOKEN(anon_sym_LT); - END_STATE(); - case 53: - ACCEPT_TOKEN(anon_sym_GT); - END_STATE(); - case 54: - ACCEPT_TOKEN(anon_sym_COMMA); - END_STATE(); - case 55: - ACCEPT_TOKEN(anon_sym_COLON); - END_STATE(); - case 56: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') - ADVANCE(9); - END_STATE(); - case 57: - ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '>') - ADVANCE(44); - END_STATE(); - case 58: - ACCEPT_TOKEN(anon_sym_BANG); - END_STATE(); - case 59: - ACCEPT_TOKEN(anon_sym_LBRACK); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 60: - ACCEPT_TOKEN(anon_sym_RBRACK); - END_STATE(); - case 61: - ACCEPT_TOKEN(anon_sym_RBRACK); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 62: - ACCEPT_TOKEN(anon_sym_PLUS_PLUS); - END_STATE(); - case 63: - ACCEPT_TOKEN(anon_sym_EQ_EQ_EQ); - END_STATE(); - case 64: - ACCEPT_TOKEN(anon_sym_any); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_int); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 66: - ACCEPT_TOKEN(anon_sym_str); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 67: - ACCEPT_TOKEN(anon_sym_bool); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 68: - ACCEPT_TOKEN(anon_sym_void); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 69: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') - ADVANCE(86); - if (lookahead == 'n') - ADVANCE(41); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 70: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') - ADVANCE(86); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 71: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') - ADVANCE(115); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 72: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'a') - ADVANCE(99); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 73: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'c') - ADVANCE(50); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 74: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'd') - ADVANCE(68); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 75: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(73); - if (lookahead == 'o') - ADVANCE(83); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 76: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(39); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 77: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(130); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 78: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(131); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 79: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(121); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 80: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(111); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 81: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'e') - ADVANCE(107); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 82: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'i') - ADVANCE(93); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 83: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'i') - ADVANCE(74); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 84: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') - ADVANCE(67); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 85: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') - ADVANCE(71); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 86: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'l') - ADVANCE(116); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 87: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'm') - ADVANCE(100); - if (lookahead == 'n') - ADVANCE(117); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 88: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(126); - if (lookahead == 's') - ADVANCE(114); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 89: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(126); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 90: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(37); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 91: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(49); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 92: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(117); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 93: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'n') - ADVANCE(118); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 94: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') - ADVANCE(96); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 95: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') - ADVANCE(83); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 96: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') - ADVANCE(84); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 97: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') - ADVANCE(104); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 98: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'o') - ADVANCE(112); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 99: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'p') - ADVANCE(51); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 100: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'p') - ADVANCE(98); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 101: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(82); - if (lookahead == 'u') - ADVANCE(109); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 102: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(124); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 103: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(66); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 104: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(132); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 105: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(108); - if (lookahead == 'x') - ADVANCE(123); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 106: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(108); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 107: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(90); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 108: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(97); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 109: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(76); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 110: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(91); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 111: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(119); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 112: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'r') - ADVANCE(120); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 113: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') - ADVANCE(46); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 114: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') - ADVANCE(80); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 115: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') - ADVANCE(113); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 116: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 's') - ADVANCE(78); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 117: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(65); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 118: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(47); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 119: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(48); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 120: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(34); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 121: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(125); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 122: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(103); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 123: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 't') - ADVANCE(81); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 124: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'u') - ADVANCE(77); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 125: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'u') - ADVANCE(110); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 126: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (lookahead == 'y') - ADVANCE(64); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 127: - ACCEPT_TOKEN(aux_sym_identifier_token1); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 128: - ACCEPT_TOKEN(sym_number); - if (('0' <= lookahead && lookahead <= '9')) - ADVANCE(128); - END_STATE(); - case 129: - ACCEPT_TOKEN(sym_string); - END_STATE(); - case 130: - ACCEPT_TOKEN(anon_sym_true); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 131: - ACCEPT_TOKEN(anon_sym_false); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - case 132: - ACCEPT_TOKEN(anon_sym_error); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'z')) - ADVANCE(127); - END_STATE(); - default: - return false; + case 0: + if (eof) ADVANCE(27); + if (lookahead == '!') ADVANCE(58); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(4); + if (lookahead == '(') ADVANCE(42); + if (lookahead == ')') ADVANCE(43); + if (lookahead == '+') ADVANCE(7); + if (lookahead == ',') ADVANCE(54); + if (lookahead == '-') ADVANCE(57); + if (lookahead == '.') ADVANCE(35); + if (lookahead == ':') ADVANCE(55); + if (lookahead == '<') ADVANCE(52); + if (lookahead == '=') ADVANCE(56); + if (lookahead == '>') ADVANCE(53); + if (lookahead == '[') ADVANCE(59); + if (lookahead == ']') ADVANCE(61); + if (lookahead == 'a') ADVANCE(89); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'c') ADVANCE(86); + if (lookahead == 'e') ADVANCE(108); + if (lookahead == 'f') ADVANCE(69); + if (lookahead == 'i') ADVANCE(88); + if (lookahead == 'm') ADVANCE(72); + if (lookahead == 'n') ADVANCE(96); + if (lookahead == 'p') ADVANCE(104); + if (lookahead == 'r') ADVANCE(80); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 't') ADVANCE(105); + if (lookahead == 'v') ADVANCE(75); + if (lookahead == '{') ADVANCE(32); + if (lookahead == '}') ADVANCE(33); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(0) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 1: + if (lookahead == '"') ADVANCE(3); + if (lookahead == '(') ADVANCE(42); + if (lookahead == ')') ADVANCE(43); + if (lookahead == '[') ADVANCE(59); + if (lookahead == 'a') ADVANCE(90); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'e') ADVANCE(109); + if (lookahead == 'f') ADVANCE(70); + if (lookahead == 'i') ADVANCE(94); + if (lookahead == 'n') ADVANCE(96); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 't') ADVANCE(105); + if (lookahead == 'v') ADVANCE(97); + if (lookahead == '{') ADVANCE(32); + if (lookahead == '}') ADVANCE(33); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(1) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 2: + if (lookahead == '"') ADVANCE(3); + if (lookahead == '(') ADVANCE(42); + if (lookahead == '[') ADVANCE(59); + if (lookahead == ']') ADVANCE(61); + if (lookahead == 'a') ADVANCE(90); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'e') ADVANCE(109); + if (lookahead == 'f') ADVANCE(70); + if (lookahead == 'i') ADVANCE(94); + if (lookahead == 'n') ADVANCE(96); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 't') ADVANCE(105); + if (lookahead == 'v') ADVANCE(97); + if (lookahead == '{') ADVANCE(32); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(2) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 3: + if (lookahead == '"') ADVANCE(132); + if (lookahead == '\\') ADVANCE(25); + if (lookahead != 0) ADVANCE(3); + END_STATE(); + case 4: + if (lookahead == '#') ADVANCE(29); + if (lookahead != 0) ADVANCE(28); + END_STATE(); + case 5: + if (lookahead == '(') ADVANCE(42); + if (lookahead == '+') ADVANCE(7); + if (lookahead == ',') ADVANCE(54); + if (lookahead == '.') ADVANCE(35); + if (lookahead == '=') ADVANCE(8); + if (lookahead == ']') ADVANCE(60); + if (lookahead == 'c') ADVANCE(15); + if (lookahead == 'e') ADVANCE(24); + if (lookahead == 'f') ADVANCE(16); + if (lookahead == 'p') ADVANCE(23); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(5) + END_STATE(); + case 6: + if (lookahead == ')') ADVANCE(43); + if (lookahead == '+') ADVANCE(7); + if (lookahead == '.') ADVANCE(35); + if (lookahead == '=') ADVANCE(8); + if (lookahead == 'a') ADVANCE(90); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'i') ADVANCE(94); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 'v') ADVANCE(97); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(6) + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 7: + if (lookahead == '+') ADVANCE(62); + END_STATE(); + case 8: + if (lookahead == '=') ADVANCE(9); + END_STATE(); + case 9: + if (lookahead == '=') ADVANCE(63); + END_STATE(); + case 10: + if (lookahead == '>') ADVANCE(44); + END_STATE(); + case 11: + if (lookahead == 'a') ADVANCE(21); + END_STATE(); + case 12: + if (lookahead == 'a') ADVANCE(90); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'i') ADVANCE(94); + if (lookahead == 'm') ADVANCE(72); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 'v') ADVANCE(75); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(12) + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 13: + if (lookahead == 'e') ADVANCE(38); + END_STATE(); + case 14: + if (lookahead == 'e') ADVANCE(18); + END_STATE(); + case 15: + if (lookahead == 'l') ADVANCE(11); + END_STATE(); + case 16: + if (lookahead == 'n') ADVANCE(40); + END_STATE(); + case 17: + if (lookahead == 'n') ADVANCE(36); + END_STATE(); + case 18: + if (lookahead == 'r') ADVANCE(17); + END_STATE(); + case 19: + if (lookahead == 'r') ADVANCE(13); + END_STATE(); + case 20: + if (lookahead == 's') ADVANCE(45); + END_STATE(); + case 21: + if (lookahead == 's') ADVANCE(20); + END_STATE(); + case 22: + if (lookahead == 't') ADVANCE(14); + END_STATE(); + case 23: + if (lookahead == 'u') ADVANCE(19); + END_STATE(); + case 24: + if (lookahead == 'x') ADVANCE(22); + END_STATE(); + case 25: + if (lookahead != 0 && + lookahead != '\n') ADVANCE(3); + END_STATE(); + case 26: + if (eof) ADVANCE(27); + if (lookahead == '"') ADVANCE(3); + if (lookahead == '#') ADVANCE(4); + if (lookahead == '(') ADVANCE(42); + if (lookahead == ')') ADVANCE(43); + if (lookahead == '+') ADVANCE(7); + if (lookahead == ',') ADVANCE(54); + if (lookahead == '-') ADVANCE(10); + if (lookahead == '.') ADVANCE(35); + if (lookahead == ':') ADVANCE(55); + if (lookahead == '<') ADVANCE(52); + if (lookahead == '=') ADVANCE(56); + if (lookahead == '>') ADVANCE(53); + if (lookahead == '[') ADVANCE(59); + if (lookahead == 'a') ADVANCE(89); + if (lookahead == 'b') ADVANCE(98); + if (lookahead == 'c') ADVANCE(86); + if (lookahead == 'e') ADVANCE(108); + if (lookahead == 'f') ADVANCE(69); + if (lookahead == 'i') ADVANCE(88); + if (lookahead == 'n') ADVANCE(96); + if (lookahead == 'p') ADVANCE(104); + if (lookahead == 'r') ADVANCE(80); + if (lookahead == 's') ADVANCE(125); + if (lookahead == 't') ADVANCE(105); + if (lookahead == 'v') ADVANCE(97); + if (lookahead == '{') ADVANCE(32); + if (lookahead == '}') ADVANCE(33); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') SKIP(26) + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); + if (('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 27: + ACCEPT_TOKEN(ts_builtin_sym_end); + END_STATE(); + case 28: + ACCEPT_TOKEN(sym_comment); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(28); + END_STATE(); + case 29: + ACCEPT_TOKEN(anon_sym_POUND_POUND); + END_STATE(); + case 30: + ACCEPT_TOKEN(sym_doc_comment_content); + if (lookahead == '\t' || + (11 <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(30); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(31); + END_STATE(); + case 31: + ACCEPT_TOKEN(sym_doc_comment_content); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(31); + END_STATE(); + case 32: + ACCEPT_TOKEN(anon_sym_LBRACE); + END_STATE(); + case 33: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); + case 34: + ACCEPT_TOKEN(anon_sym_import); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 35: + ACCEPT_TOKEN(anon_sym_DOT); + END_STATE(); + case 36: + ACCEPT_TOKEN(anon_sym_extern); + END_STATE(); + case 37: + ACCEPT_TOKEN(anon_sym_extern); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 38: + ACCEPT_TOKEN(anon_sym_pure); + END_STATE(); + case 39: + ACCEPT_TOKEN(anon_sym_pure); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 40: + ACCEPT_TOKEN(anon_sym_fn); + END_STATE(); + case 41: + ACCEPT_TOKEN(anon_sym_fn); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 42: + ACCEPT_TOKEN(anon_sym_LPAREN); + END_STATE(); + case 43: + ACCEPT_TOKEN(anon_sym_RPAREN); + END_STATE(); + case 44: + ACCEPT_TOKEN(anon_sym_DASH_GT); + END_STATE(); + case 45: + ACCEPT_TOKEN(anon_sym_class); + END_STATE(); + case 46: + ACCEPT_TOKEN(anon_sym_class); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 47: + ACCEPT_TOKEN(anon_sym_print); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 48: + ACCEPT_TOKEN(anon_sym_assert); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 49: + ACCEPT_TOKEN(anon_sym_return); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 50: + ACCEPT_TOKEN(anon_sym_vec); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 51: + ACCEPT_TOKEN(anon_sym_map); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 52: + ACCEPT_TOKEN(anon_sym_LT); + END_STATE(); + case 53: + ACCEPT_TOKEN(anon_sym_GT); + END_STATE(); + case 54: + ACCEPT_TOKEN(anon_sym_COMMA); + END_STATE(); + case 55: + ACCEPT_TOKEN(anon_sym_COLON); + END_STATE(); + case 56: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(9); + END_STATE(); + case 57: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '>') ADVANCE(44); + END_STATE(); + case 58: + ACCEPT_TOKEN(anon_sym_BANG); + END_STATE(); + case 59: + ACCEPT_TOKEN(anon_sym_LBRACK); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 60: + ACCEPT_TOKEN(anon_sym_RBRACK); + END_STATE(); + case 61: + ACCEPT_TOKEN(anon_sym_RBRACK); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 62: + ACCEPT_TOKEN(anon_sym_PLUS_PLUS); + END_STATE(); + case 63: + ACCEPT_TOKEN(anon_sym_EQ_EQ_EQ); + END_STATE(); + case 64: + ACCEPT_TOKEN(anon_sym_any); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 65: + ACCEPT_TOKEN(anon_sym_int); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 66: + ACCEPT_TOKEN(anon_sym_str); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 67: + ACCEPT_TOKEN(anon_sym_bool); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 68: + ACCEPT_TOKEN(anon_sym_void); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 69: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'a') ADVANCE(87); + if (lookahead == 'n') ADVANCE(41); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 70: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'a') ADVANCE(87); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 71: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'a') ADVANCE(118); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 72: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'a') ADVANCE(102); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 73: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'c') ADVANCE(50); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 74: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'd') ADVANCE(68); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 75: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(73); + if (lookahead == 'o') ADVANCE(83); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 76: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(136); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 77: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(39); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 78: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(133); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 79: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(134); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 80: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(124); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 81: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(114); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 82: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'e') ADVANCE(110); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 83: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'i') ADVANCE(74); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 84: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'i') ADVANCE(95); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 85: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'l') ADVANCE(67); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 86: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'l') ADVANCE(71); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 87: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'l') ADVANCE(119); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 88: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'm') ADVANCE(103); + if (lookahead == 'n') ADVANCE(120); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 89: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(129); + if (lookahead == 's') ADVANCE(117); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 90: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(129); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 91: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(37); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 92: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(49); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 93: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(76); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 94: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(120); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 95: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'n') ADVANCE(121); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 96: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(93); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 97: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(83); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 98: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(99); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 99: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(85); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 100: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(107); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 101: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'o') ADVANCE(115); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 102: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'p') ADVANCE(51); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 103: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'p') ADVANCE(101); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 104: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(84); + if (lookahead == 'u') ADVANCE(112); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 105: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(127); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 106: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(66); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 107: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(135); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 108: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(111); + if (lookahead == 'x') ADVANCE(126); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 109: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(111); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 110: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(91); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 111: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(100); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 112: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(77); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 113: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(92); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 114: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(122); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 115: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'r') ADVANCE(123); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 116: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 's') ADVANCE(46); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 117: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 's') ADVANCE(81); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 118: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 's') ADVANCE(116); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 119: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 's') ADVANCE(79); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 120: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(65); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 121: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(47); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 122: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(48); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 123: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(34); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 124: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(128); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 125: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(106); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 126: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 't') ADVANCE(82); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 127: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'u') ADVANCE(78); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 128: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'u') ADVANCE(113); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 129: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (lookahead == 'y') ADVANCE(64); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 130: + ACCEPT_TOKEN(aux_sym_identifier_token1); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 131: + ACCEPT_TOKEN(sym_number); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(131); + END_STATE(); + case 132: + ACCEPT_TOKEN(sym_string); + END_STATE(); + case 133: + ACCEPT_TOKEN(anon_sym_true); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 134: + ACCEPT_TOKEN(anon_sym_false); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 135: + ACCEPT_TOKEN(anon_sym_error); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + case 136: + ACCEPT_TOKEN(sym_none); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'z')) ADVANCE(130); + END_STATE(); + default: + return false; } } static const TSLexMode ts_lex_modes[STATE_COUNT] = { - [0] = {.lex_state = 0}, [1] = {.lex_state = 26}, - [2] = {.lex_state = 26}, [3] = {.lex_state = 26}, - [4] = {.lex_state = 26}, [5] = {.lex_state = 26}, - [6] = {.lex_state = 26}, [7] = {.lex_state = 26}, - [8] = {.lex_state = 26}, [9] = {.lex_state = 26}, - [10] = {.lex_state = 26}, [11] = {.lex_state = 26}, - [12] = {.lex_state = 26}, [13] = {.lex_state = 26}, - [14] = {.lex_state = 26}, [15] = {.lex_state = 26}, - [16] = {.lex_state = 26}, [17] = {.lex_state = 26}, - [18] = {.lex_state = 26}, [19] = {.lex_state = 26}, - [20] = {.lex_state = 26}, [21] = {.lex_state = 26}, - [22] = {.lex_state = 26}, [23] = {.lex_state = 26}, - [24] = {.lex_state = 26}, [25] = {.lex_state = 26}, - [26] = {.lex_state = 26}, [27] = {.lex_state = 26}, - [28] = {.lex_state = 26}, [29] = {.lex_state = 26}, - [30] = {.lex_state = 26}, [31] = {.lex_state = 26}, - [32] = {.lex_state = 26}, [33] = {.lex_state = 26}, - [34] = {.lex_state = 26}, [35] = {.lex_state = 26}, - [36] = {.lex_state = 26}, [37] = {.lex_state = 26}, - [38] = {.lex_state = 26}, [39] = {.lex_state = 26}, - [40] = {.lex_state = 26}, [41] = {.lex_state = 26}, - [42] = {.lex_state = 26}, [43] = {.lex_state = 26}, - [44] = {.lex_state = 26}, [45] = {.lex_state = 26}, - [46] = {.lex_state = 26}, [47] = {.lex_state = 26}, - [48] = {.lex_state = 26}, [49] = {.lex_state = 26}, - [50] = {.lex_state = 1}, [51] = {.lex_state = 1}, - [52] = {.lex_state = 1}, [53] = {.lex_state = 1}, - [54] = {.lex_state = 26}, [55] = {.lex_state = 26}, - [56] = {.lex_state = 1}, [57] = {.lex_state = 2}, - [58] = {.lex_state = 2}, [59] = {.lex_state = 26}, - [60] = {.lex_state = 1}, [61] = {.lex_state = 1}, - [62] = {.lex_state = 26}, [63] = {.lex_state = 26}, - [64] = {.lex_state = 26}, [65] = {.lex_state = 26}, - [66] = {.lex_state = 26}, [67] = {.lex_state = 26}, - [68] = {.lex_state = 26}, [69] = {.lex_state = 26}, - [70] = {.lex_state = 26}, [71] = {.lex_state = 1}, - [72] = {.lex_state = 26}, [73] = {.lex_state = 1}, - [74] = {.lex_state = 26}, [75] = {.lex_state = 26}, - [76] = {.lex_state = 26}, [77] = {.lex_state = 26}, - [78] = {.lex_state = 26}, [79] = {.lex_state = 26}, - [80] = {.lex_state = 1}, [81] = {.lex_state = 26}, - [82] = {.lex_state = 26}, [83] = {.lex_state = 26}, - [84] = {.lex_state = 26}, [85] = {.lex_state = 1}, - [86] = {.lex_state = 1}, [87] = {.lex_state = 1}, - [88] = {.lex_state = 1}, [89] = {.lex_state = 1}, - [90] = {.lex_state = 1}, [91] = {.lex_state = 1}, - [92] = {.lex_state = 12}, [93] = {.lex_state = 12}, - [94] = {.lex_state = 12}, [95] = {.lex_state = 12}, - [96] = {.lex_state = 12}, [97] = {.lex_state = 12}, - [98] = {.lex_state = 12}, [99] = {.lex_state = 12}, - [100] = {.lex_state = 12}, [101] = {.lex_state = 12}, - [102] = {.lex_state = 12}, [103] = {.lex_state = 6}, - [104] = {.lex_state = 6}, [105] = {.lex_state = 6}, - [106] = {.lex_state = 6}, [107] = {.lex_state = 6}, - [108] = {.lex_state = 6}, [109] = {.lex_state = 6}, - [110] = {.lex_state = 6}, [111] = {.lex_state = 0}, - [112] = {.lex_state = 6}, [113] = {.lex_state = 6}, - [114] = {.lex_state = 6}, [115] = {.lex_state = 6}, - [116] = {.lex_state = 0}, [117] = {.lex_state = 5}, - [118] = {.lex_state = 0}, [119] = {.lex_state = 0}, - [120] = {.lex_state = 0}, [121] = {.lex_state = 5}, - [122] = {.lex_state = 0}, [123] = {.lex_state = 0}, - [124] = {.lex_state = 5}, [125] = {.lex_state = 5}, - [126] = {.lex_state = 5}, [127] = {.lex_state = 5}, - [128] = {.lex_state = 5}, [129] = {.lex_state = 6}, - [130] = {.lex_state = 5}, [131] = {.lex_state = 5}, - [132] = {.lex_state = 5}, [133] = {.lex_state = 5}, - [134] = {.lex_state = 5}, [135] = {.lex_state = 5}, - [136] = {.lex_state = 5}, [137] = {.lex_state = 5}, - [138] = {.lex_state = 5}, [139] = {.lex_state = 5}, - [140] = {.lex_state = 5}, [141] = {.lex_state = 0}, - [142] = {.lex_state = 0}, [143] = {.lex_state = 0}, - [144] = {.lex_state = 0}, [145] = {.lex_state = 0}, - [146] = {.lex_state = 0}, [147] = {.lex_state = 0}, - [148] = {.lex_state = 5}, [149] = {.lex_state = 0}, - [150] = {.lex_state = 0}, [151] = {.lex_state = 5}, - [152] = {.lex_state = 0}, [153] = {.lex_state = 0}, - [154] = {.lex_state = 0}, [155] = {.lex_state = 0}, - [156] = {.lex_state = 0}, [157] = {.lex_state = 5}, - [158] = {.lex_state = 0}, [159] = {.lex_state = 0}, - [160] = {.lex_state = 0}, [161] = {.lex_state = 30}, - [162] = {.lex_state = 0}, [163] = {.lex_state = 5}, - [164] = {.lex_state = 5}, [165] = {.lex_state = 0}, - [166] = {.lex_state = 0}, + [0] = {.lex_state = 0}, + [1] = {.lex_state = 26}, + [2] = {.lex_state = 26}, + [3] = {.lex_state = 26}, + [4] = {.lex_state = 26}, + [5] = {.lex_state = 26}, + [6] = {.lex_state = 26}, + [7] = {.lex_state = 26}, + [8] = {.lex_state = 26}, + [9] = {.lex_state = 26}, + [10] = {.lex_state = 26}, + [11] = {.lex_state = 26}, + [12] = {.lex_state = 26}, + [13] = {.lex_state = 26}, + [14] = {.lex_state = 26}, + [15] = {.lex_state = 26}, + [16] = {.lex_state = 26}, + [17] = {.lex_state = 26}, + [18] = {.lex_state = 26}, + [19] = {.lex_state = 26}, + [20] = {.lex_state = 26}, + [21] = {.lex_state = 26}, + [22] = {.lex_state = 26}, + [23] = {.lex_state = 26}, + [24] = {.lex_state = 26}, + [25] = {.lex_state = 26}, + [26] = {.lex_state = 26}, + [27] = {.lex_state = 26}, + [28] = {.lex_state = 26}, + [29] = {.lex_state = 26}, + [30] = {.lex_state = 26}, + [31] = {.lex_state = 26}, + [32] = {.lex_state = 26}, + [33] = {.lex_state = 26}, + [34] = {.lex_state = 26}, + [35] = {.lex_state = 26}, + [36] = {.lex_state = 26}, + [37] = {.lex_state = 26}, + [38] = {.lex_state = 26}, + [39] = {.lex_state = 26}, + [40] = {.lex_state = 26}, + [41] = {.lex_state = 26}, + [42] = {.lex_state = 26}, + [43] = {.lex_state = 26}, + [44] = {.lex_state = 26}, + [45] = {.lex_state = 26}, + [46] = {.lex_state = 26}, + [47] = {.lex_state = 26}, + [48] = {.lex_state = 26}, + [49] = {.lex_state = 26}, + [50] = {.lex_state = 1}, + [51] = {.lex_state = 1}, + [52] = {.lex_state = 1}, + [53] = {.lex_state = 1}, + [54] = {.lex_state = 26}, + [55] = {.lex_state = 26}, + [56] = {.lex_state = 1}, + [57] = {.lex_state = 2}, + [58] = {.lex_state = 2}, + [59] = {.lex_state = 26}, + [60] = {.lex_state = 1}, + [61] = {.lex_state = 1}, + [62] = {.lex_state = 26}, + [63] = {.lex_state = 26}, + [64] = {.lex_state = 26}, + [65] = {.lex_state = 26}, + [66] = {.lex_state = 26}, + [67] = {.lex_state = 26}, + [68] = {.lex_state = 26}, + [69] = {.lex_state = 26}, + [70] = {.lex_state = 26}, + [71] = {.lex_state = 1}, + [72] = {.lex_state = 26}, + [73] = {.lex_state = 1}, + [74] = {.lex_state = 26}, + [75] = {.lex_state = 26}, + [76] = {.lex_state = 26}, + [77] = {.lex_state = 26}, + [78] = {.lex_state = 26}, + [79] = {.lex_state = 26}, + [80] = {.lex_state = 1}, + [81] = {.lex_state = 26}, + [82] = {.lex_state = 26}, + [83] = {.lex_state = 26}, + [84] = {.lex_state = 26}, + [85] = {.lex_state = 1}, + [86] = {.lex_state = 1}, + [87] = {.lex_state = 1}, + [88] = {.lex_state = 1}, + [89] = {.lex_state = 1}, + [90] = {.lex_state = 1}, + [91] = {.lex_state = 1}, + [92] = {.lex_state = 12}, + [93] = {.lex_state = 12}, + [94] = {.lex_state = 12}, + [95] = {.lex_state = 12}, + [96] = {.lex_state = 12}, + [97] = {.lex_state = 12}, + [98] = {.lex_state = 12}, + [99] = {.lex_state = 12}, + [100] = {.lex_state = 12}, + [101] = {.lex_state = 12}, + [102] = {.lex_state = 12}, + [103] = {.lex_state = 6}, + [104] = {.lex_state = 6}, + [105] = {.lex_state = 6}, + [106] = {.lex_state = 6}, + [107] = {.lex_state = 6}, + [108] = {.lex_state = 6}, + [109] = {.lex_state = 6}, + [110] = {.lex_state = 6}, + [111] = {.lex_state = 0}, + [112] = {.lex_state = 6}, + [113] = {.lex_state = 6}, + [114] = {.lex_state = 6}, + [115] = {.lex_state = 6}, + [116] = {.lex_state = 0}, + [117] = {.lex_state = 5}, + [118] = {.lex_state = 0}, + [119] = {.lex_state = 0}, + [120] = {.lex_state = 0}, + [121] = {.lex_state = 5}, + [122] = {.lex_state = 0}, + [123] = {.lex_state = 0}, + [124] = {.lex_state = 5}, + [125] = {.lex_state = 5}, + [126] = {.lex_state = 5}, + [127] = {.lex_state = 5}, + [128] = {.lex_state = 5}, + [129] = {.lex_state = 6}, + [130] = {.lex_state = 5}, + [131] = {.lex_state = 5}, + [132] = {.lex_state = 5}, + [133] = {.lex_state = 5}, + [134] = {.lex_state = 5}, + [135] = {.lex_state = 5}, + [136] = {.lex_state = 5}, + [137] = {.lex_state = 5}, + [138] = {.lex_state = 5}, + [139] = {.lex_state = 5}, + [140] = {.lex_state = 5}, + [141] = {.lex_state = 0}, + [142] = {.lex_state = 0}, + [143] = {.lex_state = 0}, + [144] = {.lex_state = 0}, + [145] = {.lex_state = 0}, + [146] = {.lex_state = 0}, + [147] = {.lex_state = 0}, + [148] = {.lex_state = 5}, + [149] = {.lex_state = 0}, + [150] = {.lex_state = 0}, + [151] = {.lex_state = 5}, + [152] = {.lex_state = 0}, + [153] = {.lex_state = 0}, + [154] = {.lex_state = 0}, + [155] = {.lex_state = 0}, + [156] = {.lex_state = 0}, + [157] = {.lex_state = 5}, + [158] = {.lex_state = 0}, + [159] = {.lex_state = 0}, + [160] = {.lex_state = 0}, + [161] = {.lex_state = 30}, + [162] = {.lex_state = 0}, + [163] = {.lex_state = 5}, + [164] = {.lex_state = 5}, + [165] = {.lex_state = 0}, + [166] = {.lex_state = 0}, }; -static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = - { - [0] = - { - [ts_builtin_sym_end] = ACTIONS(1), - [sym_comment] = ACTIONS(1), - [anon_sym_POUND_POUND] = ACTIONS(1), - [anon_sym_LBRACE] = ACTIONS(1), - [anon_sym_RBRACE] = ACTIONS(1), - [anon_sym_import] = ACTIONS(1), - [anon_sym_DOT] = ACTIONS(1), - [anon_sym_extern] = ACTIONS(1), - [anon_sym_pure] = ACTIONS(1), - [anon_sym_fn] = ACTIONS(1), - [anon_sym_LPAREN] = ACTIONS(1), - [anon_sym_RPAREN] = ACTIONS(1), - [anon_sym_DASH_GT] = ACTIONS(1), - [anon_sym_class] = ACTIONS(1), - [anon_sym_print] = ACTIONS(1), - [anon_sym_assert] = ACTIONS(1), - [anon_sym_return] = ACTIONS(1), - [anon_sym_vec] = ACTIONS(1), - [anon_sym_map] = ACTIONS(1), - [anon_sym_LT] = ACTIONS(1), - [anon_sym_GT] = ACTIONS(1), - [anon_sym_COMMA] = ACTIONS(1), - [anon_sym_COLON] = ACTIONS(1), - [anon_sym_EQ] = ACTIONS(1), - [anon_sym_DASH] = ACTIONS(1), - [anon_sym_BANG] = ACTIONS(1), - [anon_sym_LBRACK] = ACTIONS(1), - [anon_sym_RBRACK] = ACTIONS(1), - [anon_sym_PLUS_PLUS] = ACTIONS(1), - [anon_sym_EQ_EQ_EQ] = ACTIONS(1), - [anon_sym_any] = ACTIONS(1), - [anon_sym_int] = ACTIONS(1), - [anon_sym_str] = ACTIONS(1), - [anon_sym_bool] = ACTIONS(1), - [anon_sym_void] = ACTIONS(1), - [aux_sym_identifier_token1] = ACTIONS(1), - [sym_number] = ACTIONS(1), - [sym_string] = ACTIONS(1), - [anon_sym_true] = ACTIONS(1), - [anon_sym_false] = ACTIONS(1), - [anon_sym_error] = ACTIONS(1), - }, - [1] = - { - [sym_source_file] = STATE(153), - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(5), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [aux_sym_source_file_repeat1] = STATE(5), - [ts_builtin_sym_end] = ACTIONS(3), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [2] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(4), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(45), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map_item] = STATE(147), - [sym_map_item_list] = STATE(158), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [aux_sym_source_file_repeat1] = STATE(4), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(37), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [3] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(3), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [aux_sym_source_file_repeat1] = STATE(3), - [ts_builtin_sym_end] = ACTIONS(39), - [sym_comment] = ACTIONS(41), - [anon_sym_POUND_POUND] = ACTIONS(44), - [anon_sym_LBRACE] = ACTIONS(47), - [anon_sym_RBRACE] = ACTIONS(39), - [anon_sym_import] = ACTIONS(50), - [anon_sym_extern] = ACTIONS(53), - [anon_sym_pure] = ACTIONS(53), - [anon_sym_fn] = ACTIONS(56), - [anon_sym_LPAREN] = ACTIONS(59), - [anon_sym_class] = ACTIONS(62), - [anon_sym_print] = ACTIONS(65), - [anon_sym_assert] = ACTIONS(68), - [anon_sym_return] = ACTIONS(71), - [anon_sym_LBRACK] = ACTIONS(74), - [anon_sym_any] = ACTIONS(77), - [anon_sym_int] = ACTIONS(77), - [anon_sym_str] = ACTIONS(77), - [anon_sym_bool] = ACTIONS(77), - [anon_sym_void] = ACTIONS(77), - [aux_sym_identifier_token1] = ACTIONS(80), - [sym_number] = ACTIONS(83), - [sym_string] = ACTIONS(83), - [anon_sym_true] = ACTIONS(86), - [anon_sym_false] = ACTIONS(86), - [anon_sym_error] = ACTIONS(86), - }, - [4] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(3), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [aux_sym_source_file_repeat1] = STATE(3), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_RBRACE] = ACTIONS(89), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [5] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(3), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [aux_sym_source_file_repeat1] = STATE(3), - [ts_builtin_sym_end] = ACTIONS(91), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [6] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(77), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(93), - [anon_sym_DASH_GT] = ACTIONS(95), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [7] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(72), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(97), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [8] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(67), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(99), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [9] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(70), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(101), - [anon_sym_DASH_GT] = ACTIONS(103), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [10] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(81), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(105), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [11] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(64), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_DASH_GT] = ACTIONS(107), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [12] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(76), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [13] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(79), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [14] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(83), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [15] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(62), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [16] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(75), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [17] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(78), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [18] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(69), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, - [19] = - { - [sym_doc_comment] = STATE(82), - [sym_statement] = STATE(68), - [sym_block] = STATE(82), - [sym_import] = STATE(82), - [sym_qualifier] = STATE(132), - [sym_qualifier_list] = STATE(151), - [sym_function_declaration] = STATE(82), - [sym_class_declaration] = STATE(82), - [sym_print] = STATE(82), - [sym_assert] = STATE(82), - [sym_return] = STATE(82), - [sym_expression] = STATE(39), - [sym_parenthesized_expression] = STATE(25), - [sym_access_list] = STATE(25), - [sym_call] = STATE(25), - [sym_literal] = STATE(25), - [sym_var_declaration] = STATE(55), - [sym_assignment] = STATE(82), - [sym_binary_expression] = STATE(25), - [sym_vec] = STATE(25), - [sym_map] = STATE(25), - [sym_primitive_type] = STATE(21), - [sym_identifier] = STATE(37), - [sym_bool] = STATE(33), - [sym_comment] = ACTIONS(5), - [anon_sym_POUND_POUND] = ACTIONS(7), - [anon_sym_LBRACE] = ACTIONS(9), - [anon_sym_import] = ACTIONS(11), - [anon_sym_extern] = ACTIONS(13), - [anon_sym_pure] = ACTIONS(13), - [anon_sym_fn] = ACTIONS(15), - [anon_sym_LPAREN] = ACTIONS(17), - [anon_sym_class] = ACTIONS(19), - [anon_sym_print] = ACTIONS(21), - [anon_sym_assert] = ACTIONS(23), - [anon_sym_return] = ACTIONS(25), - [anon_sym_LBRACK] = ACTIONS(27), - [anon_sym_any] = ACTIONS(29), - [anon_sym_int] = ACTIONS(29), - [anon_sym_str] = ACTIONS(29), - [anon_sym_bool] = ACTIONS(29), - [anon_sym_void] = ACTIONS(29), - [aux_sym_identifier_token1] = ACTIONS(31), - [sym_number] = ACTIONS(33), - [sym_string] = ACTIONS(33), - [anon_sym_true] = ACTIONS(35), - [anon_sym_false] = ACTIONS(35), - [anon_sym_error] = ACTIONS(35), - }, +static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { + [0] = { + [ts_builtin_sym_end] = ACTIONS(1), + [sym_comment] = ACTIONS(1), + [anon_sym_POUND_POUND] = ACTIONS(1), + [anon_sym_LBRACE] = ACTIONS(1), + [anon_sym_RBRACE] = ACTIONS(1), + [anon_sym_import] = ACTIONS(1), + [anon_sym_DOT] = ACTIONS(1), + [anon_sym_extern] = ACTIONS(1), + [anon_sym_pure] = ACTIONS(1), + [anon_sym_fn] = ACTIONS(1), + [anon_sym_LPAREN] = ACTIONS(1), + [anon_sym_RPAREN] = ACTIONS(1), + [anon_sym_DASH_GT] = ACTIONS(1), + [anon_sym_class] = ACTIONS(1), + [anon_sym_print] = ACTIONS(1), + [anon_sym_assert] = ACTIONS(1), + [anon_sym_return] = ACTIONS(1), + [anon_sym_vec] = ACTIONS(1), + [anon_sym_map] = ACTIONS(1), + [anon_sym_LT] = ACTIONS(1), + [anon_sym_GT] = ACTIONS(1), + [anon_sym_COMMA] = ACTIONS(1), + [anon_sym_COLON] = ACTIONS(1), + [anon_sym_EQ] = ACTIONS(1), + [anon_sym_DASH] = ACTIONS(1), + [anon_sym_BANG] = ACTIONS(1), + [anon_sym_LBRACK] = ACTIONS(1), + [anon_sym_RBRACK] = ACTIONS(1), + [anon_sym_PLUS_PLUS] = ACTIONS(1), + [anon_sym_EQ_EQ_EQ] = ACTIONS(1), + [anon_sym_any] = ACTIONS(1), + [anon_sym_int] = ACTIONS(1), + [anon_sym_str] = ACTIONS(1), + [anon_sym_bool] = ACTIONS(1), + [anon_sym_void] = ACTIONS(1), + [aux_sym_identifier_token1] = ACTIONS(1), + [sym_number] = ACTIONS(1), + [sym_string] = ACTIONS(1), + [anon_sym_true] = ACTIONS(1), + [anon_sym_false] = ACTIONS(1), + [anon_sym_error] = ACTIONS(1), + [sym_none] = ACTIONS(1), + }, + [1] = { + [sym_source_file] = STATE(153), + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(5), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [aux_sym_source_file_repeat1] = STATE(5), + [ts_builtin_sym_end] = ACTIONS(3), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [2] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(4), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(45), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map_item] = STATE(147), + [sym_map_item_list] = STATE(158), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [aux_sym_source_file_repeat1] = STATE(4), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_RBRACE] = ACTIONS(39), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [3] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(3), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [aux_sym_source_file_repeat1] = STATE(3), + [ts_builtin_sym_end] = ACTIONS(41), + [sym_comment] = ACTIONS(43), + [anon_sym_POUND_POUND] = ACTIONS(46), + [anon_sym_LBRACE] = ACTIONS(49), + [anon_sym_RBRACE] = ACTIONS(41), + [anon_sym_import] = ACTIONS(52), + [anon_sym_extern] = ACTIONS(55), + [anon_sym_pure] = ACTIONS(55), + [anon_sym_fn] = ACTIONS(58), + [anon_sym_LPAREN] = ACTIONS(61), + [anon_sym_class] = ACTIONS(64), + [anon_sym_print] = ACTIONS(67), + [anon_sym_assert] = ACTIONS(70), + [anon_sym_return] = ACTIONS(73), + [anon_sym_LBRACK] = ACTIONS(76), + [anon_sym_any] = ACTIONS(79), + [anon_sym_int] = ACTIONS(79), + [anon_sym_str] = ACTIONS(79), + [anon_sym_bool] = ACTIONS(79), + [anon_sym_void] = ACTIONS(79), + [aux_sym_identifier_token1] = ACTIONS(82), + [sym_number] = ACTIONS(85), + [sym_string] = ACTIONS(85), + [anon_sym_true] = ACTIONS(88), + [anon_sym_false] = ACTIONS(88), + [anon_sym_error] = ACTIONS(88), + [sym_none] = ACTIONS(91), + }, + [4] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(3), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [aux_sym_source_file_repeat1] = STATE(3), + [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), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [5] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(3), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [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_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [6] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(77), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [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_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [7] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(72), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(102), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [8] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(67), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(104), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [9] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(70), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [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_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [10] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(81), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(110), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [11] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(64), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_DASH_GT] = ACTIONS(112), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [12] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(76), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [13] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(79), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [14] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(83), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [15] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(62), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [16] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(75), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [17] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(78), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [18] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(69), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, + [19] = { + [sym_doc_comment] = STATE(82), + [sym_statement] = STATE(68), + [sym_block] = STATE(82), + [sym_import] = STATE(82), + [sym_qualifier] = STATE(132), + [sym_qualifier_list] = STATE(151), + [sym_function_declaration] = STATE(82), + [sym_class_declaration] = STATE(82), + [sym_print] = STATE(82), + [sym_assert] = STATE(82), + [sym_return] = STATE(82), + [sym_expression] = STATE(39), + [sym_parenthesized_expression] = STATE(25), + [sym_access_list] = STATE(25), + [sym_call] = STATE(25), + [sym_literal] = STATE(25), + [sym_var_declaration] = STATE(55), + [sym_assignment] = STATE(82), + [sym_binary_expression] = STATE(25), + [sym_vec] = STATE(25), + [sym_map] = STATE(25), + [sym_primitive_type] = STATE(21), + [sym_identifier] = STATE(37), + [sym_bool] = STATE(33), + [sym_comment] = ACTIONS(5), + [anon_sym_POUND_POUND] = ACTIONS(7), + [anon_sym_LBRACE] = ACTIONS(9), + [anon_sym_import] = ACTIONS(11), + [anon_sym_extern] = ACTIONS(13), + [anon_sym_pure] = ACTIONS(13), + [anon_sym_fn] = ACTIONS(15), + [anon_sym_LPAREN] = ACTIONS(17), + [anon_sym_class] = ACTIONS(19), + [anon_sym_print] = ACTIONS(21), + [anon_sym_assert] = ACTIONS(23), + [anon_sym_return] = ACTIONS(25), + [anon_sym_LBRACK] = ACTIONS(27), + [anon_sym_any] = ACTIONS(29), + [anon_sym_int] = ACTIONS(29), + [anon_sym_str] = ACTIONS(29), + [anon_sym_bool] = ACTIONS(29), + [anon_sym_void] = ACTIONS(29), + [aux_sym_identifier_token1] = ACTIONS(31), + [sym_number] = ACTIONS(33), + [sym_string] = ACTIONS(33), + [anon_sym_true] = ACTIONS(35), + [anon_sym_false] = ACTIONS(35), + [anon_sym_error] = ACTIONS(35), + [sym_none] = ACTIONS(37), + }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 13, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(43), - 1, - sym_expression, - ACTIONS(33), - 2, - sym_number, - sym_string, - ACTIONS(35), - 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(109), - 4, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_RBRACE, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - ACTIONS(113), - 8, - anon_sym_import, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - anon_sym_print, - anon_sym_assert, - anon_sym_return, - STATE(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [64] = 2, - ACTIONS(115), - 16, - 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_COLON, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(117), - 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_EQ, - 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, - [104] = 2, - ACTIONS(119), - 16, - 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_COLON, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(121), - 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_EQ, - 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, - [144] = 2, - ACTIONS(123), - 15, - 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_COMMA, - anon_sym_COLON, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(125), - 18, - 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, - [182] = 2, - ACTIONS(127), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(129), - 18, - 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, - [219] = 2, - ACTIONS(131), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(133), - 18, - 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, - [256] = 2, - ACTIONS(135), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(137), - 18, - 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, - [293] = 2, - ACTIONS(139), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(141), - 18, - 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, - [330] = 2, - ACTIONS(143), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(145), - 18, - 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, - [367] = 2, - ACTIONS(147), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(149), - 18, - 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, - [404] = 2, - ACTIONS(151), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(153), - 18, - 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, - [441] = 2, - ACTIONS(155), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(157), - 18, - 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, - [478] = 2, - ACTIONS(159), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(161), - 18, - 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, - [515] = 2, - ACTIONS(163), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(165), - 18, - 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, - [552] = 2, - ACTIONS(167), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(169), - 18, - 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, - [589] = 2, - ACTIONS(171), - 14, - 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, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(173), - 18, - 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, - [626] = 3, - ACTIONS(179), - 1, - anon_sym_LT, - ACTIONS(175), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(177), - 18, - 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, - [664] = 4, - ACTIONS(181), - 1, - anon_sym_COLON, - ACTIONS(183), - 1, - anon_sym_EQ, - ACTIONS(131), - 11, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - sym_number, - sym_string, - ACTIONS(133), - 18, - 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, - [704] = 3, - ACTIONS(185), - 1, - anon_sym_LT, - ACTIONS(175), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(177), - 18, - 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, - [742] = 6, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(187), - 7, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(189), - 18, - 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, - [785] = 2, - ACTIONS(197), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(199), - 18, - 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, - [820] = 6, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(201), - 7, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(203), - 18, - 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, - [863] = 6, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(205), - 7, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(207), - 18, - 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, - [906] = 6, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(209), - 7, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(211), - 18, - 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, - [949] = 2, - ACTIONS(175), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(177), - 18, - 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, - [984] = 7, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - ACTIONS(213), - 1, - anon_sym_COLON, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(187), - 6, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(189), - 18, - 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, - [1029] = 2, - ACTIONS(215), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(217), - 18, - 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, - [1064] = 2, - ACTIONS(219), - 12, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_GT, - anon_sym_COMMA, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(221), - 18, - 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, - [1099] = 3, - ACTIONS(139), - 4, - anon_sym_DOT, - anon_sym_COLON, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(223), - 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(225), - 18, - 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, - [1136] = 6, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(227), - 7, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - sym_number, - sym_string, - ACTIONS(229), - 18, - 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, - [1179] = 15, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(231), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(119), - 1, - sym_identifier, - STATE(120), - 1, - sym_expression, - STATE(142), - 1, - sym_param, - STATE(154), - 1, - sym_param_list, - 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(25), - 7, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - [1238] = 14, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(233), - 1, - anon_sym_RBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(122), - 1, - sym_expression, - STATE(147), - 1, - sym_map_item, - STATE(158), - 1, - sym_map_item_list, - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1295] = 15, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(235), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(119), - 1, - sym_identifier, - STATE(120), - 1, - sym_expression, - STATE(142), - 1, - sym_param, - STATE(166), - 1, - sym_param_list, - 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(25), - 7, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - [1354] = 14, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(237), - 1, - anon_sym_RBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(122), - 1, - sym_expression, - STATE(147), - 1, - sym_map_item, - STATE(160), - 1, - sym_map_item_list, - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1411] = 2, - ACTIONS(239), - 9, - ts_builtin_sym_end, - sym_comment, - anon_sym_POUND_POUND, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_EQ, - sym_number, - sym_string, - ACTIONS(241), - 18, - 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, - [1443] = 3, - ACTIONS(243), - 1, - anon_sym_EQ, - ACTIONS(187), - 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(189), - 18, - 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, - [1477] = 13, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(245), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(111), - 1, - sym_expression, - STATE(165), - 1, - sym_arg_list, - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1531] = 13, - ACTIONS(247), - 1, - anon_sym_LBRACE, - ACTIONS(249), - 1, - anon_sym_LPAREN, - ACTIONS(251), - 1, - anon_sym_LBRACK, - ACTIONS(253), - 1, - anon_sym_RBRACK, - ACTIONS(257), - 1, - aux_sym_identifier_token1, - STATE(117), - 1, - sym_expression, - STATE(138), - 1, - sym_bool, - STATE(139), - 1, - sym_primitive_type, - STATE(163), - 1, - sym_expression_list, - ACTIONS(259), - 2, - sym_number, - sym_string, - ACTIONS(261), - 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(255), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - STATE(136), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1585] = 13, - ACTIONS(247), - 1, - anon_sym_LBRACE, - ACTIONS(249), - 1, - anon_sym_LPAREN, - ACTIONS(251), - 1, - anon_sym_LBRACK, - ACTIONS(257), - 1, - aux_sym_identifier_token1, - ACTIONS(263), - 1, - anon_sym_RBRACK, - STATE(117), - 1, - sym_expression, - STATE(138), - 1, - sym_bool, - STATE(139), - 1, - sym_primitive_type, - STATE(157), - 1, - sym_expression_list, - ACTIONS(259), - 2, - sym_number, - sym_string, - ACTIONS(261), - 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(255), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - STATE(136), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1639] = 3, - ACTIONS(269), - 1, - anon_sym_DOT, - ACTIONS(265), - 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(267), - 18, - 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, - [1673] = 13, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(122), - 1, - sym_expression, - STATE(147), - 1, - sym_map_item, - STATE(162), - 1, - sym_map_item_list, - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1727] = 13, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(271), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(111), - 1, - sym_expression, - STATE(159), - 1, - sym_arg_list, - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [1781] = 2, - ACTIONS(273), - 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(275), - 18, - 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, - [1812] = 2, - ACTIONS(277), - 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(279), - 18, - 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, - [1843] = 2, - ACTIONS(281), - 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(283), - 18, - 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, - [1874] = 2, - ACTIONS(285), - 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(287), - 18, - 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, - [1905] = 2, - ACTIONS(289), - 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(291), - 18, - 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, - [1936] = 2, - ACTIONS(293), - 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(295), - 18, - 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, - [1967] = 2, - ACTIONS(297), - 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(299), - 18, - 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, - [1998] = 2, - ACTIONS(301), - 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(303), - 18, - 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, - [2029] = 2, - ACTIONS(305), - 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(307), - 18, - 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, - [2060] = 12, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(309), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(116), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2111] = 2, - ACTIONS(311), - 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(313), - 18, - 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, - [2142] = 12, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - ACTIONS(315), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(116), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2193] = 2, - ACTIONS(317), - 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(319), - 18, - 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, - [2224] = 2, - ACTIONS(321), - 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(323), - 18, - 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, - [2255] = 2, - ACTIONS(325), - 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(327), - 18, - 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, - [2286] = 2, - ACTIONS(329), - 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(331), - 18, - 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, - [2317] = 2, - ACTIONS(333), - 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(335), - 18, - 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, - [2348] = 2, - ACTIONS(337), - 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(339), - 18, - 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, - [2379] = 12, - ACTIONS(247), - 1, - anon_sym_LBRACE, - ACTIONS(249), - 1, - anon_sym_LPAREN, - ACTIONS(251), - 1, - anon_sym_LBRACK, - ACTIONS(257), - 1, - aux_sym_identifier_token1, - STATE(117), - 1, - sym_expression, - STATE(138), - 1, - sym_bool, - STATE(139), - 1, - sym_primitive_type, - STATE(164), - 1, - sym_expression_list, - ACTIONS(259), - 2, - sym_number, - sym_string, - ACTIONS(261), - 3, - anon_sym_true, - anon_sym_false, - anon_sym_error, - ACTIONS(255), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - STATE(136), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2430] = 2, - ACTIONS(341), - 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(343), - 18, - 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, - [2461] = 2, - ACTIONS(187), - 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(189), - 18, - 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, - [2492] = 2, - ACTIONS(345), - 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(347), - 18, - 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, - [2523] = 2, - ACTIONS(349), - 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(351), - 18, - 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, - [2554] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(49), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2602] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(120), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2650] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(42), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2698] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(123), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2746] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(116), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2794] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(118), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2842] = 11, - ACTIONS(17), - 1, - anon_sym_LPAREN, - ACTIONS(27), - 1, - anon_sym_LBRACK, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(111), - 1, - anon_sym_LBRACE, - STATE(21), - 1, - sym_primitive_type, - STATE(33), - 1, - sym_bool, - STATE(41), - 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(25), - 8, - sym_parenthesized_expression, - sym_access_list, - sym_call, - sym_literal, - sym_binary_expression, - sym_vec, - sym_map, - sym_identifier, - [2890] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(14), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [2919] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - STATE(54), - 1, - sym_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [2948] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(15), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [2977] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(16), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3006] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - STATE(156), - 1, - sym_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3035] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - STATE(155), - 1, - sym_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3064] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(17), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3093] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(18), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3122] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - STATE(150), - 1, - sym_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3151] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - STATE(152), - 1, - sym_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3180] = 8, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(353), - 1, - anon_sym_vec, - ACTIONS(355), - 1, - anon_sym_map, - STATE(12), - 1, - sym_type, - STATE(21), - 1, - sym_primitive_type, - STATE(44), - 1, - sym_identifier, - STATE(46), - 1, - sym_type_name, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3209] = 5, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - STATE(9), - 2, - sym_overloadable_operator, - sym_identifier, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3231] = 5, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - STATE(6), - 2, - sym_overloadable_operator, - sym_identifier, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3253] = 7, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(357), - 1, - anon_sym_DOT, - STATE(21), - 1, - sym_primitive_type, - STATE(59), - 1, - sym_identifier, - STATE(66), - 1, - sym_import_path, - STATE(109), - 1, - sym_import_relative_dot, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3279] = 6, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(359), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(143), - 1, - sym_identifier, - STATE(149), - 1, - sym_param, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3302] = 6, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - ACTIONS(361), - 1, - anon_sym_RPAREN, - STATE(21), - 1, - sym_primitive_type, - STATE(143), - 1, - sym_identifier, - STATE(149), - 1, - sym_param, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3325] = 5, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - STATE(143), - 1, - sym_identifier, - STATE(149), - 1, - sym_param, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3345] = 5, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - STATE(59), - 1, - sym_identifier, - STATE(74), - 1, - sym_import_path, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3365] = 5, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - STATE(59), - 1, - sym_identifier, - STATE(84), - 1, - sym_import_path, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3385] = 7, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - ACTIONS(363), - 1, - anon_sym_RPAREN, - ACTIONS(365), - 1, - anon_sym_COMMA, - STATE(24), - 1, - sym_overloadable_operator, - STATE(144), - 1, - aux_sym_arg_list_repeat1, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3408] = 4, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(13), - 1, - sym_identifier, - STATE(21), - 1, - sym_primitive_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3425] = 4, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(21), - 1, - sym_primitive_type, - STATE(31), - 1, - sym_identifier, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3442] = 4, - ACTIONS(31), - 1, - aux_sym_identifier_token1, - STATE(19), - 1, - sym_identifier, - STATE(21), - 1, - sym_primitive_type, - ACTIONS(29), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3459] = 4, - ACTIONS(257), - 1, - aux_sym_identifier_token1, - STATE(127), - 1, - sym_identifier, - STATE(139), - 1, - sym_primitive_type, - ACTIONS(255), - 5, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - [3476] = 5, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(367), - 2, - anon_sym_RPAREN, - anon_sym_COMMA, - [3494] = 6, - ACTIONS(369), - 1, - anon_sym_DOT, - ACTIONS(371), - 1, - anon_sym_LPAREN, - ACTIONS(373), - 1, - anon_sym_COMMA, - ACTIONS(375), - 1, - anon_sym_RBRACK, - STATE(133), - 1, - sym_overloadable_operator, - ACTIONS(377), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3514] = 5, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - ACTIONS(379), - 2, - anon_sym_RBRACE, - anon_sym_COMMA, - [3532] = 3, - ACTIONS(383), - 1, - anon_sym_COLON, - ACTIONS(381), - 2, - anon_sym_RPAREN, - anon_sym_COMMA, - ACTIONS(131), - 4, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3546] = 5, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - ACTIONS(385), - 1, - anon_sym_RPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3563] = 1, - ACTIONS(119), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3572] = 5, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - ACTIONS(213), - 1, - anon_sym_COLON, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3589] = 5, - ACTIONS(191), - 1, - anon_sym_DOT, - ACTIONS(193), - 1, - anon_sym_LPAREN, - ACTIONS(387), - 1, - anon_sym_RPAREN, - STATE(24), - 1, - sym_overloadable_operator, - ACTIONS(195), - 2, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3606] = 1, - ACTIONS(143), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3615] = 1, - ACTIONS(147), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3624] = 1, - ACTIONS(167), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3633] = 1, - ACTIONS(155), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3642] = 1, - ACTIONS(135), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3651] = 1, - ACTIONS(389), - 6, - anon_sym_any, - anon_sym_int, - anon_sym_str, - anon_sym_bool, - anon_sym_void, - aux_sym_identifier_token1, - [3660] = 1, - ACTIONS(139), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3669] = 1, - ACTIONS(171), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3678] = 4, - STATE(132), - 1, - sym_qualifier, - STATE(148), - 1, - sym_qualifier_list, - ACTIONS(391), - 2, - anon_sym_extern, - anon_sym_pure, - ACTIONS(393), - 2, - anon_sym_fn, - anon_sym_class, - [3693] = 1, - ACTIONS(127), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3702] = 1, - ACTIONS(151), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3711] = 1, - ACTIONS(123), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3720] = 1, - ACTIONS(131), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3729] = 1, - ACTIONS(159), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3738] = 1, - ACTIONS(163), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3747] = 1, - ACTIONS(115), - 6, - anon_sym_DOT, - anon_sym_LPAREN, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_PLUS_PLUS, - anon_sym_EQ_EQ_EQ, - [3756] = 1, - ACTIONS(395), - 4, - anon_sym_extern, - anon_sym_pure, - anon_sym_fn, - anon_sym_class, - [3763] = 3, - ACTIONS(367), - 1, - anon_sym_RPAREN, - ACTIONS(397), - 1, - anon_sym_COMMA, - STATE(141), - 1, - aux_sym_arg_list_repeat1, - [3773] = 3, - ACTIONS(400), - 1, - anon_sym_RPAREN, - ACTIONS(402), - 1, - anon_sym_COMMA, - STATE(146), - 1, - aux_sym_param_list_repeat1, - [3783] = 2, - ACTIONS(383), - 1, - anon_sym_COLON, - ACTIONS(381), - 2, - anon_sym_RPAREN, - anon_sym_COMMA, - [3791] = 3, - ACTIONS(315), - 1, - anon_sym_RPAREN, - ACTIONS(404), - 1, - anon_sym_COMMA, - STATE(141), - 1, - aux_sym_arg_list_repeat1, - [3801] = 3, - ACTIONS(406), - 1, - anon_sym_RPAREN, - ACTIONS(408), - 1, - anon_sym_COMMA, - STATE(145), - 1, - aux_sym_param_list_repeat1, - [3811] = 3, - ACTIONS(361), - 1, - anon_sym_RPAREN, - ACTIONS(411), - 1, - anon_sym_COMMA, - STATE(145), - 1, - aux_sym_param_list_repeat1, - [3821] = 2, - ACTIONS(413), - 1, - anon_sym_RBRACE, - ACTIONS(415), - 1, - anon_sym_COMMA, - [3828] = 1, - ACTIONS(417), - 2, - anon_sym_fn, - anon_sym_class, - [3833] = 1, - ACTIONS(406), - 2, - anon_sym_RPAREN, - anon_sym_COMMA, - [3838] = 1, - ACTIONS(419), - 2, - anon_sym_RPAREN, - anon_sym_COMMA, - [3843] = 2, - ACTIONS(421), - 1, - anon_sym_fn, - ACTIONS(423), - 1, - anon_sym_class, - [3850] = 1, - ACTIONS(425), - 1, - anon_sym_GT, - [3854] = 1, - ACTIONS(427), - 1, - ts_builtin_sym_end, - [3858] = 1, - ACTIONS(429), - 1, - anon_sym_RPAREN, - [3862] = 1, - ACTIONS(431), - 1, - anon_sym_COMMA, - [3866] = 1, - ACTIONS(433), - 1, - anon_sym_GT, - [3870] = 1, - ACTIONS(435), - 1, - anon_sym_RBRACK, - [3874] = 1, - ACTIONS(437), - 1, - anon_sym_RBRACE, - [3878] = 1, - ACTIONS(439), - 1, - anon_sym_RPAREN, - [3882] = 1, - ACTIONS(441), - 1, - anon_sym_RBRACE, - [3886] = 1, - ACTIONS(443), - 1, - sym_doc_comment_content, - [3890] = 1, - ACTIONS(445), - 1, - anon_sym_RBRACE, - [3894] = 1, - ACTIONS(447), - 1, - anon_sym_RBRACK, - [3898] = 1, - ACTIONS(449), - 1, - anon_sym_RBRACK, - [3902] = 1, - ACTIONS(451), - 1, - anon_sym_RPAREN, - [3906] = 1, - ACTIONS(453), - 1, - anon_sym_RPAREN, + [0] = 14, + 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(43), 1, + sym_expression, + ACTIONS(33), 2, + sym_number, + sym_string, + ACTIONS(35), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(114), 4, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_RBRACE, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + ACTIONS(118), 8, + anon_sym_import, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + anon_sym_print, + anon_sym_assert, + anon_sym_return, + STATE(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [67] = 2, + ACTIONS(120), 16, + 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_COLON, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(122), 20, + 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_EQ, + 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, + [108] = 2, + ACTIONS(124), 16, + 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_COLON, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(126), 20, + 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_EQ, + 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, + [149] = 2, + ACTIONS(128), 15, + 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_COMMA, + anon_sym_COLON, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(130), 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, + [188] = 2, + ACTIONS(132), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(134), 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, + [226] = 2, + ACTIONS(136), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(138), 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, + [264] = 2, + ACTIONS(140), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(142), 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, + [302] = 2, + ACTIONS(144), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(146), 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, + [340] = 2, + ACTIONS(148), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(150), 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, + [378] = 2, + ACTIONS(152), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(154), 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, + [416] = 2, + ACTIONS(156), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(158), 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, + [454] = 2, + ACTIONS(160), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(162), 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, + [492] = 2, + ACTIONS(164), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(166), 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, + [530] = 2, + ACTIONS(168), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(170), 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, + [568] = 2, + ACTIONS(172), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(174), 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, + [606] = 2, + ACTIONS(176), 14, + 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, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(178), 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, + [644] = 3, + ACTIONS(184), 1, + anon_sym_LT, + ACTIONS(180), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(182), 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, + [683] = 4, + ACTIONS(186), 1, + anon_sym_COLON, + ACTIONS(188), 1, + anon_sym_EQ, + ACTIONS(136), 11, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + sym_number, + sym_string, + ACTIONS(138), 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, + [724] = 3, + ACTIONS(190), 1, + anon_sym_LT, + ACTIONS(180), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(182), 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, + [763] = 6, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(192), 7, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(194), 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, + [807] = 2, + ACTIONS(202), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(204), 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, + [843] = 6, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(206), 7, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(208), 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, + [887] = 6, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(210), 7, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(212), 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, + [931] = 6, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(214), 7, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(216), 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, + [975] = 2, + ACTIONS(180), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(182), 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, + [1011] = 7, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + ACTIONS(218), 1, + anon_sym_COLON, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(192), 6, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(194), 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, + [1057] = 2, + ACTIONS(220), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(222), 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, + [1093] = 2, + ACTIONS(224), 12, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_GT, + anon_sym_COMMA, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(226), 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, + [1129] = 3, + ACTIONS(144), 4, + anon_sym_DOT, + anon_sym_COLON, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(228), 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(230), 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, + [1167] = 6, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(232), 7, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + sym_number, + sym_string, + ACTIONS(234), 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, + [1211] = 16, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(236), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(119), 1, + sym_identifier, + STATE(120), 1, + sym_expression, + STATE(142), 1, + sym_param, + STATE(154), 1, + sym_param_list, + 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(25), 7, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + [1273] = 15, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(238), 1, + anon_sym_RBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(122), 1, + sym_expression, + STATE(147), 1, + sym_map_item, + STATE(158), 1, + sym_map_item_list, + 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1333] = 16, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(240), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(119), 1, + sym_identifier, + STATE(120), 1, + sym_expression, + STATE(142), 1, + sym_param, + STATE(166), 1, + sym_param_list, + 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(25), 7, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + [1395] = 15, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(242), 1, + anon_sym_RBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(122), 1, + sym_expression, + STATE(147), 1, + sym_map_item, + STATE(160), 1, + sym_map_item_list, + 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1455] = 2, + ACTIONS(244), 9, + ts_builtin_sym_end, + sym_comment, + anon_sym_POUND_POUND, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LPAREN, + anon_sym_EQ, + sym_number, + sym_string, + ACTIONS(246), 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, + [1488] = 3, + ACTIONS(248), 1, + anon_sym_EQ, + ACTIONS(192), 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(194), 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] = 14, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(250), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(111), 1, + sym_expression, + STATE(165), 1, + sym_arg_list, + 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1580] = 14, + ACTIONS(252), 1, + anon_sym_LBRACE, + ACTIONS(254), 1, + anon_sym_LPAREN, + ACTIONS(256), 1, + anon_sym_LBRACK, + ACTIONS(258), 1, + anon_sym_RBRACK, + ACTIONS(262), 1, + aux_sym_identifier_token1, + ACTIONS(268), 1, + sym_none, + STATE(117), 1, + sym_expression, + STATE(138), 1, + sym_bool, + STATE(139), 1, + sym_primitive_type, + STATE(163), 1, + sym_expression_list, + ACTIONS(264), 2, + sym_number, + sym_string, + ACTIONS(266), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(260), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + STATE(136), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1637] = 14, + ACTIONS(252), 1, + anon_sym_LBRACE, + ACTIONS(254), 1, + anon_sym_LPAREN, + ACTIONS(256), 1, + anon_sym_LBRACK, + ACTIONS(262), 1, + aux_sym_identifier_token1, + ACTIONS(268), 1, + sym_none, + ACTIONS(270), 1, + anon_sym_RBRACK, + STATE(117), 1, + sym_expression, + STATE(138), 1, + sym_bool, + STATE(139), 1, + sym_primitive_type, + STATE(157), 1, + sym_expression_list, + ACTIONS(264), 2, + sym_number, + sym_string, + ACTIONS(266), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(260), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + STATE(136), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1694] = 3, + ACTIONS(276), 1, + anon_sym_DOT, + ACTIONS(272), 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(274), 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, + [1729] = 14, + 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(122), 1, + sym_expression, + STATE(147), 1, + sym_map_item, + STATE(162), 1, + sym_map_item_list, + 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1786] = 14, + 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(116), 1, + anon_sym_LBRACE, + ACTIONS(278), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(111), 1, + sym_expression, + STATE(159), 1, + sym_arg_list, + 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [1843] = 2, + ACTIONS(280), 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(282), 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, + [1875] = 2, + ACTIONS(284), 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(286), 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, + [1907] = 2, + ACTIONS(288), 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(290), 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, + [1939] = 2, + ACTIONS(292), 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(294), 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, + [1971] = 2, + ACTIONS(296), 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(298), 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, + [2003] = 2, + ACTIONS(300), 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(302), 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, + [2035] = 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(306), 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, + [2067] = 2, + ACTIONS(308), 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(310), 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, + [2099] = 2, + ACTIONS(312), 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(314), 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, + [2131] = 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(116), 1, + anon_sym_LBRACE, + ACTIONS(316), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(116), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2185] = 2, + ACTIONS(318), 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(320), 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, + [2217] = 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(116), 1, + anon_sym_LBRACE, + ACTIONS(322), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(116), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2271] = 2, + ACTIONS(324), 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(326), 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, + [2303] = 2, + ACTIONS(328), 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(330), 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, + [2335] = 2, + ACTIONS(332), 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(334), 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, + [2367] = 2, + ACTIONS(336), 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(338), 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, + [2399] = 2, + ACTIONS(340), 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(342), 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, + [2431] = 2, + ACTIONS(344), 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(346), 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, + [2463] = 13, + ACTIONS(252), 1, + anon_sym_LBRACE, + ACTIONS(254), 1, + anon_sym_LPAREN, + ACTIONS(256), 1, + anon_sym_LBRACK, + ACTIONS(262), 1, + aux_sym_identifier_token1, + ACTIONS(268), 1, + sym_none, + STATE(117), 1, + sym_expression, + STATE(138), 1, + sym_bool, + STATE(139), 1, + sym_primitive_type, + STATE(164), 1, + sym_expression_list, + ACTIONS(264), 2, + sym_number, + sym_string, + ACTIONS(266), 3, + anon_sym_true, + anon_sym_false, + anon_sym_error, + ACTIONS(260), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + STATE(136), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2517] = 2, + ACTIONS(348), 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(350), 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, + [2549] = 2, + ACTIONS(192), 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(194), 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, + [2581] = 2, + ACTIONS(352), 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(354), 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, + [2613] = 2, + ACTIONS(356), 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(358), 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, + [2645] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(49), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2696] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(120), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2747] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(42), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2798] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(123), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2849] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(116), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2900] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(118), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [2951] = 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(116), 1, + anon_sym_LBRACE, + STATE(21), 1, + sym_primitive_type, + STATE(33), 1, + sym_bool, + STATE(41), 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(25), 8, + sym_parenthesized_expression, + sym_access_list, + sym_call, + sym_literal, + sym_binary_expression, + sym_vec, + sym_map, + sym_identifier, + [3002] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(14), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3031] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + STATE(54), 1, + sym_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3060] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(15), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3089] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(16), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3118] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + STATE(156), 1, + sym_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3147] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + STATE(155), 1, + sym_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3176] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(17), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3205] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(18), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3234] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + STATE(150), 1, + sym_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3263] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + STATE(152), 1, + sym_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3292] = 8, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(360), 1, + anon_sym_vec, + ACTIONS(362), 1, + anon_sym_map, + STATE(12), 1, + sym_type, + STATE(21), 1, + sym_primitive_type, + STATE(44), 1, + sym_identifier, + STATE(46), 1, + sym_type_name, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3321] = 5, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + STATE(9), 2, + sym_overloadable_operator, + sym_identifier, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3343] = 5, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + STATE(6), 2, + sym_overloadable_operator, + sym_identifier, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3365] = 7, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(364), 1, + anon_sym_DOT, + STATE(21), 1, + sym_primitive_type, + STATE(59), 1, + sym_identifier, + STATE(66), 1, + sym_import_path, + STATE(109), 1, + sym_import_relative_dot, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3391] = 6, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(366), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(143), 1, + sym_identifier, + STATE(149), 1, + sym_param, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3414] = 6, + ACTIONS(31), 1, + aux_sym_identifier_token1, + ACTIONS(368), 1, + anon_sym_RPAREN, + STATE(21), 1, + sym_primitive_type, + STATE(143), 1, + sym_identifier, + STATE(149), 1, + sym_param, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3437] = 5, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + STATE(143), 1, + sym_identifier, + STATE(149), 1, + sym_param, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3457] = 5, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + STATE(59), 1, + sym_identifier, + STATE(74), 1, + sym_import_path, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3477] = 5, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + STATE(59), 1, + sym_identifier, + STATE(84), 1, + sym_import_path, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3497] = 7, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + ACTIONS(370), 1, + anon_sym_RPAREN, + ACTIONS(372), 1, + anon_sym_COMMA, + STATE(24), 1, + sym_overloadable_operator, + STATE(144), 1, + aux_sym_arg_list_repeat1, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3520] = 4, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(13), 1, + sym_identifier, + STATE(21), 1, + sym_primitive_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3537] = 4, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(21), 1, + sym_primitive_type, + STATE(31), 1, + sym_identifier, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3554] = 4, + ACTIONS(31), 1, + aux_sym_identifier_token1, + STATE(19), 1, + sym_identifier, + STATE(21), 1, + sym_primitive_type, + ACTIONS(29), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3571] = 4, + ACTIONS(262), 1, + aux_sym_identifier_token1, + STATE(127), 1, + sym_identifier, + STATE(139), 1, + sym_primitive_type, + ACTIONS(260), 5, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + [3588] = 5, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(374), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [3606] = 6, + ACTIONS(376), 1, + anon_sym_DOT, + ACTIONS(378), 1, + anon_sym_LPAREN, + ACTIONS(380), 1, + anon_sym_COMMA, + ACTIONS(382), 1, + anon_sym_RBRACK, + STATE(133), 1, + sym_overloadable_operator, + ACTIONS(384), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3626] = 5, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + ACTIONS(386), 2, + anon_sym_RBRACE, + anon_sym_COMMA, + [3644] = 3, + ACTIONS(390), 1, + anon_sym_COLON, + ACTIONS(388), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + ACTIONS(136), 4, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3658] = 5, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + ACTIONS(392), 1, + anon_sym_RPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3675] = 1, + ACTIONS(124), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3684] = 5, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + ACTIONS(218), 1, + anon_sym_COLON, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3701] = 5, + ACTIONS(196), 1, + anon_sym_DOT, + ACTIONS(198), 1, + anon_sym_LPAREN, + ACTIONS(394), 1, + anon_sym_RPAREN, + STATE(24), 1, + sym_overloadable_operator, + ACTIONS(200), 2, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3718] = 1, + ACTIONS(148), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3727] = 1, + ACTIONS(152), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3736] = 1, + ACTIONS(172), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3745] = 1, + ACTIONS(160), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3754] = 1, + ACTIONS(140), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3763] = 1, + ACTIONS(396), 6, + anon_sym_any, + anon_sym_int, + anon_sym_str, + anon_sym_bool, + anon_sym_void, + aux_sym_identifier_token1, + [3772] = 1, + ACTIONS(144), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3781] = 1, + ACTIONS(176), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3790] = 4, + STATE(132), 1, + sym_qualifier, + STATE(148), 1, + sym_qualifier_list, + ACTIONS(398), 2, + anon_sym_extern, + anon_sym_pure, + ACTIONS(400), 2, + anon_sym_fn, + anon_sym_class, + [3805] = 1, + ACTIONS(132), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3814] = 1, + ACTIONS(156), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3823] = 1, + ACTIONS(128), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3832] = 1, + ACTIONS(136), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3841] = 1, + ACTIONS(164), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3850] = 1, + ACTIONS(168), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3859] = 1, + ACTIONS(120), 6, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_PLUS_PLUS, + anon_sym_EQ_EQ_EQ, + [3868] = 1, + ACTIONS(402), 4, + anon_sym_extern, + anon_sym_pure, + anon_sym_fn, + anon_sym_class, + [3875] = 3, + ACTIONS(374), 1, + anon_sym_RPAREN, + ACTIONS(404), 1, + anon_sym_COMMA, + STATE(141), 1, + aux_sym_arg_list_repeat1, + [3885] = 3, + ACTIONS(407), 1, + anon_sym_RPAREN, + ACTIONS(409), 1, + anon_sym_COMMA, + STATE(146), 1, + aux_sym_param_list_repeat1, + [3895] = 2, + ACTIONS(390), 1, + anon_sym_COLON, + ACTIONS(388), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [3903] = 3, + ACTIONS(322), 1, + anon_sym_RPAREN, + ACTIONS(411), 1, + anon_sym_COMMA, + STATE(141), 1, + aux_sym_arg_list_repeat1, + [3913] = 3, + ACTIONS(413), 1, + anon_sym_RPAREN, + ACTIONS(415), 1, + anon_sym_COMMA, + STATE(145), 1, + aux_sym_param_list_repeat1, + [3923] = 3, + ACTIONS(368), 1, + anon_sym_RPAREN, + ACTIONS(418), 1, + anon_sym_COMMA, + STATE(145), 1, + aux_sym_param_list_repeat1, + [3933] = 2, + ACTIONS(420), 1, + anon_sym_RBRACE, + ACTIONS(422), 1, + anon_sym_COMMA, + [3940] = 1, + ACTIONS(424), 2, + anon_sym_fn, + anon_sym_class, + [3945] = 1, + ACTIONS(413), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [3950] = 1, + ACTIONS(426), 2, + anon_sym_RPAREN, + anon_sym_COMMA, + [3955] = 2, + ACTIONS(428), 1, + anon_sym_fn, + ACTIONS(430), 1, + anon_sym_class, + [3962] = 1, + ACTIONS(432), 1, + anon_sym_GT, + [3966] = 1, + ACTIONS(434), 1, + ts_builtin_sym_end, + [3970] = 1, + ACTIONS(436), 1, + anon_sym_RPAREN, + [3974] = 1, + ACTIONS(438), 1, + anon_sym_COMMA, + [3978] = 1, + ACTIONS(440), 1, + anon_sym_GT, + [3982] = 1, + ACTIONS(442), 1, + anon_sym_RBRACK, + [3986] = 1, + ACTIONS(444), 1, + anon_sym_RBRACE, + [3990] = 1, + ACTIONS(446), 1, + anon_sym_RPAREN, + [3994] = 1, + ACTIONS(448), 1, + anon_sym_RBRACE, + [3998] = 1, + ACTIONS(450), 1, + sym_doc_comment_content, + [4002] = 1, + ACTIONS(452), 1, + anon_sym_RBRACE, + [4006] = 1, + ACTIONS(454), 1, + anon_sym_RBRACK, + [4010] = 1, + ACTIONS(456), 1, + anon_sym_RBRACK, + [4014] = 1, + ACTIONS(458), 1, + anon_sym_RPAREN, + [4018] = 1, + ACTIONS(460), 1, + anon_sym_RPAREN, }; static const uint32_t ts_small_parse_table_map[] = { - [SMALL_STATE(20)] = 0, [SMALL_STATE(21)] = 64, - [SMALL_STATE(22)] = 104, [SMALL_STATE(23)] = 144, - [SMALL_STATE(24)] = 182, [SMALL_STATE(25)] = 219, - [SMALL_STATE(26)] = 256, [SMALL_STATE(27)] = 293, - [SMALL_STATE(28)] = 330, [SMALL_STATE(29)] = 367, - [SMALL_STATE(30)] = 404, [SMALL_STATE(31)] = 441, - [SMALL_STATE(32)] = 478, [SMALL_STATE(33)] = 515, - [SMALL_STATE(34)] = 552, [SMALL_STATE(35)] = 589, - [SMALL_STATE(36)] = 626, [SMALL_STATE(37)] = 664, - [SMALL_STATE(38)] = 704, [SMALL_STATE(39)] = 742, - [SMALL_STATE(40)] = 785, [SMALL_STATE(41)] = 820, - [SMALL_STATE(42)] = 863, [SMALL_STATE(43)] = 906, - [SMALL_STATE(44)] = 949, [SMALL_STATE(45)] = 984, - [SMALL_STATE(46)] = 1029, [SMALL_STATE(47)] = 1064, - [SMALL_STATE(48)] = 1099, [SMALL_STATE(49)] = 1136, - [SMALL_STATE(50)] = 1179, [SMALL_STATE(51)] = 1238, - [SMALL_STATE(52)] = 1295, [SMALL_STATE(53)] = 1354, - [SMALL_STATE(54)] = 1411, [SMALL_STATE(55)] = 1443, - [SMALL_STATE(56)] = 1477, [SMALL_STATE(57)] = 1531, - [SMALL_STATE(58)] = 1585, [SMALL_STATE(59)] = 1639, - [SMALL_STATE(60)] = 1673, [SMALL_STATE(61)] = 1727, - [SMALL_STATE(62)] = 1781, [SMALL_STATE(63)] = 1812, - [SMALL_STATE(64)] = 1843, [SMALL_STATE(65)] = 1874, - [SMALL_STATE(66)] = 1905, [SMALL_STATE(67)] = 1936, - [SMALL_STATE(68)] = 1967, [SMALL_STATE(69)] = 1998, - [SMALL_STATE(70)] = 2029, [SMALL_STATE(71)] = 2060, - [SMALL_STATE(72)] = 2111, [SMALL_STATE(73)] = 2142, - [SMALL_STATE(74)] = 2193, [SMALL_STATE(75)] = 2224, - [SMALL_STATE(76)] = 2255, [SMALL_STATE(77)] = 2286, - [SMALL_STATE(78)] = 2317, [SMALL_STATE(79)] = 2348, - [SMALL_STATE(80)] = 2379, [SMALL_STATE(81)] = 2430, - [SMALL_STATE(82)] = 2461, [SMALL_STATE(83)] = 2492, - [SMALL_STATE(84)] = 2523, [SMALL_STATE(85)] = 2554, - [SMALL_STATE(86)] = 2602, [SMALL_STATE(87)] = 2650, - [SMALL_STATE(88)] = 2698, [SMALL_STATE(89)] = 2746, - [SMALL_STATE(90)] = 2794, [SMALL_STATE(91)] = 2842, - [SMALL_STATE(92)] = 2890, [SMALL_STATE(93)] = 2919, - [SMALL_STATE(94)] = 2948, [SMALL_STATE(95)] = 2977, - [SMALL_STATE(96)] = 3006, [SMALL_STATE(97)] = 3035, - [SMALL_STATE(98)] = 3064, [SMALL_STATE(99)] = 3093, - [SMALL_STATE(100)] = 3122, [SMALL_STATE(101)] = 3151, - [SMALL_STATE(102)] = 3180, [SMALL_STATE(103)] = 3209, - [SMALL_STATE(104)] = 3231, [SMALL_STATE(105)] = 3253, - [SMALL_STATE(106)] = 3279, [SMALL_STATE(107)] = 3302, - [SMALL_STATE(108)] = 3325, [SMALL_STATE(109)] = 3345, - [SMALL_STATE(110)] = 3365, [SMALL_STATE(111)] = 3385, - [SMALL_STATE(112)] = 3408, [SMALL_STATE(113)] = 3425, - [SMALL_STATE(114)] = 3442, [SMALL_STATE(115)] = 3459, - [SMALL_STATE(116)] = 3476, [SMALL_STATE(117)] = 3494, - [SMALL_STATE(118)] = 3514, [SMALL_STATE(119)] = 3532, - [SMALL_STATE(120)] = 3546, [SMALL_STATE(121)] = 3563, - [SMALL_STATE(122)] = 3572, [SMALL_STATE(123)] = 3589, - [SMALL_STATE(124)] = 3606, [SMALL_STATE(125)] = 3615, - [SMALL_STATE(126)] = 3624, [SMALL_STATE(127)] = 3633, - [SMALL_STATE(128)] = 3642, [SMALL_STATE(129)] = 3651, - [SMALL_STATE(130)] = 3660, [SMALL_STATE(131)] = 3669, - [SMALL_STATE(132)] = 3678, [SMALL_STATE(133)] = 3693, - [SMALL_STATE(134)] = 3702, [SMALL_STATE(135)] = 3711, - [SMALL_STATE(136)] = 3720, [SMALL_STATE(137)] = 3729, - [SMALL_STATE(138)] = 3738, [SMALL_STATE(139)] = 3747, - [SMALL_STATE(140)] = 3756, [SMALL_STATE(141)] = 3763, - [SMALL_STATE(142)] = 3773, [SMALL_STATE(143)] = 3783, - [SMALL_STATE(144)] = 3791, [SMALL_STATE(145)] = 3801, - [SMALL_STATE(146)] = 3811, [SMALL_STATE(147)] = 3821, - [SMALL_STATE(148)] = 3828, [SMALL_STATE(149)] = 3833, - [SMALL_STATE(150)] = 3838, [SMALL_STATE(151)] = 3843, - [SMALL_STATE(152)] = 3850, [SMALL_STATE(153)] = 3854, - [SMALL_STATE(154)] = 3858, [SMALL_STATE(155)] = 3862, - [SMALL_STATE(156)] = 3866, [SMALL_STATE(157)] = 3870, - [SMALL_STATE(158)] = 3874, [SMALL_STATE(159)] = 3878, - [SMALL_STATE(160)] = 3882, [SMALL_STATE(161)] = 3886, - [SMALL_STATE(162)] = 3890, [SMALL_STATE(163)] = 3894, - [SMALL_STATE(164)] = 3898, [SMALL_STATE(165)] = 3902, - [SMALL_STATE(166)] = 3906, + [SMALL_STATE(20)] = 0, + [SMALL_STATE(21)] = 67, + [SMALL_STATE(22)] = 108, + [SMALL_STATE(23)] = 149, + [SMALL_STATE(24)] = 188, + [SMALL_STATE(25)] = 226, + [SMALL_STATE(26)] = 264, + [SMALL_STATE(27)] = 302, + [SMALL_STATE(28)] = 340, + [SMALL_STATE(29)] = 378, + [SMALL_STATE(30)] = 416, + [SMALL_STATE(31)] = 454, + [SMALL_STATE(32)] = 492, + [SMALL_STATE(33)] = 530, + [SMALL_STATE(34)] = 568, + [SMALL_STATE(35)] = 606, + [SMALL_STATE(36)] = 644, + [SMALL_STATE(37)] = 683, + [SMALL_STATE(38)] = 724, + [SMALL_STATE(39)] = 763, + [SMALL_STATE(40)] = 807, + [SMALL_STATE(41)] = 843, + [SMALL_STATE(42)] = 887, + [SMALL_STATE(43)] = 931, + [SMALL_STATE(44)] = 975, + [SMALL_STATE(45)] = 1011, + [SMALL_STATE(46)] = 1057, + [SMALL_STATE(47)] = 1093, + [SMALL_STATE(48)] = 1129, + [SMALL_STATE(49)] = 1167, + [SMALL_STATE(50)] = 1211, + [SMALL_STATE(51)] = 1273, + [SMALL_STATE(52)] = 1333, + [SMALL_STATE(53)] = 1395, + [SMALL_STATE(54)] = 1455, + [SMALL_STATE(55)] = 1488, + [SMALL_STATE(56)] = 1523, + [SMALL_STATE(57)] = 1580, + [SMALL_STATE(58)] = 1637, + [SMALL_STATE(59)] = 1694, + [SMALL_STATE(60)] = 1729, + [SMALL_STATE(61)] = 1786, + [SMALL_STATE(62)] = 1843, + [SMALL_STATE(63)] = 1875, + [SMALL_STATE(64)] = 1907, + [SMALL_STATE(65)] = 1939, + [SMALL_STATE(66)] = 1971, + [SMALL_STATE(67)] = 2003, + [SMALL_STATE(68)] = 2035, + [SMALL_STATE(69)] = 2067, + [SMALL_STATE(70)] = 2099, + [SMALL_STATE(71)] = 2131, + [SMALL_STATE(72)] = 2185, + [SMALL_STATE(73)] = 2217, + [SMALL_STATE(74)] = 2271, + [SMALL_STATE(75)] = 2303, + [SMALL_STATE(76)] = 2335, + [SMALL_STATE(77)] = 2367, + [SMALL_STATE(78)] = 2399, + [SMALL_STATE(79)] = 2431, + [SMALL_STATE(80)] = 2463, + [SMALL_STATE(81)] = 2517, + [SMALL_STATE(82)] = 2549, + [SMALL_STATE(83)] = 2581, + [SMALL_STATE(84)] = 2613, + [SMALL_STATE(85)] = 2645, + [SMALL_STATE(86)] = 2696, + [SMALL_STATE(87)] = 2747, + [SMALL_STATE(88)] = 2798, + [SMALL_STATE(89)] = 2849, + [SMALL_STATE(90)] = 2900, + [SMALL_STATE(91)] = 2951, + [SMALL_STATE(92)] = 3002, + [SMALL_STATE(93)] = 3031, + [SMALL_STATE(94)] = 3060, + [SMALL_STATE(95)] = 3089, + [SMALL_STATE(96)] = 3118, + [SMALL_STATE(97)] = 3147, + [SMALL_STATE(98)] = 3176, + [SMALL_STATE(99)] = 3205, + [SMALL_STATE(100)] = 3234, + [SMALL_STATE(101)] = 3263, + [SMALL_STATE(102)] = 3292, + [SMALL_STATE(103)] = 3321, + [SMALL_STATE(104)] = 3343, + [SMALL_STATE(105)] = 3365, + [SMALL_STATE(106)] = 3391, + [SMALL_STATE(107)] = 3414, + [SMALL_STATE(108)] = 3437, + [SMALL_STATE(109)] = 3457, + [SMALL_STATE(110)] = 3477, + [SMALL_STATE(111)] = 3497, + [SMALL_STATE(112)] = 3520, + [SMALL_STATE(113)] = 3537, + [SMALL_STATE(114)] = 3554, + [SMALL_STATE(115)] = 3571, + [SMALL_STATE(116)] = 3588, + [SMALL_STATE(117)] = 3606, + [SMALL_STATE(118)] = 3626, + [SMALL_STATE(119)] = 3644, + [SMALL_STATE(120)] = 3658, + [SMALL_STATE(121)] = 3675, + [SMALL_STATE(122)] = 3684, + [SMALL_STATE(123)] = 3701, + [SMALL_STATE(124)] = 3718, + [SMALL_STATE(125)] = 3727, + [SMALL_STATE(126)] = 3736, + [SMALL_STATE(127)] = 3745, + [SMALL_STATE(128)] = 3754, + [SMALL_STATE(129)] = 3763, + [SMALL_STATE(130)] = 3772, + [SMALL_STATE(131)] = 3781, + [SMALL_STATE(132)] = 3790, + [SMALL_STATE(133)] = 3805, + [SMALL_STATE(134)] = 3814, + [SMALL_STATE(135)] = 3823, + [SMALL_STATE(136)] = 3832, + [SMALL_STATE(137)] = 3841, + [SMALL_STATE(138)] = 3850, + [SMALL_STATE(139)] = 3859, + [SMALL_STATE(140)] = 3868, + [SMALL_STATE(141)] = 3875, + [SMALL_STATE(142)] = 3885, + [SMALL_STATE(143)] = 3895, + [SMALL_STATE(144)] = 3903, + [SMALL_STATE(145)] = 3913, + [SMALL_STATE(146)] = 3923, + [SMALL_STATE(147)] = 3933, + [SMALL_STATE(148)] = 3940, + [SMALL_STATE(149)] = 3945, + [SMALL_STATE(150)] = 3950, + [SMALL_STATE(151)] = 3955, + [SMALL_STATE(152)] = 3962, + [SMALL_STATE(153)] = 3966, + [SMALL_STATE(154)] = 3970, + [SMALL_STATE(155)] = 3974, + [SMALL_STATE(156)] = 3978, + [SMALL_STATE(157)] = 3982, + [SMALL_STATE(158)] = 3986, + [SMALL_STATE(159)] = 3990, + [SMALL_STATE(160)] = 3994, + [SMALL_STATE(161)] = 3998, + [SMALL_STATE(162)] = 4002, + [SMALL_STATE(163)] = 4006, + [SMALL_STATE(164)] = 4010, + [SMALL_STATE(165)] = 4014, + [SMALL_STATE(166)] = 4018, }; 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(82), - [7] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(161), - [9] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(2), - [11] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(105), - [13] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(140), - [15] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(104), - [17] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(86), - [19] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(112), - [21] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(91), - [23] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(87), - [25] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(20), - [27] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(58), - [29] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(22), - [31] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(21), - [33] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(33), - [35] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(32), - [37] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(48), - [39] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - [41] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(82), - [44] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(161), - [47] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(2), - [50] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(105), - [53] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(140), - [56] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(104), - [59] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(86), - [62] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(112), - [65] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(91), - [68] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(87), - [71] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(20), - [74] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(58), - [77] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(22), - [80] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(21), - [83] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(33), - [86] = {.entry = {.count = 2, .reusable = false}}, - REDUCE(aux_sym_source_file_repeat1, 2), - SHIFT_REPEAT(32), - [89] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(63), - [91] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_source_file, 1), - [93] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(52), - [95] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(102), - [97] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(92), - [99] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(94), - [101] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(50), - [103] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(99), - [105] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(98), - [107] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(95), - [109] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_return, 1), - [111] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(51), - [113] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_return, 1), - [115] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_identifier, 1), - [117] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_identifier, 1), - [119] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_primitive_type, 1), - [121] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_primitive_type, 1), - [123] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_overloadable_operator, 1), - [125] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_overloadable_operator, 1), - [127] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_binary_expression, 2, .production_id = 6), - [129] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_binary_expression, 2, .production_id = 6), - [131] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_expression, 1), - [133] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_expression, 1), - [135] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_parenthesized_expression, 3, .production_id = 10), - [137] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_parenthesized_expression, 3, .production_id = 10), - [139] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_map, 2), - [141] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_map, 2), - [143] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_call, 4, .production_id = 18), - [145] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_call, 4, .production_id = 18), - [147] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_call, 3, .production_id = 12), - [149] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_call, 3, .production_id = 12), - [151] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_vec, 2), - [153] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_vec, 2), - [155] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_access_list, 3, .production_id = 11), - [157] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_access_list, 3, .production_id = 11), - [159] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_bool, 1), - [161] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_bool, 1), - [163] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_literal, 1), - [165] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_literal, 1), - [167] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_vec, 3), - [169] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_vec, 3), - [171] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_map, 3), - [173] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_map, 3), - [175] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_type_name, 1), - [177] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_type_name, 1), - [179] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(97), - [181] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(93), - [183] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(85), - [185] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(96), - [187] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_statement, 1), - [189] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_statement, 1), - [191] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(113), - [193] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(61), - [195] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(23), - [197] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_type, 4), - [199] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_type, 4), - [201] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_print, 2, .production_id = 3), - [203] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_print, 2, .production_id = 3), - [205] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_assert, 2, .production_id = 4), - [207] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_assert, 2, .production_id = 4), - [209] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_return, 2, .production_id = 5), - [211] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_return, 2, .production_id = 5), - [213] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(90), - [215] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_type, 1), - [217] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_type, 1), - [219] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_type, 6), - [221] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_type, 6), - [223] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_block, 2), - [225] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_block, 2), - [227] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_assignment, 3, .production_id = 13), - [229] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_assignment, 3, .production_id = 13), - [231] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(8), - [233] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(27), - [235] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(10), - [237] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(130), - [239] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_var_declaration, 3), - [241] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_var_declaration, 3), - [243] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(85), - [245] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(125), - [247] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(53), - [249] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(88), - [251] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(57), - [253] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(134), - [255] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(121), - [257] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(139), - [259] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(138), - [261] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(137), - [263] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(30), - [265] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_import_path, 1, .production_id = 2), - [267] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_import_path, 1, .production_id = 2), - [269] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(110), - [271] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(29), - [273] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 8, .production_id = 28), - [275] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 8, .production_id = 28), - [277] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_block, 3, .production_id = 7), - [279] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_block, 3, .production_id = 7), - [281] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 6, .production_id = 21), - [283] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 6, .production_id = 21), - [285] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_doc_comment, 2), - [287] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_doc_comment, 2), - [289] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_import, 2, .production_id = 1), - [291] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_import, 2, .production_id = 1), - [293] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 6, .production_id = 23), - [295] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 6, .production_id = 23), - [297] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_class_declaration, 4, .production_id = 17), - [299] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_class_declaration, 4, .production_id = 17), - [301] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 6, .production_id = 24), - [303] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 6, .production_id = 24), - [305] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 4, .production_id = 17), - [307] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 4, .production_id = 17), - [309] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_arg_list, 3), - [311] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 7, .production_id = 26), - [313] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 7, .production_id = 26), - [315] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_arg_list, 2), - [317] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_import, 3, .production_id = 8), - [319] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_import, 3, .production_id = 8), - [321] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 8, .production_id = 27), - [323] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 8, .production_id = 27), - [325] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 5, .production_id = 20), - [327] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 5, .production_id = 20), - [329] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 3, .production_id = 9), - [331] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 3, .production_id = 9), - [333] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 7, .production_id = 25), - [335] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 7, .production_id = 25), - [337] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_class_declaration, 3, .production_id = 9), - [339] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_class_declaration, 3, .production_id = 9), - [341] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 5, .production_id = 19), - [343] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 5, .production_id = 19), - [345] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_function_declaration, 9, .production_id = 29), - [347] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_function_declaration, 9, .production_id = 29), - [349] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_import_path, 3, .production_id = 15), - [351] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_import_path, 3, .production_id = 15), - [353] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(38), - [355] = {.entry = {.count = 1, .reusable = false}}, - SHIFT(36), - [357] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(129), - [359] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_param_list, 3), - [361] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_param_list, 2), - [363] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_arg_list, 1), - [365] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(73), - [367] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(aux_sym_arg_list_repeat1, 2), - [369] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(115), - [371] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(56), - [373] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(80), - [375] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_expression_list, 1), - [377] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(135), - [379] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_map_item, 3, .production_id = 14), - [381] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_param, 1, .production_id = 16), - [383] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(100), - [385] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(26), - [387] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(128), - [389] = {.entry = {.count = 1, .reusable = false}}, - REDUCE(sym_import_relative_dot, 1), - [391] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(140), - [393] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_qualifier_list, 1), - [395] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_qualifier, 1), - [397] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_arg_list_repeat1, 2), - SHIFT_REPEAT(89), - [400] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_param_list, 1), - [402] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(107), - [404] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(71), - [406] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(aux_sym_param_list_repeat1, 2), - [408] = {.entry = {.count = 2, .reusable = true}}, - REDUCE(aux_sym_param_list_repeat1, 2), - SHIFT_REPEAT(108), - [411] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(106), - [413] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_map_item_list, 1), - [415] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(60), - [417] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_qualifier_list, 2), - [419] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_param, 3, .production_id = 22), - [421] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(103), - [423] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(114), - [425] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(47), - [427] = {.entry = {.count = 1, .reusable = true}}, - ACCEPT_INPUT(), - [429] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(7), - [431] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(101), - [433] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(40), - [435] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(34), - [437] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(35), - [439] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(28), - [441] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(131), - [443] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(65), - [445] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_map_item_list, 3), - [447] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(126), - [449] = {.entry = {.count = 1, .reusable = true}}, - REDUCE(sym_expression_list, 3), - [451] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(124), - [453] = {.entry = {.count = 1, .reusable = true}}, - SHIFT(11), + [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(82), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(112), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [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(82), + [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(161), + [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(105), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(140), + [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(104), + [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(86), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(112), + [67] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(91), + [70] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(87), + [73] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(20), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(58), + [79] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(22), + [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(33), + [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(33), + [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [96] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), + [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [110] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [112] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 1), + [116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [118] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 1), + [120] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_identifier, 1), + [122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_identifier, 1), + [124] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_primitive_type, 1), + [126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_primitive_type, 1), + [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_overloadable_operator, 1), + [130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_overloadable_operator, 1), + [132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 2, .production_id = 6), + [134] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 2, .production_id = 6), + [136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [138] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [140] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 10), + [142] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, .production_id = 10), + [144] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 2), + [146] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 2), + [148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4, .production_id = 18), + [150] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4, .production_id = 18), + [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3, .production_id = 12), + [154] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3, .production_id = 12), + [156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 2), + [158] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 2), + [160] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_access_list, 3, .production_id = 11), + [162] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_access_list, 3, .production_id = 11), + [164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bool, 1), + [166] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bool, 1), + [168] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_literal, 1), + [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_literal, 1), + [172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vec, 3), + [174] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vec, 3), + [176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map, 3), + [178] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_map, 3), + [180] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type_name, 1), + [182] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type_name, 1), + [184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [188] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), + [190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [202] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 4), + [204] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 4), + [206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_print, 2, .production_id = 3), + [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_print, 2, .production_id = 3), + [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assert, 2, .production_id = 4), + [212] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assert, 2, .production_id = 4), + [214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return, 2, .production_id = 5), + [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return, 2, .production_id = 5), + [218] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 1), + [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 1), + [224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_type, 6), + [226] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_type, 6), + [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 2), + [230] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 2), + [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 3, .production_id = 13), + [234] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 3, .production_id = 13), + [236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_var_declaration, 3), + [246] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_var_declaration, 3), + [248] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(134), + [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), + [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), + [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), + [270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), + [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 1, .production_id = 2), + [274] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 1, .production_id = 2), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), + [278] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [280] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 28), + [282] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 28), + [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 3, .production_id = 7), + [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 3, .production_id = 7), + [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 21), + [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 21), + [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doc_comment, 2), + [294] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doc_comment, 2), + [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 2, .production_id = 1), + [298] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 2, .production_id = 1), + [300] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 23), + [302] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 23), + [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 4, .production_id = 17), + [306] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 4, .production_id = 17), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 6, .production_id = 24), + [310] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 6, .production_id = 24), + [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 4, .production_id = 17), + [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 4, .production_id = 17), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 3), + [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 26), + [320] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 26), + [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 2), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import, 3, .production_id = 8), + [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import, 3, .production_id = 8), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 8, .production_id = 27), + [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 8, .production_id = 27), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 20), + [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 20), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3, .production_id = 9), + [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3, .production_id = 9), + [340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 7, .production_id = 25), + [342] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 7, .production_id = 25), + [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_declaration, 3, .production_id = 9), + [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_declaration, 3, .production_id = 9), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 5, .production_id = 19), + [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 5, .production_id = 19), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 9, .production_id = 29), + [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 9, .production_id = 29), + [356] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_import_path, 3, .production_id = 15), + [358] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_path, 3, .production_id = 15), + [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), + [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 3), + [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 2), + [370] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arg_list, 1), + [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_arg_list_repeat1, 2), + [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), + [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 1), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135), + [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item, 3, .production_id = 14), + [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 1, .production_id = 16), + [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [392] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [396] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_import_relative_dot, 1), + [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier_list, 1), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier, 1), + [404] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_arg_list_repeat1, 2), SHIFT_REPEAT(89), + [407] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param_list, 1), + [409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), + [415] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_param_list_repeat1, 2), SHIFT_REPEAT(108), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 1), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_qualifier_list, 2), + [426] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_param, 3, .production_id = 22), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [434] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [438] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_map_item_list, 3), + [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 3), + [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), }; #ifdef __cplusplus @@ -7502,31 +6723,31 @@ extern "C" { extern const TSLanguage *tree_sitter_flamingo(void) { static const TSLanguage language = { - .version = LANGUAGE_VERSION, - .symbol_count = SYMBOL_COUNT, - .alias_count = ALIAS_COUNT, - .token_count = TOKEN_COUNT, - .external_token_count = EXTERNAL_TOKEN_COUNT, - .state_count = STATE_COUNT, - .large_state_count = LARGE_STATE_COUNT, - .production_id_count = PRODUCTION_ID_COUNT, - .field_count = FIELD_COUNT, - .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, - .parse_table = &ts_parse_table[0][0], - .small_parse_table = ts_small_parse_table, - .small_parse_table_map = ts_small_parse_table_map, - .parse_actions = ts_parse_actions, - .symbol_names = ts_symbol_names, - .field_names = ts_field_names, - .field_map_slices = ts_field_map_slices, - .field_map_entries = ts_field_map_entries, - .symbol_metadata = ts_symbol_metadata, - .public_symbol_map = ts_symbol_map, - .alias_map = ts_non_terminal_alias_map, - .alias_sequences = &ts_alias_sequences[0][0], - .lex_modes = ts_lex_modes, - .lex_fn = ts_lex, - .primary_state_ids = ts_primary_state_ids, + .version = LANGUAGE_VERSION, + .symbol_count = SYMBOL_COUNT, + .alias_count = ALIAS_COUNT, + .token_count = TOKEN_COUNT, + .external_token_count = EXTERNAL_TOKEN_COUNT, + .state_count = STATE_COUNT, + .large_state_count = LARGE_STATE_COUNT, + .production_id_count = PRODUCTION_ID_COUNT, + .field_count = FIELD_COUNT, + .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, + .parse_table = &ts_parse_table[0][0], + .small_parse_table = ts_small_parse_table, + .small_parse_table_map = ts_small_parse_table_map, + .parse_actions = ts_parse_actions, + .symbol_names = ts_symbol_names, + .field_names = ts_field_names, + .field_map_slices = ts_field_map_slices, + .field_map_entries = ts_field_map_entries, + .symbol_metadata = ts_symbol_metadata, + .public_symbol_map = ts_symbol_map, + .alias_map = ts_non_terminal_alias_map, + .alias_sequences = &ts_alias_sequences[0][0], + .lex_modes = ts_lex_modes, + .lex_fn = ts_lex, + .primary_state_ids = ts_primary_state_ids, }; return &language; } diff --git a/src/tree_sitter/parser.h b/src/tree_sitter/parser.h index 9ebc1f7..17b4fde 100644 --- a/src/tree_sitter/parser.h +++ b/src/tree_sitter/parser.h @@ -9,7 +9,7 @@ extern "C" { #include #include -#define ts_builtin_sym_error ((TSSymbol) - 1) +#define ts_builtin_sym_error ((TSSymbol)-1) #define ts_builtin_sym_end 0 #define TREE_SITTER_SERIALIZATION_BUFFER_SIZE 1024 @@ -101,8 +101,8 @@ struct TSLanguage { const uint16_t *small_parse_table; const uint32_t *small_parse_table_map; const TSParseActionEntry *parse_actions; - const char *const *symbol_names; - const char *const *field_names; + const char * const *symbol_names; + const char * const *field_names; const TSFieldMapSlice *field_map_slices; const TSFieldMapEntry *field_map_entries; const TSSymbolMetadata *symbol_metadata; @@ -135,35 +135,35 @@ struct TSLanguage { #define UNUSED __attribute__((unused)) #endif -#define START_LEXER() \ - bool result = false; \ - bool skip = false; \ - UNUSED \ - bool eof = false; \ - int32_t lookahead; \ - goto start; \ - next_state: \ - lexer->advance(lexer, skip); \ - start: \ - skip = false; \ +#define START_LEXER() \ + bool result = false; \ + bool skip = false; \ + UNUSED \ + bool eof = false; \ + int32_t lookahead; \ + goto start; \ + next_state: \ + lexer->advance(lexer, skip); \ + start: \ + skip = false; \ lookahead = lexer->lookahead; -#define ADVANCE(state_value) \ - { \ - state = state_value; \ - goto next_state; \ +#define ADVANCE(state_value) \ + { \ + state = state_value; \ + goto next_state; \ } -#define SKIP(state_value) \ - { \ - skip = true; \ - state = state_value; \ - goto next_state; \ +#define SKIP(state_value) \ + { \ + skip = true; \ + state = state_value; \ + goto next_state; \ } -#define ACCEPT_TOKEN(symbol_value) \ - result = true; \ - lexer->result_symbol = symbol_value; \ +#define ACCEPT_TOKEN(symbol_value) \ + result = true; \ + lexer->result_symbol = symbol_value; \ lexer->mark_end(lexer); #define END_STATE() return result; @@ -178,53 +178,53 @@ struct TSLanguage { #define ACTIONS(id) id -#define SHIFT(state_value) \ - { \ - { \ - .shift = {.type = TSParseActionTypeShift, .state = (state_value) } \ - } \ - } - -#define SHIFT_REPEAT(state_value) \ - { \ - { \ - .shift = { \ - .type = TSParseActionTypeShift, \ - .state = (state_value), \ - .repetition = true \ - } \ - } \ - } - -#define SHIFT_EXTRA() \ - { \ - { \ - .shift = {.type = TSParseActionTypeShift, .extra = true } \ - } \ - } - -#define REDUCE(symbol_val, child_count_val, ...) \ - { \ - { \ - .reduce = {.type = TSParseActionTypeReduce, \ - .symbol = symbol_val, \ - .child_count = child_count_val, \ - __VA_ARGS__}, \ - } \ - } - -#define RECOVER() \ - { \ - { .type = TSParseActionTypeRecover } \ - } - -#define ACCEPT_INPUT() \ - { \ - { .type = TSParseActionTypeAccept } \ - } +#define SHIFT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value) \ + } \ + }} + +#define SHIFT_REPEAT(state_value) \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .state = (state_value), \ + .repetition = true \ + } \ + }} + +#define SHIFT_EXTRA() \ + {{ \ + .shift = { \ + .type = TSParseActionTypeShift, \ + .extra = true \ + } \ + }} + +#define REDUCE(symbol_val, child_count_val, ...) \ + {{ \ + .reduce = { \ + .type = TSParseActionTypeReduce, \ + .symbol = symbol_val, \ + .child_count = child_count_val, \ + __VA_ARGS__ \ + }, \ + }} + +#define RECOVER() \ + {{ \ + .type = TSParseActionTypeRecover \ + }} + +#define ACCEPT_INPUT() \ + {{ \ + .type = TSParseActionTypeAccept \ + }} #ifdef __cplusplus } #endif -#endif // TREE_SITTER_PARSER_H_ +#endif // TREE_SITTER_PARSER_H_