diff --git a/grammar.js b/grammar.js index e27e1ae..33681f5 100644 --- a/grammar.js +++ b/grammar.js @@ -84,7 +84,10 @@ module.exports = grammar({ for namelist in explist do block end | function funcname funcbody | local function Name funcbody | - local namelist ['=' explist] + global function Name funcbody | + local attnamelist ['=' explist] | + global attnamelist ['=' explist] | + global [attrib] ‘*’ */ statement: ($) => choice( @@ -99,7 +102,7 @@ module.exports = grammar({ $.repeat_statement, $.if_statement, $.for_statement, - $.declaration + $.declaration, ), // retstat ::= return [explist] [';'] @@ -207,10 +210,15 @@ module.exports = grammar({ field('end', $.expression), optional(seq(',', field('step', $.expression))) ), + // namelist ::= Name {',' Name} + _name_list: ($) => name_list($), // function funcname funcbody // local function Name funcbody - // local namelist ['=' explist] + // global function Name funcbody + // local attnamelist [‘=’ explist] + // global attnamelist [‘=’ explist] + // global [attrib] ‘*’ declaration: ($) => choice( $.function_declaration, @@ -218,7 +226,19 @@ module.exports = grammar({ 'local_declaration', alias($._local_function_declaration, $.function_declaration) ), - field('local_declaration', $.variable_declaration) + field('local_declaration', $.variable_declaration), + field( + 'global_declaration', + alias($._global_function_declaration, $.function_declaration) + ), + field( + 'global_declaration', + alias($._global_variable_declaration, $.variable_declaration) + ), + field( + 'global_declaration', + alias($._global_implicit_variable_declaration, $.implicit_variable_declaration) + ) ), // function funcname funcbody function_declaration: ($) => @@ -226,6 +246,9 @@ module.exports = grammar({ // local function Name funcbody _local_function_declaration: ($) => seq('local', 'function', field('name', $.identifier), $._function_body), + // global function Name funcbody + _global_function_declaration: ($) => + seq('global', 'function', field('name', $.identifier), $._function_body), // funcname ::= Name {'.' Name} [':' Name] _function_name: ($) => choice( @@ -253,34 +276,52 @@ module.exports = grammar({ field('method', $.identifier) ), - // local namelist ['=' explist] + // local attnamelist [‘=’ explist] variable_declaration: ($) => seq( 'local', choice( alias($._att_name_list, $.variable_list), - alias($._local_variable_assignment, $.assignment_statement) + alias($._variable_assignment, $.assignment_statement) ) ), - _local_variable_assignment: ($) => + // global attnamelist [‘=’ explist] + _global_variable_declaration: ($) => + seq( + 'global', + choice( + alias($._att_name_list, $.variable_list), + alias($._variable_assignment, $.assignment_statement), + ) + ), + // attnamelist ‘=’ explist + _variable_assignment: ($) => seq( alias($._att_name_list, $.variable_list), '=', alias($._variable_assignment_explist, $.expression_list) ), - // namelist ::= Name {',' Name} - _name_list: ($) => name_list($), - // attnamelist ::= Name attrib {‘,’ Name attrib} + // attnamelist ::= [attrib] Name [attrib] {‘,’ Name [attrib]} _att_name_list: ($) => - list_seq( - seq( - field('name', $.identifier), - optional(field('attribute', alias($._attrib, $.attribute))) + seq( + optional(field('attribute', alias($._attrib, $.attribute))), + list_seq( + seq( + field('name', $.identifier), + optional(field('attribute', alias($._attrib, $.attribute))) + ), + ',' ), - ',' ), - // attrib ::= [‘<’ Name ‘>’] + // global [attrib] ‘*’ + _global_implicit_variable_declaration: ($) => + seq( + 'global', + optional(field('attribute', alias($._attrib, $.attribute))), + '*' + ), + // attrib ::= ‘<’ Name ‘>’ _attrib: ($) => seq('<', $.identifier, '>'), // explist ::= exp {',' exp} @@ -429,12 +470,15 @@ module.exports = grammar({ ), // '(' [parlist] ')' parameters: ($) => seq('(', optional($._parameter_list), ')'), - // parlist ::= namelist [',' '...'] | '...' + // parlist ::= namelist [‘,’ varargparam] | varargparam _parameter_list: ($) => choice( - seq(name_list($), optional(seq(',', $.vararg_expression))), - $.vararg_expression + seq(name_list($), optional(seq(',', $._vararg_parameter))), + $._vararg_parameter ), + // varargparam ::= ‘...’ [Name] + _vararg_parameter: ($) => + seq($.vararg_expression, optional(field('name', $.identifier))), // prefixexp ::= var | functioncall | '(' exp ')' _prefix_expression: ($) => diff --git a/queries/highlights.scm b/queries/highlights.scm index f63a8c3..9e3245d 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -6,6 +6,7 @@ "goto" "in" "local" + "global" ] @keyword (label_statement) @label diff --git a/queries/locals.scm b/queries/locals.scm index 9c00817..91c81b8 100644 --- a/queries/locals.scm +++ b/queries/locals.scm @@ -20,6 +20,10 @@ (function_declaration name: (identifier) @local.definition) +(global_variable_declaration + (variable_list + (identifier) @local.definition)) + (for_generic_clause (variable_list (identifier) @local.definition)) @@ -29,6 +33,9 @@ (parameters (identifier) @local.definition) +(named_vararg + name: (identifier) @local.definition) + ; References [ diff --git a/src/grammar.json b/src/grammar.json index d20226d..0249745 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -138,6 +138,44 @@ { "type": "SYMBOL", "name": "declaration" + }, + { + "type": "SYMBOL", + "name": "global_mode_statement" + } + ] + }, + "global_mode_statement": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "global" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "attribute", + "content": { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_attrib" + }, + "named": true, + "value": "attribute" + } + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "*" } ] }, @@ -748,6 +786,27 @@ "type": "SYMBOL", "name": "variable_declaration" } + }, + { + "type": "FIELD", + "name": "global_declaration", + "content": { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_global_function_declaration" + }, + "named": true, + "value": "function_declaration" + } + }, + { + "type": "FIELD", + "name": "global_declaration", + "content": { + "type": "SYMBOL", + "name": "global_variable_declaration" + } } ] }, @@ -797,6 +856,31 @@ } ] }, + "_global_function_declaration": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "global" + }, + { + "type": "STRING", + "value": "function" + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "SYMBOL", + "name": "_function_body" + } + ] + }, "_function_name": { "type": "CHOICE", "members": [ @@ -915,6 +999,79 @@ } ] }, + "global_variable_declaration": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "global" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "attribute", + "content": { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_attrib" + }, + "named": true, + "value": "attribute" + } + }, + { + "type": "CHOICE", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_name_list" + }, + "named": true, + "value": "variable_list" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_global_prefixed_variable_assignment" + }, + "named": true, + "value": "assignment_statement" + } + ] + } + ] + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_att_name_list" + }, + "named": true, + "value": "variable_list" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_global_variable_assignment" + }, + "named": true, + "value": "assignment_statement" + } + ] + } + ] + }, "_local_variable_assignment": { "type": "SEQ", "members": [ @@ -942,6 +1099,60 @@ } ] }, + "_global_variable_assignment": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_att_name_list" + }, + "named": true, + "value": "variable_list" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_variable_assignment_explist" + }, + "named": true, + "value": "expression_list" + } + ] + }, + "_global_prefixed_variable_assignment": { + "type": "SEQ", + "members": [ + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_name_list" + }, + "named": true, + "value": "variable_list" + }, + { + "type": "STRING", + "value": "=" + }, + { + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_variable_assignment_explist" + }, + "named": true, + "value": "expression_list" + } + ] + }, "_name_list": { "type": "SEQ", "members": [ @@ -1987,8 +2198,17 @@ "value": "," }, { - "type": "SYMBOL", - "name": "vararg_expression" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "vararg_expression" + }, + { + "type": "SYMBOL", + "name": "named_vararg" + } + ] } ] }, @@ -2002,6 +2222,27 @@ { "type": "SYMBOL", "name": "vararg_expression" + }, + { + "type": "SYMBOL", + "name": "named_vararg" + } + ] + }, + "named_vararg": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "..." + }, + { + "type": "FIELD", + "name": "name", + "content": { + "type": "SYMBOL", + "name": "identifier" + } } ] }, diff --git a/src/node-types.json b/src/node-types.json index e7b57b0..0c53d22 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -7,6 +7,10 @@ "type": "function_declaration", "named": true }, + { + "type": "global_variable_declaration", + "named": true + }, { "type": "variable_declaration", "named": true @@ -103,6 +107,10 @@ "type": "function_call", "named": true }, + { + "type": "global_mode_statement", + "named": true + }, { "type": "goto_statement", "named": true @@ -782,6 +790,52 @@ } } }, + { + "type": "global_mode_statement", + "named": true, + "fields": { + "attribute": { + "multiple": false, + "required": false, + "types": [ + { + "type": "attribute", + "named": true + } + ] + } + } + }, + { + "type": "global_variable_declaration", + "named": true, + "fields": { + "attribute": { + "multiple": false, + "required": false, + "types": [ + { + "type": "attribute", + "named": true + } + ] + } + }, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "assignment_statement", + "named": true + }, + { + "type": "variable_list", + "named": true + } + ] + } + }, { "type": "goto_statement", "named": true, @@ -886,6 +940,22 @@ } } }, + { + "type": "named_vararg", + "named": true, + "fields": { + "name": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + } + }, { "type": "parameters", "named": true, @@ -905,6 +975,10 @@ "multiple": false, "required": false, "types": [ + { + "type": "named_vararg", + "named": true + }, { "type": "vararg_expression", "named": true @@ -1088,6 +1162,11 @@ } } }, + { + "type": "vararg_expression", + "named": true, + "fields": {} + }, { "type": "variable_declaration", "named": true, @@ -1215,6 +1294,10 @@ "type": "..", "named": false }, + { + "type": "...", + "named": false + }, { "type": "/", "named": false @@ -1331,6 +1414,10 @@ "type": "function", "named": false }, + { + "type": "global", + "named": false + }, { "type": "goto", "named": false @@ -1391,10 +1478,6 @@ "type": "until", "named": false }, - { - "type": "vararg_expression", - "named": true - }, { "type": "while", "named": false diff --git a/src/parser.c b/src/parser.c index a762130..24254f2 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,4 +1,4 @@ -/* Automatically @generated by tree-sitter v0.25.8 */ +/* Automatically @generated by tree-sitter v0.25.10 */ #include "tree_sitter/parser.h" @@ -7,161 +7,171 @@ #endif #define LANGUAGE_VERSION 15 -#define STATE_COUNT 262 +#define STATE_COUNT 284 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 137 +#define SYMBOL_COUNT 145 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 72 +#define TOKEN_COUNT 73 #define EXTERNAL_TOKEN_COUNT 6 -#define FIELD_COUNT 22 +#define FIELD_COUNT 23 #define MAX_ALIAS_SEQUENCE_LENGTH 7 #define MAX_RESERVED_WORD_SET_SIZE 0 -#define PRODUCTION_ID_COUNT 59 +#define PRODUCTION_ID_COUNT 63 #define SUPERTYPE_COUNT 4 enum ts_symbol_identifiers { sym_identifier = 1, sym_hash_bang_line = 2, - anon_sym_return = 3, - anon_sym_SEMI = 4, - anon_sym_EQ = 5, - anon_sym_COMMA = 6, - anon_sym_COLON_COLON = 7, - sym_break_statement = 8, - anon_sym_goto = 9, - anon_sym_do = 10, - anon_sym_end = 11, - anon_sym_while = 12, - anon_sym_repeat = 13, - anon_sym_until = 14, - anon_sym_if = 15, - anon_sym_then = 16, - anon_sym_elseif = 17, - anon_sym_else = 18, - anon_sym_for = 19, - anon_sym_in = 20, - anon_sym_function = 21, - anon_sym_local = 22, - anon_sym_DOT = 23, - anon_sym_COLON = 24, - anon_sym_LT = 25, - anon_sym_GT = 26, - sym_nil = 27, - sym_false = 28, - sym_true = 29, - sym_number = 30, - anon_sym_DQUOTE = 31, - anon_sym_SQUOTE = 32, - aux_sym__doublequote_string_content_token1 = 33, - aux_sym__singlequote_string_content_token1 = 34, - sym_escape_sequence = 35, - sym_vararg_expression = 36, - anon_sym_LPAREN = 37, - anon_sym_RPAREN = 38, - anon_sym_LBRACK = 39, - anon_sym_RBRACK = 40, - anon_sym_LBRACE = 41, - anon_sym_RBRACE = 42, - anon_sym_or = 43, - anon_sym_and = 44, - anon_sym_LT_EQ = 45, - anon_sym_EQ_EQ = 46, - anon_sym_TILDE_EQ = 47, - anon_sym_GT_EQ = 48, - anon_sym_PIPE = 49, - anon_sym_TILDE = 50, - anon_sym_AMP = 51, - anon_sym_LT_LT = 52, - anon_sym_GT_GT = 53, - anon_sym_PLUS = 54, - anon_sym_DASH = 55, - anon_sym_STAR = 56, - anon_sym_SLASH = 57, - anon_sym_SLASH_SLASH = 58, - anon_sym_PERCENT = 59, - anon_sym_DOT_DOT = 60, - anon_sym_CARET = 61, - anon_sym_not = 62, - anon_sym_POUND = 63, - anon_sym_DASH_DASH = 64, - aux_sym_comment_token1 = 65, - sym__block_comment_start = 66, - sym__block_comment_content = 67, - sym__block_comment_end = 68, - sym__block_string_start = 69, - sym__block_string_content = 70, - sym__block_string_end = 71, - sym_chunk = 72, - sym__block = 73, - sym_statement = 74, - sym_return_statement = 75, - sym_empty_statement = 76, - sym_assignment_statement = 77, - sym__variable_assignment_varlist = 78, - sym__variable_assignment_explist = 79, - sym_label_statement = 80, - sym_goto_statement = 81, - sym_do_statement = 82, - sym_while_statement = 83, - sym_repeat_statement = 84, - sym_if_statement = 85, - sym_elseif_statement = 86, - sym_else_statement = 87, - sym_for_statement = 88, - sym_for_generic_clause = 89, - sym_for_numeric_clause = 90, - sym_declaration = 91, - sym_function_declaration = 92, - sym__local_function_declaration = 93, - sym__function_name = 94, - sym__function_name_prefix_expression = 95, - sym__function_name_dot_index_expression = 96, - sym__function_name_method_index_expression = 97, - sym_variable_declaration = 98, - sym__local_variable_assignment = 99, - sym__name_list = 100, - sym__att_name_list = 101, - sym__attrib = 102, - sym__expression_list = 103, - sym_expression = 104, - sym_string = 105, - sym__quote_string = 106, - aux_sym__doublequote_string_content = 107, - aux_sym__singlequote_string_content = 108, - sym__block_string = 109, - sym_function_definition = 110, - sym__function_body = 111, - sym_parameters = 112, - sym__parameter_list = 113, - sym__prefix_expression = 114, - sym_variable = 115, - sym_bracket_index_expression = 116, - sym_dot_index_expression = 117, - sym_function_call = 118, - sym_method_index_expression = 119, - sym_arguments = 120, - sym_parenthesized_expression = 121, - sym_table_constructor = 122, - sym__field_list = 123, - sym__field_sep = 124, - sym_field = 125, - sym_binary_expression = 126, - sym_unary_expression = 127, - sym_comment = 128, - aux_sym_chunk_repeat1 = 129, - aux_sym__variable_assignment_varlist_repeat1 = 130, - aux_sym__variable_assignment_explist_repeat1 = 131, - aux_sym_if_statement_repeat1 = 132, - aux_sym__name_list_repeat1 = 133, - aux_sym__att_name_list_repeat1 = 134, - aux_sym__expression_list_repeat1 = 135, - aux_sym__field_list_repeat1 = 136, + anon_sym_global = 3, + anon_sym_STAR = 4, + anon_sym_return = 5, + anon_sym_SEMI = 6, + anon_sym_EQ = 7, + anon_sym_COMMA = 8, + anon_sym_COLON_COLON = 9, + sym_break_statement = 10, + anon_sym_goto = 11, + anon_sym_do = 12, + anon_sym_end = 13, + anon_sym_while = 14, + anon_sym_repeat = 15, + anon_sym_until = 16, + anon_sym_if = 17, + anon_sym_then = 18, + anon_sym_elseif = 19, + anon_sym_else = 20, + anon_sym_for = 21, + anon_sym_in = 22, + anon_sym_function = 23, + anon_sym_local = 24, + anon_sym_DOT = 25, + anon_sym_COLON = 26, + anon_sym_LT = 27, + anon_sym_GT = 28, + sym_nil = 29, + sym_false = 30, + sym_true = 31, + sym_number = 32, + anon_sym_DQUOTE = 33, + anon_sym_SQUOTE = 34, + aux_sym__doublequote_string_content_token1 = 35, + aux_sym__singlequote_string_content_token1 = 36, + sym_escape_sequence = 37, + anon_sym_DOT_DOT_DOT = 38, + anon_sym_LPAREN = 39, + anon_sym_RPAREN = 40, + anon_sym_LBRACK = 41, + anon_sym_RBRACK = 42, + anon_sym_LBRACE = 43, + anon_sym_RBRACE = 44, + anon_sym_or = 45, + anon_sym_and = 46, + anon_sym_LT_EQ = 47, + anon_sym_EQ_EQ = 48, + anon_sym_TILDE_EQ = 49, + anon_sym_GT_EQ = 50, + anon_sym_PIPE = 51, + anon_sym_TILDE = 52, + anon_sym_AMP = 53, + anon_sym_LT_LT = 54, + anon_sym_GT_GT = 55, + anon_sym_PLUS = 56, + anon_sym_DASH = 57, + anon_sym_SLASH = 58, + anon_sym_SLASH_SLASH = 59, + anon_sym_PERCENT = 60, + anon_sym_DOT_DOT = 61, + anon_sym_CARET = 62, + anon_sym_not = 63, + anon_sym_POUND = 64, + anon_sym_DASH_DASH = 65, + aux_sym_comment_token1 = 66, + sym__block_comment_start = 67, + sym__block_comment_content = 68, + sym__block_comment_end = 69, + sym__block_string_start = 70, + sym__block_string_content = 71, + sym__block_string_end = 72, + sym_chunk = 73, + sym__block = 74, + sym_statement = 75, + sym_global_mode_statement = 76, + sym_return_statement = 77, + sym_empty_statement = 78, + sym_assignment_statement = 79, + sym__variable_assignment_varlist = 80, + sym__variable_assignment_explist = 81, + sym_label_statement = 82, + sym_goto_statement = 83, + sym_do_statement = 84, + sym_while_statement = 85, + sym_repeat_statement = 86, + sym_if_statement = 87, + sym_elseif_statement = 88, + sym_else_statement = 89, + sym_for_statement = 90, + sym_for_generic_clause = 91, + sym_for_numeric_clause = 92, + sym_declaration = 93, + sym_function_declaration = 94, + sym__local_function_declaration = 95, + sym__global_function_declaration = 96, + sym__function_name = 97, + sym__function_name_prefix_expression = 98, + sym__function_name_dot_index_expression = 99, + sym__function_name_method_index_expression = 100, + sym_variable_declaration = 101, + sym_global_variable_declaration = 102, + sym__local_variable_assignment = 103, + sym__global_variable_assignment = 104, + sym__global_prefixed_variable_assignment = 105, + sym__name_list = 106, + sym__att_name_list = 107, + sym__attrib = 108, + sym__expression_list = 109, + sym_expression = 110, + sym_string = 111, + sym__quote_string = 112, + aux_sym__doublequote_string_content = 113, + aux_sym__singlequote_string_content = 114, + sym__block_string = 115, + sym_vararg_expression = 116, + sym_function_definition = 117, + sym__function_body = 118, + sym_parameters = 119, + sym__parameter_list = 120, + sym_named_vararg = 121, + sym__prefix_expression = 122, + sym_variable = 123, + sym_bracket_index_expression = 124, + sym_dot_index_expression = 125, + sym_function_call = 126, + sym_method_index_expression = 127, + sym_arguments = 128, + sym_parenthesized_expression = 129, + sym_table_constructor = 130, + sym__field_list = 131, + sym__field_sep = 132, + sym_field = 133, + sym_binary_expression = 134, + sym_unary_expression = 135, + sym_comment = 136, + aux_sym_chunk_repeat1 = 137, + aux_sym__variable_assignment_varlist_repeat1 = 138, + aux_sym__variable_assignment_explist_repeat1 = 139, + aux_sym_if_statement_repeat1 = 140, + aux_sym__name_list_repeat1 = 141, + aux_sym__att_name_list_repeat1 = 142, + aux_sym__expression_list_repeat1 = 143, + aux_sym__field_list_repeat1 = 144, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [sym_identifier] = "identifier", [sym_hash_bang_line] = "hash_bang_line", + [anon_sym_global] = "global", + [anon_sym_STAR] = "*", [anon_sym_return] = "return", [anon_sym_SEMI] = ";", [anon_sym_EQ] = "=", @@ -195,7 +205,7 @@ static const char * const ts_symbol_names[] = { [aux_sym__doublequote_string_content_token1] = "_doublequote_string_content_token1", [aux_sym__singlequote_string_content_token1] = "_singlequote_string_content_token1", [sym_escape_sequence] = "escape_sequence", - [sym_vararg_expression] = "vararg_expression", + [anon_sym_DOT_DOT_DOT] = "...", [anon_sym_LPAREN] = "(", [anon_sym_RPAREN] = ")", [anon_sym_LBRACK] = "[", @@ -215,7 +225,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_GT_GT] = ">>", [anon_sym_PLUS] = "+", [anon_sym_DASH] = "-", - [anon_sym_STAR] = "*", [anon_sym_SLASH] = "/", [anon_sym_SLASH_SLASH] = "//", [anon_sym_PERCENT] = "%", @@ -234,6 +243,7 @@ static const char * const ts_symbol_names[] = { [sym_chunk] = "chunk", [sym__block] = "block", [sym_statement] = "statement", + [sym_global_mode_statement] = "global_mode_statement", [sym_return_statement] = "return_statement", [sym_empty_statement] = "empty_statement", [sym_assignment_statement] = "assignment_statement", @@ -253,12 +263,16 @@ static const char * const ts_symbol_names[] = { [sym_declaration] = "declaration", [sym_function_declaration] = "function_declaration", [sym__local_function_declaration] = "function_declaration", + [sym__global_function_declaration] = "function_declaration", [sym__function_name] = "_function_name", [sym__function_name_prefix_expression] = "_function_name_prefix_expression", [sym__function_name_dot_index_expression] = "dot_index_expression", [sym__function_name_method_index_expression] = "method_index_expression", [sym_variable_declaration] = "variable_declaration", + [sym_global_variable_declaration] = "global_variable_declaration", [sym__local_variable_assignment] = "assignment_statement", + [sym__global_variable_assignment] = "assignment_statement", + [sym__global_prefixed_variable_assignment] = "assignment_statement", [sym__name_list] = "variable_list", [sym__att_name_list] = "variable_list", [sym__attrib] = "attribute", @@ -269,10 +283,12 @@ static const char * const ts_symbol_names[] = { [aux_sym__doublequote_string_content] = "_doublequote_string_content", [aux_sym__singlequote_string_content] = "_singlequote_string_content", [sym__block_string] = "_block_string", + [sym_vararg_expression] = "vararg_expression", [sym_function_definition] = "function_definition", [sym__function_body] = "_function_body", [sym_parameters] = "parameters", [sym__parameter_list] = "_parameter_list", + [sym_named_vararg] = "named_vararg", [sym__prefix_expression] = "_prefix_expression", [sym_variable] = "variable", [sym_bracket_index_expression] = "bracket_index_expression", @@ -302,6 +318,8 @@ static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [sym_identifier] = sym_identifier, [sym_hash_bang_line] = sym_hash_bang_line, + [anon_sym_global] = anon_sym_global, + [anon_sym_STAR] = anon_sym_STAR, [anon_sym_return] = anon_sym_return, [anon_sym_SEMI] = anon_sym_SEMI, [anon_sym_EQ] = anon_sym_EQ, @@ -335,7 +353,7 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym__doublequote_string_content_token1] = aux_sym__doublequote_string_content_token1, [aux_sym__singlequote_string_content_token1] = aux_sym__singlequote_string_content_token1, [sym_escape_sequence] = sym_escape_sequence, - [sym_vararg_expression] = sym_vararg_expression, + [anon_sym_DOT_DOT_DOT] = anon_sym_DOT_DOT_DOT, [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_RPAREN] = anon_sym_RPAREN, [anon_sym_LBRACK] = anon_sym_LBRACK, @@ -355,7 +373,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_GT_GT] = anon_sym_GT_GT, [anon_sym_PLUS] = anon_sym_PLUS, [anon_sym_DASH] = anon_sym_DASH, - [anon_sym_STAR] = anon_sym_STAR, [anon_sym_SLASH] = anon_sym_SLASH, [anon_sym_SLASH_SLASH] = anon_sym_SLASH_SLASH, [anon_sym_PERCENT] = anon_sym_PERCENT, @@ -374,6 +391,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_chunk] = sym_chunk, [sym__block] = sym__block, [sym_statement] = sym_statement, + [sym_global_mode_statement] = sym_global_mode_statement, [sym_return_statement] = sym_return_statement, [sym_empty_statement] = sym_empty_statement, [sym_assignment_statement] = sym_assignment_statement, @@ -393,12 +411,16 @@ static const TSSymbol ts_symbol_map[] = { [sym_declaration] = sym_declaration, [sym_function_declaration] = sym_function_declaration, [sym__local_function_declaration] = sym_function_declaration, + [sym__global_function_declaration] = sym_function_declaration, [sym__function_name] = sym__function_name, [sym__function_name_prefix_expression] = sym__function_name_prefix_expression, [sym__function_name_dot_index_expression] = sym_dot_index_expression, [sym__function_name_method_index_expression] = sym_method_index_expression, [sym_variable_declaration] = sym_variable_declaration, + [sym_global_variable_declaration] = sym_global_variable_declaration, [sym__local_variable_assignment] = sym_assignment_statement, + [sym__global_variable_assignment] = sym_assignment_statement, + [sym__global_prefixed_variable_assignment] = sym_assignment_statement, [sym__name_list] = sym__variable_assignment_varlist, [sym__att_name_list] = sym__variable_assignment_varlist, [sym__attrib] = sym__attrib, @@ -409,10 +431,12 @@ static const TSSymbol ts_symbol_map[] = { [aux_sym__doublequote_string_content] = aux_sym__doublequote_string_content, [aux_sym__singlequote_string_content] = aux_sym__singlequote_string_content, [sym__block_string] = sym__block_string, + [sym_vararg_expression] = sym_vararg_expression, [sym_function_definition] = sym_function_definition, [sym__function_body] = sym__function_body, [sym_parameters] = sym_parameters, [sym__parameter_list] = sym__parameter_list, + [sym_named_vararg] = sym_named_vararg, [sym__prefix_expression] = sym__prefix_expression, [sym_variable] = sym_variable, [sym_bracket_index_expression] = sym_bracket_index_expression, @@ -451,6 +475,14 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [anon_sym_global] = { + .visible = true, + .named = false, + }, + [anon_sym_STAR] = { + .visible = true, + .named = false, + }, [anon_sym_return] = { .visible = true, .named = false, @@ -583,9 +615,9 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_vararg_expression] = { + [anon_sym_DOT_DOT_DOT] = { .visible = true, - .named = true, + .named = false, }, [anon_sym_LPAREN] = { .visible = true, @@ -663,10 +695,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_STAR] = { - .visible = true, - .named = false, - }, [anon_sym_SLASH] = { .visible = true, .named = false, @@ -740,6 +768,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .named = true, .supertype = true, }, + [sym_global_mode_statement] = { + .visible = true, + .named = true, + }, [sym_return_statement] = { .visible = true, .named = true, @@ -817,6 +849,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym__global_function_declaration] = { + .visible = true, + .named = true, + }, [sym__function_name] = { .visible = false, .named = true, @@ -837,10 +873,22 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, + [sym_global_variable_declaration] = { + .visible = true, + .named = true, + }, [sym__local_variable_assignment] = { .visible = true, .named = true, }, + [sym__global_variable_assignment] = { + .visible = true, + .named = true, + }, + [sym__global_prefixed_variable_assignment] = { + .visible = true, + .named = true, + }, [sym__name_list] = { .visible = true, .named = true, @@ -882,6 +930,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, + [sym_vararg_expression] = { + .visible = true, + .named = true, + }, [sym_function_definition] = { .visible = true, .named = true, @@ -898,6 +950,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = true, }, + [sym_named_vararg] = { + .visible = true, + .named = true, + }, [sym__prefix_expression] = { .visible = false, .named = true, @@ -1004,18 +1060,19 @@ enum ts_field_identifiers { field_content = 8, field_end = 9, field_field = 10, - field_left = 11, - field_local_declaration = 12, - field_method = 13, - field_name = 14, - field_operand = 15, - field_operator = 16, - field_parameters = 17, - field_right = 18, - field_start = 19, - field_step = 20, - field_table = 21, - field_value = 22, + field_global_declaration = 11, + field_left = 12, + field_local_declaration = 13, + field_method = 14, + field_name = 15, + field_operand = 16, + field_operator = 17, + field_parameters = 18, + field_right = 19, + field_start = 20, + field_step = 21, + field_table = 22, + field_value = 23, }; static const char * const ts_field_names[] = { @@ -1030,6 +1087,7 @@ static const char * const ts_field_names[] = { [field_content] = "content", [field_end] = "end", [field_field] = "field", + [field_global_declaration] = "global_declaration", [field_left] = "left", [field_local_declaration] = "local_declaration", [field_method] = "method", @@ -1045,241 +1103,258 @@ static const char * const ts_field_names[] = { }; static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { - [1] = {.index = 0, .length = 1}, - [2] = {.index = 1, .length = 4}, - [3] = {.index = 5, .length = 1}, - [4] = {.index = 6, .length = 1}, - [5] = {.index = 7, .length = 2}, - [6] = {.index = 9, .length = 3}, - [7] = {.index = 12, .length = 2}, - [8] = {.index = 14, .length = 2}, - [9] = {.index = 16, .length = 2}, - [10] = {.index = 18, .length = 2}, - [11] = {.index = 20, .length = 2}, - [12] = {.index = 22, .length = 3}, - [13] = {.index = 25, .length = 2}, - [14] = {.index = 27, .length = 2}, - [15] = {.index = 29, .length = 1}, - [16] = {.index = 30, .length = 2}, - [17] = {.index = 32, .length = 1}, - [18] = {.index = 33, .length = 1}, - [19] = {.index = 34, .length = 3}, - [20] = {.index = 37, .length = 2}, - [21] = {.index = 39, .length = 3}, - [22] = {.index = 42, .length = 2}, - [23] = {.index = 44, .length = 2}, - [24] = {.index = 46, .length = 2}, - [25] = {.index = 48, .length = 1}, - [26] = {.index = 49, .length = 2}, - [27] = {.index = 51, .length = 1}, - [28] = {.index = 22, .length = 3}, - [29] = {.index = 52, .length = 3}, - [30] = {.index = 55, .length = 1}, - [31] = {.index = 56, .length = 2}, - [32] = {.index = 58, .length = 1}, - [33] = {.index = 59, .length = 1}, - [34] = {.index = 60, .length = 1}, - [35] = {.index = 61, .length = 3}, - [36] = {.index = 64, .length = 4}, - [37] = {.index = 68, .length = 4}, - [38] = {.index = 72, .length = 3}, - [39] = {.index = 75, .length = 2}, - [40] = {.index = 77, .length = 1}, - [41] = {.index = 78, .length = 2}, - [42] = {.index = 80, .length = 2}, - [43] = {.index = 82, .length = 2}, - [44] = {.index = 84, .length = 2}, - [45] = {.index = 86, .length = 2}, - [46] = {.index = 88, .length = 2}, - [47] = {.index = 90, .length = 2}, - [48] = {.index = 92, .length = 2}, - [49] = {.index = 94, .length = 2}, - [50] = {.index = 96, .length = 1}, - [51] = {.index = 97, .length = 2}, - [52] = {.index = 99, .length = 3}, - [53] = {.index = 102, .length = 3}, - [54] = {.index = 105, .length = 3}, - [55] = {.index = 108, .length = 3}, - [56] = {.index = 111, .length = 2}, - [57] = {.index = 113, .length = 4}, - [58] = {.index = 117, .length = 4}, + [1] = {.index = 0, .length = 2}, + [2] = {.index = 2, .length = 4}, + [3] = {.index = 6, .length = 4}, + [4] = {.index = 10, .length = 1}, + [5] = {.index = 11, .length = 1}, + [6] = {.index = 12, .length = 1}, + [7] = {.index = 13, .length = 2}, + [8] = {.index = 15, .length = 2}, + [9] = {.index = 17, .length = 3}, + [10] = {.index = 20, .length = 2}, + [11] = {.index = 22, .length = 2}, + [12] = {.index = 24, .length = 2}, + [13] = {.index = 26, .length = 2}, + [14] = {.index = 28, .length = 3}, + [15] = {.index = 31, .length = 2}, + [16] = {.index = 33, .length = 3}, + [17] = {.index = 36, .length = 1}, + [18] = {.index = 37, .length = 2}, + [19] = {.index = 39, .length = 2}, + [20] = {.index = 41, .length = 2}, + [21] = {.index = 43, .length = 1}, + [22] = {.index = 44, .length = 2}, + [23] = {.index = 46, .length = 1}, + [24] = {.index = 47, .length = 1}, + [25] = {.index = 48, .length = 3}, + [26] = {.index = 51, .length = 2}, + [27] = {.index = 53, .length = 2}, + [28] = {.index = 55, .length = 2}, + [29] = {.index = 57, .length = 1}, + [30] = {.index = 58, .length = 2}, + [31] = {.index = 60, .length = 3}, + [32] = {.index = 63, .length = 4}, + [33] = {.index = 67, .length = 4}, + [34] = {.index = 71, .length = 3}, + [35] = {.index = 74, .length = 1}, + [36] = {.index = 28, .length = 3}, + [37] = {.index = 75, .length = 3}, + [38] = {.index = 78, .length = 1}, + [39] = {.index = 79, .length = 2}, + [40] = {.index = 81, .length = 1}, + [41] = {.index = 82, .length = 1}, + [42] = {.index = 83, .length = 1}, + [43] = {.index = 84, .length = 2}, + [44] = {.index = 86, .length = 2}, + [45] = {.index = 88, .length = 1}, + [46] = {.index = 89, .length = 2}, + [47] = {.index = 91, .length = 2}, + [48] = {.index = 93, .length = 2}, + [49] = {.index = 95, .length = 2}, + [50] = {.index = 97, .length = 2}, + [51] = {.index = 99, .length = 2}, + [52] = {.index = 101, .length = 2}, + [53] = {.index = 103, .length = 2}, + [54] = {.index = 105, .length = 1}, + [55] = {.index = 106, .length = 2}, + [56] = {.index = 108, .length = 3}, + [57] = {.index = 111, .length = 3}, + [58] = {.index = 114, .length = 3}, + [59] = {.index = 117, .length = 3}, + [60] = {.index = 120, .length = 2}, + [61] = {.index = 122, .length = 4}, + [62] = {.index = 126, .length = 4}, }; static const TSFieldMapEntry ts_field_map_entries[] = { [0] = + {field_global_declaration, 0, .inherited = true}, {field_local_declaration, 0, .inherited = true}, - [1] = + [2] = {field_body, 0, .inherited = true}, {field_local_declaration, 0}, {field_name, 0, .inherited = true}, {field_parameters, 0, .inherited = true}, - [5] = - {field_local_declaration, 0}, [6] = + {field_body, 0, .inherited = true}, + {field_global_declaration, 0}, + {field_name, 0, .inherited = true}, + {field_parameters, 0, .inherited = true}, + [10] = + {field_local_declaration, 0}, + [11] = + {field_global_declaration, 0}, + [12] = {field_name, 0}, - [7] = + [13] = {field_content, 1}, {field_start, 0}, - [9] = + [15] = + {field_attribute, 1, .inherited = true}, + {field_name, 1, .inherited = true}, + [17] = {field_content, 0, .inherited = true}, {field_end, 0, .inherited = true}, {field_start, 0, .inherited = true}, - [12] = + [20] = {field_field, 0, .inherited = true}, {field_table, 0, .inherited = true}, - [14] = + [22] = {field_method, 0, .inherited = true}, {field_table, 0, .inherited = true}, - [16] = - {field_attribute, 1, .inherited = true}, - {field_name, 1, .inherited = true}, - [18] = + [24] = {field_arguments, 1}, {field_name, 0}, - [20] = + [26] = {field_name, 0}, {field_name, 1, .inherited = true}, - [22] = + [28] = {field_content, 1}, {field_end, 2}, {field_start, 0}, - [25] = + [31] = + {field_attribute, 1}, + {field_name, 0}, + [33] = + {field_attribute, 1, .inherited = true}, + {field_name, 0}, + {field_name, 1, .inherited = true}, + [36] = + {field_attribute, 1}, + [37] = + {field_attribute, 1}, + {field_name, 2, .inherited = true}, + [39] = {field_body, 1, .inherited = true}, {field_parameters, 1, .inherited = true}, - [27] = + [41] = {field_end, 1}, {field_start, 0}, - [29] = + [43] = {field_value, 0}, - [30] = + [44] = {field_operand, 1}, {field_operator, 0}, - [32] = + [46] = {field_body, 1}, - [33] = + [47] = {field_condition, 2}, - [34] = + [48] = {field_body, 2, .inherited = true}, {field_name, 1}, {field_parameters, 2, .inherited = true}, - [37] = - {field_attribute, 1}, - {field_name, 0}, - [39] = - {field_attribute, 1, .inherited = true}, - {field_name, 0}, - {field_name, 1, .inherited = true}, - [42] = + [51] = {field_name, 0, .inherited = true}, {field_value, 2, .inherited = true}, - [44] = + [53] = {field_field, 2}, {field_table, 0}, - [46] = + [55] = {field_method, 2}, {field_table, 0}, - [48] = + [57] = {field_name, 1}, - [49] = + [58] = {field_name, 0, .inherited = true}, {field_name, 1, .inherited = true}, - [51] = - {field_parameters, 0}, - [52] = - {field_left, 0}, - {field_operator, 1}, - {field_right, 2}, - [55] = - {field_condition, 1}, - [56] = - {field_body, 1}, - {field_condition, 3}, - [58] = - {field_alternative, 0}, - [59] = - {field_clause, 1}, [60] = - {field_name, 0, .inherited = true}, - [61] = {field_body, 3, .inherited = true}, {field_name, 2}, {field_parameters, 3, .inherited = true}, - [64] = + [63] = {field_attribute, 1}, {field_attribute, 2, .inherited = true}, {field_name, 0}, {field_name, 2, .inherited = true}, - [68] = + [67] = {field_attribute, 0, .inherited = true}, {field_attribute, 1, .inherited = true}, {field_name, 0, .inherited = true}, {field_name, 1, .inherited = true}, - [72] = + [71] = {field_attribute, 0, .inherited = true}, {field_name, 0, .inherited = true}, {field_value, 2, .inherited = true}, + [74] = + {field_parameters, 0}, [75] = + {field_left, 0}, + {field_operator, 1}, + {field_right, 2}, + [78] = + {field_condition, 1}, + [79] = + {field_body, 1}, + {field_condition, 3}, + [81] = + {field_alternative, 0}, + [82] = + {field_clause, 1}, + [83] = + {field_name, 0, .inherited = true}, + [84] = {field_value, 0}, {field_value, 1, .inherited = true}, - [77] = + [86] = + {field_attribute, 2}, + {field_name, 1}, + [88] = {field_name, 1, .inherited = true}, - [78] = + [89] = {field_body, 1}, {field_parameters, 0}, - [80] = + [91] = {field_name, 0}, {field_value, 2}, - [82] = + [93] = {field_body, 3}, {field_condition, 1}, - [84] = + [95] = {field_condition, 1}, {field_consequence, 3}, - [86] = + [97] = {field_alternative, 3}, {field_condition, 1}, - [88] = + [99] = {field_alternative, 3, .inherited = true}, {field_condition, 1}, - [90] = + [101] = {field_alternative, 0, .inherited = true}, {field_alternative, 1, .inherited = true}, - [92] = + [103] = {field_body, 3}, {field_clause, 1}, - [94] = - {field_attribute, 2}, - {field_name, 1}, - [96] = + [105] = {field_value, 1}, - [97] = + [106] = {field_value, 0, .inherited = true}, {field_value, 1, .inherited = true}, - [99] = + [108] = {field_alternative, 4}, {field_condition, 1}, {field_consequence, 3}, - [102] = + [111] = {field_alternative, 4, .inherited = true}, {field_condition, 1}, {field_consequence, 3}, - [105] = + [114] = {field_alternative, 3, .inherited = true}, {field_alternative, 4}, {field_condition, 1}, - [108] = + [117] = {field_end, 4}, {field_name, 0}, {field_start, 2}, - [111] = + [120] = {field_name, 1}, {field_value, 4}, - [113] = + [122] = {field_alternative, 4, .inherited = true}, {field_alternative, 5}, {field_condition, 1}, {field_consequence, 3}, - [117] = + [126] = {field_end, 4}, {field_name, 0}, {field_start, 2}, @@ -1288,7 +1363,7 @@ static const TSFieldMapEntry ts_field_map_entries[] = { static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, - [28] = { + [36] = { [1] = sym__block_string_content, }, }; @@ -1323,18 +1398,18 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [16] = 16, [17] = 17, [18] = 18, - [19] = 5, - [20] = 15, - [21] = 16, - [22] = 22, + [19] = 19, + [20] = 20, + [21] = 21, + [22] = 16, [23] = 23, [24] = 24, [25] = 17, - [26] = 26, - [27] = 18, + [26] = 15, + [27] = 27, [28] = 28, - [29] = 29, - [30] = 30, + [29] = 18, + [30] = 6, [31] = 31, [32] = 32, [33] = 33, @@ -1342,15 +1417,15 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [35] = 35, [36] = 36, [37] = 37, - [38] = 13, - [39] = 14, + [38] = 38, + [39] = 39, [40] = 40, [41] = 41, [42] = 42, [43] = 43, [44] = 44, - [45] = 45, - [46] = 46, + [45] = 13, + [46] = 14, [47] = 47, [48] = 48, [49] = 49, @@ -1365,11 +1440,11 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [58] = 58, [59] = 59, [60] = 60, - [61] = 60, - [62] = 62, - [63] = 59, + [61] = 61, + [62] = 61, + [63] = 63, [64] = 64, - [65] = 65, + [65] = 60, [66] = 66, [67] = 67, [68] = 68, @@ -1493,16 +1568,16 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [186] = 186, [187] = 187, [188] = 188, - [189] = 182, - [190] = 183, - [191] = 180, - [192] = 177, + [189] = 189, + [190] = 190, + [191] = 191, + [192] = 192, [193] = 193, [194] = 194, [195] = 195, [196] = 196, [197] = 197, - [198] = 198, + [198] = 197, [199] = 199, [200] = 200, [201] = 201, @@ -1514,10 +1589,10 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [207] = 207, [208] = 208, [209] = 209, - [210] = 210, - [211] = 211, + [210] = 207, + [211] = 208, [212] = 212, - [213] = 213, + [213] = 212, [214] = 214, [215] = 215, [216] = 216, @@ -1558,14 +1633,36 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [251] = 251, [252] = 252, [253] = 253, - [254] = 240, + [254] = 254, [255] = 255, [256] = 256, - [257] = 252, - [258] = 247, + [257] = 257, + [258] = 258, [259] = 259, [260] = 260, [261] = 261, + [262] = 262, + [263] = 263, + [264] = 264, + [265] = 265, + [266] = 266, + [267] = 267, + [268] = 268, + [269] = 269, + [270] = 270, + [271] = 271, + [272] = 272, + [273] = 273, + [274] = 274, + [275] = 275, + [276] = 247, + [277] = 277, + [278] = 278, + [279] = 249, + [280] = 248, + [281] = 281, + [282] = 282, + [283] = 283, }; static const TSSymbol ts_supertype_symbols[SUPERTYPE_COUNT] = { @@ -1576,18 +1673,20 @@ static const TSSymbol ts_supertype_symbols[SUPERTYPE_COUNT] = { }; static const TSMapSlice ts_supertype_map_slices[] = { - [sym_declaration] = {.index = 0, .length = 3}, - [sym_expression] = {.index = 3, .length = 13}, - [sym_statement] = {.index = 16, .length = 12}, - [sym_variable] = {.index = 28, .length = 3}, + [sym_declaration] = {.index = 0, .length = 5}, + [sym_expression] = {.index = 5, .length = 13}, + [sym_statement] = {.index = 18, .length = 13}, + [sym_variable] = {.index = 31, .length = 3}, }; static const TSSymbol ts_supertype_map_entries[] = { [0] = + sym__global_function_declaration, sym__local_function_declaration, sym_function_declaration, + sym_global_variable_declaration, sym_variable_declaration, - [3] = + [5] = sym_binary_expression, sym_false, sym_function_call, @@ -1601,7 +1700,7 @@ static const TSSymbol ts_supertype_map_entries[] = { sym_unary_expression, sym_vararg_expression, sym_variable, - [16] = + [18] = sym_assignment_statement, sym_break_statement, sym_declaration, @@ -1609,12 +1708,13 @@ static const TSSymbol ts_supertype_map_entries[] = { sym_empty_statement, sym_for_statement, sym_function_call, + sym_global_mode_statement, sym_goto_statement, sym_if_statement, sym_label_statement, sym_repeat_statement, sym_while_statement, - [28] = + [31] = sym_bracket_index_expression, sym_dot_index_expression, sym_identifier, @@ -1632,81 +1732,81 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 0: if (eof) ADVANCE(21); ADVANCE_MAP( - '"', 41, + '"', 42, '#', 78, '%', 75, - '&', 67, - '\'', 42, - '(', 54, - ')', 55, - '*', 72, - '+', 70, - ',', 25, - '-', 71, - '.', 28, + '&', 68, + '\'', 43, + '(', 55, + ')', 56, + '*', 23, + '+', 71, + ',', 26, + '-', 72, + '.', 29, '/', 73, - '0', 34, - ':', 29, - ';', 23, - '<', 30, - '=', 24, - '>', 32, - '[', 56, + '0', 35, + ':', 30, + ';', 24, + '<', 31, + '=', 25, + '>', 33, + '[', 57, '\\', 6, - ']', 57, + ']', 58, '^', 77, - '{', 58, - '|', 64, - '}', 59, - '~', 66, + '{', 59, + '|', 65, + '}', 60, + '~', 67, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(18); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(36); if (lookahead > ' ' && (lookahead < '{' || 0x9f < lookahead)) ADVANCE(79); END_STATE(); case 1: - if (lookahead == '"') ADVANCE(41); - if (lookahead == '-') ADVANCE(44); + if (lookahead == '"') ADVANCE(42); + if (lookahead == '-') ADVANCE(45); if (lookahead == '\\') ADVANCE(6); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(43); - if (lookahead != 0) ADVANCE(45); + lookahead == ' ') ADVANCE(44); + if (lookahead != 0) ADVANCE(46); END_STATE(); case 2: - if (lookahead == '\'') ADVANCE(42); - if (lookahead == '-') ADVANCE(47); + if (lookahead == '\'') ADVANCE(43); + if (lookahead == '-') ADVANCE(48); if (lookahead == '\\') ADVANCE(6); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(46); - if (lookahead != 0) ADVANCE(48); + lookahead == ' ') ADVANCE(47); + if (lookahead != 0) ADVANCE(49); END_STATE(); case 3: if (lookahead == '.') ADVANCE(4); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(37); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(38); END_STATE(); case 4: - if (lookahead == '.') ADVANCE(53); + if (lookahead == '.') ADVANCE(54); END_STATE(); case 5: if (lookahead == '.') ADVANCE(15); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(36); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); END_STATE(); case 6: if (lookahead == 'u') ADVANCE(7); if (lookahead == 'x') ADVANCE(17); - if (lookahead == 'z') ADVANCE(50); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(52); - if (set_contains(sym_escape_sequence_character_set_1, 12, lookahead)) ADVANCE(49); + if (lookahead == 'z') ADVANCE(51); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(53); + if (set_contains(sym_escape_sequence_character_set_1, 12, lookahead)) ADVANCE(50); END_STATE(); case 7: if (lookahead == '{') ADVANCE(16); END_STATE(); case 8: - if (lookahead == '}') ADVANCE(49); + if (lookahead == '}') ADVANCE(50); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(8); @@ -1714,11 +1814,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 9: if (lookahead == '+' || lookahead == '-') ADVANCE(13); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(40); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(41); END_STATE(); case 10: if (lookahead == 'L' || - lookahead == 'l') ADVANCE(33); + lookahead == 'l') ADVANCE(34); END_STATE(); case 11: if (lookahead == 'L' || @@ -1726,20 +1826,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 12: if (lookahead == '0' || - lookahead == '1') ADVANCE(38); + lookahead == '1') ADVANCE(39); END_STATE(); case 13: - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(40); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(41); END_STATE(); case 14: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(49); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(50); END_STATE(); case 15: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(39); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); END_STATE(); case 16: if (('0' <= lookahead && lookahead <= '9') || @@ -1754,36 +1854,36 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 18: if (eof) ADVANCE(21); ADVANCE_MAP( - '"', 41, + '"', 42, '#', 78, '%', 75, - '&', 67, - '\'', 42, - '(', 54, - ')', 55, - '*', 72, - '+', 70, - ',', 25, - '-', 71, - '.', 28, + '&', 68, + '\'', 43, + '(', 55, + ')', 56, + '*', 23, + '+', 71, + ',', 26, + '-', 72, + '.', 29, '/', 73, - '0', 34, - ':', 29, - ';', 23, - '<', 30, - '=', 24, - '>', 32, - '[', 56, - ']', 57, + '0', 35, + ':', 30, + ';', 24, + '<', 31, + '=', 25, + '>', 33, + '[', 57, + ']', 58, '^', 77, - '{', 58, - '|', 64, - '}', 59, - '~', 66, + '{', 59, + '|', 65, + '}', 60, + '~', 67, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(18); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(36); if (lookahead > ' ' && (lookahead < '[' || '^' < lookahead) && (lookahead < '{' || 0x9f < lookahead)) ADVANCE(79); @@ -1791,24 +1891,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 19: if (eof) ADVANCE(21); ADVANCE_MAP( - '"', 41, + '"', 42, '#', 78, - '\'', 42, - '(', 54, - ')', 55, - '-', 71, + '\'', 43, + '(', 55, + ')', 56, + '-', 72, '.', 3, - '0', 34, - ';', 23, - '>', 31, - '[', 56, - '{', 58, - '}', 59, - '~', 65, + '0', 35, + ';', 24, + '>', 32, + '[', 57, + '{', 59, + '}', 60, + '~', 66, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(19); - if (('1' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('1' <= lookahead && lookahead <= '9')) ADVANCE(36); if (lookahead > ' ' && (lookahead < '%' || '>' < lookahead) && (lookahead < '[' || '^' < lookahead) && @@ -1817,31 +1917,31 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 20: if (eof) ADVANCE(21); ADVANCE_MAP( - '"', 41, + '"', 42, '#', 22, '%', 75, - '&', 67, - '\'', 42, - '(', 54, - ')', 55, - '*', 72, - '+', 70, - ',', 25, - '-', 71, - '.', 27, + '&', 68, + '\'', 43, + '(', 55, + ')', 56, + '*', 23, + '+', 71, + ',', 26, + '-', 72, + '.', 28, '/', 73, - ':', 29, - ';', 23, - '<', 30, - '=', 24, - '>', 32, - '[', 56, - ']', 57, + ':', 30, + ';', 24, + '<', 31, + '=', 25, + '>', 33, + '[', 57, + ']', 58, '^', 77, - '{', 58, - '|', 64, - '}', 59, - '~', 66, + '{', 59, + '|', 65, + '}', 60, + '~', 67, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(20); @@ -1859,57 +1959,60 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\n') ADVANCE(22); END_STATE(); case 23: - ACCEPT_TOKEN(anon_sym_SEMI); + ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); case 24: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(61); + ACCEPT_TOKEN(anon_sym_SEMI); END_STATE(); case 25: - ACCEPT_TOKEN(anon_sym_COMMA); + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(62); END_STATE(); case 26: - ACCEPT_TOKEN(anon_sym_COLON_COLON); + ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); case 27: - ACCEPT_TOKEN(anon_sym_DOT); - if (lookahead == '.') ADVANCE(76); + ACCEPT_TOKEN(anon_sym_COLON_COLON); END_STATE(); case 28: ACCEPT_TOKEN(anon_sym_DOT); if (lookahead == '.') ADVANCE(76); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(37); END_STATE(); case 29: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == ':') ADVANCE(26); + ACCEPT_TOKEN(anon_sym_DOT); + if (lookahead == '.') ADVANCE(76); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(38); END_STATE(); case 30: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '<') ADVANCE(68); - if (lookahead == '=') ADVANCE(60); + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == ':') ADVANCE(27); END_STATE(); case 31: - ACCEPT_TOKEN(anon_sym_GT); + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '<') ADVANCE(69); + if (lookahead == '=') ADVANCE(61); END_STATE(); case 32: ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(63); - if (lookahead == '>') ADVANCE(69); END_STATE(); case 33: - ACCEPT_TOKEN(sym_number); + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(64); + if (lookahead == '>') ADVANCE(70); END_STATE(); case 34: + ACCEPT_TOKEN(sym_number); + END_STATE(); + case 35: ACCEPT_TOKEN(sym_number); ADVANCE_MAP( - '.', 37, + '.', 38, 'B', 12, 'b', 12, 'E', 9, 'e', 9, - 'I', 33, - 'i', 33, + 'I', 34, + 'i', 34, 'L', 10, 'l', 10, 'U', 11, @@ -1917,29 +2020,29 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { 'X', 5, 'x', 5, ); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(36); END_STATE(); - case 35: + case 36: ACCEPT_TOKEN(sym_number); ADVANCE_MAP( - '.', 37, + '.', 38, 'E', 9, 'e', 9, - 'I', 33, - 'i', 33, + 'I', 34, + 'i', 34, 'L', 10, 'l', 10, 'U', 11, 'u', 11, ); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(36); END_STATE(); - case 36: + case 37: ACCEPT_TOKEN(sym_number); ADVANCE_MAP( - '.', 39, - 'I', 33, - 'i', 33, + '.', 40, + 'I', 34, + 'i', 34, 'L', 10, 'l', 10, 'P', 9, @@ -1949,171 +2052,168 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(36); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); END_STATE(); - case 37: + case 38: ACCEPT_TOKEN(sym_number); if (lookahead == 'E' || lookahead == 'e') ADVANCE(9); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(33); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(37); + lookahead == 'i') ADVANCE(34); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(38); END_STATE(); - case 38: + case 39: ACCEPT_TOKEN(sym_number); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(33); + lookahead == 'i') ADVANCE(34); if (lookahead == 'L' || lookahead == 'l') ADVANCE(10); if (lookahead == 'U' || lookahead == 'u') ADVANCE(11); if (lookahead == '0' || - lookahead == '1') ADVANCE(38); + lookahead == '1') ADVANCE(39); END_STATE(); - case 39: + case 40: ACCEPT_TOKEN(sym_number); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(33); + lookahead == 'i') ADVANCE(34); if (lookahead == 'P' || lookahead == 'p') ADVANCE(9); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(39); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); END_STATE(); - case 40: + case 41: ACCEPT_TOKEN(sym_number); if (lookahead == 'I' || - lookahead == 'i') ADVANCE(33); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(40); - END_STATE(); - case 41: - ACCEPT_TOKEN(anon_sym_DQUOTE); + lookahead == 'i') ADVANCE(34); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(41); END_STATE(); case 42: - ACCEPT_TOKEN(anon_sym_SQUOTE); + ACCEPT_TOKEN(anon_sym_DQUOTE); END_STATE(); case 43: - ACCEPT_TOKEN(aux_sym__doublequote_string_content_token1); - if (lookahead == '-') ADVANCE(44); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(43); - if (lookahead != 0 && - lookahead != '"' && - lookahead != '\\') ADVANCE(45); + ACCEPT_TOKEN(anon_sym_SQUOTE); END_STATE(); case 44: ACCEPT_TOKEN(aux_sym__doublequote_string_content_token1); if (lookahead == '-') ADVANCE(45); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(44); if (lookahead != 0 && lookahead != '"' && - lookahead != '\\') ADVANCE(45); + lookahead != '\\') ADVANCE(46); END_STATE(); case 45: ACCEPT_TOKEN(aux_sym__doublequote_string_content_token1); + if (lookahead == '-') ADVANCE(46); if (lookahead != 0 && lookahead != '"' && - lookahead != '\\') ADVANCE(45); + lookahead != '\\') ADVANCE(46); END_STATE(); case 46: - ACCEPT_TOKEN(aux_sym__singlequote_string_content_token1); - if (lookahead == '-') ADVANCE(47); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(46); + ACCEPT_TOKEN(aux_sym__doublequote_string_content_token1); if (lookahead != 0 && - lookahead != '\'' && - lookahead != '\\') ADVANCE(48); + lookahead != '"' && + lookahead != '\\') ADVANCE(46); END_STATE(); case 47: ACCEPT_TOKEN(aux_sym__singlequote_string_content_token1); if (lookahead == '-') ADVANCE(48); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(47); if (lookahead != 0 && lookahead != '\'' && - lookahead != '\\') ADVANCE(48); + lookahead != '\\') ADVANCE(49); END_STATE(); case 48: ACCEPT_TOKEN(aux_sym__singlequote_string_content_token1); + if (lookahead == '-') ADVANCE(49); if (lookahead != 0 && lookahead != '\'' && - lookahead != '\\') ADVANCE(48); + lookahead != '\\') ADVANCE(49); END_STATE(); case 49: - ACCEPT_TOKEN(sym_escape_sequence); + ACCEPT_TOKEN(aux_sym__singlequote_string_content_token1); + if (lookahead != 0 && + lookahead != '\'' && + lookahead != '\\') ADVANCE(49); END_STATE(); case 50: ACCEPT_TOKEN(sym_escape_sequence); - if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(50); END_STATE(); case 51: ACCEPT_TOKEN(sym_escape_sequence); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(49); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(51); END_STATE(); case 52: ACCEPT_TOKEN(sym_escape_sequence); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(51); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(50); END_STATE(); case 53: - ACCEPT_TOKEN(sym_vararg_expression); + ACCEPT_TOKEN(sym_escape_sequence); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(52); END_STATE(); case 54: - ACCEPT_TOKEN(anon_sym_LPAREN); + ACCEPT_TOKEN(anon_sym_DOT_DOT_DOT); END_STATE(); case 55: - ACCEPT_TOKEN(anon_sym_RPAREN); + ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); case 56: - ACCEPT_TOKEN(anon_sym_LBRACK); + ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); case 57: - ACCEPT_TOKEN(anon_sym_RBRACK); + ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 58: - ACCEPT_TOKEN(anon_sym_LBRACE); + ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 59: - ACCEPT_TOKEN(anon_sym_RBRACE); + ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); case 60: - ACCEPT_TOKEN(anon_sym_LT_EQ); + ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); case 61: - ACCEPT_TOKEN(anon_sym_EQ_EQ); + ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); case 62: - ACCEPT_TOKEN(anon_sym_TILDE_EQ); + ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); case 63: - ACCEPT_TOKEN(anon_sym_GT_EQ); + ACCEPT_TOKEN(anon_sym_TILDE_EQ); END_STATE(); case 64: - ACCEPT_TOKEN(anon_sym_PIPE); + ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); case 65: - ACCEPT_TOKEN(anon_sym_TILDE); + ACCEPT_TOKEN(anon_sym_PIPE); END_STATE(); case 66: ACCEPT_TOKEN(anon_sym_TILDE); - if (lookahead == '=') ADVANCE(62); END_STATE(); case 67: - ACCEPT_TOKEN(anon_sym_AMP); + ACCEPT_TOKEN(anon_sym_TILDE); + if (lookahead == '=') ADVANCE(63); END_STATE(); case 68: - ACCEPT_TOKEN(anon_sym_LT_LT); + ACCEPT_TOKEN(anon_sym_AMP); END_STATE(); case 69: - ACCEPT_TOKEN(anon_sym_GT_GT); + ACCEPT_TOKEN(anon_sym_LT_LT); END_STATE(); case 70: - ACCEPT_TOKEN(anon_sym_PLUS); + ACCEPT_TOKEN(anon_sym_GT_GT); END_STATE(); case 71: + ACCEPT_TOKEN(anon_sym_PLUS); + END_STATE(); + case 72: ACCEPT_TOKEN(anon_sym_DASH); if (lookahead == '-') ADVANCE(80); END_STATE(); - case 72: - ACCEPT_TOKEN(anon_sym_STAR); - END_STATE(); case 73: ACCEPT_TOKEN(anon_sym_SLASH); if (lookahead == '/') ADVANCE(74); @@ -2223,227 +2323,243 @@ static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { if (lookahead == 'u') ADVANCE(22); END_STATE(); case 6: - if (lookahead == 'o') ADVANCE(23); + if (lookahead == 'l') ADVANCE(23); + if (lookahead == 'o') ADVANCE(24); END_STATE(); case 7: - if (lookahead == 'f') ADVANCE(24); - if (lookahead == 'n') ADVANCE(25); + if (lookahead == 'f') ADVANCE(25); + if (lookahead == 'n') ADVANCE(26); END_STATE(); case 8: - if (lookahead == 'o') ADVANCE(26); + if (lookahead == 'o') ADVANCE(27); END_STATE(); case 9: - if (lookahead == 'i') ADVANCE(27); - if (lookahead == 'o') ADVANCE(28); + if (lookahead == 'i') ADVANCE(28); + if (lookahead == 'o') ADVANCE(29); END_STATE(); case 10: - if (lookahead == 'r') ADVANCE(29); + if (lookahead == 'r') ADVANCE(30); END_STATE(); case 11: - if (lookahead == 'e') ADVANCE(30); + if (lookahead == 'e') ADVANCE(31); END_STATE(); case 12: - if (lookahead == 'h') ADVANCE(31); - if (lookahead == 'r') ADVANCE(32); + if (lookahead == 'h') ADVANCE(32); + if (lookahead == 'r') ADVANCE(33); END_STATE(); case 13: - if (lookahead == 'n') ADVANCE(33); + if (lookahead == 'n') ADVANCE(34); END_STATE(); case 14: - if (lookahead == 'h') ADVANCE(34); + if (lookahead == 'h') ADVANCE(35); END_STATE(); case 15: - if (lookahead == 'd') ADVANCE(35); + if (lookahead == 'd') ADVANCE(36); END_STATE(); case 16: - if (lookahead == 'e') ADVANCE(36); + if (lookahead == 'e') ADVANCE(37); END_STATE(); case 17: ACCEPT_TOKEN(anon_sym_do); END_STATE(); case 18: - if (lookahead == 's') ADVANCE(37); + if (lookahead == 's') ADVANCE(38); END_STATE(); case 19: - if (lookahead == 'd') ADVANCE(38); + if (lookahead == 'd') ADVANCE(39); END_STATE(); case 20: - if (lookahead == 'l') ADVANCE(39); + if (lookahead == 'l') ADVANCE(40); END_STATE(); case 21: - if (lookahead == 'r') ADVANCE(40); + if (lookahead == 'r') ADVANCE(41); END_STATE(); case 22: - if (lookahead == 'n') ADVANCE(41); + if (lookahead == 'n') ADVANCE(42); END_STATE(); case 23: - if (lookahead == 't') ADVANCE(42); + if (lookahead == 'o') ADVANCE(43); END_STATE(); case 24: - ACCEPT_TOKEN(anon_sym_if); + if (lookahead == 't') ADVANCE(44); END_STATE(); case 25: - ACCEPT_TOKEN(anon_sym_in); + ACCEPT_TOKEN(anon_sym_if); END_STATE(); case 26: - if (lookahead == 'c') ADVANCE(43); + ACCEPT_TOKEN(anon_sym_in); END_STATE(); case 27: - if (lookahead == 'l') ADVANCE(44); + if (lookahead == 'c') ADVANCE(45); END_STATE(); case 28: - if (lookahead == 't') ADVANCE(45); + if (lookahead == 'l') ADVANCE(46); END_STATE(); case 29: - ACCEPT_TOKEN(anon_sym_or); + if (lookahead == 't') ADVANCE(47); END_STATE(); case 30: - if (lookahead == 'p') ADVANCE(46); - if (lookahead == 't') ADVANCE(47); + ACCEPT_TOKEN(anon_sym_or); END_STATE(); case 31: - if (lookahead == 'e') ADVANCE(48); + if (lookahead == 'p') ADVANCE(48); + if (lookahead == 't') ADVANCE(49); END_STATE(); case 32: - if (lookahead == 'u') ADVANCE(49); + if (lookahead == 'e') ADVANCE(50); END_STATE(); case 33: - if (lookahead == 't') ADVANCE(50); + if (lookahead == 'u') ADVANCE(51); END_STATE(); case 34: - if (lookahead == 'i') ADVANCE(51); + if (lookahead == 't') ADVANCE(52); END_STATE(); case 35: - ACCEPT_TOKEN(anon_sym_and); + if (lookahead == 'i') ADVANCE(53); END_STATE(); case 36: - if (lookahead == 'a') ADVANCE(52); + ACCEPT_TOKEN(anon_sym_and); END_STATE(); case 37: - if (lookahead == 'e') ADVANCE(53); + if (lookahead == 'a') ADVANCE(54); END_STATE(); case 38: - ACCEPT_TOKEN(anon_sym_end); + if (lookahead == 'e') ADVANCE(55); END_STATE(); case 39: - if (lookahead == 's') ADVANCE(54); + ACCEPT_TOKEN(anon_sym_end); END_STATE(); case 40: - ACCEPT_TOKEN(anon_sym_for); + if (lookahead == 's') ADVANCE(56); END_STATE(); case 41: - if (lookahead == 'c') ADVANCE(55); + ACCEPT_TOKEN(anon_sym_for); END_STATE(); case 42: - if (lookahead == 'o') ADVANCE(56); + if (lookahead == 'c') ADVANCE(57); END_STATE(); case 43: - if (lookahead == 'a') ADVANCE(57); + if (lookahead == 'b') ADVANCE(58); END_STATE(); case 44: - ACCEPT_TOKEN(sym_nil); + if (lookahead == 'o') ADVANCE(59); END_STATE(); case 45: - ACCEPT_TOKEN(anon_sym_not); + if (lookahead == 'a') ADVANCE(60); END_STATE(); case 46: - if (lookahead == 'e') ADVANCE(58); + ACCEPT_TOKEN(sym_nil); END_STATE(); case 47: - if (lookahead == 'u') ADVANCE(59); + ACCEPT_TOKEN(anon_sym_not); END_STATE(); case 48: - if (lookahead == 'n') ADVANCE(60); + if (lookahead == 'e') ADVANCE(61); END_STATE(); case 49: - if (lookahead == 'e') ADVANCE(61); + if (lookahead == 'u') ADVANCE(62); END_STATE(); case 50: - if (lookahead == 'i') ADVANCE(62); + if (lookahead == 'n') ADVANCE(63); END_STATE(); case 51: - if (lookahead == 'l') ADVANCE(63); + if (lookahead == 'e') ADVANCE(64); END_STATE(); case 52: - if (lookahead == 'k') ADVANCE(64); + if (lookahead == 'i') ADVANCE(65); END_STATE(); case 53: - ACCEPT_TOKEN(anon_sym_else); - if (lookahead == 'i') ADVANCE(65); + if (lookahead == 'l') ADVANCE(66); END_STATE(); case 54: - if (lookahead == 'e') ADVANCE(66); + if (lookahead == 'k') ADVANCE(67); END_STATE(); case 55: - if (lookahead == 't') ADVANCE(67); + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == 'i') ADVANCE(68); END_STATE(); case 56: - ACCEPT_TOKEN(anon_sym_goto); + if (lookahead == 'e') ADVANCE(69); END_STATE(); case 57: - if (lookahead == 'l') ADVANCE(68); + if (lookahead == 't') ADVANCE(70); END_STATE(); case 58: - if (lookahead == 'a') ADVANCE(69); + if (lookahead == 'a') ADVANCE(71); END_STATE(); case 59: - if (lookahead == 'r') ADVANCE(70); + ACCEPT_TOKEN(anon_sym_goto); END_STATE(); case 60: - ACCEPT_TOKEN(anon_sym_then); + if (lookahead == 'l') ADVANCE(72); END_STATE(); case 61: - ACCEPT_TOKEN(sym_true); + if (lookahead == 'a') ADVANCE(73); END_STATE(); case 62: - if (lookahead == 'l') ADVANCE(71); + if (lookahead == 'r') ADVANCE(74); END_STATE(); case 63: - if (lookahead == 'e') ADVANCE(72); + ACCEPT_TOKEN(anon_sym_then); END_STATE(); case 64: - ACCEPT_TOKEN(sym_break_statement); + ACCEPT_TOKEN(sym_true); END_STATE(); case 65: - if (lookahead == 'f') ADVANCE(73); + if (lookahead == 'l') ADVANCE(75); END_STATE(); case 66: - ACCEPT_TOKEN(sym_false); + if (lookahead == 'e') ADVANCE(76); END_STATE(); case 67: - if (lookahead == 'i') ADVANCE(74); + ACCEPT_TOKEN(sym_break_statement); END_STATE(); case 68: - ACCEPT_TOKEN(anon_sym_local); + if (lookahead == 'f') ADVANCE(77); END_STATE(); case 69: - if (lookahead == 't') ADVANCE(75); + ACCEPT_TOKEN(sym_false); END_STATE(); case 70: - if (lookahead == 'n') ADVANCE(76); + if (lookahead == 'i') ADVANCE(78); END_STATE(); case 71: - ACCEPT_TOKEN(anon_sym_until); + if (lookahead == 'l') ADVANCE(79); END_STATE(); case 72: - ACCEPT_TOKEN(anon_sym_while); + ACCEPT_TOKEN(anon_sym_local); END_STATE(); case 73: - ACCEPT_TOKEN(anon_sym_elseif); + if (lookahead == 't') ADVANCE(80); END_STATE(); case 74: - if (lookahead == 'o') ADVANCE(77); + if (lookahead == 'n') ADVANCE(81); END_STATE(); case 75: - ACCEPT_TOKEN(anon_sym_repeat); + ACCEPT_TOKEN(anon_sym_until); END_STATE(); case 76: - ACCEPT_TOKEN(anon_sym_return); + ACCEPT_TOKEN(anon_sym_while); END_STATE(); case 77: - if (lookahead == 'n') ADVANCE(78); + ACCEPT_TOKEN(anon_sym_elseif); END_STATE(); case 78: + if (lookahead == 'o') ADVANCE(82); + END_STATE(); + case 79: + ACCEPT_TOKEN(anon_sym_global); + END_STATE(); + case 80: + ACCEPT_TOKEN(anon_sym_repeat); + END_STATE(); + case 81: + ACCEPT_TOKEN(anon_sym_return); + END_STATE(); + case 82: + if (lookahead == 'n') ADVANCE(83); + END_STATE(); + case 83: ACCEPT_TOKEN(anon_sym_function); END_STATE(); default: @@ -2511,13 +2627,13 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [56] = {.lex_state = 0, .external_lex_state = 2}, [57] = {.lex_state = 0, .external_lex_state = 2}, [58] = {.lex_state = 0, .external_lex_state = 2}, - [59] = {.lex_state = 19, .external_lex_state = 3}, + [59] = {.lex_state = 0, .external_lex_state = 2}, [60] = {.lex_state = 19, .external_lex_state = 3}, [61] = {.lex_state = 19, .external_lex_state = 3}, [62] = {.lex_state = 19, .external_lex_state = 3}, [63] = {.lex_state = 19, .external_lex_state = 3}, [64] = {.lex_state = 19, .external_lex_state = 3}, - [65] = {.lex_state = 20, .external_lex_state = 3}, + [65] = {.lex_state = 19, .external_lex_state = 3}, [66] = {.lex_state = 19, .external_lex_state = 3}, [67] = {.lex_state = 19, .external_lex_state = 3}, [68] = {.lex_state = 19, .external_lex_state = 3}, @@ -2525,7 +2641,7 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [70] = {.lex_state = 19, .external_lex_state = 3}, [71] = {.lex_state = 19, .external_lex_state = 3}, [72] = {.lex_state = 19, .external_lex_state = 3}, - [73] = {.lex_state = 19, .external_lex_state = 3}, + [73] = {.lex_state = 20, .external_lex_state = 3}, [74] = {.lex_state = 19, .external_lex_state = 3}, [75] = {.lex_state = 19, .external_lex_state = 3}, [76] = {.lex_state = 19, .external_lex_state = 3}, @@ -2550,12 +2666,12 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [95] = {.lex_state = 19, .external_lex_state = 3}, [96] = {.lex_state = 19, .external_lex_state = 3}, [97] = {.lex_state = 19, .external_lex_state = 3}, - [98] = {.lex_state = 0, .external_lex_state = 2}, - [99] = {.lex_state = 0, .external_lex_state = 2}, - [100] = {.lex_state = 20, .external_lex_state = 3}, + [98] = {.lex_state = 19, .external_lex_state = 3}, + [99] = {.lex_state = 19, .external_lex_state = 3}, + [100] = {.lex_state = 19, .external_lex_state = 3}, [101] = {.lex_state = 0, .external_lex_state = 2}, [102] = {.lex_state = 0, .external_lex_state = 2}, - [103] = {.lex_state = 0, .external_lex_state = 2}, + [103] = {.lex_state = 20, .external_lex_state = 3}, [104] = {.lex_state = 0, .external_lex_state = 2}, [105] = {.lex_state = 0, .external_lex_state = 2}, [106] = {.lex_state = 0, .external_lex_state = 2}, @@ -2605,17 +2721,17 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [150] = {.lex_state = 0, .external_lex_state = 2}, [151] = {.lex_state = 0, .external_lex_state = 2}, [152] = {.lex_state = 0, .external_lex_state = 2}, - [153] = {.lex_state = 19, .external_lex_state = 3}, + [153] = {.lex_state = 0, .external_lex_state = 2}, [154] = {.lex_state = 0, .external_lex_state = 2}, [155] = {.lex_state = 0, .external_lex_state = 2}, - [156] = {.lex_state = 20, .external_lex_state = 3}, - [157] = {.lex_state = 20, .external_lex_state = 3}, - [158] = {.lex_state = 0, .external_lex_state = 3}, + [156] = {.lex_state = 0, .external_lex_state = 2}, + [157] = {.lex_state = 0, .external_lex_state = 2}, + [158] = {.lex_state = 0, .external_lex_state = 2}, [159] = {.lex_state = 0, .external_lex_state = 2}, - [160] = {.lex_state = 20, .external_lex_state = 3}, + [160] = {.lex_state = 0, .external_lex_state = 2}, [161] = {.lex_state = 0, .external_lex_state = 2}, [162] = {.lex_state = 0, .external_lex_state = 2}, - [163] = {.lex_state = 20, .external_lex_state = 3}, + [163] = {.lex_state = 0, .external_lex_state = 2}, [164] = {.lex_state = 0, .external_lex_state = 2}, [165] = {.lex_state = 0, .external_lex_state = 2}, [166] = {.lex_state = 0, .external_lex_state = 2}, @@ -2623,66 +2739,66 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [168] = {.lex_state = 0, .external_lex_state = 2}, [169] = {.lex_state = 0, .external_lex_state = 2}, [170] = {.lex_state = 0, .external_lex_state = 2}, - [171] = {.lex_state = 0, .external_lex_state = 2}, + [171] = {.lex_state = 19, .external_lex_state = 3}, [172] = {.lex_state = 0, .external_lex_state = 2}, - [173] = {.lex_state = 0, .external_lex_state = 3}, - [174] = {.lex_state = 0, .external_lex_state = 2}, - [175] = {.lex_state = 0, .external_lex_state = 2}, - [176] = {.lex_state = 2, .external_lex_state = 2}, - [177] = {.lex_state = 2, .external_lex_state = 2}, - [178] = {.lex_state = 0, .external_lex_state = 2}, + [173] = {.lex_state = 0, .external_lex_state = 2}, + [174] = {.lex_state = 20, .external_lex_state = 3}, + [175] = {.lex_state = 20, .external_lex_state = 3}, + [176] = {.lex_state = 0, .external_lex_state = 2}, + [177] = {.lex_state = 20, .external_lex_state = 3}, + [178] = {.lex_state = 0, .external_lex_state = 3}, [179] = {.lex_state = 0, .external_lex_state = 2}, - [180] = {.lex_state = 1, .external_lex_state = 2}, - [181] = {.lex_state = 0, .external_lex_state = 2}, - [182] = {.lex_state = 1, .external_lex_state = 2}, - [183] = {.lex_state = 2, .external_lex_state = 2}, - [184] = {.lex_state = 0, .external_lex_state = 2}, - [185] = {.lex_state = 19, .external_lex_state = 2}, + [180] = {.lex_state = 0, .external_lex_state = 2}, + [181] = {.lex_state = 20, .external_lex_state = 3}, + [182] = {.lex_state = 0, .external_lex_state = 2}, + [183] = {.lex_state = 0, .external_lex_state = 2}, + [184] = {.lex_state = 19, .external_lex_state = 2}, + [185] = {.lex_state = 0, .external_lex_state = 2}, [186] = {.lex_state = 0, .external_lex_state = 2}, - [187] = {.lex_state = 1, .external_lex_state = 2}, + [187] = {.lex_state = 0, .external_lex_state = 2}, [188] = {.lex_state = 0, .external_lex_state = 2}, - [189] = {.lex_state = 1, .external_lex_state = 2}, - [190] = {.lex_state = 2, .external_lex_state = 2}, - [191] = {.lex_state = 1, .external_lex_state = 2}, - [192] = {.lex_state = 2, .external_lex_state = 2}, - [193] = {.lex_state = 20, .external_lex_state = 2}, + [189] = {.lex_state = 0, .external_lex_state = 3}, + [190] = {.lex_state = 0, .external_lex_state = 2}, + [191] = {.lex_state = 0, .external_lex_state = 2}, + [192] = {.lex_state = 0, .external_lex_state = 2}, + [193] = {.lex_state = 0, .external_lex_state = 2}, [194] = {.lex_state = 0, .external_lex_state = 2}, - [195] = {.lex_state = 20, .external_lex_state = 2}, + [195] = {.lex_state = 0, .external_lex_state = 2}, [196] = {.lex_state = 0, .external_lex_state = 2}, - [197] = {.lex_state = 20, .external_lex_state = 2}, - [198] = {.lex_state = 0, .external_lex_state = 2}, + [197] = {.lex_state = 2, .external_lex_state = 2}, + [198] = {.lex_state = 2, .external_lex_state = 2}, [199] = {.lex_state = 0, .external_lex_state = 2}, - [200] = {.lex_state = 0, .external_lex_state = 2}, - [201] = {.lex_state = 0, .external_lex_state = 2}, + [200] = {.lex_state = 1, .external_lex_state = 2}, + [201] = {.lex_state = 2, .external_lex_state = 2}, [202] = {.lex_state = 0, .external_lex_state = 2}, [203] = {.lex_state = 0, .external_lex_state = 2}, - [204] = {.lex_state = 20, .external_lex_state = 2}, - [205] = {.lex_state = 1, .external_lex_state = 2}, - [206] = {.lex_state = 2, .external_lex_state = 2}, - [207] = {.lex_state = 0, .external_lex_state = 2}, - [208] = {.lex_state = 0, .external_lex_state = 2}, + [204] = {.lex_state = 19, .external_lex_state = 2}, + [205] = {.lex_state = 0, .external_lex_state = 2}, + [206] = {.lex_state = 19, .external_lex_state = 2}, + [207] = {.lex_state = 1, .external_lex_state = 2}, + [208] = {.lex_state = 2, .external_lex_state = 2}, [209] = {.lex_state = 0, .external_lex_state = 2}, - [210] = {.lex_state = 0, .external_lex_state = 2}, - [211] = {.lex_state = 0, .external_lex_state = 2}, - [212] = {.lex_state = 19, .external_lex_state = 2}, - [213] = {.lex_state = 19, .external_lex_state = 2}, + [210] = {.lex_state = 1, .external_lex_state = 2}, + [211] = {.lex_state = 2, .external_lex_state = 2}, + [212] = {.lex_state = 1, .external_lex_state = 2}, + [213] = {.lex_state = 1, .external_lex_state = 2}, [214] = {.lex_state = 0, .external_lex_state = 2}, [215] = {.lex_state = 0, .external_lex_state = 2}, [216] = {.lex_state = 0, .external_lex_state = 2}, - [217] = {.lex_state = 0, .external_lex_state = 2}, + [217] = {.lex_state = 1, .external_lex_state = 2}, [218] = {.lex_state = 0, .external_lex_state = 2}, - [219] = {.lex_state = 0, .external_lex_state = 4}, + [219] = {.lex_state = 20, .external_lex_state = 2}, [220] = {.lex_state = 0, .external_lex_state = 2}, - [221] = {.lex_state = 0, .external_lex_state = 2}, - [222] = {.lex_state = 0, .external_lex_state = 2}, - [223] = {.lex_state = 0, .external_lex_state = 2}, + [221] = {.lex_state = 20, .external_lex_state = 2}, + [222] = {.lex_state = 20, .external_lex_state = 2}, + [223] = {.lex_state = 20, .external_lex_state = 2}, [224] = {.lex_state = 0, .external_lex_state = 2}, [225] = {.lex_state = 0, .external_lex_state = 2}, [226] = {.lex_state = 0, .external_lex_state = 2}, [227] = {.lex_state = 0, .external_lex_state = 2}, [228] = {.lex_state = 0, .external_lex_state = 2}, - [229] = {.lex_state = 0, .external_lex_state = 2}, - [230] = {.lex_state = 19, .external_lex_state = 2}, + [229] = {.lex_state = 2, .external_lex_state = 2}, + [230] = {.lex_state = 0, .external_lex_state = 2}, [231] = {.lex_state = 0, .external_lex_state = 2}, [232] = {.lex_state = 0, .external_lex_state = 2}, [233] = {.lex_state = 0, .external_lex_state = 2}, @@ -2690,30 +2806,52 @@ static const TSLexerMode ts_lex_modes[STATE_COUNT] = { [235] = {.lex_state = 0, .external_lex_state = 2}, [236] = {.lex_state = 0, .external_lex_state = 2}, [237] = {.lex_state = 0, .external_lex_state = 2}, - [238] = {.lex_state = 0, .external_lex_state = 2}, + [238] = {.lex_state = 82, .external_lex_state = 2}, [239] = {.lex_state = 0, .external_lex_state = 2}, - [240] = {.lex_state = 0, .external_lex_state = 5}, + [240] = {.lex_state = 0, .external_lex_state = 2}, [241] = {.lex_state = 0, .external_lex_state = 2}, [242] = {.lex_state = 0, .external_lex_state = 2}, [243] = {.lex_state = 0, .external_lex_state = 2}, [244] = {.lex_state = 0, .external_lex_state = 2}, [245] = {.lex_state = 0, .external_lex_state = 2}, [246] = {.lex_state = 0, .external_lex_state = 2}, - [247] = {.lex_state = 0, .external_lex_state = 6}, - [248] = {.lex_state = 0, .external_lex_state = 2}, + [247] = {.lex_state = 0, .external_lex_state = 4}, + [248] = {.lex_state = 0, .external_lex_state = 5}, [249] = {.lex_state = 0, .external_lex_state = 2}, [250] = {.lex_state = 0, .external_lex_state = 2}, - [251] = {.lex_state = 0, .external_lex_state = 2}, + [251] = {.lex_state = 0, .external_lex_state = 6}, [252] = {.lex_state = 0, .external_lex_state = 2}, - [253] = {.lex_state = 82, .external_lex_state = 2}, - [254] = {.lex_state = 0, .external_lex_state = 5}, - [255] = {.lex_state = 0, .external_lex_state = 7}, + [253] = {.lex_state = 0, .external_lex_state = 2}, + [254] = {.lex_state = 0, .external_lex_state = 2}, + [255] = {.lex_state = 0, .external_lex_state = 2}, [256] = {.lex_state = 0, .external_lex_state = 2}, [257] = {.lex_state = 0, .external_lex_state = 2}, - [258] = {.lex_state = 0, .external_lex_state = 6}, + [258] = {.lex_state = 0, .external_lex_state = 2}, [259] = {.lex_state = 0, .external_lex_state = 2}, - [260] = {(TSStateId)(-1),}, - [261] = {(TSStateId)(-1),}, + [260] = {.lex_state = 0, .external_lex_state = 2}, + [261] = {.lex_state = 0, .external_lex_state = 2}, + [262] = {.lex_state = 0, .external_lex_state = 2}, + [263] = {.lex_state = 0, .external_lex_state = 2}, + [264] = {.lex_state = 0, .external_lex_state = 2}, + [265] = {.lex_state = 0, .external_lex_state = 2}, + [266] = {.lex_state = 0, .external_lex_state = 2}, + [267] = {.lex_state = 0, .external_lex_state = 2}, + [268] = {.lex_state = 0, .external_lex_state = 2}, + [269] = {.lex_state = 19, .external_lex_state = 2}, + [270] = {.lex_state = 0, .external_lex_state = 2}, + [271] = {.lex_state = 0, .external_lex_state = 2}, + [272] = {.lex_state = 0, .external_lex_state = 2}, + [273] = {.lex_state = 0, .external_lex_state = 2}, + [274] = {.lex_state = 0, .external_lex_state = 7}, + [275] = {.lex_state = 0, .external_lex_state = 2}, + [276] = {.lex_state = 0, .external_lex_state = 4}, + [277] = {.lex_state = 0, .external_lex_state = 2}, + [278] = {.lex_state = 0, .external_lex_state = 2}, + [279] = {.lex_state = 0, .external_lex_state = 2}, + [280] = {.lex_state = 0, .external_lex_state = 5}, + [281] = {.lex_state = 0, .external_lex_state = 2}, + [282] = {(TSStateId)(-1),}, + [283] = {(TSStateId)(-1),}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -2721,6 +2859,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = STATE(0), [ts_builtin_sym_end] = ACTIONS(1), [sym_identifier] = ACTIONS(1), + [anon_sym_global] = ACTIONS(1), + [anon_sym_STAR] = ACTIONS(1), [anon_sym_return] = ACTIONS(1), [anon_sym_SEMI] = ACTIONS(1), [anon_sym_EQ] = ACTIONS(1), @@ -2771,7 +2911,6 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_GT] = ACTIONS(1), [anon_sym_PLUS] = ACTIONS(1), [anon_sym_DASH] = ACTIONS(1), - [anon_sym_STAR] = ACTIONS(1), [anon_sym_SLASH] = ACTIONS(1), [anon_sym_SLASH_SLASH] = ACTIONS(1), [anon_sym_PERCENT] = ACTIONS(1), @@ -2788,48 +2927,52 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym__block_string_end] = ACTIONS(1), }, [STATE(1)] = { - [sym_chunk] = STATE(250), - [sym_statement] = STATE(151), - [sym_return_statement] = STATE(242), - [sym_empty_statement] = STATE(135), - [sym_assignment_statement] = STATE(135), - [sym__variable_assignment_varlist] = STATE(225), - [sym_label_statement] = STATE(135), - [sym_goto_statement] = STATE(135), - [sym_do_statement] = STATE(135), - [sym_while_statement] = STATE(135), - [sym_repeat_statement] = STATE(135), - [sym_if_statement] = STATE(135), - [sym_for_statement] = STATE(135), - [sym_declaration] = STATE(134), - [sym_function_declaration] = STATE(136), - [sym__local_function_declaration] = STATE(148), - [sym_variable_declaration] = STATE(152), - [sym__prefix_expression] = STATE(156), - [sym_variable] = STATE(157), + [sym_chunk] = STATE(270), + [sym_statement] = STATE(135), + [sym_global_mode_statement] = STATE(169), + [sym_return_statement] = STATE(272), + [sym_empty_statement] = STATE(169), + [sym_assignment_statement] = STATE(169), + [sym__variable_assignment_varlist] = STATE(273), + [sym_label_statement] = STATE(169), + [sym_goto_statement] = STATE(169), + [sym_do_statement] = STATE(169), + [sym_while_statement] = STATE(169), + [sym_repeat_statement] = STATE(169), + [sym_if_statement] = STATE(169), + [sym_for_statement] = STATE(169), + [sym_declaration] = STATE(138), + [sym_function_declaration] = STATE(139), + [sym__local_function_declaration] = STATE(140), + [sym__global_function_declaration] = STATE(142), + [sym_variable_declaration] = STATE(134), + [sym_global_variable_declaration] = STATE(147), + [sym__prefix_expression] = STATE(174), + [sym_variable] = STATE(175), [sym_bracket_index_expression] = STATE(2), [sym_dot_index_expression] = STATE(2), - [sym_function_call] = STATE(100), - [sym_method_index_expression] = STATE(158), - [sym_parenthesized_expression] = STATE(163), + [sym_function_call] = STATE(103), + [sym_method_index_expression] = STATE(178), + [sym_parenthesized_expression] = STATE(181), [sym_comment] = STATE(1), - [aux_sym_chunk_repeat1] = STATE(58), + [aux_sym_chunk_repeat1] = STATE(55), [ts_builtin_sym_end] = ACTIONS(7), [sym_identifier] = ACTIONS(9), [sym_hash_bang_line] = ACTIONS(11), - [anon_sym_return] = ACTIONS(13), - [anon_sym_SEMI] = ACTIONS(15), - [anon_sym_COLON_COLON] = ACTIONS(17), - [sym_break_statement] = ACTIONS(19), - [anon_sym_goto] = ACTIONS(21), - [anon_sym_do] = ACTIONS(23), - [anon_sym_while] = ACTIONS(25), - [anon_sym_repeat] = ACTIONS(27), - [anon_sym_if] = ACTIONS(29), - [anon_sym_for] = ACTIONS(31), - [anon_sym_function] = ACTIONS(33), - [anon_sym_local] = ACTIONS(35), - [anon_sym_LPAREN] = ACTIONS(37), + [anon_sym_global] = ACTIONS(13), + [anon_sym_return] = ACTIONS(15), + [anon_sym_SEMI] = ACTIONS(17), + [anon_sym_COLON_COLON] = ACTIONS(19), + [sym_break_statement] = ACTIONS(21), + [anon_sym_goto] = ACTIONS(23), + [anon_sym_do] = ACTIONS(25), + [anon_sym_while] = ACTIONS(27), + [anon_sym_repeat] = ACTIONS(29), + [anon_sym_if] = ACTIONS(31), + [anon_sym_for] = ACTIONS(33), + [anon_sym_function] = ACTIONS(35), + [anon_sym_local] = ACTIONS(37), + [anon_sym_LPAREN] = ACTIONS(39), [anon_sym_DASH_DASH] = ACTIONS(3), [sym__block_comment_start] = ACTIONS(5), }, @@ -2843,36 +2986,10 @@ static const uint16_t ts_small_parse_table[] = { sym__block_comment_start, STATE(2), 1, sym_comment, - ACTIONS(41), 26, - anon_sym_return, - anon_sym_EQ, - sym_break_statement, - anon_sym_goto, - anon_sym_do, - anon_sym_end, - anon_sym_while, - anon_sym_repeat, - anon_sym_until, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_for, - anon_sym_function, - anon_sym_local, - anon_sym_DOT, - anon_sym_COLON, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_DASH, - anon_sym_SLASH, - sym_identifier, - ACTIONS(39), 27, + ACTIONS(41), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -2893,19 +3010,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [67] = 5, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - STATE(3), 1, - sym_comment, - ACTIONS(45), 26, + ACTIONS(43), 27, + anon_sym_global, anon_sym_return, anon_sym_EQ, sym_break_statement, @@ -2932,9 +3042,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(43), 27, + [68] = 5, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(3), 1, + sym_comment, + ACTIONS(45), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -2955,19 +3073,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [134] = 5, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - STATE(4), 1, - sym_comment, - ACTIONS(49), 26, + ACTIONS(47), 27, + anon_sym_global, anon_sym_return, anon_sym_EQ, sym_break_statement, @@ -2994,9 +3105,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(47), 27, + [136] = 5, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(4), 1, + sym_comment, + ACTIONS(49), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3017,20 +3136,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [201] = 5, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - STATE(5), 1, - sym_comment, - ACTIONS(53), 25, + ACTIONS(51), 27, + anon_sym_global, anon_sym_return, + anon_sym_EQ, sym_break_statement, anon_sym_goto, anon_sym_do, @@ -3055,19 +3168,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(51), 27, + [204] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(5), 1, + sym_comment, + ACTIONS(57), 2, + anon_sym_DOT, + anon_sym_COLON, + ACTIONS(59), 6, sym__block_string_start, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + anon_sym_LPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(53), 21, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - anon_sym_LPAREN, anon_sym_RPAREN, - anon_sym_LBRACK, anon_sym_RBRACK, - anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_LT_EQ, anon_sym_EQ_EQ, @@ -3078,19 +3203,44 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [267] = 5, + ACTIONS(55), 24, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + anon_sym_LT, + anon_sym_GT, + anon_sym_or, + anon_sym_and, + anon_sym_TILDE, + anon_sym_DASH, + anon_sym_SLASH, + sym_identifier, + [275] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(6), 1, sym_comment, - ACTIONS(57), 25, + ACTIONS(63), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3116,9 +3266,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(55), 27, + ACTIONS(61), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3139,19 +3290,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [333] = 5, + [342] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(7), 1, sym_comment, - ACTIONS(61), 25, + ACTIONS(67), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3177,9 +3328,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(59), 27, + ACTIONS(65), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3200,19 +3352,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [399] = 5, + [409] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(8), 1, sym_comment, - ACTIONS(65), 25, + ACTIONS(71), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3238,9 +3390,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(63), 27, + ACTIONS(69), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3261,51 +3414,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [465] = 7, + [476] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(9), 1, sym_comment, - ACTIONS(71), 2, - anon_sym_DOT, - anon_sym_COLON, - ACTIONS(73), 6, - sym__block_string_start, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - anon_sym_LPAREN, - anon_sym_LBRACK, - anon_sym_LBRACE, - ACTIONS(67), 21, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_RPAREN, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - ACTIONS(69), 23, + ACTIONS(75), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3321,6 +3442,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_function, anon_sym_local, + anon_sym_DOT, + anon_sym_COLON, anon_sym_LT, anon_sym_GT, anon_sym_or, @@ -3329,14 +3452,43 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [535] = 5, + ACTIONS(73), 27, + sym__block_string_start, + ts_builtin_sym_end, + anon_sym_STAR, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_LBRACK, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, + [543] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(10), 1, sym_comment, - ACTIONS(77), 25, + ACTIONS(79), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3362,9 +3514,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(75), 27, + ACTIONS(77), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3385,19 +3538,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [601] = 5, + [610] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(11), 1, sym_comment, - ACTIONS(81), 25, + ACTIONS(83), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3423,9 +3576,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(79), 27, + ACTIONS(81), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3446,19 +3600,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [667] = 5, + [677] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(12), 1, sym_comment, - ACTIONS(85), 25, + ACTIONS(87), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3484,9 +3638,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(83), 27, + ACTIONS(85), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3507,19 +3662,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [733] = 5, + [744] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(13), 1, sym_comment, - ACTIONS(89), 25, + ACTIONS(91), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3545,9 +3700,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(87), 27, + ACTIONS(89), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3568,19 +3724,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [799] = 5, + [811] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(14), 1, sym_comment, - ACTIONS(89), 25, + ACTIONS(91), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3606,9 +3762,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(87), 27, + ACTIONS(89), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3629,19 +3786,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [865] = 5, + [878] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(15), 1, sym_comment, - ACTIONS(93), 25, + ACTIONS(95), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3667,9 +3824,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(91), 27, + ACTIONS(93), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3690,19 +3848,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [931] = 5, + [945] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(16), 1, sym_comment, - ACTIONS(97), 25, + ACTIONS(99), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3728,9 +3886,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(95), 27, + ACTIONS(97), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3751,19 +3910,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [997] = 5, + [1012] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(17), 1, sym_comment, - ACTIONS(101), 25, + ACTIONS(103), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3789,9 +3948,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(99), 27, + ACTIONS(101), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3812,19 +3972,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [1063] = 5, + [1079] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, STATE(18), 1, sym_comment, - ACTIONS(105), 25, + ACTIONS(107), 26, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3850,9 +4010,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - ACTIONS(103), 27, + ACTIONS(105), 27, sym__block_string_start, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3873,74 +4034,288 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - [1129] = 5, + [1146] = 42, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(19), 1, - sym_comment, - ACTIONS(51), 22, - ts_builtin_sym_end, + ACTIONS(9), 1, + sym_identifier, + ACTIONS(13), 1, + anon_sym_global, + ACTIONS(17), 1, anon_sym_SEMI, - anon_sym_COMMA, + ACTIONS(19), 1, anon_sym_COLON_COLON, + ACTIONS(21), 1, + sym_break_statement, + ACTIONS(23), 1, + anon_sym_goto, + ACTIONS(25), 1, + anon_sym_do, + ACTIONS(27), 1, + anon_sym_while, + ACTIONS(29), 1, + anon_sym_repeat, + ACTIONS(31), 1, + anon_sym_if, + ACTIONS(33), 1, + anon_sym_for, + ACTIONS(35), 1, + anon_sym_function, + ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_RBRACK, - anon_sym_RBRACE, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - ACTIONS(53), 23, + ACTIONS(109), 1, anon_sym_return, + ACTIONS(111), 1, + anon_sym_end, + ACTIONS(113), 1, + anon_sym_elseif, + ACTIONS(115), 1, + anon_sym_else, + STATE(19), 1, + sym_comment, + STATE(21), 1, + aux_sym_chunk_repeat1, + STATE(103), 1, + sym_function_call, + STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, + sym_declaration, + STATE(139), 1, + sym_function_declaration, + STATE(140), 1, + sym__local_function_declaration, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, + sym__prefix_expression, + STATE(175), 1, + sym_variable, + STATE(178), 1, + sym_method_index_expression, + STATE(181), 1, + sym_parenthesized_expression, + STATE(183), 1, + sym__block, + STATE(185), 1, + aux_sym_if_statement_repeat1, + STATE(199), 1, + sym_return_statement, + STATE(225), 1, + sym_elseif_statement, + STATE(242), 1, + sym_else_statement, + STATE(273), 1, + sym__variable_assignment_varlist, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + STATE(169), 10, + sym_global_mode_statement, + sym_empty_statement, + sym_assignment_statement, + sym_label_statement, + sym_goto_statement, + sym_do_statement, + sym_while_statement, + sym_repeat_statement, + sym_if_statement, + sym_for_statement, + [1283] = 37, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(9), 1, + sym_identifier, + ACTIONS(13), 1, + anon_sym_global, + ACTIONS(17), 1, + anon_sym_SEMI, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, sym_break_statement, + ACTIONS(23), 1, anon_sym_goto, + ACTIONS(25), 1, anon_sym_do, - anon_sym_end, + ACTIONS(27), 1, anon_sym_while, + ACTIONS(29), 1, anon_sym_repeat, - anon_sym_until, + ACTIONS(31), 1, anon_sym_if, - anon_sym_then, + ACTIONS(33), 1, + anon_sym_for, + ACTIONS(35), 1, + anon_sym_function, + ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(109), 1, + anon_sym_return, + STATE(20), 1, + sym_comment, + STATE(21), 1, + aux_sym_chunk_repeat1, + STATE(103), 1, + sym_function_call, + STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, + sym_declaration, + STATE(139), 1, + sym_function_declaration, + STATE(140), 1, + sym__local_function_declaration, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, + sym__prefix_expression, + STATE(175), 1, + sym_variable, + STATE(178), 1, + sym_method_index_expression, + STATE(181), 1, + sym_parenthesized_expression, + STATE(199), 1, + sym_return_statement, + STATE(220), 1, + sym__block, + STATE(273), 1, + sym__variable_assignment_varlist, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + ACTIONS(117), 3, + anon_sym_end, anon_sym_elseif, anon_sym_else, + STATE(169), 10, + sym_global_mode_statement, + sym_empty_statement, + sym_assignment_statement, + sym_label_statement, + sym_goto_statement, + sym_do_statement, + sym_while_statement, + sym_repeat_statement, + sym_if_statement, + sym_for_statement, + [1407] = 36, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(9), 1, + sym_identifier, + ACTIONS(13), 1, + anon_sym_global, + ACTIONS(17), 1, + anon_sym_SEMI, + ACTIONS(19), 1, + anon_sym_COLON_COLON, + ACTIONS(21), 1, + sym_break_statement, + ACTIONS(23), 1, + anon_sym_goto, + ACTIONS(25), 1, + anon_sym_do, + ACTIONS(27), 1, + anon_sym_while, + ACTIONS(29), 1, + anon_sym_repeat, + ACTIONS(31), 1, + anon_sym_if, + ACTIONS(33), 1, anon_sym_for, + ACTIONS(35), 1, anon_sym_function, + ACTIONS(37), 1, anon_sym_local, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_DASH, - anon_sym_SLASH, - sym_identifier, - [1188] = 5, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(109), 1, + anon_sym_return, + STATE(21), 1, + sym_comment, + STATE(23), 1, + aux_sym_chunk_repeat1, + STATE(103), 1, + sym_function_call, + STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, + sym_declaration, + STATE(139), 1, + sym_function_declaration, + STATE(140), 1, + sym__local_function_declaration, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, + sym__prefix_expression, + STATE(175), 1, + sym_variable, + STATE(178), 1, + sym_method_index_expression, + STATE(181), 1, + sym_parenthesized_expression, + STATE(196), 1, + sym_return_statement, + STATE(273), 1, + sym__variable_assignment_varlist, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + ACTIONS(119), 4, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + anon_sym_else, + STATE(169), 10, + sym_global_mode_statement, + sym_empty_statement, + sym_assignment_statement, + sym_label_statement, + sym_goto_statement, + sym_do_statement, + sym_while_statement, + sym_repeat_statement, + sym_if_statement, + sym_for_statement, + [1529] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(20), 1, + STATE(22), 1, sym_comment, - ACTIONS(91), 22, + ACTIONS(97), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3957,12 +4332,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(93), 23, + ACTIONS(99), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -3986,15 +4361,100 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1247] = 5, + [1589] = 34, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(21), 1, + ACTIONS(121), 1, + ts_builtin_sym_end, + ACTIONS(123), 1, + sym_identifier, + ACTIONS(126), 1, + anon_sym_global, + ACTIONS(131), 1, + anon_sym_SEMI, + ACTIONS(134), 1, + anon_sym_COLON_COLON, + ACTIONS(137), 1, + sym_break_statement, + ACTIONS(140), 1, + anon_sym_goto, + ACTIONS(143), 1, + anon_sym_do, + ACTIONS(146), 1, + anon_sym_while, + ACTIONS(149), 1, + anon_sym_repeat, + ACTIONS(152), 1, + anon_sym_if, + ACTIONS(155), 1, + anon_sym_for, + ACTIONS(158), 1, + anon_sym_function, + ACTIONS(161), 1, + anon_sym_local, + ACTIONS(164), 1, + anon_sym_LPAREN, + STATE(103), 1, + sym_function_call, + STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, + sym_declaration, + STATE(139), 1, + sym_function_declaration, + STATE(140), 1, + sym__local_function_declaration, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, + sym__prefix_expression, + STATE(175), 1, + sym_variable, + STATE(178), 1, + sym_method_index_expression, + STATE(181), 1, + sym_parenthesized_expression, + STATE(273), 1, + sym__variable_assignment_varlist, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + STATE(23), 2, + sym_comment, + aux_sym_chunk_repeat1, + ACTIONS(129), 5, + anon_sym_return, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + anon_sym_else, + STATE(169), 10, + sym_global_mode_statement, + sym_empty_statement, + sym_assignment_statement, + sym_label_statement, + sym_goto_statement, + sym_do_statement, + sym_while_statement, + sym_repeat_statement, + sym_if_statement, + sym_for_statement, + [1707] = 5, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(24), 1, sym_comment, - ACTIONS(95), 22, + ACTIONS(167), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4011,12 +4471,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(97), 23, + ACTIONS(169), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4040,17 +4500,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1306] = 6, + [1767] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - STATE(22), 1, + STATE(25), 1, sym_comment, - ACTIONS(107), 21, + ACTIONS(101), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4067,11 +4526,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, - ACTIONS(109), 23, + anon_sym_CARET, + ACTIONS(103), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4095,103 +4555,71 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1367] = 39, + [1827] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(9), 1, - sym_identifier, - ACTIONS(15), 1, + STATE(26), 1, + sym_comment, + ACTIONS(93), 22, + ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, - ACTIONS(17), 1, + anon_sym_COMMA, anon_sym_COLON_COLON, - ACTIONS(19), 1, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_RBRACE, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, + ACTIONS(95), 24, + anon_sym_global, + anon_sym_return, sym_break_statement, - ACTIONS(21), 1, anon_sym_goto, - ACTIONS(23), 1, anon_sym_do, - ACTIONS(25), 1, + anon_sym_end, anon_sym_while, - ACTIONS(27), 1, anon_sym_repeat, - ACTIONS(29), 1, + anon_sym_until, anon_sym_if, - ACTIONS(31), 1, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, anon_sym_for, - ACTIONS(33), 1, anon_sym_function, - ACTIONS(35), 1, anon_sym_local, - ACTIONS(37), 1, - anon_sym_LPAREN, - ACTIONS(113), 1, - anon_sym_return, - ACTIONS(115), 1, - anon_sym_end, - ACTIONS(117), 1, - anon_sym_elseif, - ACTIONS(119), 1, - anon_sym_else, - STATE(23), 1, - sym_comment, - STATE(43), 1, - aux_sym_chunk_repeat1, - STATE(100), 1, - sym_function_call, - STATE(134), 1, - sym_declaration, - STATE(136), 1, - sym_function_declaration, - STATE(148), 1, - sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, - sym__prefix_expression, - STATE(157), 1, - sym_variable, - STATE(158), 1, - sym_method_index_expression, - STATE(163), 1, - sym_parenthesized_expression, - STATE(164), 1, - aux_sym_if_statement_repeat1, - STATE(165), 1, - sym__block, - STATE(186), 1, - sym_return_statement, - STATE(198), 1, - sym_elseif_statement, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(245), 1, - sym_else_statement, - STATE(2), 2, - sym_bracket_index_expression, - sym_dot_index_expression, - STATE(135), 9, - sym_empty_statement, - sym_assignment_statement, - sym_label_statement, - sym_goto_statement, - sym_do_statement, - sym_while_statement, - sym_repeat_statement, - sym_if_statement, - sym_for_statement, - [1494] = 5, + anon_sym_LT, + anon_sym_GT, + anon_sym_or, + anon_sym_and, + anon_sym_TILDE, + anon_sym_DASH, + anon_sym_SLASH, + sym_identifier, + [1887] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(24), 1, + STATE(27), 1, sym_comment, - ACTIONS(67), 22, + ACTIONS(171), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4208,12 +4636,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(69), 23, + ACTIONS(173), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4237,15 +4665,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1553] = 5, + [1947] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(25), 1, + ACTIONS(179), 1, + anon_sym_CARET, + STATE(28), 1, sym_comment, - ACTIONS(99), 22, + ACTIONS(175), 21, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4262,12 +4693,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, - anon_sym_CARET, - ACTIONS(101), 23, + ACTIONS(177), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4291,15 +4721,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1612] = 5, + [2009] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(26), 1, + STATE(29), 1, sym_comment, - ACTIONS(121), 22, + ACTIONS(105), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4316,12 +4747,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(123), 23, + ACTIONS(107), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4345,15 +4776,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1671] = 5, + [2069] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(27), 1, + STATE(30), 1, sym_comment, - ACTIONS(103), 22, + ACTIONS(61), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4370,12 +4802,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(105), 23, + ACTIONS(63), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4399,38 +4831,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [1730] = 15, + [2129] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - STATE(28), 1, + STATE(31), 1, sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(125), 12, + ACTIONS(181), 21, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4442,7 +4854,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - ACTIONS(127), 20, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + ACTIONS(183), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4462,46 +4883,41 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_or, anon_sym_and, + anon_sym_TILDE, + anon_sym_DASH, + anon_sym_SLASH, sym_identifier, - [1809] = 17, + [2191] = 15, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(29), 1, + STATE(32), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(125), 8, + ACTIONS(181), 12, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4510,7 +4926,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, anon_sym_RBRACK, anon_sym_RBRACE, - ACTIONS(127), 18, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(183), 21, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4526,38 +4947,52 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_function, anon_sym_local, + anon_sym_LT, + anon_sym_GT, anon_sym_or, anon_sym_and, sym_identifier, - [1892] = 14, + [2271] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(131), 1, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(30), 1, + ACTIONS(205), 1, + anon_sym_and, + STATE(33), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(141), 3, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 13, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(181), 8, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4566,12 +5001,74 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, anon_sym_RBRACK, anon_sym_RBRACE, + ACTIONS(183), 18, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + anon_sym_or, + sym_identifier, + [2357] = 17, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + STATE(34), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - anon_sym_PIPE, - ACTIONS(127), 20, + ACTIONS(181), 8, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, + anon_sym_RBRACK, + anon_sym_RBRACE, + ACTIONS(183), 19, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4587,38 +5084,38 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_function, anon_sym_local, - anon_sym_LT, - anon_sym_GT, anon_sym_or, anon_sym_and, sym_identifier, - [1969] = 13, + [2441] = 14, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(133), 1, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(31), 1, + STATE(35), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 13, + ACTIONS(181), 13, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4632,7 +5129,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE_EQ, anon_sym_GT_EQ, anon_sym_PIPE, - ACTIONS(127), 21, + ACTIONS(183), 21, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4652,33 +5150,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_or, anon_sym_and, - anon_sym_TILDE, sym_identifier, - [2044] = 12, + [2519] = 13, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(137), 1, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(32), 1, + STATE(36), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 14, + ACTIONS(181), 13, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4692,8 +5191,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE_EQ, anon_sym_GT_EQ, anon_sym_PIPE, - anon_sym_AMP, - ACTIONS(127), 21, + ACTIONS(183), 22, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4715,28 +5214,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, sym_identifier, - [2117] = 11, + [2595] = 12, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(33), 1, + STATE(37), 1, sym_comment, - ACTIONS(141), 3, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 16, + ACTIONS(181), 14, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4751,9 +5253,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_PIPE, anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(127), 21, + ACTIONS(183), 22, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4775,22 +5276,28 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, sym_identifier, - [2188] = 8, + [2669] = 11, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(143), 1, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, anon_sym_SLASH, - STATE(34), 1, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + STATE(38), 1, sym_comment, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 18, + ACTIONS(181), 16, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4807,9 +5314,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP, anon_sym_LT_LT, anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DOT_DOT, - ACTIONS(127), 22, + ACTIONS(183), 22, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4830,18 +5336,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_and, anon_sym_TILDE, - anon_sym_DASH, sym_identifier, - [2253] = 6, + [2741] = 8, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - STATE(35), 1, + ACTIONS(199), 1, + anon_sym_SLASH, + STATE(39), 1, sym_comment, - ACTIONS(125), 21, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(181), 18, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4859,11 +5370,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, anon_sym_DOT_DOT, - ACTIONS(127), 23, + ACTIONS(183), 23, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4885,30 +5394,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_DASH, - anon_sym_SLASH, sym_identifier, - [2314] = 11, + [2807] = 11, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - STATE(36), 1, + STATE(40), 1, sym_comment, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(125), 16, + ACTIONS(181), 16, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COMMA, @@ -4925,7 +5433,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(127), 21, + ACTIONS(183), 22, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -4947,17 +5456,18 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, sym_identifier, - [2385] = 6, + [2879] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - STATE(37), 1, + STATE(41), 1, sym_comment, - ACTIONS(125), 21, + ACTIONS(181), 21, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4974,11 +5484,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, - ACTIONS(127), 23, + ACTIONS(183), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5002,15 +5512,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [2446] = 5, + [2941] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(38), 1, + STATE(42), 1, sym_comment, - ACTIONS(87), 22, + ACTIONS(53), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -5027,12 +5538,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(89), 23, + ACTIONS(55), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5056,15 +5567,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [2505] = 5, + [3001] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(39), 1, + STATE(43), 1, sym_comment, - ACTIONS(87), 22, + ACTIONS(209), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -5081,12 +5593,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(89), 23, + ACTIONS(211), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5110,15 +5622,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [2564] = 5, + [3061] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(40), 1, + STATE(44), 1, sym_comment, - ACTIONS(151), 22, + ACTIONS(213), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -5135,12 +5648,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(153), 23, + ACTIONS(215), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5164,15 +5677,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [2623] = 5, + [3121] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(41), 1, + STATE(45), 1, sym_comment, - ACTIONS(155), 22, + ACTIONS(89), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -5189,12 +5703,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_LT, anon_sym_GT_GT, anon_sym_PLUS, - anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - ACTIONS(157), 23, + ACTIONS(91), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5218,48 +5732,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_SLASH, sym_identifier, - [2682] = 18, + [3181] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(159), 1, - anon_sym_and, - STATE(42), 1, + STATE(46), 1, sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(125), 8, + ACTIONS(89), 22, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -5267,7 +5749,21 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RPAREN, anon_sym_RBRACK, anon_sym_RBRACE, - ACTIONS(127), 17, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, + ACTIONS(91), 24, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -5283,78 +5779,90 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_for, anon_sym_function, anon_sym_local, + anon_sym_LT, + anon_sym_GT, anon_sym_or, + anon_sym_and, + anon_sym_TILDE, + anon_sym_DASH, + anon_sym_SLASH, sym_identifier, - [2767] = 33, + [3241] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(15), 1, - anon_sym_SEMI, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, + ACTIONS(109), 1, anon_sym_return, - STATE(43), 1, - sym_comment, - STATE(45), 1, + ACTIONS(217), 1, + anon_sym_until, + STATE(21), 1, aux_sym_chunk_repeat1, - STATE(100), 1, + STATE(47), 1, + sym_comment, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(178), 1, + STATE(199), 1, sym_return_statement, - STATE(225), 1, + STATE(258), 1, + sym__block, + STATE(273), 1, sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(161), 4, - anon_sym_end, - anon_sym_until, - anon_sym_elseif, - anon_sym_else, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5364,77 +5872,82 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [2879] = 34, + [3363] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(15), 1, - anon_sym_SEMI, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, + ACTIONS(109), 1, anon_sym_return, - STATE(43), 1, + ACTIONS(219), 1, + anon_sym_end, + STATE(21), 1, aux_sym_chunk_repeat1, - STATE(44), 1, + STATE(48), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(199), 1, sym_return_statement, - STATE(200), 1, + STATE(252), 1, sym__block, - STATE(225), 1, + STATE(273), 1, sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(163), 3, - anon_sym_end, - anon_sym_elseif, - anon_sym_else, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5444,74 +5957,82 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [2993] = 31, + [3485] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(165), 1, - ts_builtin_sym_end, - ACTIONS(167), 1, + ACTIONS(9), 1, sym_identifier, - ACTIONS(172), 1, + ACTIONS(13), 1, + anon_sym_global, + ACTIONS(17), 1, anon_sym_SEMI, - ACTIONS(175), 1, + ACTIONS(19), 1, anon_sym_COLON_COLON, - ACTIONS(178), 1, + ACTIONS(21), 1, sym_break_statement, - ACTIONS(181), 1, + ACTIONS(23), 1, anon_sym_goto, - ACTIONS(184), 1, + ACTIONS(25), 1, anon_sym_do, - ACTIONS(187), 1, + ACTIONS(27), 1, anon_sym_while, - ACTIONS(190), 1, + ACTIONS(29), 1, anon_sym_repeat, - ACTIONS(193), 1, + ACTIONS(31), 1, anon_sym_if, - ACTIONS(196), 1, + ACTIONS(33), 1, anon_sym_for, - ACTIONS(199), 1, + ACTIONS(35), 1, anon_sym_function, - ACTIONS(202), 1, + ACTIONS(37), 1, anon_sym_local, - ACTIONS(205), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - STATE(100), 1, + ACTIONS(109), 1, + anon_sym_return, + ACTIONS(221), 1, + anon_sym_end, + STATE(21), 1, + aux_sym_chunk_repeat1, + STATE(49), 1, + sym_comment, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(225), 1, + STATE(199), 1, + sym_return_statement, + STATE(263), 1, + sym__block, + STATE(273), 1, sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(45), 2, - sym_comment, - aux_sym_chunk_repeat1, - ACTIONS(170), 5, - anon_sym_return, - anon_sym_end, - anon_sym_until, - anon_sym_elseif, - anon_sym_else, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5521,206 +6042,82 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3101] = 21, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(159), 1, - anon_sym_and, - ACTIONS(212), 1, - anon_sym_COMMA, - ACTIONS(214), 1, - anon_sym_or, - STATE(46), 1, - sym_comment, - STATE(121), 1, - aux_sym__variable_assignment_explist_repeat1, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(208), 4, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_COLON_COLON, - anon_sym_LPAREN, - ACTIONS(210), 15, - anon_sym_return, - sym_break_statement, - anon_sym_goto, - anon_sym_do, - anon_sym_end, - anon_sym_while, - anon_sym_repeat, - anon_sym_until, - anon_sym_if, - anon_sym_elseif, - anon_sym_else, - anon_sym_for, - anon_sym_function, - anon_sym_local, - sym_identifier, - [3189] = 19, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(159), 1, - anon_sym_and, - ACTIONS(214), 1, - anon_sym_or, - STATE(47), 1, - sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(216), 5, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_LPAREN, - ACTIONS(218), 15, - anon_sym_return, - sym_break_statement, - anon_sym_goto, - anon_sym_do, - anon_sym_end, - anon_sym_while, - anon_sym_repeat, - anon_sym_until, - anon_sym_if, - anon_sym_elseif, - anon_sym_else, - anon_sym_for, - anon_sym_function, - anon_sym_local, - sym_identifier, - [3272] = 34, + [3607] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(15), 1, - anon_sym_SEMI, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, + ACTIONS(109), 1, anon_sym_return, - ACTIONS(220), 1, + ACTIONS(223), 1, anon_sym_end, - STATE(43), 1, + STATE(21), 1, aux_sym_chunk_repeat1, - STATE(48), 1, + STATE(50), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(199), 1, sym_return_statement, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(226), 1, + STATE(257), 1, sym__block, + STATE(273), 1, + sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5730,75 +6127,82 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3384] = 34, + [3729] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(15), 1, - anon_sym_SEMI, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, + ACTIONS(109), 1, anon_sym_return, - ACTIONS(222), 1, + ACTIONS(225), 1, anon_sym_end, - STATE(43), 1, + STATE(21), 1, aux_sym_chunk_repeat1, - STATE(49), 1, + STATE(51), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(199), 1, sym_return_statement, - STATE(225), 1, + STATE(273), 1, sym__variable_assignment_varlist, - STATE(233), 1, + STATE(278), 1, sym__block, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5808,75 +6212,82 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3496] = 34, + [3851] = 37, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(15), 1, - anon_sym_SEMI, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, + ACTIONS(109), 1, anon_sym_return, - ACTIONS(224), 1, + ACTIONS(227), 1, anon_sym_end, - STATE(43), 1, + STATE(21), 1, aux_sym_chunk_repeat1, - STATE(50), 1, + STATE(52), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(199), 1, sym_return_statement, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(246), 1, + STATE(237), 1, sym__block, + STATE(273), 1, + sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -5886,138 +6297,80 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3608] = 19, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(159), 1, - anon_sym_and, - ACTIONS(214), 1, - anon_sym_or, - STATE(51), 1, - sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(226), 4, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_COLON_COLON, - anon_sym_LPAREN, - ACTIONS(228), 15, - anon_sym_return, - sym_break_statement, - anon_sym_goto, - anon_sym_do, - anon_sym_end, - anon_sym_while, - anon_sym_repeat, - anon_sym_until, - anon_sym_if, - anon_sym_elseif, - anon_sym_else, - anon_sym_for, - anon_sym_function, - anon_sym_local, - sym_identifier, - [3690] = 34, + [3973] = 36, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(15), 1, - anon_sym_SEMI, + anon_sym_return, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, - anon_sym_return, - ACTIONS(230), 1, - anon_sym_until, - STATE(43), 1, + ACTIONS(229), 1, + ts_builtin_sym_end, + STATE(23), 1, aux_sym_chunk_repeat1, - STATE(52), 1, + STATE(53), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(265), 1, sym_return_statement, - STATE(225), 1, + STATE(273), 1, sym__variable_assignment_varlist, - STATE(227), 1, - sym__block, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -6027,138 +6380,80 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3802] = 19, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(159), 1, - anon_sym_and, - ACTIONS(214), 1, - anon_sym_or, - STATE(53), 1, - sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(232), 4, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_COLON_COLON, - anon_sym_LPAREN, - ACTIONS(234), 15, - anon_sym_return, - sym_break_statement, - anon_sym_goto, - anon_sym_do, - anon_sym_end, - anon_sym_while, - anon_sym_repeat, - anon_sym_until, - anon_sym_if, - anon_sym_elseif, - anon_sym_else, - anon_sym_for, - anon_sym_function, - anon_sym_local, - sym_identifier, - [3884] = 34, + [4092] = 36, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(15), 1, - anon_sym_SEMI, + anon_sym_return, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, - anon_sym_return, - ACTIONS(236), 1, - anon_sym_end, - STATE(43), 1, + ACTIONS(231), 1, + ts_builtin_sym_end, + STATE(53), 1, aux_sym_chunk_repeat1, STATE(54), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(234), 1, sym_return_statement, - STATE(225), 1, + STATE(273), 1, sym__variable_assignment_varlist, - STATE(243), 1, - sym__block, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -6168,75 +6463,80 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [3996] = 34, + [4211] = 36, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, + ACTIONS(13), 1, + anon_sym_global, ACTIONS(15), 1, - anon_sym_SEMI, + anon_sym_return, ACTIONS(17), 1, - anon_sym_COLON_COLON, + anon_sym_SEMI, ACTIONS(19), 1, - sym_break_statement, + anon_sym_COLON_COLON, ACTIONS(21), 1, - anon_sym_goto, + sym_break_statement, ACTIONS(23), 1, - anon_sym_do, + anon_sym_goto, ACTIONS(25), 1, - anon_sym_while, + anon_sym_do, ACTIONS(27), 1, - anon_sym_repeat, + anon_sym_while, ACTIONS(29), 1, - anon_sym_if, + anon_sym_repeat, ACTIONS(31), 1, - anon_sym_for, + anon_sym_if, ACTIONS(33), 1, - anon_sym_function, + anon_sym_for, ACTIONS(35), 1, - anon_sym_local, + anon_sym_function, ACTIONS(37), 1, + anon_sym_local, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(113), 1, - anon_sym_return, - ACTIONS(238), 1, - anon_sym_end, - STATE(43), 1, + ACTIONS(231), 1, + ts_builtin_sym_end, + STATE(23), 1, aux_sym_chunk_repeat1, STATE(55), 1, sym_comment, - STATE(100), 1, + STATE(103), 1, sym_function_call, STATE(134), 1, + sym_variable_declaration, + STATE(135), 1, + sym_statement, + STATE(138), 1, sym_declaration, - STATE(136), 1, + STATE(139), 1, sym_function_declaration, - STATE(148), 1, + STATE(140), 1, sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, + STATE(142), 1, + sym__global_function_declaration, + STATE(147), 1, + sym_global_variable_declaration, + STATE(174), 1, sym__prefix_expression, - STATE(157), 1, + STATE(175), 1, sym_variable, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(163), 1, + STATE(181), 1, sym_parenthesized_expression, - STATE(186), 1, + STATE(234), 1, sym_return_statement, - STATE(216), 1, - sym__block, - STATE(225), 1, + STATE(273), 1, sym__variable_assignment_varlist, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(135), 9, + STATE(169), 10, + sym_global_mode_statement, sym_empty_statement, sym_assignment_statement, sym_label_statement, @@ -6246,2628 +6546,3001 @@ static const uint16_t ts_small_parse_table[] = { sym_repeat_statement, sym_if_statement, sym_for_statement, - [4108] = 33, + [4330] = 21, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(9), 1, - sym_identifier, - ACTIONS(13), 1, - anon_sym_return, - ACTIONS(15), 1, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(205), 1, + anon_sym_and, + ACTIONS(237), 1, + anon_sym_COMMA, + ACTIONS(239), 1, + anon_sym_or, + STATE(56), 1, + sym_comment, + STATE(129), 1, + aux_sym__variable_assignment_explist_repeat1, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(233), 4, + ts_builtin_sym_end, anon_sym_SEMI, - ACTIONS(17), 1, anon_sym_COLON_COLON, - ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(235), 16, + anon_sym_global, + anon_sym_return, sym_break_statement, - ACTIONS(21), 1, anon_sym_goto, - ACTIONS(23), 1, anon_sym_do, - ACTIONS(25), 1, + anon_sym_end, anon_sym_while, - ACTIONS(27), 1, anon_sym_repeat, - ACTIONS(29), 1, + anon_sym_until, anon_sym_if, - ACTIONS(31), 1, + anon_sym_elseif, + anon_sym_else, anon_sym_for, - ACTIONS(33), 1, anon_sym_function, - ACTIONS(35), 1, anon_sym_local, - ACTIONS(37), 1, - anon_sym_LPAREN, - ACTIONS(240), 1, - ts_builtin_sym_end, - STATE(56), 1, - sym_comment, - STATE(57), 1, - aux_sym_chunk_repeat1, - STATE(100), 1, - sym_function_call, - STATE(134), 1, - sym_declaration, - STATE(136), 1, - sym_function_declaration, - STATE(148), 1, - sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, - sym__prefix_expression, - STATE(157), 1, - sym_variable, - STATE(158), 1, - sym_method_index_expression, - STATE(163), 1, - sym_parenthesized_expression, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(238), 1, - sym_return_statement, - STATE(2), 2, - sym_bracket_index_expression, - sym_dot_index_expression, - STATE(135), 9, - sym_empty_statement, - sym_assignment_statement, - sym_label_statement, - sym_goto_statement, - sym_do_statement, - sym_while_statement, - sym_repeat_statement, - sym_if_statement, - sym_for_statement, - [4217] = 33, + sym_identifier, + [4419] = 19, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(9), 1, - sym_identifier, - ACTIONS(13), 1, - anon_sym_return, - ACTIONS(15), 1, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(205), 1, + anon_sym_and, + ACTIONS(239), 1, + anon_sym_or, + STATE(57), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(241), 5, + ts_builtin_sym_end, anon_sym_SEMI, - ACTIONS(17), 1, + anon_sym_COMMA, anon_sym_COLON_COLON, - ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(243), 16, + anon_sym_global, + anon_sym_return, sym_break_statement, - ACTIONS(21), 1, anon_sym_goto, - ACTIONS(23), 1, anon_sym_do, - ACTIONS(25), 1, + anon_sym_end, anon_sym_while, - ACTIONS(27), 1, anon_sym_repeat, - ACTIONS(29), 1, + anon_sym_until, anon_sym_if, - ACTIONS(31), 1, + anon_sym_elseif, + anon_sym_else, anon_sym_for, - ACTIONS(33), 1, anon_sym_function, - ACTIONS(35), 1, anon_sym_local, - ACTIONS(37), 1, - anon_sym_LPAREN, - ACTIONS(242), 1, - ts_builtin_sym_end, - STATE(45), 1, - aux_sym_chunk_repeat1, - STATE(57), 1, - sym_comment, - STATE(100), 1, - sym_function_call, - STATE(134), 1, - sym_declaration, - STATE(136), 1, - sym_function_declaration, - STATE(148), 1, - sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, - sym__prefix_expression, - STATE(157), 1, - sym_variable, - STATE(158), 1, - sym_method_index_expression, - STATE(163), 1, - sym_parenthesized_expression, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(235), 1, - sym_return_statement, - STATE(2), 2, - sym_bracket_index_expression, - sym_dot_index_expression, - STATE(135), 9, - sym_empty_statement, - sym_assignment_statement, - sym_label_statement, - sym_goto_statement, - sym_do_statement, - sym_while_statement, - sym_repeat_statement, - sym_if_statement, - sym_for_statement, - [4326] = 33, + sym_identifier, + [4503] = 19, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(9), 1, - sym_identifier, - ACTIONS(13), 1, - anon_sym_return, - ACTIONS(15), 1, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(205), 1, + anon_sym_and, + ACTIONS(239), 1, + anon_sym_or, + STATE(58), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(245), 4, + ts_builtin_sym_end, anon_sym_SEMI, - ACTIONS(17), 1, anon_sym_COLON_COLON, - ACTIONS(19), 1, + anon_sym_LPAREN, + ACTIONS(247), 16, + anon_sym_global, + anon_sym_return, sym_break_statement, - ACTIONS(21), 1, anon_sym_goto, - ACTIONS(23), 1, anon_sym_do, - ACTIONS(25), 1, + anon_sym_end, anon_sym_while, - ACTIONS(27), 1, anon_sym_repeat, - ACTIONS(29), 1, + anon_sym_until, anon_sym_if, - ACTIONS(31), 1, + anon_sym_elseif, + anon_sym_else, anon_sym_for, - ACTIONS(33), 1, anon_sym_function, - ACTIONS(35), 1, anon_sym_local, - ACTIONS(37), 1, - anon_sym_LPAREN, - ACTIONS(240), 1, - ts_builtin_sym_end, - STATE(45), 1, - aux_sym_chunk_repeat1, - STATE(58), 1, + sym_identifier, + [4586] = 19, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(205), 1, + anon_sym_and, + ACTIONS(239), 1, + anon_sym_or, + STATE(59), 1, sym_comment, - STATE(100), 1, - sym_function_call, - STATE(134), 1, - sym_declaration, - STATE(136), 1, - sym_function_declaration, - STATE(148), 1, - sym__local_function_declaration, - STATE(151), 1, - sym_statement, - STATE(152), 1, - sym_variable_declaration, - STATE(156), 1, - sym__prefix_expression, - STATE(157), 1, - sym_variable, - STATE(158), 1, - sym_method_index_expression, - STATE(163), 1, - sym_parenthesized_expression, - STATE(225), 1, - sym__variable_assignment_varlist, - STATE(238), 1, - sym_return_statement, - STATE(2), 2, - sym_bracket_index_expression, - sym_dot_index_expression, - STATE(135), 9, - sym_empty_statement, - sym_assignment_statement, - sym_label_statement, - sym_goto_statement, - sym_do_statement, - sym_while_statement, - sym_repeat_statement, - sym_if_statement, - sym_for_statement, - [4435] = 25, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(249), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(251), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [4669] = 26, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(244), 1, + ACTIONS(253), 1, anon_sym_SEMI, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(59), 1, + STATE(60), 1, sym_comment, - STATE(99), 1, + STATE(102), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(167), 1, + STATE(187), 1, sym__expression_list, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - ACTIONS(246), 4, + ACTIONS(255), 4, anon_sym_end, anon_sym_until, anon_sym_elseif, anon_sym_else, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4526] = 26, + [4763] = 27, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(266), 1, + ACTIONS(277), 1, sym_identifier, - ACTIONS(268), 1, + ACTIONS(279), 1, anon_sym_LBRACK, - ACTIONS(270), 1, + ACTIONS(281), 1, anon_sym_RBRACE, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(60), 1, + STATE(61), 1, sym_comment, - STATE(105), 1, + STATE(111), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(169), 1, + STATE(192), 1, sym_field, - STATE(252), 1, + STATE(279), 1, sym__field_list, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4617] = 26, + [4857] = 27, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(266), 1, + ACTIONS(277), 1, sym_identifier, - ACTIONS(268), 1, + ACTIONS(279), 1, anon_sym_LBRACK, - ACTIONS(272), 1, + ACTIONS(283), 1, anon_sym_RBRACE, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(61), 1, + STATE(62), 1, sym_comment, - STATE(105), 1, + STATE(111), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(169), 1, + STATE(192), 1, sym_field, - STATE(257), 1, + STATE(249), 1, sym__field_list, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4708] = 25, + [4951] = 26, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(266), 1, + ACTIONS(277), 1, sym_identifier, - ACTIONS(268), 1, + ACTIONS(279), 1, anon_sym_LBRACK, - ACTIONS(274), 1, + ACTIONS(285), 1, anon_sym_RBRACE, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(62), 1, + STATE(63), 1, sym_comment, - STATE(105), 1, + STATE(111), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(211), 1, + STATE(215), 1, sym_field, - ACTIONS(252), 2, - sym_number, + ACTIONS(271), 2, + anon_sym_TILDE, + anon_sym_POUND, + ACTIONS(273), 2, + anon_sym_DASH, + anon_sym_not, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + ACTIONS(259), 3, + sym_nil, + sym_false, + sym_true, + STATE(5), 3, + sym_variable, + sym_function_call, + sym_parenthesized_expression, + STATE(42), 6, + sym_string, sym_vararg_expression, - ACTIONS(260), 2, + sym_function_definition, + sym_table_constructor, + sym_binary_expression, + sym_unary_expression, + [5042] = 26, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(257), 1, + anon_sym_function, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, + anon_sym_DQUOTE, + ACTIONS(265), 1, + anon_sym_SQUOTE, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, + anon_sym_LBRACE, + ACTIONS(275), 1, + sym__block_string_start, + ACTIONS(277), 1, + sym_identifier, + ACTIONS(279), 1, + anon_sym_LBRACK, + ACTIONS(287), 1, + anon_sym_RBRACE, + STATE(45), 1, + sym__quote_string, + STATE(46), 1, + sym__block_string, + STATE(64), 1, + sym_comment, + STATE(111), 1, + sym_expression, + STATE(174), 1, + sym__prefix_expression, + STATE(178), 1, + sym_method_index_expression, + STATE(215), 1, + sym_field, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4796] = 25, + [5133] = 26, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(244), 1, + ACTIONS(253), 1, anon_sym_SEMI, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(276), 1, + ACTIONS(289), 1, ts_builtin_sym_end, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(63), 1, + STATE(65), 1, sym_comment, - STATE(99), 1, + STATE(102), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(167), 1, + STATE(187), 1, sym__expression_list, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4884] = 25, + [5224] = 25, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(266), 1, + ACTIONS(277), 1, sym_identifier, - ACTIONS(268), 1, + ACTIONS(279), 1, anon_sym_LBRACK, - ACTIONS(278), 1, - anon_sym_RBRACE, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(64), 1, + STATE(66), 1, sym_comment, - STATE(105), 1, + STATE(111), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(211), 1, + STATE(215), 1, sym_field, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [4972] = 6, + [5312] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(280), 1, - anon_sym_EQ, - STATE(65), 1, - sym_comment, - ACTIONS(41), 6, - anon_sym_DOT, - anon_sym_LT, - anon_sym_GT, - anon_sym_TILDE, - anon_sym_DASH, - anon_sym_SLASH, - ACTIONS(39), 26, - sym__block_string_start, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_COLON, + ACTIONS(9), 1, + sym_identifier, + ACTIONS(39), 1, + anon_sym_LPAREN, + ACTIONS(257), 1, + anon_sym_function, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, + ACTIONS(265), 1, anon_sym_SQUOTE, - anon_sym_LPAREN, - anon_sym_LBRACK, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_or, - anon_sym_and, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - [5021] = 24, + ACTIONS(275), 1, + sym__block_string_start, + STATE(45), 1, + sym__quote_string, + STATE(46), 1, + sym__block_string, + STATE(56), 1, + sym_expression, + STATE(67), 1, + sym_comment, + STATE(145), 1, + sym__variable_assignment_explist, + STATE(174), 1, + sym__prefix_expression, + STATE(178), 1, + sym_method_index_expression, + ACTIONS(271), 2, + anon_sym_TILDE, + anon_sym_POUND, + ACTIONS(273), 2, + anon_sym_DASH, + anon_sym_not, + STATE(2), 2, + sym_bracket_index_expression, + sym_dot_index_expression, + ACTIONS(259), 3, + sym_nil, + sym_false, + sym_true, + STATE(5), 3, + sym_variable, + sym_function_call, + sym_parenthesized_expression, + STATE(42), 6, + sym_string, + sym_vararg_expression, + sym_function_definition, + sym_table_constructor, + sym_binary_expression, + sym_unary_expression, + [5397] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(9), 1, + sym_identifier, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(266), 1, - sym_identifier, - ACTIONS(268), 1, - anon_sym_LBRACK, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, - sym__block_string, - STATE(66), 1, - sym_comment, - STATE(105), 1, + STATE(46), 1, + sym__block_string, + STATE(56), 1, sym_expression, - STATE(156), 1, + STATE(68), 1, + sym_comment, + STATE(143), 1, + sym__variable_assignment_explist, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(211), 1, - sym_field, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5106] = 23, + [5482] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - ACTIONS(282), 1, + ACTIONS(291), 1, anon_sym_RPAREN, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(67), 1, + STATE(69), 1, sym_comment, - STATE(102), 1, + STATE(110), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5188] = 23, + [5567] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, - sym__block_string, STATE(46), 1, + sym__block_string, + STATE(56), 1, sym_expression, - STATE(68), 1, + STATE(70), 1, sym_comment, - STATE(144), 1, + STATE(158), 1, sym__variable_assignment_explist, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5270] = 23, + [5652] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(69), 1, - sym_comment, - STATE(99), 1, + STATE(56), 1, sym_expression, - STATE(156), 1, + STATE(71), 1, + sym_comment, + STATE(155), 1, + sym__variable_assignment_explist, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - STATE(217), 1, - sym__expression_list, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5352] = 23, + [5737] = 24, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, - sym__block_string, STATE(46), 1, - sym_expression, - STATE(70), 1, + sym__block_string, + STATE(72), 1, sym_comment, - STATE(130), 1, - sym__variable_assignment_explist, - STATE(156), 1, + STATE(102), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + STATE(253), 1, + sym__expression_list, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5434] = 22, + [5822] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(293), 1, + anon_sym_EQ, + STATE(73), 1, + sym_comment, + ACTIONS(43), 6, + anon_sym_DOT, + anon_sym_LT, + anon_sym_GT, + anon_sym_TILDE, + anon_sym_DASH, + anon_sym_SLASH, + ACTIONS(41), 26, + sym__block_string_start, + anon_sym_STAR, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_COLON, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + anon_sym_LPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_or, + anon_sym_and, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, + [5871] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(71), 1, + STATE(74), 1, sym_comment, - STATE(115), 1, + STATE(109), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5513] = 22, + [5953] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, STATE(38), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(51), 1, - sym_expression, - STATE(72), 1, + STATE(75), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5592] = 22, + [6035] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(53), 1, - sym_expression, - STATE(73), 1, + STATE(76), 1, sym_comment, - STATE(156), 1, + STATE(128), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5671] = 22, + [6117] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(74), 1, + STATE(77), 1, sym_comment, - STATE(103), 1, + STATE(123), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5750] = 22, + [6199] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(31), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(75), 1, + STATE(78), 1, sym_comment, - STATE(110), 1, - sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5829] = 22, + [6281] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(76), 1, + STATE(79), 1, sym_comment, - STATE(116), 1, + STATE(101), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5908] = 22, + [6363] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(32), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(77), 1, - sym_comment, - STATE(113), 1, - sym_expression, - STATE(156), 1, + STATE(80), 1, + sym_comment, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [5987] = 22, + [6445] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(22), 1, + STATE(34), 1, sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(78), 1, + STATE(81), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6066] = 22, + [6527] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(33), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(79), 1, + STATE(82), 1, sym_comment, - STATE(114), 1, - sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6145] = 22, + [6609] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(36), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(80), 1, + STATE(83), 1, sym_comment, - STATE(98), 1, - sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6224] = 22, + [6691] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(28), 1, + STATE(35), 1, sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(81), 1, + STATE(84), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6303] = 22, + [6773] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(37), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(82), 1, + STATE(85), 1, sym_comment, - STATE(112), 1, - sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6382] = 22, + [6855] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, - sym__quote_string, STATE(39), 1, + sym_expression, + STATE(45), 1, + sym__quote_string, + STATE(46), 1, sym__block_string, - STATE(83), 1, + STATE(86), 1, sym_comment, - STATE(119), 1, - sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6461] = 22, + [6937] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(40), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(47), 1, - sym_expression, - STATE(84), 1, + STATE(87), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6540] = 22, + [7019] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(29), 1, + STATE(41), 1, sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(85), 1, + STATE(88), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6619] = 22, + [7101] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(30), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(86), 1, + STATE(89), 1, sym_comment, - STATE(156), 1, + STATE(121), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6698] = 22, + [7183] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(31), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(87), 1, + STATE(59), 1, + sym_expression, + STATE(90), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6777] = 22, + [7265] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(32), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(88), 1, + STATE(91), 1, sym_comment, - STATE(156), 1, + STATE(130), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6856] = 22, + [7347] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(89), 1, + STATE(92), 1, sym_comment, - STATE(106), 1, + STATE(127), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [6935] = 22, + [7429] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(33), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(90), 1, + STATE(57), 1, + sym_expression, + STATE(93), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7014] = 22, + [7511] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(34), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(91), 1, + STATE(94), 1, sym_comment, - STATE(156), 1, + STATE(124), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7093] = 22, + [7593] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(92), 1, + STATE(95), 1, sym_comment, - STATE(104), 1, + STATE(126), 1, sym_expression, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7172] = 22, + [7675] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(35), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(93), 1, + STATE(96), 1, sym_comment, - STATE(156), 1, + STATE(117), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7251] = 22, + [7757] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(36), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(94), 1, + STATE(97), 1, sym_comment, - STATE(156), 1, + STATE(112), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7330] = 22, + [7839] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(95), 1, - sym_comment, - STATE(118), 1, + STATE(58), 1, sym_expression, - STATE(156), 1, + STATE(98), 1, + sym_comment, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7409] = 22, + [7921] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(37), 1, - sym_expression, - STATE(38), 1, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(96), 1, + STATE(99), 1, sym_comment, - STATE(156), 1, + STATE(125), 1, + sym_expression, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7488] = 22, + [8003] = 23, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, ACTIONS(9), 1, sym_identifier, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(248), 1, + ACTIONS(257), 1, anon_sym_function, - ACTIONS(254), 1, + ACTIONS(261), 1, + sym_number, + ACTIONS(263), 1, anon_sym_DQUOTE, - ACTIONS(256), 1, + ACTIONS(265), 1, anon_sym_SQUOTE, - ACTIONS(258), 1, + ACTIONS(267), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(269), 1, anon_sym_LBRACE, - ACTIONS(264), 1, + ACTIONS(275), 1, sym__block_string_start, - STATE(38), 1, + STATE(28), 1, + sym_expression, + STATE(45), 1, sym__quote_string, - STATE(39), 1, + STATE(46), 1, sym__block_string, - STATE(42), 1, - sym_expression, - STATE(97), 1, + STATE(100), 1, sym_comment, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, + STATE(178), 1, sym_method_index_expression, - ACTIONS(252), 2, - sym_number, - sym_vararg_expression, - ACTIONS(260), 2, + ACTIONS(271), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(262), 2, + ACTIONS(273), 2, anon_sym_DASH, anon_sym_not, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - ACTIONS(250), 3, + ACTIONS(259), 3, sym_nil, sym_false, sym_true, - STATE(9), 3, + STATE(5), 3, sym_variable, sym_function_call, sym_parenthesized_expression, - STATE(24), 5, + STATE(42), 6, sym_string, + sym_vararg_expression, sym_function_definition, sym_table_constructor, sym_binary_expression, sym_unary_expression, - [7567] = 19, + [8085] = 19, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(286), 1, + ACTIONS(297), 1, anon_sym_else, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - STATE(98), 1, + STATE(101), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(295), 8, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_do, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + anon_sym_RPAREN, + [8157] = 21, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(299), 1, + anon_sym_or, + ACTIONS(301), 1, + anon_sym_and, + ACTIONS(305), 1, + anon_sym_COMMA, + ACTIONS(307), 1, + anon_sym_else, + STATE(102), 1, + sym_comment, + STATE(180), 1, + aux_sym__expression_list_repeat1, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + ACTIONS(303), 6, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_do, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + [8233] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(57), 1, + anon_sym_COLON, + STATE(103), 1, + sym_comment, + ACTIONS(309), 3, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + ACTIONS(59), 7, + sym__block_string_start, + anon_sym_DOT, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + anon_sym_LPAREN, + anon_sym_LBRACK, + anon_sym_LBRACE, + ACTIONS(311), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8278] = 9, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(317), 1, + anon_sym_COMMA, + ACTIONS(319), 1, + anon_sym_LT, + STATE(104), 1, + sym_comment, + STATE(114), 1, + sym__attrib, + STATE(116), 1, + aux_sym__att_name_list_repeat1, + ACTIONS(313), 5, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(315), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8325] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(325), 1, + anon_sym_COMMA, + STATE(105), 2, sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(284), 8, + aux_sym__name_list_repeat1, + ACTIONS(321), 6, ts_builtin_sym_end, anon_sym_SEMI, - anon_sym_COMMA, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(323), 17, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, anon_sym_do, anon_sym_end, + anon_sym_while, + anon_sym_repeat, anon_sym_until, + anon_sym_if, anon_sym_elseif, - anon_sym_RPAREN, - [7639] = 21, + anon_sym_else, + anon_sym_for, + anon_sym_in, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8366] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(288), 1, - anon_sym_or, - ACTIONS(290), 1, - anon_sym_and, - ACTIONS(294), 1, - anon_sym_COMMA, - ACTIONS(296), 1, - anon_sym_else, - STATE(99), 1, + STATE(106), 1, sym_comment, - STATE(161), 1, - aux_sym__expression_list_repeat1, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - ACTIONS(292), 6, + ACTIONS(328), 7, ts_builtin_sym_end, anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(330), 17, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, anon_sym_do, anon_sym_end, + anon_sym_while, + anon_sym_repeat, anon_sym_until, + anon_sym_if, anon_sym_elseif, - [7715] = 7, + anon_sym_else, + anon_sym_for, + anon_sym_in, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8404] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(71), 1, - anon_sym_COLON, - STATE(100), 1, + ACTIONS(319), 1, + anon_sym_LT, + STATE(107), 1, sym_comment, - ACTIONS(298), 3, + STATE(120), 1, + sym__attrib, + ACTIONS(332), 6, ts_builtin_sym_end, anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COMMA, anon_sym_COLON_COLON, - ACTIONS(73), 7, - sym__block_string_start, - anon_sym_DOT, - anon_sym_DQUOTE, - anon_sym_SQUOTE, anon_sym_LPAREN, - anon_sym_LBRACK, - anon_sym_LBRACE, - ACTIONS(300), 15, + ACTIONS(334), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -8883,28 +9556,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [7759] = 9, + [8446] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(306), 1, + ACTIONS(340), 1, anon_sym_COMMA, - ACTIONS(308), 1, - anon_sym_LT, - STATE(101), 1, - sym_comment, + STATE(105), 1, + aux_sym__name_list_repeat1, STATE(108), 1, - sym__attrib, - STATE(117), 1, - aux_sym__att_name_list_repeat1, - ACTIONS(302), 5, + sym_comment, + ACTIONS(336), 5, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(304), 15, + ACTIONS(338), 17, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -8917,260 +9587,396 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_elseif, anon_sym_else, anon_sym_for, + anon_sym_in, anon_sym_function, anon_sym_local, sym_identifier, - [7805] = 20, + [8488] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(294), 1, - anon_sym_COMMA, - ACTIONS(310), 1, - anon_sym_RPAREN, - STATE(102), 1, + STATE(109), 1, sym_comment, - STATE(201), 1, - aux_sym__expression_list_repeat1, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(342), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RBRACE, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [7873] = 18, + [8552] = 20, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - STATE(103), 1, + ACTIONS(305), 1, + anon_sym_COMMA, + ACTIONS(344), 1, + anon_sym_RPAREN, + STATE(110), 1, sym_comment, - ACTIONS(135), 2, + STATE(231), 1, + aux_sym__expression_list_repeat1, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(312), 3, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RBRACE, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [7937] = 18, + [8620] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - STATE(104), 1, + STATE(111), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(314), 3, + ACTIONS(346), 3, anon_sym_SEMI, anon_sym_COMMA, anon_sym_RBRACE, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8001] = 18, + [8684] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - STATE(105), 1, + STATE(112), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(316), 3, + ACTIONS(348), 3, anon_sym_SEMI, anon_sym_COMMA, anon_sym_RBRACE, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8065] = 19, + [8748] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(340), 1, + anon_sym_COMMA, + STATE(108), 1, + aux_sym__name_list_repeat1, + STATE(113), 1, + sym_comment, + ACTIONS(350), 5, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(352), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8789] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(317), 1, + anon_sym_COMMA, + STATE(114), 1, + sym_comment, + STATE(118), 1, + aux_sym__att_name_list_repeat1, + ACTIONS(354), 5, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(356), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8830] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(362), 1, + anon_sym_COMMA, + STATE(115), 2, + sym_comment, + aux_sym__att_name_list_repeat1, + ACTIONS(358), 5, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(360), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8869] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(317), 1, + anon_sym_COMMA, + STATE(115), 1, + aux_sym__att_name_list_repeat1, + STATE(116), 1, + sym_comment, + ACTIONS(365), 5, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(367), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [8910] = 19, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(318), 1, + ACTIONS(369), 1, anon_sym_COMMA, - ACTIONS(320), 1, + ACTIONS(371), 1, anon_sym_do, - STATE(106), 1, + STATE(117), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8130] = 7, + [8975] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(308), 1, - anon_sym_LT, - STATE(107), 1, + ACTIONS(317), 1, + anon_sym_COMMA, + STATE(115), 1, + aux_sym__att_name_list_repeat1, + STATE(118), 1, sym_comment, - STATE(120), 1, - sym__attrib, - ACTIONS(322), 6, + ACTIONS(373), 5, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_EQ, - anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(324), 15, + ACTIONS(375), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9186,24 +9992,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8171] = 7, + [9016] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(306), 1, - anon_sym_COMMA, - STATE(108), 1, + STATE(119), 1, sym_comment, - STATE(109), 1, - aux_sym__att_name_list_repeat1, - ACTIONS(326), 5, + ACTIONS(377), 7, ts_builtin_sym_end, + anon_sym_STAR, anon_sym_SEMI, anon_sym_EQ, + anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(328), 15, + ACTIONS(379), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9219,24 +10024,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8211] = 7, + [9053] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(306), 1, - anon_sym_COMMA, - STATE(109), 1, + STATE(120), 1, sym_comment, - STATE(111), 1, - aux_sym__att_name_list_repeat1, - ACTIONS(330), 5, + ACTIONS(381), 6, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_EQ, + anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(332), 15, + ACTIONS(383), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9252,67 +10055,67 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8251] = 18, + [9089] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(334), 1, - anon_sym_RBRACK, - STATE(110), 1, + ACTIONS(385), 1, + anon_sym_then, + STATE(121), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8313] = 6, + [9151] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(340), 1, + ACTIONS(391), 1, anon_sym_COMMA, - STATE(111), 2, + STATE(122), 2, sym_comment, - aux_sym__att_name_list_repeat1, - ACTIONS(336), 5, + aux_sym__variable_assignment_explist_repeat1, + ACTIONS(387), 4, ts_builtin_sym_end, anon_sym_SEMI, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(338), 15, + ACTIONS(389), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9328,244 +10131,454 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8351] = 18, + [9189] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(343), 1, + ACTIONS(394), 1, anon_sym_then, - STATE(112), 1, + STATE(123), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8413] = 18, + [9251] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(345), 1, - anon_sym_do, - STATE(113), 1, + ACTIONS(396), 1, + anon_sym_RPAREN, + STATE(124), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8475] = 18, + [9313] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(347), 1, + ACTIONS(398), 1, anon_sym_RBRACK, - STATE(114), 1, + STATE(125), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8537] = 18, + [9375] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(349), 1, - anon_sym_then, - STATE(115), 1, + ACTIONS(400), 1, + anon_sym_COMMA, + STATE(126), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8599] = 18, + [9437] = 18, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, + ACTIONS(179), 1, anon_sym_CARET, - ACTIONS(129), 1, + ACTIONS(187), 1, anon_sym_PIPE, - ACTIONS(131), 1, + ACTIONS(189), 1, anon_sym_TILDE, - ACTIONS(133), 1, + ACTIONS(191), 1, anon_sym_AMP, - ACTIONS(137), 1, + ACTIONS(195), 1, anon_sym_PLUS, - ACTIONS(139), 1, + ACTIONS(197), 1, anon_sym_DASH, - ACTIONS(143), 1, + ACTIONS(199), 1, anon_sym_SLASH, - ACTIONS(145), 1, + ACTIONS(201), 1, anon_sym_DOT_DOT, - ACTIONS(288), 1, + ACTIONS(299), 1, anon_sym_or, - ACTIONS(290), 1, + ACTIONS(301), 1, anon_sym_and, - ACTIONS(351), 1, - anon_sym_RPAREN, - STATE(116), 1, + ACTIONS(402), 1, + anon_sym_do, + STATE(127), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + [9499] = 18, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(299), 1, + anon_sym_or, + ACTIONS(301), 1, + anon_sym_and, + ACTIONS(404), 1, + anon_sym_RBRACK, + STATE(128), 1, + sym_comment, + ACTIONS(193), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(203), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(185), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(207), 4, + anon_sym_LT_EQ, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_GT_EQ, + [9561] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(237), 1, + anon_sym_COMMA, + STATE(122), 1, + aux_sym__variable_assignment_explist_repeat1, + STATE(129), 1, + sym_comment, + ACTIONS(406), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(408), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9601] = 18, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(179), 1, + anon_sym_CARET, + ACTIONS(187), 1, + anon_sym_PIPE, + ACTIONS(189), 1, + anon_sym_TILDE, + ACTIONS(191), 1, + anon_sym_AMP, + ACTIONS(195), 1, + anon_sym_PLUS, + ACTIONS(197), 1, + anon_sym_DASH, + ACTIONS(199), 1, + anon_sym_SLASH, + ACTIONS(201), 1, + anon_sym_DOT_DOT, + ACTIONS(299), 1, + anon_sym_or, + ACTIONS(301), 1, + anon_sym_and, + ACTIONS(410), 1, + anon_sym_do, + STATE(130), 1, sym_comment, - ACTIONS(135), 2, + ACTIONS(193), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(147), 2, + ACTIONS(203), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(141), 3, + ACTIONS(185), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(149), 4, + ACTIONS(207), 4, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_GT_EQ, - [8661] = 7, + [9663] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(416), 1, + anon_sym_EQ, + STATE(131), 1, + sym_comment, + ACTIONS(412), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(414), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9700] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(422), 1, + anon_sym_EQ, + STATE(132), 1, + sym_comment, + ACTIONS(418), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(420), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9737] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(428), 1, + anon_sym_EQ, + STATE(133), 1, + sym_comment, + ACTIONS(424), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(426), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9774] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(306), 1, - anon_sym_COMMA, - STATE(111), 1, - aux_sym__att_name_list_repeat1, - STATE(117), 1, + STATE(134), 1, sym_comment, - ACTIONS(353), 5, + ACTIONS(430), 4, ts_builtin_sym_end, anon_sym_SEMI, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(355), 15, + ACTIONS(432), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9581,109 +10594,107 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8701] = 18, + [9808] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(288), 1, - anon_sym_or, - ACTIONS(290), 1, - anon_sym_and, - ACTIONS(357), 1, + STATE(135), 1, + sym_comment, + ACTIONS(434), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(436), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, anon_sym_do, - STATE(118), 1, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9842] = 5, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(136), 1, sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - [8763] = 18, + ACTIONS(438), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(440), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9876] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(111), 1, - anon_sym_CARET, - ACTIONS(129), 1, - anon_sym_PIPE, - ACTIONS(131), 1, - anon_sym_TILDE, - ACTIONS(133), 1, - anon_sym_AMP, - ACTIONS(137), 1, - anon_sym_PLUS, - ACTIONS(139), 1, - anon_sym_DASH, - ACTIONS(143), 1, - anon_sym_SLASH, - ACTIONS(145), 1, - anon_sym_DOT_DOT, - ACTIONS(288), 1, - anon_sym_or, - ACTIONS(290), 1, - anon_sym_and, - ACTIONS(359), 1, - anon_sym_COMMA, - STATE(119), 1, + STATE(137), 1, sym_comment, - ACTIONS(135), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(147), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(141), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(149), 4, - anon_sym_LT_EQ, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_GT_EQ, - [8825] = 5, + ACTIONS(442), 4, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_COLON_COLON, + anon_sym_LPAREN, + ACTIONS(444), 16, + anon_sym_global, + anon_sym_return, + sym_break_statement, + anon_sym_goto, + anon_sym_do, + anon_sym_end, + anon_sym_while, + anon_sym_repeat, + anon_sym_until, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_for, + anon_sym_function, + anon_sym_local, + sym_identifier, + [9910] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(120), 1, + STATE(138), 1, sym_comment, - ACTIONS(361), 6, + ACTIONS(446), 4, ts_builtin_sym_end, anon_sym_SEMI, - anon_sym_EQ, - anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(363), 15, + ACTIONS(448), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9699,23 +10710,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8860] = 7, + [9944] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(212), 1, - anon_sym_COMMA, - STATE(121), 1, + STATE(139), 1, sym_comment, - STATE(122), 1, - aux_sym__variable_assignment_explist_repeat1, - ACTIONS(365), 4, + ACTIONS(450), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(367), 15, + ACTIONS(452), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9731,22 +10739,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8899] = 6, + [9978] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(373), 1, - anon_sym_COMMA, - STATE(122), 2, + STATE(140), 1, sym_comment, - aux_sym__variable_assignment_explist_repeat1, - ACTIONS(369), 4, + ACTIONS(454), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(371), 15, + ACTIONS(456), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9762,21 +10768,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8936] = 5, + [10012] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(123), 1, + STATE(141), 1, sym_comment, - ACTIONS(376), 6, + ACTIONS(458), 4, ts_builtin_sym_end, anon_sym_SEMI, - anon_sym_EQ, - anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(378), 15, + ACTIONS(460), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9792,21 +10797,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [8971] = 6, + [10046] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(384), 1, - anon_sym_EQ, - STATE(124), 1, + STATE(142), 1, sym_comment, - ACTIONS(380), 4, + ACTIONS(462), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(382), 15, + ACTIONS(464), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9822,19 +10826,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9007] = 5, + [10080] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(125), 1, + STATE(143), 1, sym_comment, - ACTIONS(386), 4, + ACTIONS(466), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(388), 15, + ACTIONS(468), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9850,19 +10855,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9040] = 5, + [10114] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(126), 1, + STATE(144), 1, sym_comment, - ACTIONS(390), 4, + ACTIONS(470), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(392), 15, + ACTIONS(472), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9878,19 +10884,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9073] = 5, + [10148] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(127), 1, + STATE(145), 1, sym_comment, - ACTIONS(394), 4, + ACTIONS(474), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(396), 15, + ACTIONS(476), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9906,19 +10913,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9106] = 5, + [10182] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(128), 1, + STATE(146), 1, sym_comment, - ACTIONS(398), 4, + ACTIONS(478), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(400), 15, + ACTIONS(480), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9934,19 +10942,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9139] = 5, + [10216] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(129), 1, + STATE(147), 1, sym_comment, - ACTIONS(402), 4, + ACTIONS(482), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(404), 15, + ACTIONS(484), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9962,19 +10971,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9172] = 5, + [10250] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(130), 1, + STATE(148), 1, sym_comment, - ACTIONS(406), 4, + ACTIONS(486), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(408), 15, + ACTIONS(488), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -9990,19 +11000,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9205] = 5, + [10284] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(131), 1, + STATE(149), 1, sym_comment, - ACTIONS(410), 4, + ACTIONS(490), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(412), 15, + ACTIONS(492), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10018,19 +11029,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9238] = 5, + [10318] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(132), 1, + STATE(150), 1, sym_comment, - ACTIONS(414), 4, + ACTIONS(494), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(416), 15, + ACTIONS(496), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10046,19 +11058,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9271] = 5, + [10352] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(133), 1, + STATE(151), 1, sym_comment, - ACTIONS(418), 4, + ACTIONS(498), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(420), 15, + ACTIONS(500), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10074,19 +11087,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9304] = 5, + [10386] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(134), 1, + STATE(152), 1, sym_comment, - ACTIONS(422), 4, + ACTIONS(502), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(424), 15, + ACTIONS(504), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10102,19 +11116,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9337] = 5, + [10420] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(135), 1, + STATE(153), 1, sym_comment, - ACTIONS(298), 4, + ACTIONS(506), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(300), 15, + ACTIONS(508), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10130,19 +11145,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9370] = 5, + [10454] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(136), 1, + STATE(154), 1, sym_comment, - ACTIONS(426), 4, + ACTIONS(510), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(428), 15, + ACTIONS(512), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10158,19 +11174,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9403] = 5, + [10488] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(137), 1, + STATE(155), 1, sym_comment, - ACTIONS(430), 4, + ACTIONS(514), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(432), 15, + ACTIONS(516), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10186,19 +11203,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9436] = 5, + [10522] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(138), 1, + STATE(156), 1, sym_comment, - ACTIONS(434), 4, + ACTIONS(518), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(436), 15, + ACTIONS(520), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10214,19 +11232,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9469] = 5, + [10556] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(139), 1, + STATE(157), 1, sym_comment, - ACTIONS(438), 4, + ACTIONS(522), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(440), 15, + ACTIONS(524), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10242,19 +11261,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9502] = 5, + [10590] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(140), 1, + STATE(158), 1, sym_comment, - ACTIONS(442), 4, + ACTIONS(526), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(444), 15, + ACTIONS(528), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10270,19 +11290,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9535] = 5, + [10624] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(141), 1, + STATE(159), 1, sym_comment, - ACTIONS(446), 4, + ACTIONS(530), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(448), 15, + ACTIONS(532), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10298,19 +11319,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9568] = 5, + [10658] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(142), 1, + STATE(160), 1, sym_comment, - ACTIONS(450), 4, + ACTIONS(534), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(452), 15, + ACTIONS(536), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10326,19 +11348,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9601] = 5, + [10692] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(143), 1, + STATE(161), 1, sym_comment, - ACTIONS(454), 4, + ACTIONS(538), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(456), 15, + ACTIONS(540), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10354,19 +11377,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9634] = 5, + [10726] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(144), 1, + STATE(162), 1, sym_comment, - ACTIONS(458), 4, + ACTIONS(542), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(460), 15, + ACTIONS(544), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10382,19 +11406,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9667] = 5, + [10760] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(145), 1, + STATE(163), 1, sym_comment, - ACTIONS(462), 4, + ACTIONS(546), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(464), 15, + ACTIONS(548), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10410,19 +11435,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9700] = 5, + [10794] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(146), 1, + STATE(164), 1, sym_comment, - ACTIONS(466), 4, + ACTIONS(550), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(468), 15, + ACTIONS(552), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10438,19 +11464,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9733] = 5, + [10828] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(147), 1, + STATE(165), 1, sym_comment, - ACTIONS(470), 4, + ACTIONS(554), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(472), 15, + ACTIONS(556), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10466,19 +11493,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9766] = 5, + [10862] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(148), 1, + STATE(166), 1, sym_comment, - ACTIONS(474), 4, + ACTIONS(558), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(476), 15, + ACTIONS(560), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10494,19 +11522,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9799] = 5, + [10896] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(149), 1, + STATE(167), 1, sym_comment, - ACTIONS(478), 4, + ACTIONS(562), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(480), 15, + ACTIONS(564), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10522,19 +11551,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9832] = 5, + [10930] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(150), 1, + STATE(168), 1, sym_comment, - ACTIONS(482), 4, + ACTIONS(566), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(484), 15, + ACTIONS(568), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10550,19 +11580,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9865] = 5, + [10964] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(151), 1, + STATE(169), 1, sym_comment, - ACTIONS(486), 4, + ACTIONS(309), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(488), 15, + ACTIONS(311), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10578,19 +11609,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9898] = 5, + [10998] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(152), 1, + STATE(170), 1, sym_comment, - ACTIONS(490), 4, + ACTIONS(570), 4, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(492), 15, + ACTIONS(572), 16, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10606,14 +11638,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9931] = 5, + [11032] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(153), 1, + STATE(171), 1, sym_comment, - ACTIONS(494), 7, + ACTIONS(574), 7, anon_sym_function, sym_nil, sym_false, @@ -10621,30 +11653,31 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DASH, anon_sym_not, sym_identifier, - ACTIONS(496), 11, + ACTIONS(576), 11, sym__block_string_start, sym_number, anon_sym_DQUOTE, anon_sym_SQUOTE, - sym_vararg_expression, + anon_sym_DOT_DOT_DOT, anon_sym_LPAREN, anon_sym_LBRACK, anon_sym_LBRACE, anon_sym_RBRACE, anon_sym_TILDE, anon_sym_POUND, - [9963] = 5, + [11064] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(154), 1, + STATE(172), 1, sym_comment, - ACTIONS(500), 3, + ACTIONS(580), 3, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(498), 12, + ACTIONS(578), 13, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10657,18 +11690,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [9992] = 5, + [11094] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(155), 1, + STATE(173), 1, sym_comment, - ACTIONS(504), 3, + ACTIONS(584), 3, anon_sym_SEMI, anon_sym_COLON_COLON, anon_sym_LPAREN, - ACTIONS(502), 12, + ACTIONS(582), 13, + anon_sym_global, anon_sym_return, sym_break_statement, anon_sym_goto, @@ -10681,26 +11715,26 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_function, anon_sym_local, sym_identifier, - [10021] = 15, + [11124] = 15, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(506), 1, + ACTIONS(586), 1, anon_sym_DOT, - ACTIONS(508), 1, + ACTIONS(588), 1, anon_sym_COLON, - ACTIONS(510), 1, + ACTIONS(590), 1, anon_sym_DQUOTE, - ACTIONS(512), 1, + ACTIONS(592), 1, anon_sym_SQUOTE, - ACTIONS(514), 1, + ACTIONS(594), 1, anon_sym_LPAREN, - ACTIONS(516), 1, + ACTIONS(596), 1, anon_sym_LBRACK, - ACTIONS(518), 1, + ACTIONS(598), 1, anon_sym_LBRACE, - ACTIONS(520), 1, + ACTIONS(600), 1, sym__block_string_start, STATE(7), 1, sym_arguments, @@ -10708,25 +11742,25 @@ static const uint16_t ts_small_parse_table[] = { sym__quote_string, STATE(14), 1, sym__block_string, - STATE(156), 1, + STATE(174), 1, sym_comment, - STATE(6), 2, + STATE(8), 2, sym_string, sym_table_constructor, - [10068] = 7, + [11171] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(522), 1, + ACTIONS(602), 1, anon_sym_EQ, - ACTIONS(524), 1, + ACTIONS(604), 1, anon_sym_COMMA, - STATE(157), 1, + STATE(175), 1, sym_comment, - STATE(196), 1, + STATE(226), 1, aux_sym__variable_assignment_varlist_repeat1, - ACTIONS(73), 8, + ACTIONS(59), 8, sym__block_string_start, anon_sym_DOT, anon_sym_COLON, @@ -10735,45 +11769,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LBRACK, anon_sym_LBRACE, - [10097] = 12, - ACTIONS(3), 1, - anon_sym_DASH_DASH, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(510), 1, - anon_sym_DQUOTE, - ACTIONS(512), 1, - anon_sym_SQUOTE, - ACTIONS(514), 1, - anon_sym_LPAREN, - ACTIONS(518), 1, - anon_sym_LBRACE, - ACTIONS(520), 1, - sym__block_string_start, - STATE(7), 1, - sym_arguments, - STATE(13), 1, - sym__quote_string, - STATE(14), 1, - sym__block_string, - STATE(158), 1, - sym_comment, - STATE(6), 2, - sym_string, - sym_table_constructor, - [10135] = 6, + [11200] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(286), 1, + ACTIONS(297), 1, anon_sym_else, - ACTIONS(526), 1, + ACTIONS(606), 1, anon_sym_COMMA, - STATE(159), 2, + STATE(176), 2, sym_comment, aux_sym__expression_list_repeat1, - ACTIONS(284), 7, + ACTIONS(295), 7, ts_builtin_sym_end, anon_sym_SEMI, anon_sym_do, @@ -10781,17 +11789,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_until, anon_sym_elseif, anon_sym_RPAREN, - [10161] = 5, + [11226] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(160), 1, + STATE(177), 1, sym_comment, - ACTIONS(529), 2, + ACTIONS(609), 2, anon_sym_EQ, anon_sym_COMMA, - ACTIONS(73), 8, + ACTIONS(59), 8, sym__block_string_start, anon_sym_DOT, anon_sym_COLON, @@ -10800,57 +11808,83 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LBRACK, anon_sym_LBRACE, - [10185] = 7, + [11250] = 12, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(294), 1, - anon_sym_COMMA, - ACTIONS(533), 1, - anon_sym_else, - STATE(159), 1, - aux_sym__expression_list_repeat1, - STATE(161), 1, + ACTIONS(590), 1, + anon_sym_DQUOTE, + ACTIONS(592), 1, + anon_sym_SQUOTE, + ACTIONS(594), 1, + anon_sym_LPAREN, + ACTIONS(598), 1, + anon_sym_LBRACE, + ACTIONS(600), 1, + sym__block_string_start, + STATE(7), 1, + sym_arguments, + STATE(13), 1, + sym__quote_string, + STATE(14), 1, + sym__block_string, + STATE(178), 1, sym_comment, - ACTIONS(531), 6, - ts_builtin_sym_end, - anon_sym_SEMI, - anon_sym_do, - anon_sym_end, - anon_sym_until, - anon_sym_elseif, - [10212] = 10, + STATE(8), 2, + sym_string, + sym_table_constructor, + [11288] = 10, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(37), 1, + ACTIONS(39), 1, anon_sym_LPAREN, - ACTIONS(535), 1, + ACTIONS(611), 1, sym_identifier, - STATE(156), 1, + STATE(174), 1, sym__prefix_expression, - STATE(158), 1, - sym_method_index_expression, - STATE(160), 1, + STATE(177), 1, sym_variable, - STATE(162), 1, + STATE(178), 1, + sym_method_index_expression, + STATE(179), 1, sym_comment, STATE(2), 2, sym_bracket_index_expression, sym_dot_index_expression, - STATE(163), 2, + STATE(181), 2, sym_function_call, sym_parenthesized_expression, - [10245] = 4, + [11321] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(163), 1, + ACTIONS(305), 1, + anon_sym_COMMA, + ACTIONS(615), 1, + anon_sym_else, + STATE(176), 1, + aux_sym__expression_list_repeat1, + STATE(180), 1, + sym_comment, + ACTIONS(613), 6, + ts_builtin_sym_end, + anon_sym_SEMI, + anon_sym_do, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + [11348] = 4, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(181), 1, sym_comment, - ACTIONS(73), 8, + ACTIONS(59), 8, sym__block_string_start, anon_sym_DOT, anon_sym_COLON, @@ -10859,1753 +11893,1873 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LPAREN, anon_sym_LBRACK, anon_sym_LBRACE, - [10265] = 9, + [11368] = 10, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(119), 1, + ACTIONS(319), 1, + anon_sym_LT, + ACTIONS(617), 1, + sym_identifier, + ACTIONS(619), 1, + anon_sym_STAR, + ACTIONS(621), 1, + anon_sym_function, + STATE(133), 1, + sym__att_name_list, + STATE(160), 1, + sym__global_variable_assignment, + STATE(182), 1, + sym_comment, + STATE(203), 1, + sym__attrib, + [11399] = 9, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(115), 1, anon_sym_else, - ACTIONS(537), 1, + ACTIONS(623), 1, anon_sym_end, - ACTIONS(539), 1, + ACTIONS(625), 1, anon_sym_elseif, - STATE(164), 1, + STATE(183), 1, sym_comment, - STATE(175), 1, + STATE(186), 1, aux_sym_if_statement_repeat1, - STATE(198), 1, + STATE(225), 1, sym_elseif_statement, - STATE(220), 1, + STATE(239), 1, sym_else_statement, - [10293] = 9, + [11427] = 8, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(119), 1, + ACTIONS(627), 1, + sym_identifier, + ACTIONS(629), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(631), 1, + anon_sym_RPAREN, + STATE(184), 1, + sym_comment, + STATE(266), 1, + sym__parameter_list, + STATE(264), 2, + sym_vararg_expression, + sym_named_vararg, + [11453] = 9, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(115), 1, anon_sym_else, - ACTIONS(539), 1, + ACTIONS(625), 1, anon_sym_elseif, - ACTIONS(541), 1, + ACTIONS(633), 1, anon_sym_end, - STATE(165), 1, + STATE(185), 1, sym_comment, - STATE(166), 1, + STATE(195), 1, aux_sym_if_statement_repeat1, - STATE(198), 1, + STATE(225), 1, sym_elseif_statement, - STATE(214), 1, + STATE(243), 1, sym_else_statement, - [10321] = 9, + [11481] = 9, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(119), 1, + ACTIONS(115), 1, anon_sym_else, - ACTIONS(539), 1, + ACTIONS(625), 1, anon_sym_elseif, - ACTIONS(543), 1, + ACTIONS(635), 1, anon_sym_end, - STATE(166), 1, + STATE(186), 1, sym_comment, - STATE(175), 1, + STATE(195), 1, aux_sym_if_statement_repeat1, - STATE(198), 1, + STATE(225), 1, sym_elseif_statement, - STATE(234), 1, + STATE(281), 1, sym_else_statement, - [10349] = 6, + [11509] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(547), 1, + ACTIONS(639), 1, anon_sym_SEMI, - ACTIONS(549), 1, + ACTIONS(641), 1, anon_sym_else, - STATE(167), 1, + STATE(187), 1, sym_comment, - ACTIONS(545), 4, + ACTIONS(637), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_until, anon_sym_elseif, - [10371] = 8, + [11531] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(551), 1, - sym_identifier, - STATE(168), 1, + ACTIONS(646), 1, + anon_sym_RBRACE, + STATE(66), 1, + sym__field_sep, + ACTIONS(643), 2, + anon_sym_SEMI, + anon_sym_COMMA, + STATE(188), 2, sym_comment, - STATE(193), 1, - sym__function_name_dot_index_expression, - STATE(199), 1, - sym__function_name, - STATE(204), 1, - sym__function_name_prefix_expression, - STATE(259), 1, - sym__function_name_method_index_expression, - [10396] = 7, + aux_sym__field_list_repeat1, + [11552] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(555), 1, - anon_sym_RBRACE, - STATE(62), 1, - sym__field_sep, - STATE(169), 1, + STATE(189), 1, sym_comment, - STATE(170), 1, - aux_sym__field_list_repeat1, - ACTIONS(553), 2, - anon_sym_SEMI, - anon_sym_COMMA, - [10419] = 7, + ACTIONS(648), 5, + sym__block_string_start, + anon_sym_DQUOTE, + anon_sym_SQUOTE, + anon_sym_LPAREN, + anon_sym_LBRACE, + [11569] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(274), 1, + ACTIONS(285), 1, anon_sym_RBRACE, STATE(64), 1, sym__field_sep, - STATE(170), 1, - sym_comment, - STATE(172), 1, + STATE(188), 1, aux_sym__field_list_repeat1, - ACTIONS(553), 2, + STATE(190), 1, + sym_comment, + ACTIONS(650), 2, anon_sym_SEMI, anon_sym_COMMA, - [10442] = 5, + [11592] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(559), 1, + ACTIONS(641), 1, anon_sym_else, - STATE(171), 1, + STATE(191), 1, sym_comment, - ACTIONS(557), 4, + ACTIONS(637), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_until, anon_sym_elseif, - [10461] = 6, + [11611] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(564), 1, + ACTIONS(652), 1, anon_sym_RBRACE, - STATE(66), 1, + STATE(63), 1, sym__field_sep, - ACTIONS(561), 2, + STATE(190), 1, + aux_sym__field_list_repeat1, + STATE(192), 1, + sym_comment, + ACTIONS(650), 2, anon_sym_SEMI, anon_sym_COMMA, - STATE(172), 2, - sym_comment, - aux_sym__field_list_repeat1, - [10482] = 4, + [11634] = 8, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(173), 1, + ACTIONS(654), 1, + sym_identifier, + STATE(193), 1, sym_comment, - ACTIONS(566), 5, - sym__block_string_start, - anon_sym_DQUOTE, - anon_sym_SQUOTE, - anon_sym_LPAREN, - anon_sym_LBRACE, - [10499] = 5, + STATE(216), 1, + sym__function_name, + STATE(222), 1, + sym__function_name_dot_index_expression, + STATE(223), 1, + sym__function_name_prefix_expression, + STATE(240), 1, + sym__function_name_method_index_expression, + [11659] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(549), 1, + ACTIONS(658), 1, anon_sym_else, - STATE(174), 1, + STATE(194), 1, sym_comment, - ACTIONS(545), 4, + ACTIONS(656), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_until, anon_sym_elseif, - [10518] = 7, + [11678] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(568), 1, + ACTIONS(660), 1, anon_sym_end, - ACTIONS(570), 1, + ACTIONS(662), 1, anon_sym_elseif, - ACTIONS(573), 1, + ACTIONS(665), 1, anon_sym_else, - STATE(198), 1, + STATE(225), 1, sym_elseif_statement, - STATE(175), 2, + STATE(195), 2, sym_comment, aux_sym_if_statement_repeat1, - [10541] = 5, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(575), 1, - anon_sym_SQUOTE, - ACTIONS(580), 1, - anon_sym_DASH_DASH, - ACTIONS(577), 2, - aux_sym__singlequote_string_content_token1, - sym_escape_sequence, - STATE(176), 2, - aux_sym__singlequote_string_content, - sym_comment, - [10559] = 6, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(580), 1, - anon_sym_DASH_DASH, - ACTIONS(582), 1, - anon_sym_SQUOTE, - STATE(176), 1, - aux_sym__singlequote_string_content, - STATE(177), 1, - sym_comment, - ACTIONS(584), 2, - aux_sym__singlequote_string_content_token1, - sym_escape_sequence, - [10579] = 5, + [11701] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(588), 1, + ACTIONS(669), 1, anon_sym_else, - STATE(178), 1, + STATE(196), 1, sym_comment, - ACTIONS(586), 3, + ACTIONS(667), 3, anon_sym_end, anon_sym_until, anon_sym_elseif, - [10597] = 7, - ACTIONS(3), 1, - anon_sym_DASH_DASH, + [11719] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(590), 1, - anon_sym_EQ, - ACTIONS(592), 1, - anon_sym_COMMA, - ACTIONS(594), 1, - anon_sym_in, - STATE(179), 1, + ACTIONS(671), 1, + anon_sym_SQUOTE, + ACTIONS(675), 1, + anon_sym_DASH_DASH, + STATE(197), 1, sym_comment, - STATE(210), 1, - aux_sym__name_list_repeat1, - [10619] = 6, + STATE(201), 1, + aux_sym__singlequote_string_content, + ACTIONS(673), 2, + aux_sym__singlequote_string_content_token1, + sym_escape_sequence, + [11739] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(596), 1, - anon_sym_DQUOTE, - STATE(180), 1, + ACTIONS(677), 1, + anon_sym_SQUOTE, + STATE(198), 1, sym_comment, - STATE(187), 1, - aux_sym__doublequote_string_content, - ACTIONS(598), 2, - aux_sym__doublequote_string_content_token1, + STATE(201), 1, + aux_sym__singlequote_string_content, + ACTIONS(673), 2, + aux_sym__singlequote_string_content_token1, sym_escape_sequence, - [10639] = 5, + [11759] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(600), 1, - anon_sym_COMMA, - ACTIONS(603), 2, - anon_sym_in, - anon_sym_RPAREN, - STATE(181), 2, + ACTIONS(119), 1, + anon_sym_else, + STATE(199), 1, sym_comment, - aux_sym__name_list_repeat1, - [10657] = 6, + ACTIONS(679), 3, + anon_sym_end, + anon_sym_until, + anon_sym_elseif, + [11777] = 5, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(605), 1, + ACTIONS(681), 1, anon_sym_DQUOTE, - STATE(180), 1, - aux_sym__doublequote_string_content, - STATE(182), 1, - sym_comment, - ACTIONS(598), 2, + ACTIONS(683), 2, aux_sym__doublequote_string_content_token1, sym_escape_sequence, - [10677] = 6, + STATE(200), 2, + aux_sym__doublequote_string_content, + sym_comment, + [11795] = 5, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(605), 1, + ACTIONS(686), 1, anon_sym_SQUOTE, - STATE(183), 1, - sym_comment, - STATE(192), 1, - aux_sym__singlequote_string_content, - ACTIONS(584), 2, + ACTIONS(688), 2, aux_sym__singlequote_string_content_token1, sym_escape_sequence, - [10697] = 6, + STATE(201), 2, + aux_sym__singlequote_string_content, + sym_comment, + [11813] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(607), 1, + ACTIONS(691), 1, sym_identifier, - STATE(184), 1, + STATE(202), 1, sym_comment, - STATE(251), 1, + STATE(246), 1, sym__name_list, - STATE(232), 2, + STATE(235), 2, sym_for_generic_clause, sym_for_numeric_clause, - [10717] = 7, + [11833] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(693), 1, + sym_identifier, + ACTIONS(695), 1, + anon_sym_STAR, + STATE(131), 1, + sym__name_list, + STATE(151), 1, + sym__global_prefixed_variable_assignment, + STATE(203), 1, + sym_comment, + [11855] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(609), 1, + ACTIONS(629), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(697), 1, sym_identifier, - ACTIONS(611), 1, + STATE(204), 1, + sym_comment, + STATE(260), 1, sym_vararg_expression, - ACTIONS(613), 1, - anon_sym_RPAREN, - STATE(185), 1, + STATE(261), 1, + sym_named_vararg, + [11877] = 7, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(340), 1, + anon_sym_COMMA, + ACTIONS(350), 1, + anon_sym_in, + ACTIONS(699), 1, + anon_sym_EQ, + STATE(108), 1, + aux_sym__name_list_repeat1, + STATE(205), 1, sym_comment, - STATE(244), 1, - sym__parameter_list, - [10739] = 5, + [11899] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(161), 1, - anon_sym_else, - STATE(186), 1, + ACTIONS(629), 1, + anon_sym_DOT_DOT_DOT, + ACTIONS(697), 1, + sym_identifier, + STATE(206), 1, sym_comment, - ACTIONS(615), 3, - anon_sym_end, - anon_sym_until, - anon_sym_elseif, - [10757] = 5, + STATE(250), 2, + sym_vararg_expression, + sym_named_vararg, + [11919] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(617), 1, + ACTIONS(701), 1, anon_sym_DQUOTE, - ACTIONS(619), 2, + STATE(207), 1, + sym_comment, + STATE(212), 1, + aux_sym__doublequote_string_content, + ACTIONS(703), 2, aux_sym__doublequote_string_content_token1, sym_escape_sequence, - STATE(187), 2, - aux_sym__doublequote_string_content, + [11939] = 6, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(675), 1, + anon_sym_DASH_DASH, + ACTIONS(701), 1, + anon_sym_SQUOTE, + STATE(198), 1, + aux_sym__singlequote_string_content, + STATE(208), 1, sym_comment, - [10775] = 7, + ACTIONS(673), 2, + aux_sym__singlequote_string_content_token1, + sym_escape_sequence, + [11959] = 7, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(622), 1, + ACTIONS(617), 1, sym_identifier, - ACTIONS(624), 1, + ACTIONS(705), 1, anon_sym_function, - STATE(124), 1, + STATE(132), 1, sym__att_name_list, STATE(146), 1, sym__local_variable_assignment, - STATE(188), 1, + STATE(209), 1, sym_comment, - [10797] = 6, + [11981] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(626), 1, + ACTIONS(707), 1, anon_sym_DQUOTE, - STATE(189), 1, + STATE(210), 1, sym_comment, - STATE(191), 1, + STATE(213), 1, aux_sym__doublequote_string_content, - ACTIONS(598), 2, + ACTIONS(703), 2, aux_sym__doublequote_string_content_token1, sym_escape_sequence, - [10817] = 6, + [12001] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(626), 1, + ACTIONS(707), 1, anon_sym_SQUOTE, - STATE(177), 1, + STATE(197), 1, aux_sym__singlequote_string_content, - STATE(190), 1, + STATE(211), 1, sym_comment, - ACTIONS(584), 2, + ACTIONS(673), 2, aux_sym__singlequote_string_content_token1, sym_escape_sequence, - [10837] = 6, + [12021] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(582), 1, + ACTIONS(677), 1, anon_sym_DQUOTE, - STATE(187), 1, + STATE(200), 1, aux_sym__doublequote_string_content, - STATE(191), 1, + STATE(212), 1, sym_comment, - ACTIONS(598), 2, + ACTIONS(703), 2, aux_sym__doublequote_string_content_token1, sym_escape_sequence, - [10857] = 6, + [12041] = 6, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(671), 1, + anon_sym_DQUOTE, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(596), 1, - anon_sym_SQUOTE, - STATE(176), 1, - aux_sym__singlequote_string_content, - STATE(192), 1, + STATE(200), 1, + aux_sym__doublequote_string_content, + STATE(213), 1, sym_comment, - ACTIONS(584), 2, - aux_sym__singlequote_string_content_token1, + ACTIONS(703), 2, + aux_sym__doublequote_string_content_token1, sym_escape_sequence, - [10877] = 4, + [12061] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(193), 1, - sym_comment, - ACTIONS(628), 3, - anon_sym_DOT, - anon_sym_COLON, + ACTIONS(709), 1, anon_sym_LPAREN, - [10892] = 5, + STATE(51), 1, + sym_parameters, + STATE(144), 1, + sym__function_body, + STATE(214), 1, + sym_comment, + [12080] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(630), 1, - anon_sym_EQ, - ACTIONS(632), 1, - anon_sym_COMMA, - STATE(194), 2, + STATE(215), 1, sym_comment, - aux_sym__variable_assignment_varlist_repeat1, - [10909] = 4, + ACTIONS(646), 3, + anon_sym_SEMI, + anon_sym_COMMA, + anon_sym_RBRACE, + [12095] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(195), 1, - sym_comment, - ACTIONS(635), 3, - anon_sym_DOT, - anon_sym_COLON, + ACTIONS(709), 1, anon_sym_LPAREN, - [10924] = 6, + STATE(51), 1, + sym_parameters, + STATE(141), 1, + sym__function_body, + STATE(216), 1, + sym_comment, + [12114] = 5, + ACTIONS(5), 1, + sym__block_comment_start, + ACTIONS(675), 1, + anon_sym_DASH_DASH, + ACTIONS(711), 1, + anon_sym_DQUOTE, + STATE(217), 1, + sym_comment, + ACTIONS(713), 2, + aux_sym__doublequote_string_content_token1, + sym_escape_sequence, + [12131] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(524), 1, - anon_sym_COMMA, - ACTIONS(637), 1, - anon_sym_EQ, - STATE(194), 1, - aux_sym__variable_assignment_varlist_repeat1, - STATE(196), 1, + ACTIONS(709), 1, + anon_sym_LPAREN, + STATE(24), 1, + sym__function_body, + STATE(51), 1, + sym_parameters, + STATE(218), 1, sym_comment, - [10943] = 4, + [12150] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(197), 1, + STATE(219), 1, sym_comment, - ACTIONS(639), 3, + ACTIONS(715), 3, anon_sym_DOT, anon_sym_COLON, anon_sym_LPAREN, - [10958] = 5, + [12165] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(643), 1, + ACTIONS(719), 1, anon_sym_else, - STATE(198), 1, + STATE(220), 1, sym_comment, - ACTIONS(641), 2, + ACTIONS(717), 2, anon_sym_end, anon_sym_elseif, - [10975] = 6, + [12182] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(645), 1, + STATE(221), 1, + sym_comment, + ACTIONS(721), 3, + anon_sym_DOT, + anon_sym_COLON, anon_sym_LPAREN, - STATE(50), 1, - sym_parameters, - STATE(126), 1, - sym__function_body, - STATE(199), 1, + [12197] = 4, + ACTIONS(3), 1, + anon_sym_DASH_DASH, + ACTIONS(5), 1, + sym__block_comment_start, + STATE(222), 1, sym_comment, - [10994] = 5, + ACTIONS(723), 3, + anon_sym_DOT, + anon_sym_COLON, + anon_sym_LPAREN, + [12212] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(649), 1, - anon_sym_else, - STATE(200), 1, + ACTIONS(725), 1, + anon_sym_DOT, + ACTIONS(727), 1, + anon_sym_COLON, + ACTIONS(729), 1, + anon_sym_LPAREN, + STATE(223), 1, sym_comment, - ACTIONS(647), 2, - anon_sym_end, - anon_sym_elseif, - [11011] = 6, + [12231] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(294), 1, + ACTIONS(731), 1, anon_sym_COMMA, - ACTIONS(651), 1, + ACTIONS(733), 1, anon_sym_RPAREN, - STATE(159), 1, - aux_sym__expression_list_repeat1, - STATE(201), 1, + STATE(105), 1, + aux_sym__name_list_repeat1, + STATE(224), 1, sym_comment, - [11030] = 6, + [12250] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(653), 1, - anon_sym_COMMA, - ACTIONS(655), 1, - anon_sym_RPAREN, - STATE(202), 1, + ACTIONS(737), 1, + anon_sym_else, + STATE(225), 1, sym_comment, - STATE(209), 1, - aux_sym__name_list_repeat1, - [11049] = 6, + ACTIONS(735), 2, + anon_sym_end, + anon_sym_elseif, + [12267] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(645), 1, - anon_sym_LPAREN, - STATE(41), 1, - sym__function_body, - STATE(50), 1, - sym_parameters, - STATE(203), 1, + ACTIONS(604), 1, + anon_sym_COMMA, + ACTIONS(739), 1, + anon_sym_EQ, + STATE(226), 1, sym_comment, - [11068] = 6, + STATE(230), 1, + aux_sym__variable_assignment_varlist_repeat1, + [12286] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(657), 1, - anon_sym_DOT, - ACTIONS(659), 1, - anon_sym_COLON, - ACTIONS(661), 1, - anon_sym_LPAREN, - STATE(204), 1, + ACTIONS(741), 1, + anon_sym_COMMA, + ACTIONS(743), 1, + anon_sym_RPAREN, + STATE(224), 1, + aux_sym__name_list_repeat1, + STATE(227), 1, sym_comment, - [11087] = 5, + [12305] = 6, + ACTIONS(3), 1, + anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, - anon_sym_DASH_DASH, - ACTIONS(663), 1, - anon_sym_DQUOTE, - STATE(205), 1, + ACTIONS(709), 1, + anon_sym_LPAREN, + STATE(51), 1, + sym_parameters, + STATE(154), 1, + sym__function_body, + STATE(228), 1, sym_comment, - ACTIONS(665), 2, - aux_sym__doublequote_string_content_token1, - sym_escape_sequence, - [11104] = 5, + [12324] = 5, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(580), 1, + ACTIONS(675), 1, anon_sym_DASH_DASH, - ACTIONS(667), 1, + ACTIONS(745), 1, anon_sym_SQUOTE, - STATE(206), 1, + STATE(229), 1, sym_comment, - ACTIONS(669), 2, + ACTIONS(747), 2, aux_sym__singlequote_string_content_token1, sym_escape_sequence, - [11121] = 4, + [12341] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(207), 1, - sym_comment, - ACTIONS(671), 3, + ACTIONS(749), 1, + anon_sym_EQ, + ACTIONS(751), 1, anon_sym_COMMA, - anon_sym_in, - anon_sym_RPAREN, - [11136] = 6, + STATE(230), 2, + sym_comment, + aux_sym__variable_assignment_varlist_repeat1, + [12358] = 6, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(645), 1, - anon_sym_LPAREN, - STATE(50), 1, - sym_parameters, - STATE(133), 1, - sym__function_body, - STATE(208), 1, + ACTIONS(305), 1, + anon_sym_COMMA, + ACTIONS(754), 1, + anon_sym_RPAREN, + STATE(176), 1, + aux_sym__expression_list_repeat1, + STATE(231), 1, sym_comment, - [11155] = 6, + [12377] = 5, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(673), 1, - anon_sym_COMMA, - ACTIONS(675), 1, + ACTIONS(213), 1, anon_sym_RPAREN, - STATE(181), 1, - aux_sym__name_list_repeat1, - STATE(209), 1, + ACTIONS(756), 1, + sym_identifier, + STATE(232), 1, sym_comment, - [11174] = 6, + [12393] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(592), 1, - anon_sym_COMMA, - ACTIONS(677), 1, - anon_sym_in, - STATE(181), 1, - aux_sym__name_list_repeat1, - STATE(210), 1, + ACTIONS(758), 1, + sym_identifier, + STATE(233), 1, sym_comment, - [11193] = 4, + [12406] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - STATE(211), 1, + ACTIONS(229), 1, + ts_builtin_sym_end, + STATE(234), 1, sym_comment, - ACTIONS(564), 3, - anon_sym_SEMI, - anon_sym_COMMA, - anon_sym_RBRACE, - [11208] = 5, + [12419] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(679), 1, - sym_identifier, - ACTIONS(681), 1, - sym_vararg_expression, - STATE(212), 1, + ACTIONS(760), 1, + anon_sym_do, + STATE(235), 1, sym_comment, - [11224] = 5, + [12432] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(679), 1, + ACTIONS(762), 1, sym_identifier, - ACTIONS(683), 1, - sym_vararg_expression, - STATE(213), 1, + STATE(236), 1, sym_comment, - [11240] = 4, + [12445] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(685), 1, + ACTIONS(764), 1, anon_sym_end, - STATE(214), 1, + STATE(237), 1, sym_comment, - [11253] = 4, - ACTIONS(3), 1, - anon_sym_DASH_DASH, + [12458] = 4, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(687), 1, - sym_identifier, - STATE(215), 1, + ACTIONS(675), 1, + anon_sym_DASH_DASH, + ACTIONS(766), 1, + aux_sym_comment_token1, + STATE(238), 1, sym_comment, - [11266] = 4, + [12471] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(689), 1, + ACTIONS(768), 1, anon_sym_end, - STATE(216), 1, + STATE(239), 1, sym_comment, - [11279] = 4, + [12484] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(691), 1, - anon_sym_do, - STATE(217), 1, + ACTIONS(770), 1, + anon_sym_LPAREN, + STATE(240), 1, sym_comment, - [11292] = 4, + [12497] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(693), 1, + ACTIONS(772), 1, sym_identifier, - STATE(218), 1, + STATE(241), 1, sym_comment, - [11305] = 4, + [12510] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(695), 1, - sym__block_comment_end, - STATE(219), 1, + ACTIONS(774), 1, + anon_sym_end, + STATE(242), 1, sym_comment, - [11318] = 4, + [12523] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(697), 1, + ACTIONS(776), 1, anon_sym_end, - STATE(220), 1, + STATE(243), 1, sym_comment, - [11331] = 4, + [12536] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(699), 1, - anon_sym_LPAREN, - STATE(221), 1, + ACTIONS(778), 1, + sym_identifier, + STATE(244), 1, sym_comment, - [11344] = 4, + [12549] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(701), 1, + ACTIONS(780), 1, sym_identifier, - STATE(222), 1, + STATE(245), 1, sym_comment, - [11357] = 4, + [12562] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(703), 1, - sym_identifier, - STATE(223), 1, + ACTIONS(782), 1, + anon_sym_in, + STATE(246), 1, sym_comment, - [11370] = 4, + [12575] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(705), 1, - sym_identifier, - STATE(224), 1, + ACTIONS(784), 1, + sym__block_string_end, + STATE(247), 1, sym_comment, - [11383] = 4, + [12588] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(707), 1, - anon_sym_EQ, - STATE(225), 1, + ACTIONS(786), 1, + sym__block_string_content, + STATE(248), 1, sym_comment, - [11396] = 4, + [12601] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(709), 1, - anon_sym_end, - STATE(226), 1, + ACTIONS(788), 1, + anon_sym_RBRACE, + STATE(249), 1, sym_comment, - [11409] = 4, + [12614] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(711), 1, - anon_sym_until, - STATE(227), 1, + ACTIONS(790), 1, + anon_sym_RPAREN, + STATE(250), 1, sym_comment, - [11422] = 4, + [12627] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(713), 1, - sym_identifier, - STATE(228), 1, + ACTIONS(792), 1, + sym__block_comment_content, + STATE(251), 1, sym_comment, - [11435] = 4, + [12640] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(715), 1, - anon_sym_RPAREN, - STATE(229), 1, + ACTIONS(794), 1, + anon_sym_end, + STATE(252), 1, sym_comment, - [11448] = 4, + [12653] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(717), 1, - anon_sym_GT, - STATE(230), 1, + ACTIONS(796), 1, + anon_sym_do, + STATE(253), 1, sym_comment, - [11461] = 4, + [12666] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(719), 1, - sym_identifier, - STATE(231), 1, + ACTIONS(798), 1, + anon_sym_COLON_COLON, + STATE(254), 1, sym_comment, - [11474] = 4, + [12679] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(721), 1, - anon_sym_do, - STATE(232), 1, + ACTIONS(800), 1, + anon_sym_LPAREN, + STATE(255), 1, sym_comment, - [11487] = 4, + [12692] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(723), 1, - anon_sym_end, - STATE(233), 1, + ACTIONS(802), 1, + sym_identifier, + STATE(256), 1, sym_comment, - [11500] = 4, + [12705] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(725), 1, + ACTIONS(804), 1, anon_sym_end, - STATE(234), 1, + STATE(257), 1, sym_comment, - [11513] = 4, + [12718] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(727), 1, - ts_builtin_sym_end, - STATE(235), 1, + ACTIONS(806), 1, + anon_sym_until, + STATE(258), 1, sym_comment, - [11526] = 4, + [12731] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(729), 1, + ACTIONS(697), 1, sym_identifier, - STATE(236), 1, + STATE(259), 1, sym_comment, - [11539] = 4, + [12744] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(731), 1, + ACTIONS(808), 1, anon_sym_RPAREN, - STATE(237), 1, + STATE(260), 1, sym_comment, - [11552] = 4, + [12757] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(242), 1, - ts_builtin_sym_end, - STATE(238), 1, + ACTIONS(808), 1, + anon_sym_RPAREN, + STATE(261), 1, sym_comment, - [11565] = 4, + [12770] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(733), 1, - anon_sym_COLON_COLON, - STATE(239), 1, + ACTIONS(810), 1, + sym_identifier, + STATE(262), 1, sym_comment, - [11578] = 4, + [12783] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(735), 1, - sym__block_string_end, - STATE(240), 1, + ACTIONS(812), 1, + anon_sym_end, + STATE(263), 1, sym_comment, - [11591] = 4, + [12796] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(737), 1, + ACTIONS(814), 1, anon_sym_RPAREN, - STATE(241), 1, + STATE(264), 1, sym_comment, - [11604] = 4, + [12809] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(240), 1, + ACTIONS(816), 1, ts_builtin_sym_end, - STATE(242), 1, + STATE(265), 1, sym_comment, - [11617] = 4, + [12822] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(739), 1, - anon_sym_end, - STATE(243), 1, + ACTIONS(818), 1, + anon_sym_RPAREN, + STATE(266), 1, sym_comment, - [11630] = 4, + [12835] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(741), 1, - anon_sym_RPAREN, - STATE(244), 1, + ACTIONS(820), 1, + sym_identifier, + STATE(267), 1, sym_comment, - [11643] = 4, + [12848] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(743), 1, - anon_sym_end, - STATE(245), 1, + ACTIONS(822), 1, + anon_sym_RPAREN, + STATE(268), 1, sym_comment, - [11656] = 4, + [12861] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(745), 1, - anon_sym_end, - STATE(246), 1, + ACTIONS(824), 1, + anon_sym_GT, + STATE(269), 1, sym_comment, - [11669] = 4, + [12874] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(747), 1, - sym__block_string_content, - STATE(247), 1, + ACTIONS(826), 1, + ts_builtin_sym_end, + STATE(270), 1, sym_comment, - [11682] = 4, + [12887] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(679), 1, + ACTIONS(828), 1, sym_identifier, - STATE(248), 1, + STATE(271), 1, sym_comment, - [11695] = 4, + [12900] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(749), 1, - anon_sym_EQ, - STATE(249), 1, + ACTIONS(231), 1, + ts_builtin_sym_end, + STATE(272), 1, sym_comment, - [11708] = 4, + [12913] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(751), 1, - ts_builtin_sym_end, - STATE(250), 1, + ACTIONS(830), 1, + anon_sym_EQ, + STATE(273), 1, sym_comment, - [11721] = 4, + [12926] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(753), 1, - anon_sym_in, - STATE(251), 1, + ACTIONS(832), 1, + sym__block_comment_end, + STATE(274), 1, sym_comment, - [11734] = 4, + [12939] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(755), 1, - anon_sym_RBRACE, - STATE(252), 1, - sym_comment, - [11747] = 4, - ACTIONS(5), 1, - sym__block_comment_start, - ACTIONS(580), 1, - anon_sym_DASH_DASH, - ACTIONS(757), 1, - aux_sym_comment_token1, - STATE(253), 1, + ACTIONS(834), 1, + anon_sym_EQ, + STATE(275), 1, sym_comment, - [11760] = 4, + [12952] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(759), 1, + ACTIONS(836), 1, sym__block_string_end, - STATE(254), 1, + STATE(276), 1, sym_comment, - [11773] = 4, + [12965] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(761), 1, - sym__block_comment_content, - STATE(255), 1, + ACTIONS(838), 1, + sym_identifier, + STATE(277), 1, sym_comment, - [11786] = 4, + [12978] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(763), 1, - sym_identifier, - STATE(256), 1, + ACTIONS(840), 1, + anon_sym_end, + STATE(278), 1, sym_comment, - [11799] = 4, + [12991] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(765), 1, + ACTIONS(842), 1, anon_sym_RBRACE, - STATE(257), 1, + STATE(279), 1, sym_comment, - [11812] = 4, + [13004] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(767), 1, + ACTIONS(844), 1, sym__block_string_content, - STATE(258), 1, + STATE(280), 1, sym_comment, - [11825] = 4, + [13017] = 4, ACTIONS(3), 1, anon_sym_DASH_DASH, ACTIONS(5), 1, sym__block_comment_start, - ACTIONS(769), 1, - anon_sym_LPAREN, - STATE(259), 1, + ACTIONS(846), 1, + anon_sym_end, + STATE(281), 1, sym_comment, - [11838] = 1, - ACTIONS(771), 1, + [13030] = 1, + ACTIONS(848), 1, ts_builtin_sym_end, - [11842] = 1, - ACTIONS(773), 1, + [13034] = 1, + ACTIONS(850), 1, ts_builtin_sym_end, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 67, - [SMALL_STATE(4)] = 134, - [SMALL_STATE(5)] = 201, - [SMALL_STATE(6)] = 267, - [SMALL_STATE(7)] = 333, - [SMALL_STATE(8)] = 399, - [SMALL_STATE(9)] = 465, - [SMALL_STATE(10)] = 535, - [SMALL_STATE(11)] = 601, - [SMALL_STATE(12)] = 667, - [SMALL_STATE(13)] = 733, - [SMALL_STATE(14)] = 799, - [SMALL_STATE(15)] = 865, - [SMALL_STATE(16)] = 931, - [SMALL_STATE(17)] = 997, - [SMALL_STATE(18)] = 1063, - [SMALL_STATE(19)] = 1129, - [SMALL_STATE(20)] = 1188, - [SMALL_STATE(21)] = 1247, - [SMALL_STATE(22)] = 1306, - [SMALL_STATE(23)] = 1367, - [SMALL_STATE(24)] = 1494, - [SMALL_STATE(25)] = 1553, - [SMALL_STATE(26)] = 1612, - [SMALL_STATE(27)] = 1671, - [SMALL_STATE(28)] = 1730, - [SMALL_STATE(29)] = 1809, - [SMALL_STATE(30)] = 1892, - [SMALL_STATE(31)] = 1969, - [SMALL_STATE(32)] = 2044, - [SMALL_STATE(33)] = 2117, - [SMALL_STATE(34)] = 2188, - [SMALL_STATE(35)] = 2253, - [SMALL_STATE(36)] = 2314, - [SMALL_STATE(37)] = 2385, - [SMALL_STATE(38)] = 2446, - [SMALL_STATE(39)] = 2505, - [SMALL_STATE(40)] = 2564, - [SMALL_STATE(41)] = 2623, - [SMALL_STATE(42)] = 2682, - [SMALL_STATE(43)] = 2767, - [SMALL_STATE(44)] = 2879, - [SMALL_STATE(45)] = 2993, - [SMALL_STATE(46)] = 3101, - [SMALL_STATE(47)] = 3189, - [SMALL_STATE(48)] = 3272, - [SMALL_STATE(49)] = 3384, - [SMALL_STATE(50)] = 3496, - [SMALL_STATE(51)] = 3608, - [SMALL_STATE(52)] = 3690, - [SMALL_STATE(53)] = 3802, - [SMALL_STATE(54)] = 3884, - [SMALL_STATE(55)] = 3996, - [SMALL_STATE(56)] = 4108, - [SMALL_STATE(57)] = 4217, - [SMALL_STATE(58)] = 4326, - [SMALL_STATE(59)] = 4435, - [SMALL_STATE(60)] = 4526, - [SMALL_STATE(61)] = 4617, - [SMALL_STATE(62)] = 4708, - [SMALL_STATE(63)] = 4796, - [SMALL_STATE(64)] = 4884, - [SMALL_STATE(65)] = 4972, - [SMALL_STATE(66)] = 5021, - [SMALL_STATE(67)] = 5106, - [SMALL_STATE(68)] = 5188, - [SMALL_STATE(69)] = 5270, - [SMALL_STATE(70)] = 5352, - [SMALL_STATE(71)] = 5434, - [SMALL_STATE(72)] = 5513, - [SMALL_STATE(73)] = 5592, - [SMALL_STATE(74)] = 5671, - [SMALL_STATE(75)] = 5750, - [SMALL_STATE(76)] = 5829, - [SMALL_STATE(77)] = 5908, - [SMALL_STATE(78)] = 5987, - [SMALL_STATE(79)] = 6066, - [SMALL_STATE(80)] = 6145, - [SMALL_STATE(81)] = 6224, - [SMALL_STATE(82)] = 6303, - [SMALL_STATE(83)] = 6382, - [SMALL_STATE(84)] = 6461, - [SMALL_STATE(85)] = 6540, - [SMALL_STATE(86)] = 6619, - [SMALL_STATE(87)] = 6698, - [SMALL_STATE(88)] = 6777, - [SMALL_STATE(89)] = 6856, - [SMALL_STATE(90)] = 6935, - [SMALL_STATE(91)] = 7014, - [SMALL_STATE(92)] = 7093, - [SMALL_STATE(93)] = 7172, - [SMALL_STATE(94)] = 7251, - [SMALL_STATE(95)] = 7330, - [SMALL_STATE(96)] = 7409, - [SMALL_STATE(97)] = 7488, - [SMALL_STATE(98)] = 7567, - [SMALL_STATE(99)] = 7639, - [SMALL_STATE(100)] = 7715, - [SMALL_STATE(101)] = 7759, - [SMALL_STATE(102)] = 7805, - [SMALL_STATE(103)] = 7873, - [SMALL_STATE(104)] = 7937, - [SMALL_STATE(105)] = 8001, - [SMALL_STATE(106)] = 8065, - [SMALL_STATE(107)] = 8130, - [SMALL_STATE(108)] = 8171, - [SMALL_STATE(109)] = 8211, - [SMALL_STATE(110)] = 8251, - [SMALL_STATE(111)] = 8313, - [SMALL_STATE(112)] = 8351, - [SMALL_STATE(113)] = 8413, - [SMALL_STATE(114)] = 8475, - [SMALL_STATE(115)] = 8537, - [SMALL_STATE(116)] = 8599, - [SMALL_STATE(117)] = 8661, - [SMALL_STATE(118)] = 8701, - [SMALL_STATE(119)] = 8763, - [SMALL_STATE(120)] = 8825, - [SMALL_STATE(121)] = 8860, - [SMALL_STATE(122)] = 8899, - [SMALL_STATE(123)] = 8936, - [SMALL_STATE(124)] = 8971, - [SMALL_STATE(125)] = 9007, - [SMALL_STATE(126)] = 9040, - [SMALL_STATE(127)] = 9073, - [SMALL_STATE(128)] = 9106, - [SMALL_STATE(129)] = 9139, - [SMALL_STATE(130)] = 9172, - [SMALL_STATE(131)] = 9205, - [SMALL_STATE(132)] = 9238, - [SMALL_STATE(133)] = 9271, - [SMALL_STATE(134)] = 9304, - [SMALL_STATE(135)] = 9337, - [SMALL_STATE(136)] = 9370, - [SMALL_STATE(137)] = 9403, - [SMALL_STATE(138)] = 9436, - [SMALL_STATE(139)] = 9469, - [SMALL_STATE(140)] = 9502, - [SMALL_STATE(141)] = 9535, - [SMALL_STATE(142)] = 9568, - [SMALL_STATE(143)] = 9601, - [SMALL_STATE(144)] = 9634, - [SMALL_STATE(145)] = 9667, - [SMALL_STATE(146)] = 9700, - [SMALL_STATE(147)] = 9733, - [SMALL_STATE(148)] = 9766, - [SMALL_STATE(149)] = 9799, - [SMALL_STATE(150)] = 9832, - [SMALL_STATE(151)] = 9865, - [SMALL_STATE(152)] = 9898, - [SMALL_STATE(153)] = 9931, - [SMALL_STATE(154)] = 9963, - [SMALL_STATE(155)] = 9992, - [SMALL_STATE(156)] = 10021, - [SMALL_STATE(157)] = 10068, - [SMALL_STATE(158)] = 10097, - [SMALL_STATE(159)] = 10135, - [SMALL_STATE(160)] = 10161, - [SMALL_STATE(161)] = 10185, - [SMALL_STATE(162)] = 10212, - [SMALL_STATE(163)] = 10245, - [SMALL_STATE(164)] = 10265, - [SMALL_STATE(165)] = 10293, - [SMALL_STATE(166)] = 10321, - [SMALL_STATE(167)] = 10349, - [SMALL_STATE(168)] = 10371, - [SMALL_STATE(169)] = 10396, - [SMALL_STATE(170)] = 10419, - [SMALL_STATE(171)] = 10442, - [SMALL_STATE(172)] = 10461, - [SMALL_STATE(173)] = 10482, - [SMALL_STATE(174)] = 10499, - [SMALL_STATE(175)] = 10518, - [SMALL_STATE(176)] = 10541, - [SMALL_STATE(177)] = 10559, - [SMALL_STATE(178)] = 10579, - [SMALL_STATE(179)] = 10597, - [SMALL_STATE(180)] = 10619, - [SMALL_STATE(181)] = 10639, - [SMALL_STATE(182)] = 10657, - [SMALL_STATE(183)] = 10677, - [SMALL_STATE(184)] = 10697, - [SMALL_STATE(185)] = 10717, - [SMALL_STATE(186)] = 10739, - [SMALL_STATE(187)] = 10757, - [SMALL_STATE(188)] = 10775, - [SMALL_STATE(189)] = 10797, - [SMALL_STATE(190)] = 10817, - [SMALL_STATE(191)] = 10837, - [SMALL_STATE(192)] = 10857, - [SMALL_STATE(193)] = 10877, - [SMALL_STATE(194)] = 10892, - [SMALL_STATE(195)] = 10909, - [SMALL_STATE(196)] = 10924, - [SMALL_STATE(197)] = 10943, - [SMALL_STATE(198)] = 10958, - [SMALL_STATE(199)] = 10975, - [SMALL_STATE(200)] = 10994, - [SMALL_STATE(201)] = 11011, - [SMALL_STATE(202)] = 11030, - [SMALL_STATE(203)] = 11049, - [SMALL_STATE(204)] = 11068, - [SMALL_STATE(205)] = 11087, - [SMALL_STATE(206)] = 11104, - [SMALL_STATE(207)] = 11121, - [SMALL_STATE(208)] = 11136, - [SMALL_STATE(209)] = 11155, - [SMALL_STATE(210)] = 11174, - [SMALL_STATE(211)] = 11193, - [SMALL_STATE(212)] = 11208, - [SMALL_STATE(213)] = 11224, - [SMALL_STATE(214)] = 11240, - [SMALL_STATE(215)] = 11253, - [SMALL_STATE(216)] = 11266, - [SMALL_STATE(217)] = 11279, - [SMALL_STATE(218)] = 11292, - [SMALL_STATE(219)] = 11305, - [SMALL_STATE(220)] = 11318, - [SMALL_STATE(221)] = 11331, - [SMALL_STATE(222)] = 11344, - [SMALL_STATE(223)] = 11357, - [SMALL_STATE(224)] = 11370, - [SMALL_STATE(225)] = 11383, - [SMALL_STATE(226)] = 11396, - [SMALL_STATE(227)] = 11409, - [SMALL_STATE(228)] = 11422, - [SMALL_STATE(229)] = 11435, - [SMALL_STATE(230)] = 11448, - [SMALL_STATE(231)] = 11461, - [SMALL_STATE(232)] = 11474, - [SMALL_STATE(233)] = 11487, - [SMALL_STATE(234)] = 11500, - [SMALL_STATE(235)] = 11513, - [SMALL_STATE(236)] = 11526, - [SMALL_STATE(237)] = 11539, - [SMALL_STATE(238)] = 11552, - [SMALL_STATE(239)] = 11565, - [SMALL_STATE(240)] = 11578, - [SMALL_STATE(241)] = 11591, - [SMALL_STATE(242)] = 11604, - [SMALL_STATE(243)] = 11617, - [SMALL_STATE(244)] = 11630, - [SMALL_STATE(245)] = 11643, - [SMALL_STATE(246)] = 11656, - [SMALL_STATE(247)] = 11669, - [SMALL_STATE(248)] = 11682, - [SMALL_STATE(249)] = 11695, - [SMALL_STATE(250)] = 11708, - [SMALL_STATE(251)] = 11721, - [SMALL_STATE(252)] = 11734, - [SMALL_STATE(253)] = 11747, - [SMALL_STATE(254)] = 11760, - [SMALL_STATE(255)] = 11773, - [SMALL_STATE(256)] = 11786, - [SMALL_STATE(257)] = 11799, - [SMALL_STATE(258)] = 11812, - [SMALL_STATE(259)] = 11825, - [SMALL_STATE(260)] = 11838, - [SMALL_STATE(261)] = 11842, + [SMALL_STATE(3)] = 68, + [SMALL_STATE(4)] = 136, + [SMALL_STATE(5)] = 204, + [SMALL_STATE(6)] = 275, + [SMALL_STATE(7)] = 342, + [SMALL_STATE(8)] = 409, + [SMALL_STATE(9)] = 476, + [SMALL_STATE(10)] = 543, + [SMALL_STATE(11)] = 610, + [SMALL_STATE(12)] = 677, + [SMALL_STATE(13)] = 744, + [SMALL_STATE(14)] = 811, + [SMALL_STATE(15)] = 878, + [SMALL_STATE(16)] = 945, + [SMALL_STATE(17)] = 1012, + [SMALL_STATE(18)] = 1079, + [SMALL_STATE(19)] = 1146, + [SMALL_STATE(20)] = 1283, + [SMALL_STATE(21)] = 1407, + [SMALL_STATE(22)] = 1529, + [SMALL_STATE(23)] = 1589, + [SMALL_STATE(24)] = 1707, + [SMALL_STATE(25)] = 1767, + [SMALL_STATE(26)] = 1827, + [SMALL_STATE(27)] = 1887, + [SMALL_STATE(28)] = 1947, + [SMALL_STATE(29)] = 2009, + [SMALL_STATE(30)] = 2069, + [SMALL_STATE(31)] = 2129, + [SMALL_STATE(32)] = 2191, + [SMALL_STATE(33)] = 2271, + [SMALL_STATE(34)] = 2357, + [SMALL_STATE(35)] = 2441, + [SMALL_STATE(36)] = 2519, + [SMALL_STATE(37)] = 2595, + [SMALL_STATE(38)] = 2669, + [SMALL_STATE(39)] = 2741, + [SMALL_STATE(40)] = 2807, + [SMALL_STATE(41)] = 2879, + [SMALL_STATE(42)] = 2941, + [SMALL_STATE(43)] = 3001, + [SMALL_STATE(44)] = 3061, + [SMALL_STATE(45)] = 3121, + [SMALL_STATE(46)] = 3181, + [SMALL_STATE(47)] = 3241, + [SMALL_STATE(48)] = 3363, + [SMALL_STATE(49)] = 3485, + [SMALL_STATE(50)] = 3607, + [SMALL_STATE(51)] = 3729, + [SMALL_STATE(52)] = 3851, + [SMALL_STATE(53)] = 3973, + [SMALL_STATE(54)] = 4092, + [SMALL_STATE(55)] = 4211, + [SMALL_STATE(56)] = 4330, + [SMALL_STATE(57)] = 4419, + [SMALL_STATE(58)] = 4503, + [SMALL_STATE(59)] = 4586, + [SMALL_STATE(60)] = 4669, + [SMALL_STATE(61)] = 4763, + [SMALL_STATE(62)] = 4857, + [SMALL_STATE(63)] = 4951, + [SMALL_STATE(64)] = 5042, + [SMALL_STATE(65)] = 5133, + [SMALL_STATE(66)] = 5224, + [SMALL_STATE(67)] = 5312, + [SMALL_STATE(68)] = 5397, + [SMALL_STATE(69)] = 5482, + [SMALL_STATE(70)] = 5567, + [SMALL_STATE(71)] = 5652, + [SMALL_STATE(72)] = 5737, + [SMALL_STATE(73)] = 5822, + [SMALL_STATE(74)] = 5871, + [SMALL_STATE(75)] = 5953, + [SMALL_STATE(76)] = 6035, + [SMALL_STATE(77)] = 6117, + [SMALL_STATE(78)] = 6199, + [SMALL_STATE(79)] = 6281, + [SMALL_STATE(80)] = 6363, + [SMALL_STATE(81)] = 6445, + [SMALL_STATE(82)] = 6527, + [SMALL_STATE(83)] = 6609, + [SMALL_STATE(84)] = 6691, + [SMALL_STATE(85)] = 6773, + [SMALL_STATE(86)] = 6855, + [SMALL_STATE(87)] = 6937, + [SMALL_STATE(88)] = 7019, + [SMALL_STATE(89)] = 7101, + [SMALL_STATE(90)] = 7183, + [SMALL_STATE(91)] = 7265, + [SMALL_STATE(92)] = 7347, + [SMALL_STATE(93)] = 7429, + [SMALL_STATE(94)] = 7511, + [SMALL_STATE(95)] = 7593, + [SMALL_STATE(96)] = 7675, + [SMALL_STATE(97)] = 7757, + [SMALL_STATE(98)] = 7839, + [SMALL_STATE(99)] = 7921, + [SMALL_STATE(100)] = 8003, + [SMALL_STATE(101)] = 8085, + [SMALL_STATE(102)] = 8157, + [SMALL_STATE(103)] = 8233, + [SMALL_STATE(104)] = 8278, + [SMALL_STATE(105)] = 8325, + [SMALL_STATE(106)] = 8366, + [SMALL_STATE(107)] = 8404, + [SMALL_STATE(108)] = 8446, + [SMALL_STATE(109)] = 8488, + [SMALL_STATE(110)] = 8552, + [SMALL_STATE(111)] = 8620, + [SMALL_STATE(112)] = 8684, + [SMALL_STATE(113)] = 8748, + [SMALL_STATE(114)] = 8789, + [SMALL_STATE(115)] = 8830, + [SMALL_STATE(116)] = 8869, + [SMALL_STATE(117)] = 8910, + [SMALL_STATE(118)] = 8975, + [SMALL_STATE(119)] = 9016, + [SMALL_STATE(120)] = 9053, + [SMALL_STATE(121)] = 9089, + [SMALL_STATE(122)] = 9151, + [SMALL_STATE(123)] = 9189, + [SMALL_STATE(124)] = 9251, + [SMALL_STATE(125)] = 9313, + [SMALL_STATE(126)] = 9375, + [SMALL_STATE(127)] = 9437, + [SMALL_STATE(128)] = 9499, + [SMALL_STATE(129)] = 9561, + [SMALL_STATE(130)] = 9601, + [SMALL_STATE(131)] = 9663, + [SMALL_STATE(132)] = 9700, + [SMALL_STATE(133)] = 9737, + [SMALL_STATE(134)] = 9774, + [SMALL_STATE(135)] = 9808, + [SMALL_STATE(136)] = 9842, + [SMALL_STATE(137)] = 9876, + [SMALL_STATE(138)] = 9910, + [SMALL_STATE(139)] = 9944, + [SMALL_STATE(140)] = 9978, + [SMALL_STATE(141)] = 10012, + [SMALL_STATE(142)] = 10046, + [SMALL_STATE(143)] = 10080, + [SMALL_STATE(144)] = 10114, + [SMALL_STATE(145)] = 10148, + [SMALL_STATE(146)] = 10182, + [SMALL_STATE(147)] = 10216, + [SMALL_STATE(148)] = 10250, + [SMALL_STATE(149)] = 10284, + [SMALL_STATE(150)] = 10318, + [SMALL_STATE(151)] = 10352, + [SMALL_STATE(152)] = 10386, + [SMALL_STATE(153)] = 10420, + [SMALL_STATE(154)] = 10454, + [SMALL_STATE(155)] = 10488, + [SMALL_STATE(156)] = 10522, + [SMALL_STATE(157)] = 10556, + [SMALL_STATE(158)] = 10590, + [SMALL_STATE(159)] = 10624, + [SMALL_STATE(160)] = 10658, + [SMALL_STATE(161)] = 10692, + [SMALL_STATE(162)] = 10726, + [SMALL_STATE(163)] = 10760, + [SMALL_STATE(164)] = 10794, + [SMALL_STATE(165)] = 10828, + [SMALL_STATE(166)] = 10862, + [SMALL_STATE(167)] = 10896, + [SMALL_STATE(168)] = 10930, + [SMALL_STATE(169)] = 10964, + [SMALL_STATE(170)] = 10998, + [SMALL_STATE(171)] = 11032, + [SMALL_STATE(172)] = 11064, + [SMALL_STATE(173)] = 11094, + [SMALL_STATE(174)] = 11124, + [SMALL_STATE(175)] = 11171, + [SMALL_STATE(176)] = 11200, + [SMALL_STATE(177)] = 11226, + [SMALL_STATE(178)] = 11250, + [SMALL_STATE(179)] = 11288, + [SMALL_STATE(180)] = 11321, + [SMALL_STATE(181)] = 11348, + [SMALL_STATE(182)] = 11368, + [SMALL_STATE(183)] = 11399, + [SMALL_STATE(184)] = 11427, + [SMALL_STATE(185)] = 11453, + [SMALL_STATE(186)] = 11481, + [SMALL_STATE(187)] = 11509, + [SMALL_STATE(188)] = 11531, + [SMALL_STATE(189)] = 11552, + [SMALL_STATE(190)] = 11569, + [SMALL_STATE(191)] = 11592, + [SMALL_STATE(192)] = 11611, + [SMALL_STATE(193)] = 11634, + [SMALL_STATE(194)] = 11659, + [SMALL_STATE(195)] = 11678, + [SMALL_STATE(196)] = 11701, + [SMALL_STATE(197)] = 11719, + [SMALL_STATE(198)] = 11739, + [SMALL_STATE(199)] = 11759, + [SMALL_STATE(200)] = 11777, + [SMALL_STATE(201)] = 11795, + [SMALL_STATE(202)] = 11813, + [SMALL_STATE(203)] = 11833, + [SMALL_STATE(204)] = 11855, + [SMALL_STATE(205)] = 11877, + [SMALL_STATE(206)] = 11899, + [SMALL_STATE(207)] = 11919, + [SMALL_STATE(208)] = 11939, + [SMALL_STATE(209)] = 11959, + [SMALL_STATE(210)] = 11981, + [SMALL_STATE(211)] = 12001, + [SMALL_STATE(212)] = 12021, + [SMALL_STATE(213)] = 12041, + [SMALL_STATE(214)] = 12061, + [SMALL_STATE(215)] = 12080, + [SMALL_STATE(216)] = 12095, + [SMALL_STATE(217)] = 12114, + [SMALL_STATE(218)] = 12131, + [SMALL_STATE(219)] = 12150, + [SMALL_STATE(220)] = 12165, + [SMALL_STATE(221)] = 12182, + [SMALL_STATE(222)] = 12197, + [SMALL_STATE(223)] = 12212, + [SMALL_STATE(224)] = 12231, + [SMALL_STATE(225)] = 12250, + [SMALL_STATE(226)] = 12267, + [SMALL_STATE(227)] = 12286, + [SMALL_STATE(228)] = 12305, + [SMALL_STATE(229)] = 12324, + [SMALL_STATE(230)] = 12341, + [SMALL_STATE(231)] = 12358, + [SMALL_STATE(232)] = 12377, + [SMALL_STATE(233)] = 12393, + [SMALL_STATE(234)] = 12406, + [SMALL_STATE(235)] = 12419, + [SMALL_STATE(236)] = 12432, + [SMALL_STATE(237)] = 12445, + [SMALL_STATE(238)] = 12458, + [SMALL_STATE(239)] = 12471, + [SMALL_STATE(240)] = 12484, + [SMALL_STATE(241)] = 12497, + [SMALL_STATE(242)] = 12510, + [SMALL_STATE(243)] = 12523, + [SMALL_STATE(244)] = 12536, + [SMALL_STATE(245)] = 12549, + [SMALL_STATE(246)] = 12562, + [SMALL_STATE(247)] = 12575, + [SMALL_STATE(248)] = 12588, + [SMALL_STATE(249)] = 12601, + [SMALL_STATE(250)] = 12614, + [SMALL_STATE(251)] = 12627, + [SMALL_STATE(252)] = 12640, + [SMALL_STATE(253)] = 12653, + [SMALL_STATE(254)] = 12666, + [SMALL_STATE(255)] = 12679, + [SMALL_STATE(256)] = 12692, + [SMALL_STATE(257)] = 12705, + [SMALL_STATE(258)] = 12718, + [SMALL_STATE(259)] = 12731, + [SMALL_STATE(260)] = 12744, + [SMALL_STATE(261)] = 12757, + [SMALL_STATE(262)] = 12770, + [SMALL_STATE(263)] = 12783, + [SMALL_STATE(264)] = 12796, + [SMALL_STATE(265)] = 12809, + [SMALL_STATE(266)] = 12822, + [SMALL_STATE(267)] = 12835, + [SMALL_STATE(268)] = 12848, + [SMALL_STATE(269)] = 12861, + [SMALL_STATE(270)] = 12874, + [SMALL_STATE(271)] = 12887, + [SMALL_STATE(272)] = 12900, + [SMALL_STATE(273)] = 12913, + [SMALL_STATE(274)] = 12926, + [SMALL_STATE(275)] = 12939, + [SMALL_STATE(276)] = 12952, + [SMALL_STATE(277)] = 12965, + [SMALL_STATE(278)] = 12978, + [SMALL_STATE(279)] = 12991, + [SMALL_STATE(280)] = 13004, + [SMALL_STATE(281)] = 13017, + [SMALL_STATE(282)] = 13030, + [SMALL_STATE(283)] = 13034, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), - [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238), + [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), [7] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 0, 0, 0), [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(228), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), - [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184), - [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(168), - [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(188), - [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [39] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, 0, 0), - [41] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, 0, 0), - [43] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dot_index_expression, 3, 0, 23), - [45] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dot_index_expression, 3, 0, 23), - [47] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bracket_index_expression, 4, 0, 23), - [49] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracket_index_expression, 4, 0, 23), - [51] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constructor, 3, 0, 0), - [53] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_constructor, 3, 0, 0), - [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 1, 0, 0), - [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 1, 0, 0), - [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 2, 0, 10), - [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 2, 0, 10), - [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, 0, 0), - [65] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, 0, 0), - [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1, 0, 0), - [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1, 0, 0), - [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__prefix_expression, 1, 0, 0), - [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefix_expression, 1, 0, 0), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 3, 0, 0), - [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 3, 0, 0), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 2, 0, 0), - [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 2, 0, 0), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 4, 0, 0), - [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 4, 0, 0), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1, 0, 6), - [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 1, 0, 6), - [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__quote_string, 2, 0, 14), - [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__quote_string, 2, 0, 14), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constructor, 2, 0, 0), - [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_constructor, 2, 0, 0), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block_string, 3, 0, 12), - [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block_string, 3, 0, 12), - [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__quote_string, 3, 0, 28), - [105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__quote_string, 3, 0, 28), - [107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, 0, 16), - [109] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, 0, 16), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), - [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), - [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), - [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 2, 0, 27), - [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 2, 0, 27), - [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, 0, 29), - [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, 0, 29), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [139] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), - [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [143] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), - [145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [147] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 3, 0, 41), - [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 3, 0, 41), - [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, 0, 13), - [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition, 2, 0, 13), - [159] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [161] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 1, 0, 0), - [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_statement, 3, 0, 30), - [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), - [167] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(2), - [170] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), - [172] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(140), - [175] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(231), - [178] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(135), - [181] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(228), - [184] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(54), - [187] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(77), - [190] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(52), - [193] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(71), - [196] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(184), - [199] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(168), - [202] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(188), - [205] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(76), - [208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_explist, 1, 0, 15), - [210] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__variable_assignment_explist, 1, 0, 15), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 50), - [218] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 50), - [220] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), - [222] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_statement, 1, 0, 0), - [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 4, 0, 31), - [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 4, 0, 31), - [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 3, 0, 18), - [234] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 3, 0, 18), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(150), - [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), - [240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 1, 0, 0), - [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 2, 0, 0), - [244] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [246] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 1, 0, 0), - [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), - [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), - [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [254] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), - [256] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183), - [258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), - [264] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), - [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [268] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 2, 0, 0), - [276] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 1, 0, 0), - [278] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 3, 0, 0), - [280] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), - [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [284] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), - [286] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), - [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_list, 1, 0, 0), - [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_list, 1, 0, 0), - [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1, 0, 0), - [300] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1, 0, 0), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 1, 0, 4), - [304] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 1, 0, 4), - [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), - [308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, 0, 42), - [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 5, 0, 56), - [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, 0, 15), - [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_clause, 5, 0, 55), - [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 25), - [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 25), - [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 2, 0, 20), - [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 2, 0, 20), - [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 3, 0, 36), - [332] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 3, 0, 36), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 37), - [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 37), - [340] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 37), SHIFT_REPEAT(222), - [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [345] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [347] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), - [349] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [351] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 2, 0, 21), - [355] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 2, 0, 21), - [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_clause, 7, 0, 58), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 3, 0, 49), - [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 3, 0, 49), - [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_explist, 2, 0, 39), - [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__variable_assignment_explist, 2, 0, 39), - [369] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 51), - [371] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 51), - [373] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 51), SHIFT_REPEAT(84), - [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__attrib, 3, 0, 0), - [378] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__attrib, 3, 0, 0), - [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 2, 0, 9), - [382] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_declaration, 2, 0, 9), - [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_statement, 3, 0, 0), - [388] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_statement, 3, 0, 0), - [390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3, 0, 19), - [392] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3, 0, 19), - [394] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 44), - [396] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 44), - [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 45), - [400] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 45), - [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 46), - [404] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 46), - [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable_assignment, 3, 0, 38), - [408] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable_assignment, 3, 0, 38), - [410] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_statement, 5, 0, 48), - [412] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_statement, 5, 0, 48), - [414] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_statement, 4, 0, 33), - [416] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_statement, 4, 0, 33), - [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_function_declaration, 4, 0, 35), - [420] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_function_declaration, 4, 0, 35), - [422] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1, 0, 1), - [424] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1, 0, 1), - [426] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 0), - [428] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 0), - [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 52), - [432] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 52), - [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 53), - [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 53), - [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 54), - [440] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 54), - [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_statement, 1, 0, 0), - [444] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_statement, 1, 0, 0), - [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 4, 0, 30), - [448] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 4, 0, 30), - [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 7, 0, 57), - [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 7, 0, 57), - [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_statement, 2, 0, 0), - [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_statement, 2, 0, 0), - [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_statement, 3, 0, 22), - [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_statement, 3, 0, 22), - [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, 0, 30), - [464] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, 0, 30), - [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 2, 0, 0), - [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_declaration, 2, 0, 0), - [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 3, 0, 17), - [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 3, 0, 17), - [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 2), - [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 2), - [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 5, 0, 43), - [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 5, 0, 43), - [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 2, 0, 0), - [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 2, 0, 0), - [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 1, 0, 0), - [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 1, 0, 0), - [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 3), - [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 3), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__field_sep, 1, 0, 0), - [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_sep, 1, 0, 0), - [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 2, 0, 0), - [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2, 0, 0), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 3, 0, 40), - [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3, 0, 40), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(190), - [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258), - [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_varlist, 1, 0, 4), - [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), - [526] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), SHIFT_REPEAT(80), - [529] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 25), - [531] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_list, 2, 0, 0), - [533] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_list, 2, 0, 0), - [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [541] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), - [543] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2, 0, 0), - [547] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), - [549] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2, 0, 0), - [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), - [553] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [555] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 1, 0, 0), - [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 3, 0, 0), - [559] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 3, 0, 0), - [561] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__field_list_repeat1, 2, 0, 0), SHIFT_REPEAT(153), - [564] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__field_list_repeat1, 2, 0, 0), - [566] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_index_expression, 3, 0, 24), - [568] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 47), - [570] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 47), SHIFT_REPEAT(82), - [573] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 47), - [575] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__singlequote_string_content, 2, 0, 0), - [577] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__singlequote_string_content, 2, 0, 0), SHIFT_REPEAT(206), - [580] = {.entry = {.count = 1, .reusable = false}}, SHIFT(253), - [582] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), - [584] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), - [586] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 2, 0, 0), - [588] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 2, 0, 0), - [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), - [594] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 1, 0, 4), - [596] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), - [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), - [600] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 26), SHIFT_REPEAT(248), - [603] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 26), - [605] = {.entry = {.count = 1, .reusable = false}}, SHIFT(20), - [607] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [609] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), - [613] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [615] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 1, 0, 0), - [617] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__doublequote_string_content, 2, 0, 0), - [619] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__doublequote_string_content, 2, 0, 0), SHIFT_REPEAT(205), - [622] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), - [624] = {.entry = {.count = 1, .reusable = false}}, SHIFT(236), - [626] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), - [628] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_prefix_expression, 1, 0, 7), - [630] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 26), - [632] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 26), SHIFT_REPEAT(162), - [635] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_prefix_expression, 1, 0, 0), - [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_varlist, 2, 0, 11), - [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_dot_index_expression, 3, 0, 23), - [641] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 1, 0, 32), - [643] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 1, 0, 32), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [647] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_elseif_statement, 4, 0, 44), - [649] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_statement, 4, 0, 44), - [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), - [655] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 1, 0, 4), - [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), - [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218), - [661] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 1, 0, 0), - [663] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__doublequote_string_content, 1, 0, 0), - [665] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__doublequote_string_content, 1, 0, 0), - [667] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__singlequote_string_content, 1, 0, 0), - [669] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__singlequote_string_content, 1, 0, 0), - [671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 25), - [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212), - [675] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 2, 0, 11), - [677] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 2, 0, 11), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(237), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), - [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_clause, 3, 0, 34), - [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), - [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260), - [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [699] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_method_index_expression, 3, 0, 24), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230), - [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149), - [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [715] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 3, 0, 4), - [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [723] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_statement, 2, 0, 17), - [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [727] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 3, 0, 0), - [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [731] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 4, 0, 11), - [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [737] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 1, 0, 0), - [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), - [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [745] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240), - [749] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [751] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [753] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [755] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [757] = {.entry = {.count = 1, .reusable = false}}, SHIFT(261), - [759] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [761] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), - [763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [765] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [769] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 1, 0, 8), - [771] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 12), - [773] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 5), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(256), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47), + [31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), + [33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(202), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(193), + [37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, 0, 0), + [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, 0, 0), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dot_index_expression, 3, 0, 27), + [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_dot_index_expression, 3, 0, 27), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bracket_index_expression, 4, 0, 27), + [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracket_index_expression, 4, 0, 27), + [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1, 0, 0), + [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1, 0, 0), + [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__prefix_expression, 1, 0, 0), + [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefix_expression, 1, 0, 0), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constructor, 3, 0, 0), + [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_constructor, 3, 0, 0), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_call, 2, 0, 12), + [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_call, 2, 0, 12), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 1, 0, 0), + [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 1, 0, 0), + [73] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3, 0, 0), + [75] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3, 0, 0), + [77] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 2, 0, 0), + [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 2, 0, 0), + [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 4, 0, 0), + [83] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 4, 0, 0), + [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arguments, 3, 0, 0), + [87] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 3, 0, 0), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1, 0, 9), + [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 1, 0, 9), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__quote_string, 2, 0, 20), + [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__quote_string, 2, 0, 20), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table_constructor, 2, 0, 0), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table_constructor, 2, 0, 0), + [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block_string, 3, 0, 14), + [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block_string, 3, 0, 14), + [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__quote_string, 3, 0, 36), + [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__quote_string, 3, 0, 36), + [109] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), + [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), + [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_statement, 3, 0, 38), + [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 1, 0, 0), + [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), + [123] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(2), + [126] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(182), + [129] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), + [131] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(157), + [134] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(267), + [137] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(169), + [140] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(256), + [143] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(49), + [146] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(91), + [149] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(47), + [152] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(77), + [155] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(202), + [158] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(193), + [161] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(209), + [164] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 2, 0, 0), SHIFT_REPEAT(94), + [167] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, 0, 19), + [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition, 2, 0, 19), + [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 2, 0, 35), + [173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 2, 0, 35), + [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, 0, 22), + [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, 0, 22), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, 0, 37), + [183] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, 0, 37), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [189] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [197] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [199] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [203] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 3, 0, 46), + [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 3, 0, 46), + [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_vararg_expression, 1, 0, 0), + [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_vararg_expression, 1, 0, 0), + [217] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), + [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), + [221] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137), + [223] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), + [225] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [227] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_statement, 1, 0, 0), + [229] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 2, 0, 0), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 1, 0, 0), + [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_explist, 1, 0, 21), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__variable_assignment_explist, 1, 0, 21), + [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [239] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), + [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 54), + [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 54), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 3, 0, 24), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 3, 0, 24), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 4, 0, 39), + [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 4, 0, 39), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [255] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 1, 0, 0), + [257] = {.entry = {.count = 1, .reusable = false}}, SHIFT(218), + [259] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), + [273] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248), + [277] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 2, 0, 0), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 3, 0, 0), + [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 1, 0, 0), + [291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), + [297] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), + [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [301] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_list, 1, 0, 0), + [305] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_list, 1, 0, 0), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1, 0, 0), + [311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1, 0, 0), + [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 1, 0, 6), + [315] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 1, 0, 6), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(233), + [321] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 30), + [323] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 30), + [325] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 30), SHIFT_REPEAT(259), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 29), + [330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__name_list_repeat1, 2, 0, 29), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 29), + [334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 29), + [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 2, 0, 13), + [338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__name_list, 2, 0, 13), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259), + [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, 0, 47), + [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, 0, 21), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 5, 0, 60), + [350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 1, 0, 6), + [352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__name_list, 1, 0, 6), + [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 2, 0, 15), + [356] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 2, 0, 15), + [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 33), + [360] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 33), + [362] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 2, 0, 33), SHIFT_REPEAT(271), + [365] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 2, 0, 16), + [367] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 2, 0, 16), + [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_clause, 5, 0, 59), + [373] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__att_name_list, 3, 0, 32), + [375] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__att_name_list, 3, 0, 32), + [377] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__attrib, 3, 0, 0), + [379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__attrib, 3, 0, 0), + [381] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__att_name_list_repeat1, 3, 0, 44), + [383] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__att_name_list_repeat1, 3, 0, 44), + [385] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 55), + [389] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 55), + [391] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__variable_assignment_explist_repeat1, 2, 0, 55), SHIFT_REPEAT(93), + [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [400] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_clause, 7, 0, 62), + [404] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275), + [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_explist, 2, 0, 43), + [408] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__variable_assignment_explist, 2, 0, 43), + [410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_variable_declaration, 3, 0, 18), + [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_variable_declaration, 3, 0, 18), + [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 2, 0, 8), + [420] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_declaration, 2, 0, 8), + [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_variable_declaration, 2, 0, 8), + [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_variable_declaration, 2, 0, 8), + [428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [430] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 4), + [432] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 4), + [434] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_chunk_repeat1, 1, 0, 0), + [436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_chunk_repeat1, 1, 0, 0), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_statement, 2, 0, 0), + [440] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_statement, 2, 0, 0), + [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 2, 0, 0), + [444] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 2, 0, 0), + [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1, 0, 1), + [448] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1, 0, 1), + [450] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 0), + [452] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 0), + [454] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 2), + [456] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 2), + [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_declaration, 3, 0, 25), + [460] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_declaration, 3, 0, 25), + [462] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 3), + [464] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 3), + [466] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_statement, 3, 0, 26), + [468] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_statement, 3, 0, 26), + [470] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__global_function_declaration, 4, 0, 31), + [472] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__global_function_declaration, 4, 0, 31), + [474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__global_variable_assignment, 3, 0, 34), + [476] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__global_variable_assignment, 3, 0, 34), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_declaration, 2, 0, 0), + [480] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_declaration, 2, 0, 0), + [482] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_declaration, 1, 0, 5), + [484] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_declaration, 1, 0, 5), + [486] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 4, 0, 38), + [488] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 4, 0, 38), + [490] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, 0, 38), + [492] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, 0, 38), + [494] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mode_statement, 3, 0, 17), + [496] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_mode_statement, 3, 0, 17), + [498] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_variable_declaration, 3, 0, 17), + [500] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_variable_declaration, 3, 0, 17), + [502] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_mode_statement, 2, 0, 0), + [504] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_mode_statement, 2, 0, 0), + [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_statement, 4, 0, 41), + [508] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_statement, 4, 0, 41), + [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_function_declaration, 4, 0, 31), + [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_function_declaration, 4, 0, 31), + [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable_assignment, 3, 0, 34), + [516] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable_assignment, 3, 0, 34), + [518] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_statement, 3, 0, 0), + [520] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_statement, 3, 0, 0), + [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_statement, 1, 0, 0), + [524] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_statement, 1, 0, 0), + [526] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__global_prefixed_variable_assignment, 3, 0, 26), + [528] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__global_prefixed_variable_assignment, 3, 0, 26), + [530] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 5, 0, 48), + [532] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 5, 0, 48), + [534] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_global_variable_declaration, 2, 0, 0), + [536] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_global_variable_declaration, 2, 0, 0), + [538] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 49), + [540] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 49), + [542] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 50), + [544] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 50), + [546] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, 0, 51), + [548] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, 0, 51), + [550] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_statement, 5, 0, 53), + [552] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_statement, 5, 0, 53), + [554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 56), + [556] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 56), + [558] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 57), + [560] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 57), + [562] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, 0, 58), + [564] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, 0, 58), + [566] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 7, 0, 61), + [568] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 7, 0, 61), + [570] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 3, 0, 23), + [572] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 3, 0, 23), + [574] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__field_sep, 1, 0, 0), + [576] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_sep, 1, 0, 0), + [578] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 3, 0, 45), + [580] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 3, 0, 45), + [582] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parameters, 2, 0, 0), + [584] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2, 0, 0), + [586] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), + [590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211), + [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [598] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [600] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280), + [602] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_varlist, 1, 0, 6), + [604] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [606] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__expression_list_repeat1, 2, 0, 0), SHIFT_REPEAT(79), + [609] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 29), + [611] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [613] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_list, 2, 0, 0), + [615] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_list, 2, 0, 0), + [617] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [621] = {.entry = {.count = 1, .reusable = false}}, SHIFT(262), + [623] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161), + [625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [627] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232), + [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [637] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2, 0, 0), + [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [641] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2, 0, 0), + [643] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__field_list_repeat1, 2, 0, 0), SHIFT_REPEAT(171), + [646] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__field_list_repeat1, 2, 0, 0), + [648] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_index_expression, 3, 0, 28), + [650] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [652] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__field_list, 1, 0, 0), + [654] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [656] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 3, 0, 0), + [658] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 3, 0, 0), + [660] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 52), + [662] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 52), SHIFT_REPEAT(89), + [665] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 2, 0, 52), + [667] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 2, 0, 0), + [669] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 2, 0, 0), + [671] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229), + [675] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238), + [677] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [679] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 1, 0, 0), + [681] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__doublequote_string_content, 2, 0, 0), + [683] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__doublequote_string_content, 2, 0, 0), SHIFT_REPEAT(217), + [686] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__singlequote_string_content, 2, 0, 0), + [688] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__singlequote_string_content, 2, 0, 0), SHIFT_REPEAT(229), + [691] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [701] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217), + [705] = {.entry = {.count = 1, .reusable = false}}, SHIFT(245), + [707] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), + [711] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__doublequote_string_content, 1, 0, 0), + [713] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__doublequote_string_content, 1, 0, 0), + [715] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_prefix_expression, 1, 0, 0), + [717] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_elseif_statement, 4, 0, 49), + [719] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_statement, 4, 0, 49), + [721] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_dot_index_expression, 3, 0, 27), + [723] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_prefix_expression, 1, 0, 10), + [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277), + [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [729] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 1, 0, 0), + [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), + [733] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 2, 0, 13), + [735] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 1, 0, 40), + [737] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 1, 0, 40), + [739] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable_assignment_varlist, 2, 0, 13), + [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), + [743] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 1, 0, 6), + [745] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__singlequote_string_content, 1, 0, 0), + [747] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__singlequote_string_content, 1, 0, 0), + [749] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 30), + [751] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__variable_assignment_varlist_repeat1, 2, 0, 30), SHIFT_REPEAT(179), + [754] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [756] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268), + [758] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269), + [760] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [762] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [764] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_statement, 2, 0, 23), + [766] = {.entry = {.count = 1, .reusable = false}}, SHIFT(283), + [768] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), + [770] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 1, 0, 11), + [772] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [774] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [776] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167), + [778] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), + [780] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), + [782] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [784] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [786] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [788] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [790] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 3, 0, 6), + [792] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274), + [794] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164), + [796] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_clause, 3, 0, 42), + [798] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [800] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name_method_index_expression, 3, 0, 28), + [802] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [804] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159), + [806] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [808] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 4, 0, 13), + [810] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [812] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170), + [814] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__parameter_list, 1, 0, 0), + [816] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 3, 0, 0), + [818] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172), + [820] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [822] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_named_vararg, 2, 0, 29), + [824] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [826] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [828] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [830] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [832] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282), + [834] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [836] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [838] = {.entry = {.count = 1, .reusable = true}}, SHIFT(221), + [840] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [842] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [844] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276), + [846] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168), + [848] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3, 0, 14), + [850] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 7), }; enum ts_external_scanner_symbol_identifiers { @@ -12644,19 +13798,19 @@ static const bool ts_external_scanner_states[8][EXTERNAL_TOKEN_COUNT] = { }, [4] = { [ts_external_token__block_comment_start] = true, - [ts_external_token__block_comment_end] = true, + [ts_external_token__block_string_end] = true, }, [5] = { [ts_external_token__block_comment_start] = true, - [ts_external_token__block_string_end] = true, + [ts_external_token__block_string_content] = true, }, [6] = { [ts_external_token__block_comment_start] = true, - [ts_external_token__block_string_content] = true, + [ts_external_token__block_comment_content] = true, }, [7] = { [ts_external_token__block_comment_start] = true, - [ts_external_token__block_comment_content] = true, + [ts_external_token__block_comment_end] = true, }, }; diff --git a/test/corpus/statements.txt b/test/corpus/statements.txt index 077f3d6..aca04c9 100644 --- a/test/corpus/statements.txt +++ b/test/corpus/statements.txt @@ -500,3 +500,174 @@ local f = io.open('/file.lua') arguments: (arguments (string content: (string_content)))))))) + +================================================================================ +global_variable_declaration [Lua 5.5] +================================================================================ + +global g1 = 1 +global g2, g3 = 2, 3 + +global g4, g5 = f1(), tbl:f2() + +-------------------------------------------------------------------------------- + +(chunk + global_declaration: (global_variable_declaration + (assignment_statement + (variable_list + name: (identifier)) + (expression_list + value: (number)))) + global_declaration: (global_variable_declaration + (assignment_statement + (variable_list + name: (identifier) + name: (identifier)) + (expression_list + value: (number) + value: (number)))) + global_declaration: (global_variable_declaration + (assignment_statement + (variable_list + name: (identifier) + name: (identifier)) + (expression_list + value: (function_call + name: (identifier) + arguments: (arguments)) + value: (function_call + name: (method_index_expression + table: (identifier) + method: (identifier)) + arguments: (arguments)))))) + +================================================================================ +global_variable_declaration ::: attribute [Lua 5.5] +================================================================================ + +global c , x = 42 +global f = io.open('/file.lua') + +global a, b, c = 1, 2, 3 +global MAX, MIN + +-------------------------------------------------------------------------------- + +(chunk + global_declaration: (global_variable_declaration + (assignment_statement + (variable_list + name: (identifier) + attribute: (attribute + (identifier)) + name: (identifier) + attribute: (attribute + (identifier))) + (expression_list + value: (number)))) + global_declaration: (global_variable_declaration + (assignment_statement + (variable_list + name: (identifier) + attribute: (attribute + (identifier))) + (expression_list + value: (function_call + name: (dot_index_expression + table: (identifier) + field: (identifier)) + arguments: (arguments + (string + content: (string_content))))))) + global_declaration: (global_variable_declaration + attribute: (attribute + (identifier)) + (assignment_statement + (variable_list + name: (identifier) + name: (identifier) + name: (identifier)) + (expression_list + value: (number) + value: (number) + value: (number)))) + global_declaration: (global_variable_declaration + attribute: (attribute + (identifier)) + (variable_list + name: (identifier) + name: (identifier)))) + +================================================================================ +global_function_declaration [Lua 5.5] +================================================================================ + +global function gf1() end +global function gf2() print("global") end + +-------------------------------------------------------------------------------- + +(chunk + global_declaration: (function_declaration + name: (identifier) + parameters: (parameters)) + global_declaration: (function_declaration + name: (identifier) + parameters: (parameters) + body: (block + (function_call + name: (identifier) + arguments: (arguments + (string + content: (string_content))))))) + +================================================================================ +global_mode_statement [Lua 5.5] +================================================================================ + +global * +global * + +-------------------------------------------------------------------------------- + +(chunk + (global_mode_statement) + (global_mode_statement + attribute: (attribute + (identifier)))) + +================================================================================ +named_vararg [Lua 5.5] +================================================================================ + +function f(...args) end +function g(a, b, ...rest) end +local function h(...items) + return items +end + +-------------------------------------------------------------------------------- + +(chunk + (function_declaration + name: (identifier) + parameters: (parameters + (named_vararg + name: (identifier)))) + (function_declaration + name: (identifier) + parameters: (parameters + name: (identifier) + name: (identifier) + (named_vararg + name: (identifier)))) + local_declaration: (function_declaration + name: (identifier) + parameters: (parameters + (named_vararg + name: (identifier))) + body: (block + (return_statement + (expression_list + (identifier))))))