diff --git a/grammar.js b/grammar.js index d2ef243..c3b0b4c 100644 --- a/grammar.js +++ b/grammar.js @@ -53,7 +53,7 @@ module.exports = grammar({ // statements return_statement: ($) => - seq("return", optional($.expression_list), optional($.empty_statement)), + seq("return", field("value", optional($.expression_list)), optional($.empty_statement)), statement: ($) => choice( @@ -82,35 +82,27 @@ module.exports = grammar({ "function", field( "name", - choice($.identifier, alias($._table_function_variable, $.variable)), + alias($._function_name, $.function_name), ), $._function_body, ), - _table_function_variable: ($) => + _function_name: ($) => seq( - $._table_identifier, - choice($._named_field_identifier, $._method_identifier), + choice($.identifier, $._dotted_name), + optional($._method_identifier), ), - _table_identifier: ($) => - field( - "table", - choice($.identifier, alias($._table_field_variable, $.variable)), - ), - _table_field_variable: ($) => - seq($._table_identifier, $._named_field_identifier), + _dotted_name: $ => seq($.identifier, repeat1(seq(".", $.identifier))), for_generic_statement: ($) => seq( "for", - field("left", alias($._name_list, $.variable_list)), + field("left", _list($.identifier, ",")), "in", - field("right", alias($._value_list, $.expression_list)), + field("right", _list($.expression, ",")), "do", optional(field("body", $.block)), "end", ), - _name_list: ($) => _list(field("name", $.identifier), ","), - _value_list: ($) => _list(field("value", $.expression), ","), for_numeric_statement: ($) => seq( @@ -172,18 +164,21 @@ module.exports = grammar({ local_variable_declaration: ($) => seq( "local", - alias($._local_variable_list, $.variable_list), - optional(seq("=", alias($._value_list, $.expression_list))), + field("variables", _list($.variable, ",")), + optional(seq("=", field("values", _list($.expression, ",")))), + ), + variable: ($) => + seq( + field("name", $.identifier), + optional(seq("<", field("attribute", $.identifier), ">")) ), - _local_variable_list: ($) => - _list(alias($._local_variable, $.variable), ","), - _local_variable: ($) => - seq(field("name", $.identifier), optional($.attribute)), - attribute: ($) => seq("<", field("name", $.identifier), ">"), variable_assignment: ($) => - seq($.variable_list, "=", alias($._value_list, $.expression_list)), - variable_list: ($) => _list($.variable, ","), + seq( + field("assignee", _list($._variable, ",")), + "=", + field("value", _list($.expression, ",")) + ), empty_statement: () => ";", @@ -278,7 +273,7 @@ module.exports = grammar({ ), field_separator: () => choice(",", ";"), - prefix: ($) => choice($.variable, $.call, $.parenthesized_expression), + prefix: ($) => choice($.identifier, $.call, $.parenthesized_expression, $.subscript, $.member_access), prefix_expression: ($) => $.prefix, _prefix_expression: ($) => prec(PREC.CALL, $.prefix), @@ -286,39 +281,31 @@ module.exports = grammar({ call: ($) => seq( - field( - "function", - choice( - $._prefix_expression, - alias($._table_method_variable, $.variable), - ), - ), - field("arguments", $.argument_list), + field("function", choice($._prefix_expression, $.method_reference)), + field("arguments", choice($.argument_list, $.table, $.string)), ), - _table_method_variable: ($) => - seq(field("table", $.prefix_expression), $._method_identifier), + method_reference: $ => seq( + $._prefix_expression, + $._method_identifier, + ), _method_identifier: ($) => seq(":", field("method", $.identifier)), argument_list: ($) => - choice(seq("(", optional($.expression_list), ")"), $.table, $.string), + seq("(", optional($.expression_list), ")"), expression_list: ($) => _list($.expression, ","), - variable: ($) => choice(field("name", $.identifier), $._table_variable), - _table_variable: ($) => + _variable: ($) => choice($.identifier, $.member_access, $.subscript), + member_access: $ => seq( + field("subject", $.prefix), + ".", + field("member", $.identifier) + ), + subscript: ($) => seq( - field( - "table", - choice( - $.identifier, - alias($._table_variable, $.variable), - $.call, - $.parenthesized_expression, - ), - ), - choice($._indexed_field_identifier, $._named_field_identifier), + field("subject", $.prefix), + "[", + field("subscript", $.expression), + "]" ), - _named_field_identifier: ($) => seq(".", field("field", $.identifier)), - _indexed_field_identifier: ($) => - seq("[", field("field", $.expression), "]"), function_definition: ($) => seq("function", $._function_body), _function_body: ($) => @@ -332,7 +319,7 @@ module.exports = grammar({ parameter_list: ($) => choice( seq( - _list(field("name", $.identifier), ","), + _list($.identifier, ","), optional(seq(",", $.vararg_expression)), ), $.vararg_expression, diff --git a/package.json b/package.json index a4f900a..1b7fbd2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "nan": "^2.15.0" }, "devDependencies": { - "tree-sitter-cli": "^0.20.6", "prettier": "^2.6.2" }, "tree-sitter": [ diff --git a/src/grammar.json b/src/grammar.json index ecf4d66..e373c09 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -80,16 +80,20 @@ "value": "return" }, { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "expression_list" - }, - { - "type": "BLANK" - } - ] + "type": "FIELD", + "name": "value", + "content": { + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "expression_list" + }, + { + "type": "BLANK" + } + ] + } }, { "type": "CHOICE", @@ -206,22 +210,13 @@ "type": "FIELD", "name": "name", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_table_function_variable" - }, - "named": true, - "value": "variable" - } - ] + "type": "ALIAS", + "content": { + "type": "SYMBOL", + "name": "_function_name" + }, + "named": true, + "value": "function_name" } }, { @@ -230,60 +225,58 @@ } ] }, - "_table_function_variable": { + "_function_name": { "type": "SEQ", "members": [ - { - "type": "SYMBOL", - "name": "_table_identifier" - }, { "type": "CHOICE", "members": [ { "type": "SYMBOL", - "name": "_named_field_identifier" + "name": "identifier" }, + { + "type": "SYMBOL", + "name": "_dotted_name" + } + ] + }, + { + "type": "CHOICE", + "members": [ { "type": "SYMBOL", "name": "_method_identifier" + }, + { + "type": "BLANK" } ] } ] }, - "_table_identifier": { - "type": "FIELD", - "name": "table", - "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_table_field_variable" - }, - "named": true, - "value": "variable" - } - ] - } - }, - "_table_field_variable": { + "_dotted_name": { "type": "SEQ", "members": [ { "type": "SYMBOL", - "name": "_table_identifier" + "name": "identifier" }, { - "type": "SYMBOL", - "name": "_named_field_identifier" + "type": "REPEAT1", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "." + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } } ] }, @@ -298,13 +291,29 @@ "type": "FIELD", "name": "left", "content": { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_name_list" - }, - "named": true, - "value": "variable_list" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "identifier" + } + ] + } + } + ] } }, { @@ -315,13 +324,29 @@ "type": "FIELD", "name": "right", "content": { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_value_list" - }, - "named": true, - "value": "expression_list" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] + } + } + ] } }, { @@ -350,72 +375,6 @@ } ] }, - "_name_list": { - "type": "SEQ", - "members": [ - { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "identifier" - } - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "identifier" - } - } - ] - } - } - ] - }, - "_value_list": { - "type": "SEQ", - "members": [ - { - "type": "FIELD", - "name": "value", - "content": { - "type": "SYMBOL", - "name": "expression" - } - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "FIELD", - "name": "value", - "content": { - "type": "SYMBOL", - "name": "expression" - } - } - ] - } - } - ] - }, "for_numeric_statement": { "type": "SEQ", "members": [ @@ -793,13 +752,33 @@ "value": "local" }, { - "type": "ALIAS", + "type": "FIELD", + "name": "variables", "content": { - "type": "SYMBOL", - "name": "_local_variable_list" - }, - "named": true, - "value": "variable_list" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "variable" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "variable" + } + ] + } + } + ] + } }, { "type": "CHOICE", @@ -812,13 +791,33 @@ "value": "=" }, { - "type": "ALIAS", + "type": "FIELD", + "name": "values", "content": { - "type": "SYMBOL", - "name": "_value_list" - }, - "named": true, - "value": "expression_list" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "expression" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] + } + } + ] + } } ] }, @@ -829,42 +828,7 @@ } ] }, - "_local_variable_list": { - "type": "SEQ", - "members": [ - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_local_variable" - }, - "named": true, - "value": "variable" - }, - { - "type": "REPEAT", - "content": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_local_variable" - }, - "named": true, - "value": "variable" - } - ] - } - } - ] - }, - "_local_variable": { + "variable": { "type": "SEQ", "members": [ { @@ -879,8 +843,25 @@ "type": "CHOICE", "members": [ { - "type": "SYMBOL", - "name": "attribute" + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "<" + }, + { + "type": "FIELD", + "name": "attribute", + "content": { + "type": "SYMBOL", + "name": "identifier" + } + }, + { + "type": "STRING", + "value": ">" + } + ] }, { "type": "BLANK" @@ -889,68 +870,67 @@ } ] }, - "attribute": { + "variable_assignment": { "type": "SEQ", "members": [ - { - "type": "STRING", - "value": "<" - }, { "type": "FIELD", - "name": "name", + "name": "assignee", "content": { - "type": "SYMBOL", - "name": "identifier" + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_variable" + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "_variable" + } + ] + } + } + ] } }, - { - "type": "STRING", - "value": ">" - } - ] - }, - "variable_assignment": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "variable_list" - }, { "type": "STRING", "value": "=" }, { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_value_list" - }, - "named": true, - "value": "expression_list" - } - ] - }, - "variable_list": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "variable" - }, - { - "type": "REPEAT", + "type": "FIELD", + "name": "value", "content": { "type": "SEQ", "members": [ { - "type": "STRING", - "value": "," + "type": "SYMBOL", + "name": "expression" }, { - "type": "SYMBOL", - "name": "variable" + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "SYMBOL", + "name": "expression" + } + ] + } } ] } @@ -1962,7 +1942,7 @@ "members": [ { "type": "SYMBOL", - "name": "variable" + "name": "identifier" }, { "type": "SYMBOL", @@ -1971,6 +1951,14 @@ { "type": "SYMBOL", "name": "parenthesized_expression" + }, + { + "type": "SYMBOL", + "name": "subscript" + }, + { + "type": "SYMBOL", + "name": "member_access" } ] }, @@ -2017,13 +2005,8 @@ "name": "_prefix_expression" }, { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_table_method_variable" - }, - "named": true, - "value": "variable" + "type": "SYMBOL", + "name": "method_reference" } ] } @@ -2032,22 +2015,31 @@ "type": "FIELD", "name": "arguments", "content": { - "type": "SYMBOL", - "name": "argument_list" + "type": "CHOICE", + "members": [ + { + "type": "SYMBOL", + "name": "argument_list" + }, + { + "type": "SYMBOL", + "name": "table" + }, + { + "type": "SYMBOL", + "name": "string" + } + ] } } ] }, - "_table_method_variable": { + "method_reference": { "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "table", - "content": { - "type": "SYMBOL", - "name": "prefix_expression" - } + "type": "SYMBOL", + "name": "_prefix_expression" }, { "type": "SYMBOL", @@ -2073,40 +2065,27 @@ ] }, "argument_list": { - "type": "CHOICE", + "type": "SEQ", "members": [ { - "type": "SEQ", + "type": "STRING", + "value": "(" + }, + { + "type": "CHOICE", "members": [ { - "type": "STRING", - "value": "(" - }, - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "expression_list" - }, - { - "type": "BLANK" - } - ] + "type": "SYMBOL", + "name": "expression_list" }, { - "type": "STRING", - "value": ")" + "type": "BLANK" } ] }, { - "type": "SYMBOL", - "name": "table" - }, - { - "type": "SYMBOL", - "name": "string" + "type": "STRING", + "value": ")" } ] }, @@ -2135,81 +2114,41 @@ } ] }, - "variable": { + "_variable": { "type": "CHOICE", "members": [ { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "identifier" - } + "type": "SYMBOL", + "name": "identifier" + }, + { + "type": "SYMBOL", + "name": "member_access" }, { "type": "SYMBOL", - "name": "_table_variable" + "name": "subscript" } ] }, - "_table_variable": { + "member_access": { "type": "SEQ", "members": [ { "type": "FIELD", - "name": "table", + "name": "subject", "content": { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "identifier" - }, - { - "type": "ALIAS", - "content": { - "type": "SYMBOL", - "name": "_table_variable" - }, - "named": true, - "value": "variable" - }, - { - "type": "SYMBOL", - "name": "call" - }, - { - "type": "SYMBOL", - "name": "parenthesized_expression" - } - ] + "type": "SYMBOL", + "name": "prefix" } }, - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "_indexed_field_identifier" - }, - { - "type": "SYMBOL", - "name": "_named_field_identifier" - } - ] - } - ] - }, - "_named_field_identifier": { - "type": "SEQ", - "members": [ { "type": "STRING", "value": "." }, { "type": "FIELD", - "name": "field", + "name": "member", "content": { "type": "SYMBOL", "name": "identifier" @@ -2217,16 +2156,24 @@ } ] }, - "_indexed_field_identifier": { + "subscript": { "type": "SEQ", "members": [ + { + "type": "FIELD", + "name": "subject", + "content": { + "type": "SYMBOL", + "name": "prefix" + } + }, { "type": "STRING", "value": "[" }, { "type": "FIELD", - "name": "field", + "name": "subscript", "content": { "type": "SYMBOL", "name": "expression" @@ -2310,12 +2257,8 @@ "type": "SEQ", "members": [ { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "identifier" - } + "type": "SYMBOL", + "name": "identifier" }, { "type": "REPEAT", @@ -2327,12 +2270,8 @@ "value": "," }, { - "type": "FIELD", - "name": "name", - "content": { - "type": "SYMBOL", - "name": "identifier" - } + "type": "SYMBOL", + "name": "identifier" } ] } diff --git a/src/node-types.json b/src/node-types.json index 175ee95..a42be66 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -57,12 +57,20 @@ "type": "call", "named": true }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_access", + "named": true + }, { "type": "parenthesized_expression", "named": true }, { - "type": "variable", + "type": "subscript", "named": true } ] @@ -144,34 +152,10 @@ { "type": "expression_list", "named": true - }, - { - "type": "string", - "named": true - }, - { - "type": "table", - "named": true } ] } }, - { - "type": "attribute", - "named": true, - "fields": { - "name": { - "multiple": false, - "required": true, - "types": [ - { - "type": "identifier", - "named": true - } - ] - } - } - }, { "type": "binary_expression", "named": true, @@ -318,6 +302,14 @@ { "type": "argument_list", "named": true + }, + { + "type": "string", + "named": true + }, + { + "type": "table", + "named": true } ] }, @@ -329,12 +321,24 @@ "type": "call", "named": true }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_access", + "named": true + }, + { + "type": "method_reference", + "named": true + }, { "type": "parenthesized_expression", "named": true }, { - "type": "variable", + "type": "subscript", "named": true } ] @@ -435,21 +439,10 @@ { "type": "expression_list", "named": true, - "fields": { - "value": { - "multiple": true, - "required": false, - "types": [ - { - "type": "expression", - "named": true - } - ] - } - }, + "fields": {}, "children": { "multiple": true, - "required": false, + "required": true, "types": [ { "type": "expression", @@ -518,21 +511,29 @@ ] }, "left": { - "multiple": false, + "multiple": true, "required": true, "types": [ { - "type": "variable_list", + "type": ",", + "named": false + }, + { + "type": "identifier", "named": true } ] }, "right": { - "multiple": false, + "multiple": true, "required": true, "types": [ { - "type": "expression_list", + "type": ",", + "named": false + }, + { + "type": "expression", "named": true } ] @@ -640,11 +641,7 @@ "required": true, "types": [ { - "type": "identifier", - "named": true - }, - { - "type": "variable", + "type": "function_name", "named": true } ] @@ -661,6 +658,32 @@ } } }, + { + "type": "function_name", + "named": true, + "fields": { + "method": { + "multiple": false, + "required": false, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, + "children": { + "multiple": true, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, { "type": "goto_statement", "named": true, @@ -772,17 +795,116 @@ { "type": "local_variable_declaration", "named": true, - "fields": {}, + "fields": { + "values": { + "multiple": true, + "required": false, + "types": [ + { + "type": ",", + "named": false + }, + { + "type": "expression", + "named": true + } + ] + }, + "variables": { + "multiple": true, + "required": true, + "types": [ + { + "type": ",", + "named": false + }, + { + "type": "variable", + "named": true + } + ] + } + } + }, + { + "type": "member_access", + "named": true, + "fields": { + "member": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + }, + "subject": { + "multiple": false, + "required": true, + "types": [ + { + "type": "call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_access", + "named": true + }, + { + "type": "parenthesized_expression", + "named": true + }, + { + "type": "subscript", + "named": true + } + ] + } + } + }, + { + "type": "method_reference", + "named": true, + "fields": { + "method": { + "multiple": false, + "required": true, + "types": [ + { + "type": "identifier", + "named": true + } + ] + } + }, "children": { - "multiple": true, + "multiple": false, "required": true, "types": [ { - "type": "expression_list", + "type": "call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_access", + "named": true + }, + { + "type": "parenthesized_expression", "named": true }, { - "type": "variable_list", + "type": "subscript", "named": true } ] @@ -791,22 +913,15 @@ { "type": "parameter_list", "named": true, - "fields": { - "name": { - "multiple": true, - "required": false, - "types": [ - { - "type": "identifier", - "named": true - } - ] - } - }, + "fields": {}, "children": { - "multiple": false, - "required": false, + "multiple": true, + "required": true, "types": [ + { + "type": "identifier", + "named": true + }, { "type": "vararg_expression", "named": true @@ -858,18 +973,25 @@ { "type": "return_statement", "named": true, - "fields": {}, + "fields": { + "value": { + "multiple": false, + "required": false, + "types": [ + { + "type": "expression_list", + "named": true + } + ] + } + }, "children": { - "multiple": true, + "multiple": false, "required": false, "types": [ { "type": "empty_statement", "named": true - }, - { - "type": "expression_list", - "named": true } ] } @@ -879,6 +1001,48 @@ "named": true, "fields": {} }, + { + "type": "subscript", + "named": true, + "fields": { + "subject": { + "multiple": false, + "required": true, + "types": [ + { + "type": "call", + "named": true + }, + { + "type": "identifier", + "named": true + }, + { + "type": "member_access", + "named": true + }, + { + "type": "parenthesized_expression", + "named": true + }, + { + "type": "subscript", + "named": true + } + ] + }, + "subscript": { + "multiple": false, + "required": true, + "types": [ + { + "type": "expression", + "named": true + } + ] + } + } + }, { "type": "table", "named": true, @@ -936,109 +1100,68 @@ "type": "variable", "named": true, "fields": { - "field": { + "attribute": { "multiple": false, "required": false, "types": [ - { - "type": "expression", - "named": true - }, { "type": "identifier", "named": true } ] }, - "method": { + "name": { "multiple": false, - "required": false, + "required": true, "types": [ { "type": "identifier", "named": true } ] - }, - "name": { - "multiple": false, - "required": false, + } + } + }, + { + "type": "variable_assignment", + "named": true, + "fields": { + "assignee": { + "multiple": true, + "required": true, "types": [ + { + "type": ",", + "named": false + }, { "type": "identifier", "named": true - } - ] - }, - "table": { - "multiple": false, - "required": false, - "types": [ + }, { - "type": "identifier", + "type": "member_access", "named": true }, { - "type": "prefix_expression", + "type": "subscript", "named": true } ] - } - }, - "children": { - "multiple": false, - "required": false, - "types": [ - { - "type": "attribute", - "named": true - } - ] - } - }, - { - "type": "variable_assignment", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "expression_list", - "named": true - }, - { - "type": "variable_list", - "named": true - } - ] - } - }, - { - "type": "variable_list", - "named": true, - "fields": { - "name": { + }, + "value": { "multiple": true, - "required": false, + "required": true, "types": [ { - "type": "identifier", + "type": ",", + "named": false + }, + { + "type": "expression", "named": true } ] } - }, - "children": { - "multiple": true, - "required": false, - "types": [ - { - "type": "variable", - "named": true - } - ] } }, { diff --git a/src/parser.c b/src/parser.c index db9ea6e..8e9b4ec 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,15 +6,15 @@ #endif #define LANGUAGE_VERSION 13 -#define STATE_COUNT 255 +#define STATE_COUNT 257 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 125 +#define SYMBOL_COUNT 118 #define ALIAS_COUNT 0 #define TOKEN_COUNT 65 #define EXTERNAL_TOKEN_COUNT 6 -#define FIELD_COUNT 20 +#define FIELD_COUNT 25 #define MAX_ALIAS_SEQUENCE_LENGTH 11 -#define PRODUCTION_ID_COUNT 56 +#define PRODUCTION_ID_COUNT 57 enum { sym_identifier = 1, @@ -22,54 +22,54 @@ enum { anon_sym_return = 3, anon_sym_local = 4, anon_sym_function = 5, - anon_sym_for = 6, - anon_sym_in = 7, - anon_sym_do = 8, - anon_sym_end = 9, - anon_sym_COMMA = 10, - anon_sym_EQ = 11, - anon_sym_if = 12, - anon_sym_then = 13, - anon_sym_elseif = 14, - anon_sym_else = 15, - anon_sym_repeat = 16, - anon_sym_until = 17, - anon_sym_while = 18, - sym_break_statement = 19, - anon_sym_goto = 20, - anon_sym_COLON_COLON = 21, - anon_sym_LT = 22, - anon_sym_GT = 23, - anon_sym_SEMI = 24, - anon_sym_or = 25, - anon_sym_and = 26, - anon_sym_EQ_EQ = 27, - anon_sym_TILDE_EQ = 28, - anon_sym_LT_EQ = 29, - anon_sym_GT_EQ = 30, - anon_sym_PIPE = 31, - anon_sym_TILDE = 32, - anon_sym_AMP = 33, - anon_sym_LT_LT = 34, - anon_sym_GT_GT = 35, - anon_sym_PLUS = 36, - anon_sym_DASH = 37, - anon_sym_STAR = 38, - anon_sym_SLASH = 39, - anon_sym_SLASH_SLASH = 40, - anon_sym_PERCENT = 41, - anon_sym_DOT_DOT = 42, - anon_sym_CARET = 43, - anon_sym_not = 44, - anon_sym_POUND = 45, - anon_sym_LBRACE = 46, - anon_sym_RBRACE = 47, - anon_sym_LBRACK = 48, - anon_sym_RBRACK = 49, - anon_sym_LPAREN = 50, - anon_sym_RPAREN = 51, - anon_sym_COLON = 52, - anon_sym_DOT = 53, + anon_sym_DOT = 6, + anon_sym_for = 7, + anon_sym_COMMA = 8, + anon_sym_in = 9, + anon_sym_do = 10, + anon_sym_end = 11, + anon_sym_EQ = 12, + anon_sym_if = 13, + anon_sym_then = 14, + anon_sym_elseif = 15, + anon_sym_else = 16, + anon_sym_repeat = 17, + anon_sym_until = 18, + anon_sym_while = 19, + sym_break_statement = 20, + anon_sym_goto = 21, + anon_sym_COLON_COLON = 22, + anon_sym_LT = 23, + anon_sym_GT = 24, + anon_sym_SEMI = 25, + anon_sym_or = 26, + anon_sym_and = 27, + anon_sym_EQ_EQ = 28, + anon_sym_TILDE_EQ = 29, + anon_sym_LT_EQ = 30, + anon_sym_GT_EQ = 31, + anon_sym_PIPE = 32, + anon_sym_TILDE = 33, + anon_sym_AMP = 34, + anon_sym_LT_LT = 35, + anon_sym_GT_GT = 36, + anon_sym_PLUS = 37, + anon_sym_DASH = 38, + anon_sym_STAR = 39, + anon_sym_SLASH = 40, + anon_sym_SLASH_SLASH = 41, + anon_sym_PERCENT = 42, + anon_sym_DOT_DOT = 43, + anon_sym_CARET = 44, + anon_sym_not = 45, + anon_sym_POUND = 46, + anon_sym_LBRACE = 47, + anon_sym_RBRACE = 48, + anon_sym_LBRACK = 49, + anon_sym_RBRACK = 50, + anon_sym_LPAREN = 51, + anon_sym_RPAREN = 52, + anon_sym_COLON = 53, sym_vararg_expression = 54, sym_number = 55, sym_true = 56, @@ -88,59 +88,52 @@ enum { sym_statement = 69, sym_local_function_definition_statement = 70, sym_function_definition_statement = 71, - sym__table_function_variable = 72, - sym__table_identifier = 73, - sym__table_field_variable = 74, - sym_for_generic_statement = 75, - sym__name_list = 76, - sym__value_list = 77, - sym_for_numeric_statement = 78, - sym_if_statement = 79, - sym_elseif_clause = 80, - sym_else_clause = 81, - sym_repeat_statement = 82, - sym_while_statement = 83, - sym_do_statement = 84, - sym_goto_statement = 85, - sym_label_statement = 86, - sym_local_variable_declaration = 87, - sym__local_variable_list = 88, - sym__local_variable = 89, - sym_attribute = 90, - sym_variable_assignment = 91, - sym_variable_list = 92, - sym_empty_statement = 93, - sym_expression = 94, - sym_binary_expression = 95, - sym_unary_expression = 96, - sym_table = 97, - sym_field_list = 98, - sym_field = 99, - sym_prefix_expression = 100, - sym__prefix_expression = 101, - sym_parenthesized_expression = 102, - sym_call = 103, - sym__table_method_variable = 104, - sym__method_identifier = 105, - sym_argument_list = 106, - sym_expression_list = 107, - sym_variable = 108, - sym__table_variable = 109, - sym__named_field_identifier = 110, - sym__indexed_field_identifier = 111, - sym_function_definition = 112, - sym__function_body = 113, - sym_parameter_list = 114, - sym_string = 115, - sym_comment = 116, - aux_sym__block_repeat1 = 117, - aux_sym__name_list_repeat1 = 118, - aux_sym__value_list_repeat1 = 119, - aux_sym_if_statement_repeat1 = 120, - aux_sym__local_variable_list_repeat1 = 121, - aux_sym_variable_list_repeat1 = 122, - aux_sym_field_list_repeat1 = 123, - aux_sym_expression_list_repeat1 = 124, + sym__function_name = 72, + sym__dotted_name = 73, + sym_for_generic_statement = 74, + sym_for_numeric_statement = 75, + sym_if_statement = 76, + sym_elseif_clause = 77, + sym_else_clause = 78, + sym_repeat_statement = 79, + sym_while_statement = 80, + sym_do_statement = 81, + sym_goto_statement = 82, + sym_label_statement = 83, + sym_local_variable_declaration = 84, + sym_variable = 85, + sym_variable_assignment = 86, + sym_empty_statement = 87, + sym_expression = 88, + sym_binary_expression = 89, + sym_unary_expression = 90, + sym_table = 91, + sym_field_list = 92, + sym_field = 93, + sym_prefix_expression = 94, + sym__prefix_expression = 95, + sym_parenthesized_expression = 96, + sym_call = 97, + sym_method_reference = 98, + sym__method_identifier = 99, + sym_argument_list = 100, + sym_expression_list = 101, + sym__variable = 102, + sym_member_access = 103, + sym_subscript = 104, + sym_function_definition = 105, + sym__function_body = 106, + sym_parameter_list = 107, + sym_string = 108, + sym_comment = 109, + aux_sym__block_repeat1 = 110, + aux_sym__dotted_name_repeat1 = 111, + aux_sym_for_generic_statement_repeat1 = 112, + aux_sym_for_generic_statement_repeat2 = 113, + aux_sym_if_statement_repeat1 = 114, + aux_sym_local_variable_declaration_repeat1 = 115, + aux_sym_variable_assignment_repeat1 = 116, + aux_sym_field_list_repeat1 = 117, }; static const char * const ts_symbol_names[] = { @@ -150,11 +143,12 @@ static const char * const ts_symbol_names[] = { [anon_sym_return] = "return", [anon_sym_local] = "local", [anon_sym_function] = "function", + [anon_sym_DOT] = ".", [anon_sym_for] = "for", + [anon_sym_COMMA] = ",", [anon_sym_in] = "in", [anon_sym_do] = "do", [anon_sym_end] = "end", - [anon_sym_COMMA] = ",", [anon_sym_EQ] = "=", [anon_sym_if] = "if", [anon_sym_then] = "then", @@ -197,7 +191,6 @@ static const char * const ts_symbol_names[] = { [anon_sym_LPAREN] = "(", [anon_sym_RPAREN] = ")", [anon_sym_COLON] = ":", - [anon_sym_DOT] = ".", [sym_vararg_expression] = "vararg_expression", [sym_number] = "number", [sym_true] = "true", @@ -216,12 +209,9 @@ static const char * const ts_symbol_names[] = { [sym_statement] = "statement", [sym_local_function_definition_statement] = "local_function_definition_statement", [sym_function_definition_statement] = "function_definition_statement", - [sym__table_function_variable] = "variable", - [sym__table_identifier] = "_table_identifier", - [sym__table_field_variable] = "variable", + [sym__function_name] = "function_name", + [sym__dotted_name] = "_dotted_name", [sym_for_generic_statement] = "for_generic_statement", - [sym__name_list] = "variable_list", - [sym__value_list] = "expression_list", [sym_for_numeric_statement] = "for_numeric_statement", [sym_if_statement] = "if_statement", [sym_elseif_clause] = "elseif_clause", @@ -232,11 +222,8 @@ static const char * const ts_symbol_names[] = { [sym_goto_statement] = "goto_statement", [sym_label_statement] = "label_statement", [sym_local_variable_declaration] = "local_variable_declaration", - [sym__local_variable_list] = "variable_list", - [sym__local_variable] = "variable", - [sym_attribute] = "attribute", + [sym_variable] = "variable", [sym_variable_assignment] = "variable_assignment", - [sym_variable_list] = "variable_list", [sym_empty_statement] = "empty_statement", [sym_expression] = "expression", [sym_binary_expression] = "binary_expression", @@ -248,27 +235,26 @@ static const char * const ts_symbol_names[] = { [sym__prefix_expression] = "_prefix_expression", [sym_parenthesized_expression] = "parenthesized_expression", [sym_call] = "call", - [sym__table_method_variable] = "variable", + [sym_method_reference] = "method_reference", [sym__method_identifier] = "_method_identifier", [sym_argument_list] = "argument_list", [sym_expression_list] = "expression_list", - [sym_variable] = "variable", - [sym__table_variable] = "_table_variable", - [sym__named_field_identifier] = "_named_field_identifier", - [sym__indexed_field_identifier] = "_indexed_field_identifier", + [sym__variable] = "_variable", + [sym_member_access] = "member_access", + [sym_subscript] = "subscript", [sym_function_definition] = "function_definition", [sym__function_body] = "_function_body", [sym_parameter_list] = "parameter_list", [sym_string] = "string", [sym_comment] = "comment", [aux_sym__block_repeat1] = "_block_repeat1", - [aux_sym__name_list_repeat1] = "_name_list_repeat1", - [aux_sym__value_list_repeat1] = "_value_list_repeat1", + [aux_sym__dotted_name_repeat1] = "_dotted_name_repeat1", + [aux_sym_for_generic_statement_repeat1] = "for_generic_statement_repeat1", + [aux_sym_for_generic_statement_repeat2] = "for_generic_statement_repeat2", [aux_sym_if_statement_repeat1] = "if_statement_repeat1", - [aux_sym__local_variable_list_repeat1] = "_local_variable_list_repeat1", - [aux_sym_variable_list_repeat1] = "variable_list_repeat1", + [aux_sym_local_variable_declaration_repeat1] = "local_variable_declaration_repeat1", + [aux_sym_variable_assignment_repeat1] = "variable_assignment_repeat1", [aux_sym_field_list_repeat1] = "field_list_repeat1", - [aux_sym_expression_list_repeat1] = "expression_list_repeat1", }; static const TSSymbol ts_symbol_map[] = { @@ -278,11 +264,12 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_return] = anon_sym_return, [anon_sym_local] = anon_sym_local, [anon_sym_function] = anon_sym_function, + [anon_sym_DOT] = anon_sym_DOT, [anon_sym_for] = anon_sym_for, + [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_in] = anon_sym_in, [anon_sym_do] = anon_sym_do, [anon_sym_end] = anon_sym_end, - [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_EQ] = anon_sym_EQ, [anon_sym_if] = anon_sym_if, [anon_sym_then] = anon_sym_then, @@ -325,7 +312,6 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_LPAREN] = anon_sym_LPAREN, [anon_sym_RPAREN] = anon_sym_RPAREN, [anon_sym_COLON] = anon_sym_COLON, - [anon_sym_DOT] = anon_sym_DOT, [sym_vararg_expression] = sym_vararg_expression, [sym_number] = sym_number, [sym_true] = sym_true, @@ -344,12 +330,9 @@ static const TSSymbol ts_symbol_map[] = { [sym_statement] = sym_statement, [sym_local_function_definition_statement] = sym_local_function_definition_statement, [sym_function_definition_statement] = sym_function_definition_statement, - [sym__table_function_variable] = sym_variable, - [sym__table_identifier] = sym__table_identifier, - [sym__table_field_variable] = sym_variable, + [sym__function_name] = sym__function_name, + [sym__dotted_name] = sym__dotted_name, [sym_for_generic_statement] = sym_for_generic_statement, - [sym__name_list] = sym_variable_list, - [sym__value_list] = sym_expression_list, [sym_for_numeric_statement] = sym_for_numeric_statement, [sym_if_statement] = sym_if_statement, [sym_elseif_clause] = sym_elseif_clause, @@ -360,11 +343,8 @@ static const TSSymbol ts_symbol_map[] = { [sym_goto_statement] = sym_goto_statement, [sym_label_statement] = sym_label_statement, [sym_local_variable_declaration] = sym_local_variable_declaration, - [sym__local_variable_list] = sym_variable_list, - [sym__local_variable] = sym_variable, - [sym_attribute] = sym_attribute, + [sym_variable] = sym_variable, [sym_variable_assignment] = sym_variable_assignment, - [sym_variable_list] = sym_variable_list, [sym_empty_statement] = sym_empty_statement, [sym_expression] = sym_expression, [sym_binary_expression] = sym_binary_expression, @@ -376,27 +356,26 @@ static const TSSymbol ts_symbol_map[] = { [sym__prefix_expression] = sym__prefix_expression, [sym_parenthesized_expression] = sym_parenthesized_expression, [sym_call] = sym_call, - [sym__table_method_variable] = sym_variable, + [sym_method_reference] = sym_method_reference, [sym__method_identifier] = sym__method_identifier, [sym_argument_list] = sym_argument_list, [sym_expression_list] = sym_expression_list, - [sym_variable] = sym_variable, - [sym__table_variable] = sym__table_variable, - [sym__named_field_identifier] = sym__named_field_identifier, - [sym__indexed_field_identifier] = sym__indexed_field_identifier, + [sym__variable] = sym__variable, + [sym_member_access] = sym_member_access, + [sym_subscript] = sym_subscript, [sym_function_definition] = sym_function_definition, [sym__function_body] = sym__function_body, [sym_parameter_list] = sym_parameter_list, [sym_string] = sym_string, [sym_comment] = sym_comment, [aux_sym__block_repeat1] = aux_sym__block_repeat1, - [aux_sym__name_list_repeat1] = aux_sym__name_list_repeat1, - [aux_sym__value_list_repeat1] = aux_sym__value_list_repeat1, + [aux_sym__dotted_name_repeat1] = aux_sym__dotted_name_repeat1, + [aux_sym_for_generic_statement_repeat1] = aux_sym_for_generic_statement_repeat1, + [aux_sym_for_generic_statement_repeat2] = aux_sym_for_generic_statement_repeat2, [aux_sym_if_statement_repeat1] = aux_sym_if_statement_repeat1, - [aux_sym__local_variable_list_repeat1] = aux_sym__local_variable_list_repeat1, - [aux_sym_variable_list_repeat1] = aux_sym_variable_list_repeat1, + [aux_sym_local_variable_declaration_repeat1] = aux_sym_local_variable_declaration_repeat1, + [aux_sym_variable_assignment_repeat1] = aux_sym_variable_assignment_repeat1, [aux_sym_field_list_repeat1] = aux_sym_field_list_repeat1, - [aux_sym_expression_list_repeat1] = aux_sym_expression_list_repeat1, }; static const TSSymbolMetadata ts_symbol_metadata[] = { @@ -424,23 +403,27 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, + [anon_sym_DOT] = { + .visible = true, + .named = false, + }, [anon_sym_for] = { .visible = true, .named = false, }, - [anon_sym_in] = { + [anon_sym_COMMA] = { .visible = true, .named = false, }, - [anon_sym_do] = { + [anon_sym_in] = { .visible = true, .named = false, }, - [anon_sym_end] = { + [anon_sym_do] = { .visible = true, .named = false, }, - [anon_sym_COMMA] = { + [anon_sym_end] = { .visible = true, .named = false, }, @@ -612,10 +595,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_DOT] = { - .visible = true, - .named = false, - }, [sym_vararg_expression] = { .visible = true, .named = true, @@ -689,30 +668,18 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__table_function_variable] = { + [sym__function_name] = { .visible = true, .named = true, }, - [sym__table_identifier] = { + [sym__dotted_name] = { .visible = false, .named = true, }, - [sym__table_field_variable] = { - .visible = true, - .named = true, - }, [sym_for_generic_statement] = { .visible = true, .named = true, }, - [sym__name_list] = { - .visible = true, - .named = true, - }, - [sym__value_list] = { - .visible = true, - .named = true, - }, [sym_for_numeric_statement] = { .visible = true, .named = true, @@ -753,15 +720,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__local_variable_list] = { - .visible = true, - .named = true, - }, - [sym__local_variable] = { - .visible = true, - .named = true, - }, - [sym_attribute] = { + [sym_variable] = { .visible = true, .named = true, }, @@ -769,10 +728,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_variable_list] = { - .visible = true, - .named = true, - }, [sym_empty_statement] = { .visible = true, .named = true, @@ -819,7 +774,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym__table_method_variable] = { + [sym_method_reference] = { .visible = true, .named = true, }, @@ -835,20 +790,16 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_variable] = { - .visible = true, - .named = true, - }, - [sym__table_variable] = { + [sym__variable] = { .visible = false, .named = true, }, - [sym__named_field_identifier] = { - .visible = false, + [sym_member_access] = { + .visible = true, .named = true, }, - [sym__indexed_field_identifier] = { - .visible = false, + [sym_subscript] = { + .visible = true, .named = true, }, [sym_function_definition] = { @@ -875,31 +826,31 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym__name_list_repeat1] = { + [aux_sym__dotted_name_repeat1] = { .visible = false, .named = false, }, - [aux_sym__value_list_repeat1] = { + [aux_sym_for_generic_statement_repeat1] = { .visible = false, .named = false, }, - [aux_sym_if_statement_repeat1] = { + [aux_sym_for_generic_statement_repeat2] = { .visible = false, .named = false, }, - [aux_sym__local_variable_list_repeat1] = { + [aux_sym_if_statement_repeat1] = { .visible = false, .named = false, }, - [aux_sym_variable_list_repeat1] = { + [aux_sym_local_variable_declaration_repeat1] = { .visible = false, .named = false, }, - [aux_sym_field_list_repeat1] = { + [aux_sym_variable_assignment_repeat1] = { .visible = false, .named = false, }, - [aux_sym_expression_list_repeat1] = { + [aux_sym_field_list_repeat1] = { .visible = false, .named = false, }, @@ -909,23 +860,28 @@ enum { field_alternative = 1, field_argument = 2, field_arguments = 3, - field_body = 4, - field_condition = 5, - field_consequence = 6, - field_end = 7, - field_field = 8, - field_function = 9, - field_key = 10, - field_left = 11, - field_method = 12, - field_name = 13, - field_operator = 14, - field_parameters = 15, - field_right = 16, - field_start = 17, - field_step = 18, - field_table = 19, - field_value = 20, + field_assignee = 4, + field_attribute = 5, + field_body = 6, + field_condition = 7, + field_consequence = 8, + field_end = 9, + field_function = 10, + field_key = 11, + field_left = 12, + field_member = 13, + field_method = 14, + field_name = 15, + field_operator = 16, + field_parameters = 17, + field_right = 18, + field_start = 19, + field_step = 20, + field_subject = 21, + field_subscript = 22, + field_value = 23, + field_values = 24, + field_variables = 25, }; static const char * const ts_field_names[] = { @@ -933,14 +889,16 @@ static const char * const ts_field_names[] = { [field_alternative] = "alternative", [field_argument] = "argument", [field_arguments] = "arguments", + [field_assignee] = "assignee", + [field_attribute] = "attribute", [field_body] = "body", [field_condition] = "condition", [field_consequence] = "consequence", [field_end] = "end", - [field_field] = "field", [field_function] = "function", [field_key] = "key", [field_left] = "left", + [field_member] = "member", [field_method] = "method", [field_name] = "name", [field_operator] = "operator", @@ -948,242 +906,260 @@ static const char * const ts_field_names[] = { [field_right] = "right", [field_start] = "start", [field_step] = "step", - [field_table] = "table", + [field_subject] = "subject", + [field_subscript] = "subscript", [field_value] = "value", + [field_values] = "values", + [field_variables] = "variables", }; static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 1}, - [2] = {.index = 1, .length = 2}, - [3] = {.index = 3, .length = 1}, - [4] = {.index = 4, .length = 1}, - [5] = {.index = 5, .length = 3}, - [6] = {.index = 8, .length = 1}, - [7] = {.index = 9, .length = 2}, - [8] = {.index = 11, .length = 2}, - [9] = {.index = 13, .length = 2}, - [10] = {.index = 15, .length = 4}, - [11] = {.index = 19, .length = 4}, - [12] = {.index = 23, .length = 2}, - [13] = {.index = 25, .length = 2}, - [14] = {.index = 27, .length = 1}, - [15] = {.index = 28, .length = 3}, - [16] = {.index = 31, .length = 6}, - [17] = {.index = 37, .length = 2}, - [18] = {.index = 39, .length = 2}, - [19] = {.index = 41, .length = 2}, - [20] = {.index = 43, .length = 1}, - [21] = {.index = 44, .length = 1}, - [22] = {.index = 45, .length = 1}, - [23] = {.index = 46, .length = 1}, - [24] = {.index = 47, .length = 1}, - [25] = {.index = 48, .length = 3}, - [26] = {.index = 51, .length = 3}, - [27] = {.index = 54, .length = 1}, - [28] = {.index = 55, .length = 1}, - [29] = {.index = 56, .length = 2}, - [30] = {.index = 58, .length = 1}, - [31] = {.index = 59, .length = 1}, - [32] = {.index = 60, .length = 2}, - [33] = {.index = 62, .length = 2}, - [34] = {.index = 64, .length = 2}, - [35] = {.index = 66, .length = 2}, - [36] = {.index = 68, .length = 2}, - [37] = {.index = 70, .length = 2}, - [38] = {.index = 72, .length = 2}, - [39] = {.index = 74, .length = 2}, - [40] = {.index = 76, .length = 1}, - [41] = {.index = 77, .length = 2}, - [42] = {.index = 79, .length = 1}, - [43] = {.index = 80, .length = 1}, - [44] = {.index = 81, .length = 4}, - [45] = {.index = 85, .length = 3}, - [46] = {.index = 88, .length = 3}, - [47] = {.index = 91, .length = 3}, - [48] = {.index = 94, .length = 2}, - [49] = {.index = 96, .length = 2}, - [50] = {.index = 98, .length = 5}, - [51] = {.index = 103, .length = 4}, - [52] = {.index = 107, .length = 3}, - [53] = {.index = 110, .length = 4}, - [54] = {.index = 114, .length = 4}, - [55] = {.index = 118, .length = 5}, + [2] = {.index = 1, .length = 1}, + [3] = {.index = 2, .length = 1}, + [4] = {.index = 3, .length = 1}, + [5] = {.index = 4, .length = 2}, + [6] = {.index = 6, .length = 1}, + [7] = {.index = 7, .length = 2}, + [8] = {.index = 9, .length = 2}, + [9] = {.index = 11, .length = 1}, + [10] = {.index = 12, .length = 2}, + [11] = {.index = 14, .length = 4}, + [12] = {.index = 18, .length = 1}, + [13] = {.index = 19, .length = 1}, + [14] = {.index = 20, .length = 2}, + [15] = {.index = 22, .length = 1}, + [16] = {.index = 23, .length = 2}, + [17] = {.index = 25, .length = 3}, + [18] = {.index = 28, .length = 3}, + [19] = {.index = 31, .length = 2}, + [20] = {.index = 33, .length = 1}, + [21] = {.index = 34, .length = 1}, + [22] = {.index = 35, .length = 2}, + [23] = {.index = 37, .length = 2}, + [24] = {.index = 39, .length = 3}, + [25] = {.index = 42, .length = 3}, + [26] = {.index = 45, .length = 2}, + [27] = {.index = 47, .length = 2}, + [28] = {.index = 49, .length = 3}, + [29] = {.index = 52, .length = 3}, + [30] = {.index = 55, .length = 2}, + [31] = {.index = 57, .length = 2}, + [32] = {.index = 59, .length = 2}, + [33] = {.index = 61, .length = 2}, + [34] = {.index = 63, .length = 2}, + [35] = {.index = 65, .length = 4}, + [36] = {.index = 69, .length = 1}, + [37] = {.index = 70, .length = 1}, + [38] = {.index = 71, .length = 4}, + [39] = {.index = 75, .length = 2}, + [40] = {.index = 77, .length = 3}, + [41] = {.index = 80, .length = 3}, + [42] = {.index = 83, .length = 3}, + [43] = {.index = 86, .length = 2}, + [44] = {.index = 88, .length = 2}, + [45] = {.index = 90, .length = 3}, + [46] = {.index = 93, .length = 3}, + [47] = {.index = 96, .length = 3}, + [48] = {.index = 99, .length = 4}, + [49] = {.index = 103, .length = 4}, + [50] = {.index = 107, .length = 3}, + [51] = {.index = 110, .length = 4}, + [52] = {.index = 114, .length = 4}, + [53] = {.index = 118, .length = 4}, + [54] = {.index = 122, .length = 5}, + [55] = {.index = 127, .length = 4}, + [56] = {.index = 131, .length = 5}, }; static const TSFieldMapEntry ts_field_map_entries[] = { [0] = - {field_name, 0}, + {field_value, 1}, [1] = - {field_field, 0, .inherited = true}, - {field_table, 0, .inherited = true}, + {field_name, 0}, + [2] = + {field_variables, 1}, [3] = - {field_name, 0, .inherited = true}, - [4] = - {field_table, 0}, - [5] = - {field_field, 0, .inherited = true}, - {field_table, 0}, - {field_table, 0, .inherited = true}, - [8] = {field_name, 1}, - [9] = - {field_field, 1, .inherited = true}, - {field_table, 0}, - [11] = - {field_method, 1, .inherited = true}, - {field_table, 0}, - [13] = - {field_arguments, 1}, - {field_function, 0}, - [15] = + [4] = {field_arguments, 1}, {field_function, 0}, - {field_method, 0, .inherited = true}, - {field_table, 0, .inherited = true}, - [19] = - {field_field, 0, .inherited = true}, - {field_field, 1, .inherited = true}, - {field_table, 0}, - {field_table, 0, .inherited = true}, - [23] = + [6] = + {field_method, 1, .inherited = true}, + [7] = {field_body, 1, .inherited = true}, {field_parameters, 1, .inherited = true}, - [25] = + [9] = {field_argument, 1}, {field_operator, 0}, - [27] = + [11] = {field_value, 0}, - [28] = - {field_body, 2, .inherited = true}, - {field_name, 1}, - {field_parameters, 2, .inherited = true}, - [31] = + [12] = + {field_variables, 1}, + {field_variables, 2}, + [14] = {field_body, 2, .inherited = true}, - {field_field, 1, .inherited = true}, {field_method, 1, .inherited = true}, {field_name, 1}, {field_parameters, 2, .inherited = true}, - {field_table, 1, .inherited = true}, - [37] = - {field_method, 1, .inherited = true}, - {field_table, 0, .inherited = true}, - [39] = - {field_field, 1, .inherited = true}, - {field_table, 0, .inherited = true}, - [41] = - {field_name, 0}, - {field_name, 1, .inherited = true}, - [43] = + [18] = {field_body, 1}, - [44] = + [19] = {field_condition, 2}, - [45] = - {field_field, 1}, - [46] = - {field_value, 2, .inherited = true}, - [47] = + [20] = + {field_member, 2}, + {field_subject, 0}, + [22] = {field_method, 1}, - [48] = + [23] = + {field_assignee, 0}, + {field_value, 2}, + [25] = {field_left, 0}, {field_operator, 1}, {field_right, 2}, - [51] = + [28] = {field_body, 3, .inherited = true}, {field_name, 2}, {field_parameters, 3, .inherited = true}, - [54] = - {field_value, 3, .inherited = true}, - [55] = - {field_name, 1, .inherited = true}, - [56] = - {field_name, 0, .inherited = true}, - {field_name, 1, .inherited = true}, - [58] = + [31] = + {field_values, 3}, + {field_variables, 1}, + [33] = {field_condition, 1}, - [59] = + [34] = {field_alternative, 0}, - [60] = + [35] = {field_body, 1}, {field_condition, 3}, - [62] = - {field_value, 0}, - {field_value, 1, .inherited = true}, - [64] = + [37] = + {field_subject, 0}, + {field_subscript, 2}, + [39] = + {field_assignee, 0}, + {field_value, 2}, + {field_value, 3}, + [42] = + {field_assignee, 0}, + {field_assignee, 1}, + {field_value, 3}, + [45] = {field_key, 0}, {field_value, 2}, - [66] = + [47] = + {field_attribute, 2}, + {field_name, 0}, + [49] = + {field_values, 3}, + {field_values, 4}, + {field_variables, 1}, + [52] = + {field_values, 4}, + {field_variables, 1}, + {field_variables, 2}, + [55] = {field_condition, 1}, {field_consequence, 3}, - [68] = + [57] = {field_alternative, 3}, {field_condition, 1}, - [70] = + [59] = {field_alternative, 3, .inherited = true}, {field_condition, 1}, - [72] = + [61] = {field_alternative, 0, .inherited = true}, {field_alternative, 1, .inherited = true}, - [74] = + [63] = {field_body, 3}, {field_condition, 1}, - [76] = - {field_value, 1}, - [77] = - {field_value, 0, .inherited = true}, - {field_value, 1, .inherited = true}, - [79] = + [65] = + {field_assignee, 0}, + {field_assignee, 1}, + {field_value, 3}, + {field_value, 4}, + [69] = {field_body, 2}, - [80] = + [70] = {field_parameters, 1}, - [81] = + [71] = + {field_values, 4}, + {field_values, 5}, + {field_variables, 1}, + {field_variables, 2}, + [75] = {field_left, 1}, - {field_name, 1, .inherited = true}, {field_right, 3}, - {field_value, 3, .inherited = true}, - [85] = + [77] = {field_alternative, 4}, {field_condition, 1}, {field_consequence, 3}, - [88] = + [80] = {field_alternative, 4, .inherited = true}, {field_condition, 1}, {field_consequence, 3}, - [91] = + [83] = {field_alternative, 3, .inherited = true}, {field_alternative, 4}, {field_condition, 1}, - [94] = + [86] = {field_body, 3}, {field_parameters, 1}, - [96] = + [88] = {field_key, 1}, {field_value, 4}, - [98] = + [90] = {field_body, 5}, {field_left, 1}, - {field_name, 1, .inherited = true}, {field_right, 3}, - {field_value, 3, .inherited = true}, - [103] = + [93] = + {field_left, 1}, + {field_right, 3}, + {field_right, 4}, + [96] = + {field_left, 1}, + {field_left, 2}, + {field_right, 4}, + [99] = {field_alternative, 4, .inherited = true}, {field_alternative, 5}, {field_condition, 1}, {field_consequence, 3}, + [103] = + {field_body, 6}, + {field_left, 1}, + {field_right, 3}, + {field_right, 4}, [107] = {field_end, 5}, {field_name, 1}, {field_start, 3}, [110] = + {field_body, 6}, + {field_left, 1}, + {field_left, 2}, + {field_right, 4}, + [114] = + {field_left, 1}, + {field_left, 2}, + {field_right, 4}, + {field_right, 5}, + [118] = {field_body, 7}, {field_end, 5}, {field_name, 1}, {field_start, 3}, - [114] = + [122] = + {field_body, 7}, + {field_left, 1}, + {field_left, 2}, + {field_right, 4}, + {field_right, 5}, + [127] = {field_end, 5}, {field_name, 1}, {field_start, 3}, {field_step, 7}, - [118] = + [131] = {field_body, 9}, {field_end, 5}, {field_name, 1}, @@ -1193,15 +1169,9 @@ static const TSFieldMapEntry ts_field_map_entries[] = { static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, - [11] = { - [0] = sym_variable, - }, }; static const uint16_t ts_non_terminal_alias_map[] = { - sym__table_variable, 2, - sym__table_variable, - sym_variable, 0, }; @@ -1211,30 +1181,30 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { switch (state) { case 0: if (eof) ADVANCE(11); - if (lookahead == '#') ADVANCE(40); - if (lookahead == '%') ADVANCE(36); - if (lookahead == '&') ADVANCE(27); - if (lookahead == '(') ADVANCE(45); - if (lookahead == ')') ADVANCE(46); - if (lookahead == '*') ADVANCE(33); - if (lookahead == '+') ADVANCE(30); - if (lookahead == ',') ADVANCE(13); - if (lookahead == '-') ADVANCE(32); - if (lookahead == '.') ADVANCE(49); - if (lookahead == '/') ADVANCE(34); + if (lookahead == '#') ADVANCE(42); + if (lookahead == '%') ADVANCE(38); + if (lookahead == '&') ADVANCE(29); + if (lookahead == '(') ADVANCE(47); + if (lookahead == ')') ADVANCE(48); + if (lookahead == '*') ADVANCE(35); + if (lookahead == '+') ADVANCE(32); + if (lookahead == ',') ADVANCE(15); + if (lookahead == '-') ADVANCE(34); + if (lookahead == '.') ADVANCE(14); + if (lookahead == '/') ADVANCE(36); if (lookahead == '0') ADVANCE(51); - if (lookahead == ':') ADVANCE(47); - if (lookahead == ';') ADVANCE(19); - if (lookahead == '<') ADVANCE(16); - if (lookahead == '=') ADVANCE(14); - if (lookahead == '>') ADVANCE(18); - if (lookahead == '[') ADVANCE(43); - if (lookahead == ']') ADVANCE(44); - if (lookahead == '^') ADVANCE(38); - if (lookahead == '{') ADVANCE(41); - if (lookahead == '|') ADVANCE(24); - if (lookahead == '}') ADVANCE(42); - if (lookahead == '~') ADVANCE(26); + if (lookahead == ':') ADVANCE(49); + if (lookahead == ';') ADVANCE(21); + if (lookahead == '<') ADVANCE(18); + if (lookahead == '=') ADVANCE(16); + if (lookahead == '>') ADVANCE(20); + if (lookahead == '[') ADVANCE(45); + if (lookahead == ']') ADVANCE(46); + if (lookahead == '^') ADVANCE(40); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(26); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '~') ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1279,28 +1249,28 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 9: if (eof) ADVANCE(11); if (lookahead == '#') ADVANCE(1); - if (lookahead == '%') ADVANCE(36); - if (lookahead == '&') ADVANCE(27); - if (lookahead == '(') ADVANCE(45); - if (lookahead == ')') ADVANCE(46); - if (lookahead == '*') ADVANCE(33); - if (lookahead == '+') ADVANCE(30); - if (lookahead == ',') ADVANCE(13); - if (lookahead == '-') ADVANCE(31); - if (lookahead == '.') ADVANCE(48); - if (lookahead == '/') ADVANCE(34); - if (lookahead == ':') ADVANCE(47); - if (lookahead == ';') ADVANCE(19); - if (lookahead == '<') ADVANCE(16); - if (lookahead == '=') ADVANCE(14); - if (lookahead == '>') ADVANCE(18); - if (lookahead == '[') ADVANCE(43); - if (lookahead == ']') ADVANCE(44); - if (lookahead == '^') ADVANCE(38); - if (lookahead == '{') ADVANCE(41); - if (lookahead == '|') ADVANCE(24); - if (lookahead == '}') ADVANCE(42); - if (lookahead == '~') ADVANCE(26); + if (lookahead == '%') ADVANCE(38); + if (lookahead == '&') ADVANCE(29); + if (lookahead == '(') ADVANCE(47); + if (lookahead == ')') ADVANCE(48); + if (lookahead == '*') ADVANCE(35); + if (lookahead == '+') ADVANCE(32); + if (lookahead == ',') ADVANCE(15); + if (lookahead == '-') ADVANCE(33); + if (lookahead == '.') ADVANCE(13); + if (lookahead == '/') ADVANCE(36); + if (lookahead == ':') ADVANCE(49); + if (lookahead == ';') ADVANCE(21); + if (lookahead == '<') ADVANCE(18); + if (lookahead == '=') ADVANCE(16); + if (lookahead == '>') ADVANCE(20); + if (lookahead == '[') ADVANCE(45); + if (lookahead == ']') ADVANCE(46); + if (lookahead == '^') ADVANCE(40); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '|') ADVANCE(26); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '~') ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1311,18 +1281,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 10: if (eof) ADVANCE(11); - if (lookahead == '#') ADVANCE(39); - if (lookahead == '(') ADVANCE(45); - if (lookahead == ')') ADVANCE(46); - if (lookahead == '-') ADVANCE(32); + if (lookahead == '#') ADVANCE(41); + if (lookahead == '(') ADVANCE(47); + if (lookahead == ')') ADVANCE(48); + if (lookahead == '-') ADVANCE(34); if (lookahead == '.') ADVANCE(3); if (lookahead == '0') ADVANCE(51); - if (lookahead == ';') ADVANCE(19); - if (lookahead == '>') ADVANCE(17); - if (lookahead == '[') ADVANCE(43); - if (lookahead == '{') ADVANCE(41); - if (lookahead == '}') ADVANCE(42); - if (lookahead == '~') ADVANCE(25); + if (lookahead == ';') ADVANCE(21); + if (lookahead == '>') ADVANCE(19); + if (lookahead == '[') ADVANCE(45); + if (lookahead == '{') ADVANCE(43); + if (lookahead == '}') ADVANCE(44); + if (lookahead == '~') ADVANCE(27); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1341,130 +1311,130 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\n') ADVANCE(12); END_STATE(); case 13: - ACCEPT_TOKEN(anon_sym_COMMA); + ACCEPT_TOKEN(anon_sym_DOT); + if (lookahead == '.') ADVANCE(39); END_STATE(); case 14: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(20); + ACCEPT_TOKEN(anon_sym_DOT); + if (lookahead == '.') ADVANCE(39); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(54); END_STATE(); case 15: - ACCEPT_TOKEN(anon_sym_COLON_COLON); + ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); case 16: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '<') ADVANCE(28); + ACCEPT_TOKEN(anon_sym_EQ); if (lookahead == '=') ADVANCE(22); END_STATE(); case 17: - ACCEPT_TOKEN(anon_sym_GT); + ACCEPT_TOKEN(anon_sym_COLON_COLON); END_STATE(); case 18: - ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '=') ADVANCE(23); - if (lookahead == '>') ADVANCE(29); + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '<') ADVANCE(30); + if (lookahead == '=') ADVANCE(24); END_STATE(); case 19: - ACCEPT_TOKEN(anon_sym_SEMI); + ACCEPT_TOKEN(anon_sym_GT); END_STATE(); case 20: - ACCEPT_TOKEN(anon_sym_EQ_EQ); + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '=') ADVANCE(25); + if (lookahead == '>') ADVANCE(31); END_STATE(); case 21: - ACCEPT_TOKEN(anon_sym_TILDE_EQ); + ACCEPT_TOKEN(anon_sym_SEMI); END_STATE(); case 22: - ACCEPT_TOKEN(anon_sym_LT_EQ); + ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); case 23: - ACCEPT_TOKEN(anon_sym_GT_EQ); + ACCEPT_TOKEN(anon_sym_TILDE_EQ); END_STATE(); case 24: - ACCEPT_TOKEN(anon_sym_PIPE); + ACCEPT_TOKEN(anon_sym_LT_EQ); END_STATE(); case 25: - ACCEPT_TOKEN(anon_sym_TILDE); + ACCEPT_TOKEN(anon_sym_GT_EQ); END_STATE(); case 26: - ACCEPT_TOKEN(anon_sym_TILDE); - if (lookahead == '=') ADVANCE(21); + ACCEPT_TOKEN(anon_sym_PIPE); END_STATE(); case 27: - ACCEPT_TOKEN(anon_sym_AMP); + ACCEPT_TOKEN(anon_sym_TILDE); END_STATE(); case 28: - ACCEPT_TOKEN(anon_sym_LT_LT); + ACCEPT_TOKEN(anon_sym_TILDE); + if (lookahead == '=') ADVANCE(23); END_STATE(); case 29: - ACCEPT_TOKEN(anon_sym_GT_GT); + ACCEPT_TOKEN(anon_sym_AMP); END_STATE(); case 30: - ACCEPT_TOKEN(anon_sym_PLUS); + ACCEPT_TOKEN(anon_sym_LT_LT); END_STATE(); case 31: - ACCEPT_TOKEN(anon_sym_DASH); + ACCEPT_TOKEN(anon_sym_GT_GT); END_STATE(); case 32: + ACCEPT_TOKEN(anon_sym_PLUS); + END_STATE(); + case 33: + ACCEPT_TOKEN(anon_sym_DASH); + END_STATE(); + case 34: ACCEPT_TOKEN(anon_sym_DASH); if (lookahead == '.') ADVANCE(6); if (lookahead == '0') ADVANCE(51); if (('1' <= lookahead && lookahead <= '9')) ADVANCE(52); END_STATE(); - case 33: + case 35: ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); - case 34: + case 36: ACCEPT_TOKEN(anon_sym_SLASH); - if (lookahead == '/') ADVANCE(35); + if (lookahead == '/') ADVANCE(37); END_STATE(); - case 35: + case 37: ACCEPT_TOKEN(anon_sym_SLASH_SLASH); END_STATE(); - case 36: + case 38: ACCEPT_TOKEN(anon_sym_PERCENT); END_STATE(); - case 37: + case 39: ACCEPT_TOKEN(anon_sym_DOT_DOT); END_STATE(); - case 38: + case 40: ACCEPT_TOKEN(anon_sym_CARET); END_STATE(); - case 39: + case 41: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); - case 40: + case 42: ACCEPT_TOKEN(anon_sym_POUND); if (lookahead == '!') ADVANCE(12); END_STATE(); - case 41: - ACCEPT_TOKEN(anon_sym_LBRACE); - END_STATE(); - case 42: - ACCEPT_TOKEN(anon_sym_RBRACE); - END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_LBRACK); + ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); case 44: - ACCEPT_TOKEN(anon_sym_RBRACK); + ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); case 45: - ACCEPT_TOKEN(anon_sym_LPAREN); + ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 46: - ACCEPT_TOKEN(anon_sym_RPAREN); + ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 47: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == ':') ADVANCE(15); + ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); case 48: - ACCEPT_TOKEN(anon_sym_DOT); - if (lookahead == '.') ADVANCE(37); + ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); case 49: - ACCEPT_TOKEN(anon_sym_DOT); - if (lookahead == '.') ADVANCE(37); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(54); + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == ':') ADVANCE(17); END_STATE(); case 50: ACCEPT_TOKEN(sym_vararg_expression); @@ -1809,19 +1779,19 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [10] = {.lex_state = 9, .external_lex_state = 3}, [11] = {.lex_state = 9, .external_lex_state = 3}, [12] = {.lex_state = 9, .external_lex_state = 3}, - [13] = {.lex_state = 9, .external_lex_state = 3}, - [14] = {.lex_state = 9, .external_lex_state = 3}, - [15] = {.lex_state = 9, .external_lex_state = 3}, - [16] = {.lex_state = 9, .external_lex_state = 3}, - [17] = {.lex_state = 9, .external_lex_state = 3}, - [18] = {.lex_state = 9, .external_lex_state = 3}, - [19] = {.lex_state = 9, .external_lex_state = 3}, - [20] = {.lex_state = 9, .external_lex_state = 3}, - [21] = {.lex_state = 9, .external_lex_state = 3}, - [22] = {.lex_state = 9, .external_lex_state = 3}, - [23] = {.lex_state = 9, .external_lex_state = 3}, + [13] = {.lex_state = 9, .external_lex_state = 2}, + [14] = {.lex_state = 9, .external_lex_state = 2}, + [15] = {.lex_state = 9, .external_lex_state = 2}, + [16] = {.lex_state = 0, .external_lex_state = 2}, + [17] = {.lex_state = 9, .external_lex_state = 2}, + [18] = {.lex_state = 9, .external_lex_state = 2}, + [19] = {.lex_state = 9, .external_lex_state = 2}, + [20] = {.lex_state = 9, .external_lex_state = 2}, + [21] = {.lex_state = 9, .external_lex_state = 2}, + [22] = {.lex_state = 9, .external_lex_state = 2}, + [23] = {.lex_state = 9, .external_lex_state = 2}, [24] = {.lex_state = 9, .external_lex_state = 2}, - [25] = {.lex_state = 0, .external_lex_state = 2}, + [25] = {.lex_state = 9, .external_lex_state = 2}, [26] = {.lex_state = 9, .external_lex_state = 2}, [27] = {.lex_state = 9, .external_lex_state = 2}, [28] = {.lex_state = 9, .external_lex_state = 2}, @@ -1833,42 +1803,42 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [34] = {.lex_state = 9, .external_lex_state = 2}, [35] = {.lex_state = 9, .external_lex_state = 2}, [36] = {.lex_state = 9, .external_lex_state = 2}, - [37] = {.lex_state = 9, .external_lex_state = 2}, - [38] = {.lex_state = 9, .external_lex_state = 2}, + [37] = {.lex_state = 0, .external_lex_state = 2}, + [38] = {.lex_state = 0, .external_lex_state = 2}, [39] = {.lex_state = 9, .external_lex_state = 2}, [40] = {.lex_state = 9, .external_lex_state = 2}, [41] = {.lex_state = 9, .external_lex_state = 2}, [42] = {.lex_state = 9, .external_lex_state = 2}, - [43] = {.lex_state = 9, .external_lex_state = 2}, - [44] = {.lex_state = 9, .external_lex_state = 2}, - [45] = {.lex_state = 9, .external_lex_state = 2}, - [46] = {.lex_state = 9, .external_lex_state = 2}, - [47] = {.lex_state = 9, .external_lex_state = 2}, + [43] = {.lex_state = 0, .external_lex_state = 2}, + [44] = {.lex_state = 0, .external_lex_state = 2}, + [45] = {.lex_state = 0, .external_lex_state = 2}, + [46] = {.lex_state = 0, .external_lex_state = 2}, + [47] = {.lex_state = 0, .external_lex_state = 2}, [48] = {.lex_state = 0, .external_lex_state = 2}, - [49] = {.lex_state = 0, .external_lex_state = 2}, - [50] = {.lex_state = 9, .external_lex_state = 2}, + [49] = {.lex_state = 9, .external_lex_state = 2}, + [50] = {.lex_state = 0, .external_lex_state = 2}, [51] = {.lex_state = 0, .external_lex_state = 2}, [52] = {.lex_state = 0, .external_lex_state = 2}, [53] = {.lex_state = 0, .external_lex_state = 2}, - [54] = {.lex_state = 0, .external_lex_state = 2}, + [54] = {.lex_state = 9, .external_lex_state = 2}, [55] = {.lex_state = 0, .external_lex_state = 2}, [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 = 0, .external_lex_state = 2}, - [60] = {.lex_state = 0, .external_lex_state = 2}, - [61] = {.lex_state = 9, .external_lex_state = 2}, - [62] = {.lex_state = 9, .external_lex_state = 2}, - [63] = {.lex_state = 0, .external_lex_state = 2}, - [64] = {.lex_state = 9, .external_lex_state = 2}, + [59] = {.lex_state = 10, .external_lex_state = 3}, + [60] = {.lex_state = 10, .external_lex_state = 3}, + [61] = {.lex_state = 9, .external_lex_state = 3}, + [62] = {.lex_state = 10, .external_lex_state = 3}, + [63] = {.lex_state = 9, .external_lex_state = 2}, + [64] = {.lex_state = 10, .external_lex_state = 3}, [65] = {.lex_state = 10, .external_lex_state = 3}, - [66] = {.lex_state = 9, .external_lex_state = 3}, + [66] = {.lex_state = 10, .external_lex_state = 3}, [67] = {.lex_state = 10, .external_lex_state = 3}, [68] = {.lex_state = 10, .external_lex_state = 3}, - [69] = {.lex_state = 9, .external_lex_state = 2}, + [69] = {.lex_state = 10, .external_lex_state = 3}, [70] = {.lex_state = 10, .external_lex_state = 3}, [71] = {.lex_state = 10, .external_lex_state = 3}, - [72] = {.lex_state = 9, .external_lex_state = 2}, + [72] = {.lex_state = 10, .external_lex_state = 3}, [73] = {.lex_state = 10, .external_lex_state = 3}, [74] = {.lex_state = 10, .external_lex_state = 3}, [75] = {.lex_state = 10, .external_lex_state = 3}, @@ -1896,28 +1866,28 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [97] = {.lex_state = 10, .external_lex_state = 3}, [98] = {.lex_state = 10, .external_lex_state = 3}, [99] = {.lex_state = 10, .external_lex_state = 3}, - [100] = {.lex_state = 10, .external_lex_state = 3}, - [101] = {.lex_state = 10, .external_lex_state = 3}, - [102] = {.lex_state = 10, .external_lex_state = 3}, - [103] = {.lex_state = 10, .external_lex_state = 3}, - [104] = {.lex_state = 10, .external_lex_state = 3}, - [105] = {.lex_state = 9, .external_lex_state = 3}, + [100] = {.lex_state = 9, .external_lex_state = 2}, + [101] = {.lex_state = 9, .external_lex_state = 2}, + [102] = {.lex_state = 9, .external_lex_state = 2}, + [103] = {.lex_state = 9, .external_lex_state = 2}, + [104] = {.lex_state = 9, .external_lex_state = 3}, + [105] = {.lex_state = 9, .external_lex_state = 2}, [106] = {.lex_state = 9, .external_lex_state = 2}, [107] = {.lex_state = 9, .external_lex_state = 2}, [108] = {.lex_state = 9, .external_lex_state = 2}, - [109] = {.lex_state = 0, .external_lex_state = 2}, + [109] = {.lex_state = 9, .external_lex_state = 2}, [110] = {.lex_state = 9, .external_lex_state = 2}, - [111] = {.lex_state = 9, .external_lex_state = 2}, - [112] = {.lex_state = 9, .external_lex_state = 2}, + [111] = {.lex_state = 0, .external_lex_state = 2}, + [112] = {.lex_state = 0, .external_lex_state = 2}, [113] = {.lex_state = 9, .external_lex_state = 2}, [114] = {.lex_state = 9, .external_lex_state = 2}, - [115] = {.lex_state = 9, .external_lex_state = 2}, + [115] = {.lex_state = 0, .external_lex_state = 2}, [116] = {.lex_state = 0, .external_lex_state = 2}, [117] = {.lex_state = 0, .external_lex_state = 2}, [118] = {.lex_state = 9, .external_lex_state = 2}, [119] = {.lex_state = 9, .external_lex_state = 2}, [120] = {.lex_state = 0, .external_lex_state = 2}, - [121] = {.lex_state = 9, .external_lex_state = 2}, + [121] = {.lex_state = 0, .external_lex_state = 2}, [122] = {.lex_state = 0, .external_lex_state = 2}, [123] = {.lex_state = 0, .external_lex_state = 2}, [124] = {.lex_state = 0, .external_lex_state = 2}, @@ -1955,62 +1925,62 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [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 = 9, .external_lex_state = 3}, + [159] = {.lex_state = 0, .external_lex_state = 3}, [160] = {.lex_state = 9, .external_lex_state = 3}, - [161] = {.lex_state = 0, .external_lex_state = 3}, + [161] = {.lex_state = 0, .external_lex_state = 2}, [162] = {.lex_state = 0, .external_lex_state = 2}, - [163] = {.lex_state = 0, .external_lex_state = 2}, - [164] = {.lex_state = 0, .external_lex_state = 3}, + [163] = {.lex_state = 0, .external_lex_state = 3}, + [164] = {.lex_state = 9, .external_lex_state = 3}, [165] = {.lex_state = 0, .external_lex_state = 2}, [166] = {.lex_state = 0, .external_lex_state = 2}, - [167] = {.lex_state = 0, .external_lex_state = 3}, - [168] = {.lex_state = 0, .external_lex_state = 3}, + [167] = {.lex_state = 0, .external_lex_state = 2}, + [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 = 9, .external_lex_state = 2}, [172] = {.lex_state = 0, .external_lex_state = 2}, [173] = {.lex_state = 0, .external_lex_state = 2}, [174] = {.lex_state = 0, .external_lex_state = 2}, - [175] = {.lex_state = 9, .external_lex_state = 2}, + [175] = {.lex_state = 10, .external_lex_state = 2}, [176] = {.lex_state = 0, .external_lex_state = 2}, - [177] = {.lex_state = 10, .external_lex_state = 2}, + [177] = {.lex_state = 9, .external_lex_state = 2}, [178] = {.lex_state = 0, .external_lex_state = 2}, - [179] = {.lex_state = 0, .external_lex_state = 2}, - [180] = {.lex_state = 9, .external_lex_state = 2}, + [179] = {.lex_state = 9, .external_lex_state = 2}, + [180] = {.lex_state = 0, .external_lex_state = 2}, [181] = {.lex_state = 0, .external_lex_state = 2}, - [182] = {.lex_state = 0, .external_lex_state = 2}, + [182] = {.lex_state = 0, .external_lex_state = 3}, [183] = {.lex_state = 0, .external_lex_state = 2}, [184] = {.lex_state = 0, .external_lex_state = 2}, - [185] = {.lex_state = 0, .external_lex_state = 2}, + [185] = {.lex_state = 9, .external_lex_state = 2}, [186] = {.lex_state = 0, .external_lex_state = 2}, - [187] = {.lex_state = 0, .external_lex_state = 3}, + [187] = {.lex_state = 0, .external_lex_state = 2}, [188] = {.lex_state = 0, .external_lex_state = 2}, [189] = {.lex_state = 0, .external_lex_state = 2}, [190] = {.lex_state = 0, .external_lex_state = 2}, [191] = {.lex_state = 0, .external_lex_state = 2}, [192] = {.lex_state = 0, .external_lex_state = 3}, - [193] = {.lex_state = 9, .external_lex_state = 2}, + [193] = {.lex_state = 0, .external_lex_state = 2}, [194] = {.lex_state = 0, .external_lex_state = 2}, [195] = {.lex_state = 0, .external_lex_state = 2}, [196] = {.lex_state = 0, .external_lex_state = 2}, - [197] = {.lex_state = 9, .external_lex_state = 2}, - [198] = {.lex_state = 0, .external_lex_state = 4}, + [197] = {.lex_state = 0, .external_lex_state = 2}, + [198] = {.lex_state = 0, .external_lex_state = 2}, [199] = {.lex_state = 0, .external_lex_state = 2}, - [200] = {.lex_state = 0, .external_lex_state = 2}, + [200] = {.lex_state = 0, .external_lex_state = 4}, [201] = {.lex_state = 0, .external_lex_state = 2}, - [202] = {.lex_state = 0, .external_lex_state = 5}, - [203] = {.lex_state = 10, .external_lex_state = 2}, + [202] = {.lex_state = 0, .external_lex_state = 4}, + [203] = {.lex_state = 0, .external_lex_state = 5}, [204] = {.lex_state = 0, .external_lex_state = 2}, - [205] = {.lex_state = 9, .external_lex_state = 2}, - [206] = {.lex_state = 0, .external_lex_state = 2}, - [207] = {.lex_state = 10, .external_lex_state = 2}, - [208] = {.lex_state = 0, .external_lex_state = 5}, + [205] = {.lex_state = 10, .external_lex_state = 2}, + [206] = {.lex_state = 10, .external_lex_state = 2}, + [207] = {.lex_state = 0, .external_lex_state = 2}, + [208] = {.lex_state = 0, .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 = 0, .external_lex_state = 2}, [213] = {.lex_state = 0, .external_lex_state = 2}, - [214] = {.lex_state = 0, .external_lex_state = 6}, + [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}, @@ -2018,8 +1988,8 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [219] = {.lex_state = 0, .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 = 7}, - [223] = {.lex_state = 0, .external_lex_state = 7}, + [222] = {.lex_state = 0, .external_lex_state = 2}, + [223] = {.lex_state = 0, .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}, @@ -2030,18 +2000,18 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [231] = {.lex_state = 0, .external_lex_state = 2}, [232] = {.lex_state = 0, .external_lex_state = 2}, [233] = {.lex_state = 0, .external_lex_state = 2}, - [234] = {.lex_state = 0, .external_lex_state = 2}, - [235] = {.lex_state = 0, .external_lex_state = 2}, + [234] = {.lex_state = 0, .external_lex_state = 6}, + [235] = {.lex_state = 0, .external_lex_state = 7}, [236] = {.lex_state = 0, .external_lex_state = 2}, [237] = {.lex_state = 0, .external_lex_state = 2}, [238] = {.lex_state = 0, .external_lex_state = 2}, [239] = {.lex_state = 0, .external_lex_state = 2}, [240] = {.lex_state = 0, .external_lex_state = 2}, - [241] = {.lex_state = 0, .external_lex_state = 2}, + [241] = {.lex_state = 0, .external_lex_state = 6}, [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 = 10, .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 = 2}, [248] = {.lex_state = 0, .external_lex_state = 2}, @@ -2049,8 +2019,10 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [250] = {.lex_state = 0, .external_lex_state = 2}, [251] = {.lex_state = 0, .external_lex_state = 2}, [252] = {.lex_state = 0, .external_lex_state = 2}, - [253] = {(TSStateId)(-1)}, - [254] = {(TSStateId)(-1)}, + [253] = {.lex_state = 10, .external_lex_state = 2}, + [254] = {.lex_state = 0, .external_lex_state = 2}, + [255] = {(TSStateId)(-1)}, + [256] = {(TSStateId)(-1)}, }; enum { @@ -2089,21 +2061,21 @@ static const bool ts_external_scanner_states[8][EXTERNAL_TOKEN_COUNT] = { }, [4] = { [ts_external_token__comment_start] = true, - [ts_external_token__comment_content] = true, - [ts_external_token__comment_end] = true, + [ts_external_token__string_content] = true, + [ts_external_token__string_end] = true, }, [5] = { [ts_external_token__comment_start] = true, - [ts_external_token__string_content] = true, - [ts_external_token__string_end] = true, + [ts_external_token__comment_content] = true, + [ts_external_token__comment_end] = true, }, [6] = { [ts_external_token__comment_start] = true, - [ts_external_token__comment_end] = true, + [ts_external_token__string_end] = true, }, [7] = { [ts_external_token__comment_start] = true, - [ts_external_token__string_end] = true, + [ts_external_token__comment_end] = true, }, }; @@ -2116,11 +2088,12 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_return] = ACTIONS(1), [anon_sym_local] = ACTIONS(1), [anon_sym_function] = ACTIONS(1), + [anon_sym_DOT] = ACTIONS(1), [anon_sym_for] = ACTIONS(1), + [anon_sym_COMMA] = ACTIONS(1), [anon_sym_in] = ACTIONS(1), [anon_sym_do] = ACTIONS(1), [anon_sym_end] = ACTIONS(1), - [anon_sym_COMMA] = ACTIONS(1), [anon_sym_EQ] = ACTIONS(1), [anon_sym_if] = ACTIONS(1), [anon_sym_then] = ACTIONS(1), @@ -2163,7 +2136,6 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LPAREN] = ACTIONS(1), [anon_sym_RPAREN] = ACTIONS(1), [anon_sym_COLON] = ACTIONS(1), - [anon_sym_DOT] = ACTIONS(1), [sym_number] = ACTIONS(1), [sym_true] = ACTIONS(1), [sym_false] = ACTIONS(1), @@ -2176,33 +2148,32 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym__string_end] = ACTIONS(1), }, [1] = { - [sym_chunk] = STATE(230), - [sym__block] = STATE(229), - [sym_return_statement] = STATE(171), - [sym_statement] = STATE(132), - [sym_local_function_definition_statement] = STATE(135), - [sym_function_definition_statement] = STATE(135), - [sym_for_generic_statement] = STATE(135), - [sym_for_numeric_statement] = STATE(135), - [sym_if_statement] = STATE(135), - [sym_repeat_statement] = STATE(135), - [sym_while_statement] = STATE(135), - [sym_do_statement] = STATE(135), - [sym_goto_statement] = STATE(135), - [sym_label_statement] = STATE(135), - [sym_local_variable_declaration] = STATE(135), - [sym_variable_assignment] = STATE(135), - [sym_variable_list] = STATE(219), - [sym_empty_statement] = STATE(135), - [sym_prefix_expression] = STATE(199), - [sym__prefix_expression] = STATE(168), - [sym_parenthesized_expression] = STATE(4), - [sym_call] = STATE(105), - [sym__table_method_variable] = STATE(167), - [sym_variable] = STATE(161), - [sym__table_variable] = STATE(2), + [sym_chunk] = STATE(244), + [sym__block] = STATE(243), + [sym_return_statement] = STATE(167), + [sym_statement] = STATE(150), + [sym_local_function_definition_statement] = STATE(132), + [sym_function_definition_statement] = STATE(132), + [sym_for_generic_statement] = STATE(132), + [sym_for_numeric_statement] = STATE(132), + [sym_if_statement] = STATE(132), + [sym_repeat_statement] = STATE(132), + [sym_while_statement] = STATE(132), + [sym_do_statement] = STATE(132), + [sym_goto_statement] = STATE(132), + [sym_label_statement] = STATE(132), + [sym_local_variable_declaration] = STATE(132), + [sym_variable_assignment] = STATE(132), + [sym_empty_statement] = STATE(132), + [sym__prefix_expression] = STATE(159), + [sym_parenthesized_expression] = STATE(164), + [sym_call] = STATE(104), + [sym_method_reference] = STATE(163), + [sym__variable] = STATE(190), + [sym_member_access] = STATE(160), + [sym_subscript] = STATE(160), [sym_comment] = STATE(1), - [aux_sym__block_repeat1] = STATE(49), + [aux_sym__block_repeat1] = STATE(38), [ts_builtin_sym_end] = ACTIONS(5), [sym_identifier] = ACTIONS(7), [sym_shebang] = ACTIONS(9), @@ -2224,23 +2195,16 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 8, + [0] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(41), 1, - anon_sym_LBRACK, - ACTIONS(43), 1, - anon_sym_DOT, STATE(2), 1, sym_comment, - STATE(9), 1, - sym__indexed_field_identifier, - STATE(10), 1, - sym__named_field_identifier, - ACTIONS(39), 24, + ACTIONS(39), 25, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, @@ -2262,7 +2226,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH, anon_sym_COLON, sym_identifier, - ACTIONS(37), 25, + ACTIONS(37), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2285,26 +2249,20 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_CARET, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [72] = 8, + [62] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(41), 1, - anon_sym_LBRACK, - ACTIONS(43), 1, - anon_sym_DOT, STATE(3), 1, sym_comment, - STATE(8), 1, - sym__named_field_identifier, - STATE(11), 1, - sym__indexed_field_identifier, - ACTIONS(47), 24, + ACTIONS(43), 25, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, @@ -2326,7 +2284,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH, anon_sym_COLON, sym_identifier, - ACTIONS(45), 25, + ACTIONS(41), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2349,86 +2307,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_CARET, anon_sym_LBRACE, anon_sym_RBRACE, + anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [144] = 9, + [124] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(41), 1, - anon_sym_LBRACK, - ACTIONS(43), 1, - anon_sym_DOT, STATE(4), 1, sym_comment, - STATE(5), 1, - sym__indexed_field_identifier, - STATE(12), 1, - sym__named_field_identifier, - ACTIONS(53), 3, - sym__string_start, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(49), 22, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_RPAREN, - ACTIONS(51), 23, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - anon_sym_COLON, - sym_identifier, - [217] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(5), 1, - sym_comment, - ACTIONS(57), 25, + ACTIONS(47), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2445,9 +2340,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(55), 26, + ACTIONS(45), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2474,19 +2368,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [279] = 4, + [185] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(6), 1, + STATE(5), 1, sym_comment, - ACTIONS(61), 25, + ACTIONS(51), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2503,9 +2397,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(59), 26, + ACTIONS(49), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2532,19 +2425,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [341] = 4, + [246] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(7), 1, + STATE(6), 1, sym_comment, - ACTIONS(65), 25, + ACTIONS(55), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2561,9 +2454,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(63), 26, + ACTIONS(53), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2590,19 +2482,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [403] = 4, + [307] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(8), 1, + STATE(7), 1, sym_comment, - ACTIONS(57), 25, + ACTIONS(59), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2619,9 +2511,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(55), 26, + ACTIONS(57), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2648,19 +2539,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [465] = 4, + [368] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(9), 1, + STATE(8), 1, sym_comment, - ACTIONS(69), 25, + ACTIONS(63), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2677,9 +2568,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(67), 26, + ACTIONS(61), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2706,19 +2596,19 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [527] = 4, + [429] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(10), 1, + STATE(9), 1, sym_comment, - ACTIONS(69), 25, + ACTIONS(67), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2735,9 +2625,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(67), 26, + ACTIONS(65), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2764,39 +2653,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [589] = 4, + [490] = 8, ACTIONS(3), 1, sym__comment_start, - STATE(11), 1, - sym_comment, - ACTIONS(57), 25, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_EQ, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - anon_sym_COLON, + ACTIONS(73), 1, anon_sym_DOT, - sym_identifier, - ACTIONS(55), 26, + ACTIONS(77), 1, + anon_sym_LBRACK, + ACTIONS(79), 1, + anon_sym_COLON, + STATE(10), 1, + sym_comment, + ACTIONS(75), 3, sym__string_start, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(69), 22, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -2816,25 +2688,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, - anon_sym_LPAREN, anon_sym_RPAREN, - [651] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(12), 1, - sym_comment, - ACTIONS(57), 25, + ACTIONS(71), 22, anon_sym_return, anon_sym_local, anon_sym_function, anon_sym_for, anon_sym_do, anon_sym_end, - anon_sym_EQ, anon_sym_if, anon_sym_then, anon_sym_elseif, @@ -2850,45 +2713,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(55), 26, - sym__string_start, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LBRACK, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [713] = 4, + [559] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(13), 1, + STATE(11), 1, sym_comment, - ACTIONS(73), 24, + ACTIONS(83), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, @@ -2908,9 +2743,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(71), 26, + ACTIONS(81), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2937,15 +2771,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [774] = 4, + [620] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(14), 1, + STATE(12), 1, sym_comment, - ACTIONS(77), 24, + ACTIONS(87), 24, anon_sym_return, anon_sym_local, anon_sym_function, + anon_sym_DOT, anon_sym_for, anon_sym_do, anon_sym_end, @@ -2965,9 +2800,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(75), 26, + ACTIONS(85), 26, sym__string_start, ts_builtin_sym_end, anon_sym_COMMA, @@ -2994,12 +2828,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [835] = 4, + [681] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(15), 1, + STATE(13), 1, sym_comment, - ACTIONS(81), 24, + ACTIONS(91), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3021,11 +2855,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(79), 26, - sym__string_start, + ACTIONS(89), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3045,18 +2876,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [896] = 4, + [737] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(16), 1, + STATE(14), 1, sym_comment, - ACTIONS(85), 24, + ACTIONS(95), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3078,11 +2907,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(83), 26, - sym__string_start, + ACTIONS(93), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3102,18 +2928,16 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [957] = 4, + [793] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(17), 1, + STATE(15), 1, sym_comment, - ACTIONS(89), 24, + ACTIONS(99), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3135,11 +2959,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(87), 26, - sym__string_start, + ACTIONS(97), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3159,132 +2980,162 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1018] = 4, + [849] = 34, ACTIONS(3), 1, sym__comment_start, - STATE(18), 1, - sym_comment, - ACTIONS(93), 24, + ACTIONS(7), 1, + sym_identifier, + ACTIONS(11), 1, anon_sym_return, + ACTIONS(13), 1, anon_sym_local, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, anon_sym_for, + ACTIONS(19), 1, anon_sym_do, - anon_sym_end, + ACTIONS(21), 1, anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, + ACTIONS(23), 1, anon_sym_repeat, - anon_sym_until, + ACTIONS(25), 1, anon_sym_while, + ACTIONS(27), 1, sym_break_statement, + ACTIONS(29), 1, anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, - sym_identifier, - ACTIONS(91), 26, - sym__string_start, - ts_builtin_sym_end, - anon_sym_COMMA, + ACTIONS(31), 1, anon_sym_COLON_COLON, + ACTIONS(33), 1, anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LBRACK, - anon_sym_RBRACK, + ACTIONS(35), 1, anon_sym_LPAREN, - anon_sym_RPAREN, - [1079] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(19), 1, - sym_comment, - ACTIONS(97), 24, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, + ACTIONS(101), 1, anon_sym_end, - anon_sym_if, - anon_sym_then, + ACTIONS(103), 1, anon_sym_elseif, + ACTIONS(105), 1, anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, - sym_identifier, - ACTIONS(95), 26, - sym__string_start, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, + STATE(16), 1, + sym_comment, + STATE(38), 1, + aux_sym__block_repeat1, + STATE(104), 1, + sym_call, + STATE(150), 1, + sym_statement, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(165), 1, + sym_block, + STATE(166), 1, + aux_sym_if_statement_repeat1, + STATE(167), 1, + sym_return_statement, + STATE(176), 1, + sym__block, + STATE(190), 1, + sym__variable, + STATE(198), 1, + sym_elseif_clause, + STATE(212), 1, + sym_else_clause, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, + sym_local_function_definition_statement, + sym_function_definition_statement, + sym_for_generic_statement, + sym_for_numeric_statement, + sym_if_statement, + sym_repeat_statement, + sym_while_statement, + sym_do_statement, + sym_goto_statement, + sym_label_statement, + sym_local_variable_declaration, + sym_variable_assignment, + sym_empty_statement, + [965] = 16, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + STATE(17), 1, + sym_comment, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, + ACTIONS(125), 2, anon_sym_PLUS, anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_LBRACE, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(107), 8, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_SEMI, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1140] = 4, + ACTIONS(109), 17, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + anon_sym_or, + sym_identifier, + [1045] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(20), 1, + STATE(18), 1, sym_comment, - ACTIONS(101), 24, + ACTIONS(59), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3306,11 +3157,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(99), 26, - sym__string_start, + ACTIONS(57), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3330,18 +3178,77 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1201] = 4, + [1101] = 13, ACTIONS(3), 1, sym__comment_start, - STATE(21), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + STATE(19), 1, + sym_comment, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(107), 12, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_RBRACE, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(109), 20, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + anon_sym_LT, + anon_sym_GT, + anon_sym_or, + anon_sym_and, + sym_identifier, + [1175] = 4, + ACTIONS(3), 1, + sym__comment_start, + STATE(20), 1, sym_comment, - ACTIONS(105), 24, + ACTIONS(63), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3363,11 +3270,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(103), 26, - sym__string_start, + ACTIONS(61), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3387,18 +3291,69 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1262] = 4, + [1231] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(133), 1, + anon_sym_CARET, + STATE(21), 1, + sym_comment, + ACTIONS(135), 22, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_RBRACE, + anon_sym_RBRACK, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(137), 22, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + anon_sym_LT, + anon_sym_GT, + anon_sym_or, + anon_sym_and, + anon_sym_TILDE, + anon_sym_SLASH, + sym_identifier, + [1289] = 4, ACTIONS(3), 1, sym__comment_start, STATE(22), 1, sym_comment, - ACTIONS(109), 24, + ACTIONS(141), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3420,11 +3375,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, anon_sym_SLASH, - anon_sym_COLON, - anon_sym_DOT, sym_identifier, - ACTIONS(107), 26, - sym__string_start, + ACTIONS(139), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3444,22 +3396,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_PERCENT, anon_sym_DOT_DOT, anon_sym_CARET, - anon_sym_LBRACE, anon_sym_RBRACE, - anon_sym_LBRACK, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1323] = 5, + [1345] = 7, ACTIONS(3), 1, sym__comment_start, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(133), 1, + anon_sym_CARET, STATE(23), 1, sym_comment, - ACTIONS(53), 3, - sym__string_start, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(49), 22, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(107), 19, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3474,15 +3428,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_GT, anon_sym_PLUS, anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, anon_sym_DOT_DOT, - anon_sym_CARET, anon_sym_RBRACE, anon_sym_RBRACK, + anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(51), 23, + ACTIONS(109), 21, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3503,19 +3454,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_and, anon_sym_TILDE, - anon_sym_SLASH, - anon_sym_COLON, sym_identifier, - [1384] = 6, + [1407] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(115), 1, - anon_sym_COLON, STATE(24), 1, sym_comment, - STATE(192), 1, - sym__method_identifier, - ACTIONS(113), 22, + ACTIONS(47), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3538,7 +3483,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, sym_identifier, - ACTIONS(111), 23, + ACTIONS(45), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3562,139 +3507,24 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1446] = 36, + [1463] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, - ACTIONS(11), 1, + STATE(25), 1, + sym_comment, + ACTIONS(145), 22, anon_sym_return, - ACTIONS(13), 1, anon_sym_local, - ACTIONS(15), 1, anon_sym_function, - ACTIONS(17), 1, anon_sym_for, - ACTIONS(19), 1, anon_sym_do, - ACTIONS(21), 1, + anon_sym_end, anon_sym_if, - ACTIONS(23), 1, + anon_sym_then, + anon_sym_elseif, + anon_sym_else, anon_sym_repeat, - ACTIONS(25), 1, - anon_sym_while, - ACTIONS(27), 1, - sym_break_statement, - ACTIONS(29), 1, - anon_sym_goto, - ACTIONS(31), 1, - anon_sym_COLON_COLON, - ACTIONS(33), 1, - anon_sym_SEMI, - ACTIONS(35), 1, - anon_sym_LPAREN, - ACTIONS(117), 1, - anon_sym_end, - ACTIONS(119), 1, - anon_sym_elseif, - ACTIONS(121), 1, - anon_sym_else, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(25), 1, - sym_comment, - STATE(49), 1, - aux_sym__block_repeat1, - STATE(105), 1, - sym_call, - STATE(132), 1, - sym_statement, - STATE(161), 1, - sym_variable, - STATE(163), 1, - aux_sym_if_statement_repeat1, - STATE(165), 1, - sym_block, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, - sym__prefix_expression, - STATE(171), 1, - sym_return_statement, - STATE(181), 1, - sym__block, - STATE(186), 1, - sym_elseif_clause, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(240), 1, - sym_else_clause, - STATE(135), 13, - sym_local_function_definition_statement, - sym_function_definition_statement, - sym_for_generic_statement, - sym_for_numeric_statement, - sym_if_statement, - sym_repeat_statement, - sym_while_statement, - sym_do_statement, - sym_goto_statement, - sym_label_statement, - sym_local_variable_declaration, - sym_variable_assignment, - sym_empty_statement, - [1567] = 9, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - STATE(26), 1, - sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(123), 16, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 21, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, + anon_sym_until, anon_sym_while, sym_break_statement, anon_sym_goto, @@ -3703,26 +3533,9 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_and, anon_sym_TILDE, - sym_identifier, - [1633] = 9, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(131), 1, anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - STATE(27), 1, - sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(123), 16, + sym_identifier, + ACTIONS(143), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3735,38 +3548,23 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP, anon_sym_LT_LT, anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(125), 21, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - sym_identifier, - [1699] = 4, + [1519] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(28), 1, + STATE(26), 1, sym_comment, - ACTIONS(97), 22, + ACTIONS(149), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3789,7 +3587,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, sym_identifier, - ACTIONS(95), 23, + ACTIONS(147), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3813,14 +3611,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1755] = 5, + [1575] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - STATE(29), 1, + STATE(27), 1, sym_comment, - ACTIONS(137), 22, + ACTIONS(107), 22, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3843,7 +3641,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(139), 22, + ACTIONS(109), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3866,64 +3664,51 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, sym_identifier, - [1813] = 4, + [1633] = 15, ACTIONS(3), 1, sym__comment_start, - STATE(30), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + STATE(28), 1, sym_comment, - ACTIONS(143), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - ACTIONS(141), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, + ACTIONS(125), 2, anon_sym_PLUS, anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(107), 8, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_SEMI, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1869] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(31), 1, - sym_comment, - ACTIONS(147), 22, + ACTIONS(109), 18, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3939,14 +3724,17 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, sym_break_statement, anon_sym_goto, - anon_sym_LT, - anon_sym_GT, anon_sym_or, anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, sym_identifier, - ACTIONS(145), 23, + [1711] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(133), 1, + anon_sym_CARET, + STATE(29), 1, + sym_comment, + ACTIONS(107), 22, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -3965,17 +3753,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SLASH_SLASH, anon_sym_PERCENT, anon_sym_DOT_DOT, - anon_sym_CARET, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [1925] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(32), 1, - sym_comment, - ACTIONS(151), 22, + ACTIONS(109), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -3998,58 +3780,25 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, sym_identifier, - ACTIONS(149), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [1981] = 13, + [1769] = 9, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - STATE(33), 1, + STATE(30), 1, sym_comment, - ACTIONS(127), 2, + ACTIONS(125), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(129), 3, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(123), 12, + ACTIONS(107), 16, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4058,11 +3807,15 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(125), 20, + ACTIONS(109), 21, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4082,163 +3835,27 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_or, anon_sym_and, + anon_sym_TILDE, sym_identifier, - [2055] = 16, + [1835] = 9, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(163), 1, - anon_sym_and, - STATE(34), 1, - sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - ACTIONS(123), 8, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 17, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_or, - sym_identifier, - [2135] = 15, - ACTIONS(3), 1, - sym__comment_start, ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - STATE(35), 1, + STATE(31), 1, sym_comment, - ACTIONS(127), 2, + ACTIONS(125), 2, anon_sym_PLUS, anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - ACTIONS(123), 8, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 18, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_or, - anon_sym_and, - sym_identifier, - [2213] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(36), 1, - sym_comment, - ACTIONS(85), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - ACTIONS(83), 23, + ACTIONS(107), 16, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4251,23 +3868,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AMP, anon_sym_LT_LT, anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [2269] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(37), 1, - sym_comment, - ACTIONS(169), 22, + ACTIONS(109), 21, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4288,58 +3893,29 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_or, anon_sym_and, anon_sym_TILDE, - anon_sym_SLASH, sym_identifier, - ACTIONS(167), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2325] = 12, + [1901] = 10, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - STATE(38), 1, + STATE(32), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(129), 3, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(123), 13, + ACTIONS(107), 14, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4349,11 +3925,12 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_GT_EQ, anon_sym_PIPE, + anon_sym_AMP, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(125), 20, + ACTIONS(109), 21, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4373,31 +3950,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_or, anon_sym_and, + anon_sym_TILDE, sym_identifier, - [2397] = 11, + [1969] = 11, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(157), 1, - anon_sym_AMP, - STATE(39), 1, + STATE(33), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(129), 3, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(123), 13, + ACTIONS(107), 13, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4411,7 +3989,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(125), 21, + ACTIONS(109), 21, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4433,28 +4011,32 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_TILDE, sym_identifier, - [2467] = 10, + [2039] = 12, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - STATE(40), 1, + STATE(34), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(129), 3, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(123), 14, + ACTIONS(107), 13, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4464,12 +4046,11 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_EQ, anon_sym_GT_EQ, anon_sym_PIPE, - anon_sym_AMP, anon_sym_RBRACE, anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - ACTIONS(125), 21, + ACTIONS(109), 20, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4489,14 +4070,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT, anon_sym_or, anon_sym_and, - anon_sym_TILDE, sym_identifier, - [2535] = 4, + [2111] = 4, ACTIONS(3), 1, sym__comment_start, - STATE(41), 1, + STATE(35), 1, sym_comment, - ACTIONS(101), 22, + ACTIONS(55), 22, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4519,7 +4099,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_TILDE, anon_sym_SLASH, sym_identifier, - ACTIONS(99), 23, + ACTIONS(53), 23, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_COLON_COLON, @@ -4543,12 +4123,55 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_RBRACK, anon_sym_LPAREN, anon_sym_RPAREN, - [2591] = 4, + [2167] = 19, ACTIONS(3), 1, sym__comment_start, - STATE(42), 1, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(155), 1, + anon_sym_COMMA, + ACTIONS(157), 1, + anon_sym_or, + STATE(36), 1, sym_comment, - ACTIONS(113), 22, + STATE(124), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(151), 4, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(153), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -4556,7 +4179,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_do, anon_sym_end, anon_sym_if, - anon_sym_then, anon_sym_elseif, anon_sym_else, anon_sym_repeat, @@ -4564,303 +4186,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_while, sym_break_statement, anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, sym_identifier, - ACTIONS(111), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2647] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(43), 1, - sym_comment, - ACTIONS(173), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - ACTIONS(171), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2703] = 7, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(135), 1, - anon_sym_CARET, - STATE(44), 1, - sym_comment, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(123), 19, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_DOT_DOT, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 21, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - sym_identifier, - [2765] = 5, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(135), 1, - anon_sym_CARET, - STATE(45), 1, - sym_comment, - ACTIONS(123), 22, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - [2823] = 4, - ACTIONS(3), 1, - sym__comment_start, - STATE(46), 1, - sym_comment, - ACTIONS(73), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - ACTIONS(71), 23, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - [2879] = 5, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(135), 1, - anon_sym_CARET, - STATE(47), 1, - sym_comment, - ACTIONS(123), 22, - ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_RBRACE, - anon_sym_RBRACK, - anon_sym_LPAREN, - anon_sym_RPAREN, - ACTIONS(125), 22, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_then, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - anon_sym_LT, - anon_sym_GT, - anon_sym_or, - anon_sym_and, - anon_sym_TILDE, - anon_sym_SLASH, - sym_identifier, - [2937] = 31, + [2250] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -4891,39 +4218,36 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(48), 1, + STATE(37), 1, sym_comment, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(191), 1, + STATE(186), 1, sym_block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - ACTIONS(175), 3, + STATE(190), 1, + sym__variable, + STATE(160), 2, + sym_member_access, + sym_subscript, + ACTIONS(159), 3, anon_sym_end, anon_sym_elseif, anon_sym_else, - STATE(135), 13, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -4937,7 +4261,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3045] = 30, + [2353] = 28, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -4968,38 +4292,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(177), 1, + ACTIONS(161), 1, ts_builtin_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, sym_comment, - STATE(51), 1, + STATE(43), 1, aux_sym__block_repeat1, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, STATE(169), 1, sym_return_statement, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - ACTIONS(179), 4, + STATE(190), 1, + sym__variable, + STATE(160), 2, + sym_member_access, + sym_subscript, + ACTIONS(163), 4, anon_sym_end, anon_sym_elseif, anon_sym_else, anon_sym_until, - STATE(135), 13, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5013,55 +4334,245 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3151] = 19, + [2454] = 19, ACTIONS(3), 1, sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(155), 1, + anon_sym_COMMA, + ACTIONS(157), 1, + anon_sym_or, + STATE(39), 1, + sym_comment, + STATE(120), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(165), 4, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(167), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [2537] = 19, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(155), 1, + anon_sym_COMMA, + ACTIONS(157), 1, + anon_sym_or, + STATE(40), 1, + sym_comment, + STATE(123), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(169), 4, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(171), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [2620] = 17, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(157), 1, + anon_sym_or, + STATE(41), 1, + sym_comment, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(173), 6, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(175), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [2699] = 19, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(163), 1, - anon_sym_and, - ACTIONS(185), 1, anon_sym_COMMA, - ACTIONS(187), 1, + ACTIONS(157), 1, anon_sym_or, - STATE(50), 1, + STATE(42), 1, sym_comment, - STATE(124), 1, - aux_sym__value_list_repeat1, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + STATE(122), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(181), 4, + ACTIONS(177), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(183), 15, + ACTIONS(179), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -5077,65 +4588,62 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [3234] = 27, + [2782] = 25, ACTIONS(3), 1, sym__comment_start, - ACTIONS(189), 1, + ACTIONS(181), 1, ts_builtin_sym_end, - ACTIONS(191), 1, + ACTIONS(183), 1, sym_identifier, - ACTIONS(196), 1, + ACTIONS(188), 1, anon_sym_local, - ACTIONS(199), 1, + ACTIONS(191), 1, anon_sym_function, - ACTIONS(202), 1, + ACTIONS(194), 1, anon_sym_for, - ACTIONS(205), 1, + ACTIONS(197), 1, anon_sym_do, - ACTIONS(208), 1, + ACTIONS(200), 1, anon_sym_if, - ACTIONS(211), 1, + ACTIONS(203), 1, anon_sym_repeat, - ACTIONS(214), 1, + ACTIONS(206), 1, anon_sym_while, - ACTIONS(217), 1, + ACTIONS(209), 1, sym_break_statement, - ACTIONS(220), 1, + ACTIONS(212), 1, anon_sym_goto, - ACTIONS(223), 1, + ACTIONS(215), 1, anon_sym_COLON_COLON, - ACTIONS(226), 1, + ACTIONS(218), 1, anon_sym_SEMI, - ACTIONS(229), 1, + ACTIONS(221), 1, anon_sym_LPAREN, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(51), 2, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(190), 1, + sym__variable, + STATE(43), 2, sym_comment, aux_sym__block_repeat1, - ACTIONS(194), 5, + STATE(160), 2, + sym_member_access, + sym_subscript, + ACTIONS(186), 5, anon_sym_return, anon_sym_end, anon_sym_elseif, anon_sym_else, anon_sym_until, - STATE(135), 13, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5149,7 +4657,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3333] = 31, + [2876] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5180,37 +4688,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(232), 1, + ACTIONS(224), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(52), 1, + STATE(44), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(218), 1, + STATE(190), 1, + sym__variable, + STATE(240), 1, sym_block, - STATE(219), 1, - sym_variable_list, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5224,7 +4729,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3439] = 31, + [2977] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5255,37 +4760,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(234), 1, + ACTIONS(226), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(53), 1, + STATE(45), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(236), 1, + STATE(190), 1, + sym__variable, + STATE(226), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5299,7 +4801,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3545] = 31, + [3078] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5330,37 +4832,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(236), 1, + ACTIONS(228), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(54), 1, + STATE(46), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(232), 1, + STATE(190), 1, + sym__variable, + STATE(237), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5374,7 +4873,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3651] = 31, + [3179] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5405,37 +4904,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(238), 1, + ACTIONS(230), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(55), 1, + STATE(47), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(241), 1, + STATE(190), 1, + sym__variable, + STATE(245), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5449,7 +4945,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3757] = 31, + [3280] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5480,37 +4976,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(240), 1, - anon_sym_until, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + ACTIONS(232), 1, + anon_sym_end, + STATE(38), 1, aux_sym__block_repeat1, - STATE(56), 1, + STATE(48), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(249), 1, + STATE(190), 1, + sym__variable, + STATE(213), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5524,7 +5017,67 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3863] = 31, + [3381] = 17, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(157), 1, + anon_sym_or, + STATE(49), 1, + sym_comment, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + ACTIONS(234), 4, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(236), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [3458] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5555,37 +5108,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(242), 1, + ACTIONS(238), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(57), 1, + STATE(50), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(248), 1, + STATE(190), 1, + sym__variable, + STATE(251), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5599,7 +5149,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [3969] = 31, + [3559] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5630,37 +5180,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(244), 1, + ACTIONS(240), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(58), 1, + STATE(51), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(216), 1, + STATE(190), 1, + sym__variable, + STATE(220), 1, sym_block, - STATE(219), 1, - sym_variable_list, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5674,7 +5221,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [4075] = 31, + [3660] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5705,37 +5252,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(246), 1, + ACTIONS(242), 1, anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + STATE(38), 1, aux_sym__block_repeat1, - STATE(59), 1, + STATE(52), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(237), 1, + STATE(190), 1, + sym__variable, + STATE(239), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5749,7 +5293,7 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [4181] = 31, + [3761] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5780,37 +5324,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(248), 1, - anon_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + ACTIONS(244), 1, + anon_sym_until, + STATE(38), 1, aux_sym__block_repeat1, - STATE(60), 1, + STATE(53), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(181), 1, + STATE(176), 1, sym__block, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(221), 1, + STATE(190), 1, + sym__variable, + STATE(218), 1, sym_block, - STATE(135), 13, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -5824,52 +5365,51 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [4287] = 17, + [3862] = 17, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(113), 1, + anon_sym_and, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(163), 1, - anon_sym_and, - ACTIONS(187), 1, anon_sym_or, - STATE(61), 1, + STATE(54), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(250), 5, + ACTIONS(246), 4, ts_builtin_sym_end, - anon_sym_COMMA, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(252), 15, + ACTIONS(248), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -5885,67 +5425,151 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [4365] = 17, + [3939] = 29, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(163), 1, - anon_sym_and, - ACTIONS(187), 1, - anon_sym_or, - STATE(62), 1, - sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - ACTIONS(254), 4, - ts_builtin_sym_end, + ACTIONS(7), 1, + sym_identifier, + ACTIONS(11), 1, + anon_sym_return, + ACTIONS(13), 1, + anon_sym_local, + ACTIONS(15), 1, + anon_sym_function, + ACTIONS(17), 1, + anon_sym_for, + ACTIONS(19), 1, + anon_sym_do, + ACTIONS(21), 1, + anon_sym_if, + ACTIONS(23), 1, + anon_sym_repeat, + ACTIONS(25), 1, + anon_sym_while, + ACTIONS(27), 1, + sym_break_statement, + ACTIONS(29), 1, + anon_sym_goto, + ACTIONS(31), 1, anon_sym_COLON_COLON, + ACTIONS(33), 1, anon_sym_SEMI, + ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(256), 15, + ACTIONS(250), 1, + anon_sym_end, + STATE(38), 1, + aux_sym__block_repeat1, + STATE(55), 1, + sym_comment, + STATE(104), 1, + sym_call, + STATE(150), 1, + sym_statement, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, + sym_return_statement, + STATE(176), 1, + sym__block, + STATE(190), 1, + sym__variable, + STATE(238), 1, + sym_block, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, + sym_local_function_definition_statement, + sym_function_definition_statement, + sym_for_generic_statement, + sym_for_numeric_statement, + sym_if_statement, + sym_repeat_statement, + sym_while_statement, + sym_do_statement, + sym_goto_statement, + sym_label_statement, + sym_local_variable_declaration, + sym_variable_assignment, + sym_empty_statement, + [4040] = 29, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(7), 1, + sym_identifier, + ACTIONS(11), 1, anon_sym_return, + ACTIONS(13), 1, anon_sym_local, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, anon_sym_for, + ACTIONS(19), 1, anon_sym_do, - anon_sym_end, + ACTIONS(21), 1, anon_sym_if, - anon_sym_elseif, - anon_sym_else, + ACTIONS(23), 1, anon_sym_repeat, - anon_sym_until, + ACTIONS(25), 1, anon_sym_while, + ACTIONS(27), 1, sym_break_statement, + ACTIONS(29), 1, anon_sym_goto, - sym_identifier, - [4442] = 30, + ACTIONS(31), 1, + anon_sym_COLON_COLON, + ACTIONS(33), 1, + anon_sym_SEMI, + ACTIONS(35), 1, + anon_sym_LPAREN, + ACTIONS(252), 1, + anon_sym_end, + STATE(38), 1, + aux_sym__block_repeat1, + STATE(56), 1, + sym_comment, + STATE(104), 1, + sym_call, + STATE(150), 1, + sym_statement, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, + sym_return_statement, + STATE(176), 1, + sym__block, + STATE(190), 1, + sym__variable, + STATE(230), 1, + sym_block, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, + sym_local_function_definition_statement, + sym_function_definition_statement, + sym_for_generic_statement, + sym_for_numeric_statement, + sym_if_statement, + sym_repeat_statement, + sym_while_statement, + sym_do_statement, + sym_goto_statement, + sym_label_statement, + sym_local_variable_declaration, + sym_variable_assignment, + sym_empty_statement, + [4141] = 29, ACTIONS(3), 1, sym__comment_start, ACTIONS(7), 1, @@ -5976,35 +5600,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(258), 1, - ts_builtin_sym_end, - STATE(2), 1, - sym__table_variable, - STATE(4), 1, - sym_parenthesized_expression, - STATE(49), 1, + ACTIONS(254), 1, + anon_sym_end, + STATE(38), 1, aux_sym__block_repeat1, - STATE(63), 1, + STATE(57), 1, sym_comment, - STATE(105), 1, + STATE(104), 1, sym_call, - STATE(132), 1, + STATE(150), 1, sym_statement, - STATE(161), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(171), 1, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, sym_return_statement, - STATE(199), 1, - sym_prefix_expression, - STATE(219), 1, - sym_variable_list, - STATE(224), 1, + STATE(176), 1, sym__block, - STATE(135), 13, + STATE(190), 1, + sym__variable, + STATE(217), 1, + sym_block, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, sym_local_function_definition_statement, sym_function_definition_statement, sym_for_generic_statement, @@ -6018,2265 +5641,2209 @@ static const uint16_t ts_small_parse_table[] = { sym_local_variable_declaration, sym_variable_assignment, sym_empty_statement, - [4545] = 17, + [4242] = 28, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(163), 1, - anon_sym_and, - ACTIONS(187), 1, - anon_sym_or, - STATE(64), 1, - sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - ACTIONS(260), 4, - ts_builtin_sym_end, - anon_sym_COLON_COLON, - anon_sym_SEMI, - anon_sym_LPAREN, - ACTIONS(262), 15, + ACTIONS(7), 1, + sym_identifier, + ACTIONS(11), 1, anon_sym_return, + ACTIONS(13), 1, anon_sym_local, + ACTIONS(15), 1, anon_sym_function, + ACTIONS(17), 1, anon_sym_for, + ACTIONS(19), 1, anon_sym_do, - anon_sym_end, + ACTIONS(21), 1, anon_sym_if, - anon_sym_elseif, - anon_sym_else, + ACTIONS(23), 1, anon_sym_repeat, - anon_sym_until, + ACTIONS(25), 1, anon_sym_while, + ACTIONS(27), 1, sym_break_statement, + ACTIONS(29), 1, anon_sym_goto, - sym_identifier, - [4622] = 24, + ACTIONS(31), 1, + anon_sym_COLON_COLON, + ACTIONS(33), 1, + anon_sym_SEMI, + ACTIONS(35), 1, + anon_sym_LPAREN, + ACTIONS(256), 1, + ts_builtin_sym_end, + STATE(38), 1, + aux_sym__block_repeat1, + STATE(58), 1, + sym_comment, + STATE(104), 1, + sym_call, + STATE(150), 1, + sym_statement, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(164), 1, + sym_parenthesized_expression, + STATE(167), 1, + sym_return_statement, + STATE(190), 1, + sym__variable, + STATE(211), 1, + sym__block, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(132), 13, + sym_local_function_definition_statement, + sym_function_definition_statement, + sym_for_generic_statement, + sym_for_numeric_statement, + sym_if_statement, + sym_repeat_statement, + sym_while_statement, + sym_do_statement, + sym_goto_statement, + sym_label_statement, + sym_local_variable_declaration, + sym_variable_assignment, + sym_empty_statement, + [4340] = 21, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(33), 1, anon_sym_SEMI, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(264), 1, + ACTIONS(258), 1, ts_builtin_sym_end, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(65), 1, + STATE(59), 1, sym_comment, - STATE(69), 1, + STATE(63), 1, sym_expression, - STATE(162), 1, - sym_expression_list, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(170), 1, + STATE(161), 1, + sym_expression_list, + STATE(163), 1, + sym_method_reference, + STATE(172), 1, sym_empty_statement, - ACTIONS(270), 2, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - ACTIONS(268), 4, + ACTIONS(264), 4, anon_sym_end, anon_sym_elseif, anon_sym_else, anon_sym_until, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [4708] = 9, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(41), 1, - anon_sym_LBRACK, - ACTIONS(43), 1, - anon_sym_DOT, - ACTIONS(282), 1, - anon_sym_EQ, - STATE(8), 1, - sym__named_field_identifier, - STATE(11), 1, - sym__indexed_field_identifier, - STATE(66), 1, - sym_comment, - ACTIONS(47), 4, - anon_sym_LT, - anon_sym_GT, - anon_sym_TILDE, - anon_sym_SLASH, - ACTIONS(45), 24, - sym__string_start, - anon_sym_COMMA, - anon_sym_SEMI, - anon_sym_or, - anon_sym_and, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - anon_sym_PIPE, - anon_sym_AMP, - anon_sym_LT_LT, - anon_sym_GT_GT, - anon_sym_PLUS, - anon_sym_DASH, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - anon_sym_DOT_DOT, - anon_sym_CARET, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_LPAREN, - anon_sym_COLON, - [4762] = 23, + [4420] = 20, ACTIONS(3), 1, sym__comment_start, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(284), 1, + ACTIONS(278), 1, sym_identifier, - ACTIONS(286), 1, + ACTIONS(280), 1, anon_sym_RBRACE, - ACTIONS(288), 1, + ACTIONS(282), 1, anon_sym_LBRACK, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(67), 1, + STATE(60), 1, sym_comment, - STATE(107), 1, + STATE(103), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(184), 1, + STATE(163), 1, + sym_method_reference, + STATE(180), 1, sym_field, - STATE(220), 1, + STATE(252), 1, sym_field_list, - ACTIONS(270), 2, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [4842] = 23, + [4494] = 8, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(73), 1, + anon_sym_DOT, + ACTIONS(77), 1, + anon_sym_LBRACK, + ACTIONS(284), 1, + anon_sym_EQ, + STATE(61), 1, + sym_comment, + ACTIONS(71), 4, + anon_sym_LT, + anon_sym_GT, + anon_sym_TILDE, + anon_sym_SLASH, + ACTIONS(75), 4, + sym__string_start, + anon_sym_LBRACE, + anon_sym_LPAREN, + anon_sym_COLON, + ACTIONS(69), 20, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_or, + anon_sym_and, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + anon_sym_PIPE, + anon_sym_AMP, + anon_sym_LT_LT, + anon_sym_GT_GT, + anon_sym_PLUS, + anon_sym_DASH, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + anon_sym_DOT_DOT, + anon_sym_CARET, + anon_sym_RBRACE, + [4544] = 20, ACTIONS(3), 1, sym__comment_start, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(284), 1, + ACTIONS(278), 1, sym_identifier, - ACTIONS(288), 1, + ACTIONS(282), 1, anon_sym_LBRACK, - ACTIONS(290), 1, + ACTIONS(286), 1, anon_sym_RBRACE, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(68), 1, + STATE(62), 1, sym_comment, - STATE(107), 1, + STATE(103), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(184), 1, + STATE(163), 1, + sym_method_reference, + STATE(180), 1, sym_field, - STATE(226), 1, + STATE(233), 1, sym_field_list, - ACTIONS(270), 2, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [4922] = 19, + [4618] = 19, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(294), 1, anon_sym_COMMA, - ACTIONS(296), 1, + ACTIONS(290), 1, anon_sym_else, - ACTIONS(298), 1, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - STATE(69), 1, + STATE(63), 1, sym_comment, - STATE(157), 1, - aux_sym_expression_list_repeat1, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + STATE(158), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - ACTIONS(292), 6, + ACTIONS(288), 6, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, anon_sym_SEMI, anon_sym_RPAREN, - [4993] = 22, + [4689] = 19, ACTIONS(3), 1, sym__comment_start, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(284), 1, + ACTIONS(278), 1, sym_identifier, - ACTIONS(288), 1, + ACTIONS(282), 1, anon_sym_LBRACK, - ACTIONS(302), 1, + ACTIONS(296), 1, anon_sym_RBRACE, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(70), 1, + STATE(64), 1, sym_comment, - STATE(107), 1, + STATE(103), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(194), 1, + STATE(163), 1, + sym_method_reference, + STATE(183), 1, sym_field, - ACTIONS(270), 2, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5070] = 22, + [4760] = 19, ACTIONS(3), 1, sym__comment_start, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(284), 1, + ACTIONS(278), 1, sym_identifier, - ACTIONS(288), 1, + ACTIONS(282), 1, anon_sym_LBRACK, - ACTIONS(304), 1, + ACTIONS(298), 1, anon_sym_RBRACE, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(71), 1, + STATE(65), 1, sym_comment, - STATE(107), 1, + STATE(103), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(194), 1, + STATE(163), 1, + sym_method_reference, + STATE(183), 1, sym_field, - ACTIONS(270), 2, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, + ACTIONS(274), 3, + sym_true, + sym_false, + sym_nil, + STATE(10), 4, sym_parenthesized_expression, sym_call, - ACTIONS(278), 3, + sym_member_access, + sym_subscript, + STATE(14), 6, + sym_binary_expression, + sym_unary_expression, + sym_table, + sym_prefix_expression, + sym_function_definition, + sym_string, + [4831] = 18, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(35), 1, + anon_sym_LPAREN, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, + anon_sym_function, + ACTIONS(270), 1, + anon_sym_LBRACE, + ACTIONS(276), 1, + sym__string_start, + ACTIONS(300), 1, + anon_sym_RPAREN, + STATE(63), 1, + sym_expression, + STATE(66), 1, + sym_comment, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(232), 1, + sym_expression_list, + ACTIONS(266), 2, + anon_sym_TILDE, + anon_sym_POUND, + ACTIONS(268), 2, + anon_sym_DASH, + anon_sym_not, + ACTIONS(272), 2, + sym_vararg_expression, + sym_number, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5147] = 17, + [4899] = 18, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(298), 1, - anon_sym_or, - ACTIONS(300), 1, - anon_sym_and, - ACTIONS(308), 1, - anon_sym_else, - STATE(72), 1, + ACTIONS(35), 1, + anon_sym_LPAREN, + ACTIONS(262), 1, + anon_sym_function, + ACTIONS(270), 1, + anon_sym_LBRACE, + ACTIONS(276), 1, + sym__string_start, + ACTIONS(278), 1, + sym_identifier, + ACTIONS(282), 1, + anon_sym_LBRACK, + STATE(67), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, + STATE(103), 1, + sym_expression, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(183), 1, + sym_field, + ACTIONS(266), 2, + anon_sym_TILDE, + anon_sym_POUND, + ACTIONS(268), 2, anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - ACTIONS(306), 7, - ts_builtin_sym_end, - anon_sym_end, - anon_sym_COMMA, - anon_sym_elseif, - anon_sym_until, - anon_sym_SEMI, - anon_sym_RPAREN, - [5213] = 21, + anon_sym_not, + ACTIONS(272), 2, + sym_vararg_expression, + sym_number, + ACTIONS(274), 3, + sym_true, + sym_false, + sym_nil, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, + sym_binary_expression, + sym_unary_expression, + sym_table, + sym_prefix_expression, + sym_function_definition, + sym_string, + [4967] = 16, ACTIONS(3), 1, sym__comment_start, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(284), 1, - sym_identifier, - ACTIONS(288), 1, - anon_sym_LBRACK, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(73), 1, - sym_comment, - STATE(107), 1, + STATE(33), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(68), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - STATE(194), 1, - sym_field, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5287] = 21, + [5029] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - ACTIONS(310), 1, - anon_sym_RPAREN, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(69), 1, + STATE(30), 1, sym_expression, - STATE(74), 1, + STATE(69), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - STATE(210), 1, - sym_expression_list, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5361] = 20, + [5091] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(50), 1, - sym_expression, - STATE(75), 1, + STATE(70), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(105), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - STATE(211), 1, - sym__value_list, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5432] = 20, + [5153] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(50), 1, - sym_expression, - STATE(76), 1, + STATE(71), 1, sym_comment, - STATE(134), 1, - sym__value_list, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(119), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5503] = 20, + [5215] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(50), 1, - sym_expression, - STATE(77), 1, + STATE(72), 1, sym_comment, - STATE(141), 1, - sym__value_list, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(100), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5574] = 19, + [5277] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(78), 1, + STATE(73), 1, sym_comment, - STATE(119), 1, + STATE(114), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5642] = 19, + [5339] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(40), 1, - sym_expression, - STATE(79), 1, + STATE(74), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(113), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5710] = 19, + [5401] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(80), 1, + STATE(75), 1, sym_comment, - STATE(113), 1, + STATE(107), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5778] = 19, + [5463] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(64), 1, + STATE(42), 1, sym_expression, - STATE(81), 1, + STATE(76), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5846] = 19, + [5525] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(82), 1, - sym_comment, - STATE(115), 1, + STATE(36), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(77), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5914] = 19, + [5587] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(61), 1, - sym_expression, - STATE(83), 1, + STATE(78), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(118), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [5982] = 19, + [5649] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(84), 1, - sym_comment, - STATE(114), 1, + STATE(54), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(79), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6050] = 19, + [5711] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(29), 1, - sym_expression, - STATE(85), 1, + STATE(80), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(108), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6118] = 19, + [5773] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(47), 1, + STATE(41), 1, sym_expression, - STATE(86), 1, + STATE(81), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6186] = 19, + [5835] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(87), 1, - sym_comment, - STATE(112), 1, + STATE(19), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(82), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6254] = 19, + [5897] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(62), 1, + STATE(17), 1, sym_expression, - STATE(88), 1, + STATE(83), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6322] = 19, + [5959] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(89), 1, - sym_comment, - STATE(110), 1, + STATE(28), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(84), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6390] = 19, + [6021] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(27), 1, + STATE(34), 1, sym_expression, - STATE(90), 1, + STATE(85), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6458] = 19, + [6083] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(91), 1, - sym_comment, - STATE(106), 1, + STATE(32), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(86), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6526] = 19, + [6145] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(92), 1, - sym_comment, - STATE(118), 1, + STATE(40), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(87), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6594] = 19, + [6207] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(93), 1, - sym_comment, - STATE(111), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(88), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6662] = 19, + [6269] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(45), 1, + STATE(27), 1, sym_expression, - STATE(94), 1, + STATE(89), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6730] = 19, + [6331] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(44), 1, + STATE(31), 1, sym_expression, - STATE(95), 1, + STATE(90), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6798] = 19, + [6393] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(96), 1, - sym_comment, - STATE(108), 1, + STATE(29), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(91), 1, + sym_comment, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6866] = 19, + [6455] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(72), 1, - sym_expression, - STATE(97), 1, + STATE(92), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(110), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [6934] = 19, + [6517] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(33), 1, - sym_expression, - STATE(98), 1, + STATE(93), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(101), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7002] = 19, + [6579] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(34), 1, - sym_expression, - STATE(99), 1, + STATE(94), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(106), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7070] = 19, + [6641] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(35), 1, + STATE(39), 1, sym_expression, - STATE(100), 1, + STATE(95), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7138] = 19, + [6703] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(38), 1, + STATE(49), 1, sym_expression, - STATE(101), 1, + STATE(96), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7206] = 19, + [6765] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(39), 1, + STATE(21), 1, sym_expression, - STATE(102), 1, + STATE(97), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7274] = 19, + [6827] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(103), 1, + STATE(98), 1, sym_comment, - STATE(121), 1, + STATE(102), 1, sym_expression, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7342] = 19, + [6889] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(7), 1, - sym_identifier, ACTIONS(35), 1, anon_sym_LPAREN, - ACTIONS(266), 1, + ACTIONS(260), 1, + sym_identifier, + ACTIONS(262), 1, anon_sym_function, - ACTIONS(274), 1, + ACTIONS(270), 1, anon_sym_LBRACE, - ACTIONS(280), 1, + ACTIONS(276), 1, sym__string_start, - STATE(2), 1, - sym__table_variable, - STATE(23), 1, - sym_variable, - STATE(24), 1, - sym_prefix_expression, - STATE(26), 1, - sym_expression, - STATE(104), 1, + STATE(99), 1, sym_comment, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, + STATE(109), 1, + sym_expression, + STATE(159), 1, sym__prefix_expression, - ACTIONS(270), 2, + STATE(163), 1, + sym_method_reference, + ACTIONS(266), 2, anon_sym_TILDE, anon_sym_POUND, - ACTIONS(272), 2, + ACTIONS(268), 2, anon_sym_DASH, anon_sym_not, - ACTIONS(276), 2, + ACTIONS(272), 2, sym_vararg_expression, sym_number, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - ACTIONS(278), 3, + ACTIONS(274), 3, sym_true, sym_false, sym_nil, - STATE(42), 5, + STATE(10), 4, + sym_parenthesized_expression, + sym_call, + sym_member_access, + sym_subscript, + STATE(14), 6, sym_binary_expression, sym_unary_expression, sym_table, + sym_prefix_expression, sym_function_definition, sym_string, - [7410] = 10, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(41), 1, - anon_sym_LBRACK, - ACTIONS(51), 1, - anon_sym_COLON, - ACTIONS(316), 1, - anon_sym_DOT, - STATE(105), 1, - sym_comment, - STATE(159), 1, - sym__named_field_identifier, - STATE(160), 1, - sym__indexed_field_identifier, - ACTIONS(53), 3, - sym__string_start, - anon_sym_LBRACE, - anon_sym_LPAREN, - ACTIONS(312), 3, - ts_builtin_sym_end, - anon_sym_COLON_COLON, - anon_sym_SEMI, - ACTIONS(314), 15, - anon_sym_return, - anon_sym_local, - anon_sym_function, - anon_sym_for, - anon_sym_do, - anon_sym_end, - anon_sym_if, - anon_sym_elseif, - anon_sym_else, - anon_sym_repeat, - anon_sym_until, - anon_sym_while, - sym_break_statement, - anon_sym_goto, - sym_identifier, - [7459] = 16, + [6951] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - STATE(106), 1, + STATE(100), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(318), 3, + ACTIONS(302), 3, anon_sym_COMMA, anon_sym_SEMI, anon_sym_RBRACE, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7518] = 16, + [7010] = 18, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(298), 1, + anon_sym_COMMA, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - STATE(107), 1, + ACTIONS(304), 1, + anon_sym_do, + STATE(101), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + STATE(191), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(320), 3, - anon_sym_COMMA, - anon_sym_SEMI, - anon_sym_RBRACE, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7577] = 16, + [7073] = 18, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(298), 1, + anon_sym_COMMA, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - STATE(108), 1, + ACTIONS(306), 1, + anon_sym_do, + STATE(102), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, + STATE(188), 1, + aux_sym_for_generic_statement_repeat2, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, anon_sym_LT_LT, anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + [7136] = 16, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, + anon_sym_or, + ACTIONS(294), 1, + anon_sym_and, + STATE(103), 1, + sym_comment, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(322), 3, + ACTIONS(308), 3, anon_sym_COMMA, anon_sym_SEMI, anon_sym_RBRACE, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7636] = 6, + [7195] = 8, ACTIONS(3), 1, sym__comment_start, - ACTIONS(328), 1, - anon_sym_LT, - STATE(109), 1, + ACTIONS(77), 1, + anon_sym_LBRACK, + ACTIONS(79), 1, + anon_sym_COLON, + ACTIONS(314), 1, + anon_sym_DOT, + STATE(104), 1, sym_comment, - STATE(122), 1, - sym_attribute, - ACTIONS(324), 6, + ACTIONS(75), 3, + sym__string_start, + anon_sym_LBRACE, + anon_sym_LPAREN, + ACTIONS(310), 3, ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, - anon_sym_LPAREN, - ACTIONS(326), 15, + ACTIONS(312), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8292,269 +7859,447 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [7674] = 17, + [7238] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(292), 1, + anon_sym_or, + ACTIONS(294), 1, + anon_sym_and, + STATE(105), 1, + sym_comment, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(316), 3, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + [7297] = 17, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(330), 1, - anon_sym_do, - ACTIONS(332), 1, + ACTIONS(318), 1, anon_sym_COMMA, - STATE(110), 1, + ACTIONS(320), 1, + anon_sym_do, + STATE(106), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7734] = 16, + [7357] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(334), 1, + ACTIONS(322), 1, anon_sym_RPAREN, - STATE(111), 1, + STATE(107), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7791] = 16, + [7414] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(336), 1, + ACTIONS(324), 1, anon_sym_RBRACK, - STATE(112), 1, + STATE(108), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7848] = 16, + [7471] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(338), 1, + ACTIONS(326), 1, anon_sym_COMMA, - STATE(113), 1, + STATE(109), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7905] = 16, + [7528] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, + ACTIONS(117), 1, + anon_sym_PIPE, + ACTIONS(119), 1, + anon_sym_TILDE, + ACTIONS(121), 1, + anon_sym_AMP, + ACTIONS(129), 1, anon_sym_SLASH, - ACTIONS(133), 1, + ACTIONS(131), 1, anon_sym_DOT_DOT, - ACTIONS(135), 1, + ACTIONS(133), 1, anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(292), 1, + anon_sym_or, + ACTIONS(294), 1, + anon_sym_and, + ACTIONS(328), 1, + anon_sym_do, + STATE(110), 1, + sym_comment, + ACTIONS(111), 2, + anon_sym_LT, + anon_sym_GT, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, + anon_sym_STAR, + anon_sym_SLASH_SLASH, + anon_sym_PERCENT, + ACTIONS(115), 4, + anon_sym_EQ_EQ, + anon_sym_TILDE_EQ, + anon_sym_LT_EQ, + anon_sym_GT_EQ, + [7585] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(330), 1, + anon_sym_COMMA, + STATE(111), 2, + sym_comment, + aux_sym_for_generic_statement_repeat2, + ACTIONS(173), 5, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + anon_sym_RPAREN, + ACTIONS(175), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [7620] = 7, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(337), 1, + anon_sym_COMMA, + ACTIONS(339), 1, + anon_sym_EQ, + STATE(112), 1, + sym_comment, + STATE(115), 1, + aux_sym_local_variable_declaration_repeat1, + ACTIONS(333), 4, + ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(335), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [7659] = 16, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(340), 1, + ACTIONS(341), 1, anon_sym_then, - STATE(114), 1, + STATE(113), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [7962] = 16, + [7716] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(342), 1, - anon_sym_do, - STATE(115), 1, + ACTIONS(343), 1, + anon_sym_then, + STATE(114), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [8019] = 5, + [7773] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(349), 1, + anon_sym_COMMA, + STATE(115), 2, + sym_comment, + aux_sym_local_variable_declaration_repeat1, + ACTIONS(345), 5, + ts_builtin_sym_end, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(347), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [7808] = 7, ACTIONS(3), 1, sym__comment_start, - ACTIONS(348), 1, + ACTIONS(337), 1, anon_sym_COMMA, - STATE(116), 2, + ACTIONS(356), 1, + anon_sym_EQ, + STATE(112), 1, + aux_sym_local_variable_declaration_repeat1, + STATE(116), 1, sym_comment, - aux_sym__local_variable_list_repeat1, - ACTIONS(344), 5, + ACTIONS(352), 4, ts_builtin_sym_end, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(346), 15, + ACTIONS(354), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8570,22 +8315,21 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8054] = 6, + [7847] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(355), 1, - anon_sym_COMMA, - STATE(116), 1, - aux_sym__local_variable_list_repeat1, + ACTIONS(362), 1, + anon_sym_LT, STATE(117), 1, sym_comment, - ACTIONS(351), 5, + ACTIONS(358), 6, ts_builtin_sym_end, + anon_sym_COMMA, anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(353), 15, + ACTIONS(360), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8601,104 +8345,103 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8091] = 16, + [7882] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(357), 1, + ACTIONS(364), 1, anon_sym_RBRACK, STATE(118), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [8148] = 16, + [7939] = 16, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, + ACTIONS(117), 1, anon_sym_PIPE, - ACTIONS(155), 1, + ACTIONS(119), 1, anon_sym_TILDE, - ACTIONS(157), 1, + ACTIONS(121), 1, anon_sym_AMP, - ACTIONS(298), 1, + ACTIONS(129), 1, + anon_sym_SLASH, + ACTIONS(131), 1, + anon_sym_DOT_DOT, + ACTIONS(133), 1, + anon_sym_CARET, + ACTIONS(292), 1, anon_sym_or, - ACTIONS(300), 1, + ACTIONS(294), 1, anon_sym_and, - ACTIONS(359), 1, + ACTIONS(366), 1, anon_sym_do, STATE(119), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, + ACTIONS(111), 2, anon_sym_LT, anon_sym_GT, - ACTIONS(129), 3, + ACTIONS(123), 2, + anon_sym_LT_LT, + anon_sym_GT_GT, + ACTIONS(125), 2, + anon_sym_PLUS, + anon_sym_DASH, + ACTIONS(127), 3, anon_sym_STAR, anon_sym_SLASH_SLASH, anon_sym_PERCENT, - ACTIONS(165), 4, + ACTIONS(115), 4, anon_sym_EQ_EQ, anon_sym_TILDE_EQ, anon_sym_LT_EQ, anon_sym_GT_EQ, - [8205] = 6, + [7996] = 6, ACTIONS(3), 1, sym__comment_start, - ACTIONS(355), 1, + ACTIONS(155), 1, anon_sym_COMMA, - STATE(117), 1, - aux_sym__local_variable_list_repeat1, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(120), 1, sym_comment, - ACTIONS(361), 5, + ACTIONS(368), 4, ts_builtin_sym_end, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(363), 15, + ACTIONS(370), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8714,60 +8457,49 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8242] = 16, + [8032] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(131), 1, - anon_sym_SLASH, - ACTIONS(133), 1, - anon_sym_DOT_DOT, - ACTIONS(135), 1, - anon_sym_CARET, - ACTIONS(153), 1, - anon_sym_PIPE, - ACTIONS(155), 1, - anon_sym_TILDE, - ACTIONS(157), 1, - anon_sym_AMP, - ACTIONS(298), 1, - anon_sym_or, - ACTIONS(300), 1, - anon_sym_and, - ACTIONS(365), 1, - anon_sym_then, STATE(121), 1, sym_comment, - ACTIONS(127), 2, - anon_sym_PLUS, - anon_sym_DASH, - ACTIONS(159), 2, - anon_sym_LT_LT, - anon_sym_GT_GT, - ACTIONS(161), 2, - anon_sym_LT, - anon_sym_GT, - ACTIONS(129), 3, - anon_sym_STAR, - anon_sym_SLASH_SLASH, - anon_sym_PERCENT, - ACTIONS(165), 4, - anon_sym_EQ_EQ, - anon_sym_TILDE_EQ, - anon_sym_LT_EQ, - anon_sym_GT_EQ, - [8299] = 4, + ACTIONS(372), 6, + ts_builtin_sym_end, + anon_sym_COMMA, + anon_sym_EQ, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(374), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, + anon_sym_end, + anon_sym_if, + anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, + anon_sym_until, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [8064] = 6, ACTIONS(3), 1, sym__comment_start, + ACTIONS(155), 1, + anon_sym_COMMA, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(122), 1, sym_comment, - ACTIONS(367), 6, + ACTIONS(376), 4, ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(369), 15, + ACTIONS(378), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8783,19 +8515,21 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8331] = 4, + [8100] = 6, ACTIONS(3), 1, sym__comment_start, + ACTIONS(155), 1, + anon_sym_COMMA, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(123), 1, sym_comment, - ACTIONS(371), 6, + ACTIONS(380), 4, ts_builtin_sym_end, - anon_sym_COMMA, - anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(373), 15, + ACTIONS(382), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8811,21 +8545,21 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8363] = 6, + [8136] = 6, ACTIONS(3), 1, sym__comment_start, - ACTIONS(185), 1, + ACTIONS(155), 1, anon_sym_COMMA, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(124), 1, sym_comment, - STATE(126), 1, - aux_sym__value_list_repeat1, - ACTIONS(375), 4, + ACTIONS(384), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(377), 15, + ACTIONS(386), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8841,19 +8575,19 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8399] = 4, + [8172] = 4, ACTIONS(3), 1, sym__comment_start, STATE(125), 1, sym_comment, - ACTIONS(379), 6, + ACTIONS(345), 6, ts_builtin_sym_end, anon_sym_COMMA, anon_sym_EQ, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(381), 15, + ACTIONS(347), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8869,20 +8603,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8431] = 5, + [8204] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(387), 1, - anon_sym_COMMA, - STATE(126), 2, + STATE(126), 1, sym_comment, - aux_sym__value_list_repeat1, - ACTIONS(383), 4, + ACTIONS(388), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(385), 15, + ACTIONS(390), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8898,19 +8629,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8465] = 5, + [8234] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(394), 1, - anon_sym_EQ, STATE(127), 1, sym_comment, - ACTIONS(390), 4, + ACTIONS(392), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(392), 15, + ACTIONS(394), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -8926,7 +8655,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8498] = 4, + [8264] = 4, ACTIONS(3), 1, sym__comment_start, STATE(128), 1, @@ -8952,7 +8681,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8528] = 4, + [8294] = 4, ACTIONS(3), 1, sym__comment_start, STATE(129), 1, @@ -8978,7 +8707,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8558] = 4, + [8324] = 4, ACTIONS(3), 1, sym__comment_start, STATE(130), 1, @@ -9004,7 +8733,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8588] = 4, + [8354] = 4, ACTIONS(3), 1, sym__comment_start, STATE(131), 1, @@ -9030,17 +8759,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8618] = 4, + [8384] = 4, ACTIONS(3), 1, sym__comment_start, STATE(132), 1, sym_comment, - ACTIONS(412), 4, + ACTIONS(310), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(414), 15, + ACTIONS(312), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -9056,17 +8785,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8648] = 4, + [8414] = 4, ACTIONS(3), 1, sym__comment_start, STATE(133), 1, sym_comment, - ACTIONS(416), 4, + ACTIONS(412), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(418), 15, + ACTIONS(414), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -9082,17 +8811,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8678] = 4, + [8444] = 4, ACTIONS(3), 1, sym__comment_start, STATE(134), 1, sym_comment, - ACTIONS(420), 4, + ACTIONS(416), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(422), 15, + ACTIONS(418), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -9108,17 +8837,17 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8708] = 4, + [8474] = 4, ACTIONS(3), 1, sym__comment_start, STATE(135), 1, sym_comment, - ACTIONS(312), 4, + ACTIONS(420), 4, ts_builtin_sym_end, anon_sym_COLON_COLON, anon_sym_SEMI, anon_sym_LPAREN, - ACTIONS(314), 15, + ACTIONS(422), 15, anon_sym_return, anon_sym_local, anon_sym_function, @@ -9134,7 +8863,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8738] = 4, + [8504] = 4, ACTIONS(3), 1, sym__comment_start, STATE(136), 1, @@ -9160,7 +8889,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8768] = 4, + [8534] = 4, ACTIONS(3), 1, sym__comment_start, STATE(137), 1, @@ -9186,7 +8915,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8798] = 4, + [8564] = 4, ACTIONS(3), 1, sym__comment_start, STATE(138), 1, @@ -9212,7 +8941,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8828] = 4, + [8594] = 4, ACTIONS(3), 1, sym__comment_start, STATE(139), 1, @@ -9238,7 +8967,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8858] = 4, + [8624] = 4, ACTIONS(3), 1, sym__comment_start, STATE(140), 1, @@ -9264,7 +8993,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8888] = 4, + [8654] = 4, ACTIONS(3), 1, sym__comment_start, STATE(141), 1, @@ -9290,7 +9019,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8918] = 4, + [8684] = 4, ACTIONS(3), 1, sym__comment_start, STATE(142), 1, @@ -9316,7 +9045,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8948] = 4, + [8714] = 4, ACTIONS(3), 1, sym__comment_start, STATE(143), 1, @@ -9342,7 +9071,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [8978] = 4, + [8744] = 4, ACTIONS(3), 1, sym__comment_start, STATE(144), 1, @@ -9368,7 +9097,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9008] = 4, + [8774] = 4, ACTIONS(3), 1, sym__comment_start, STATE(145), 1, @@ -9394,7 +9123,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9038] = 4, + [8804] = 4, ACTIONS(3), 1, sym__comment_start, STATE(146), 1, @@ -9420,7 +9149,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9068] = 4, + [8834] = 4, ACTIONS(3), 1, sym__comment_start, STATE(147), 1, @@ -9446,7 +9175,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9098] = 4, + [8864] = 4, ACTIONS(3), 1, sym__comment_start, STATE(148), 1, @@ -9472,7 +9201,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9128] = 4, + [8894] = 4, ACTIONS(3), 1, sym__comment_start, STATE(149), 1, @@ -9498,7 +9227,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9158] = 4, + [8924] = 4, ACTIONS(3), 1, sym__comment_start, STATE(150), 1, @@ -9524,7 +9253,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9188] = 4, + [8954] = 4, ACTIONS(3), 1, sym__comment_start, STATE(151), 1, @@ -9550,7 +9279,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9218] = 4, + [8984] = 4, ACTIONS(3), 1, sym__comment_start, STATE(152), 1, @@ -9576,7 +9305,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9248] = 4, + [9014] = 4, ACTIONS(3), 1, sym__comment_start, STATE(153), 1, @@ -9602,7 +9331,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9278] = 4, + [9044] = 4, ACTIONS(3), 1, sym__comment_start, STATE(154), 1, @@ -9628,7 +9357,7 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9308] = 4, + [9074] = 4, ACTIONS(3), 1, sym__comment_start, STATE(155), 1, @@ -9654,489 +9383,490 @@ static const uint16_t ts_small_parse_table[] = { sym_break_statement, anon_sym_goto, sym_identifier, - [9338] = 5, + [9104] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(308), 1, - anon_sym_else, - ACTIONS(504), 1, - anon_sym_COMMA, - STATE(156), 2, + STATE(156), 1, sym_comment, - aux_sym_expression_list_repeat1, - ACTIONS(306), 6, + ACTIONS(504), 4, ts_builtin_sym_end, + anon_sym_COLON_COLON, + anon_sym_SEMI, + anon_sym_LPAREN, + ACTIONS(506), 15, + anon_sym_return, + anon_sym_local, + anon_sym_function, + anon_sym_for, + anon_sym_do, anon_sym_end, + anon_sym_if, anon_sym_elseif, + anon_sym_else, + anon_sym_repeat, anon_sym_until, - anon_sym_SEMI, - anon_sym_RPAREN, - [9360] = 6, + anon_sym_while, + sym_break_statement, + anon_sym_goto, + sym_identifier, + [9134] = 9, ACTIONS(3), 1, sym__comment_start, - ACTIONS(294), 1, + ACTIONS(35), 1, + anon_sym_LPAREN, + ACTIONS(508), 1, + sym_identifier, + STATE(157), 1, + sym_comment, + STATE(159), 1, + sym__prefix_expression, + STATE(163), 1, + sym_method_reference, + STATE(204), 1, + sym__variable, + STATE(160), 2, + sym_member_access, + sym_subscript, + STATE(164), 2, + sym_parenthesized_expression, + sym_call, + [9164] = 6, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(155), 1, anon_sym_COMMA, - ACTIONS(509), 1, + ACTIONS(512), 1, anon_sym_else, - STATE(156), 1, - aux_sym_expression_list_repeat1, - STATE(157), 1, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, + STATE(158), 1, sym_comment, - ACTIONS(507), 6, + ACTIONS(510), 6, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, anon_sym_SEMI, anon_sym_RPAREN, - [9384] = 10, + [9188] = 8, ACTIONS(3), 1, sym__comment_start, - ACTIONS(35), 1, + ACTIONS(514), 1, + anon_sym_LBRACE, + ACTIONS(516), 1, anon_sym_LPAREN, - ACTIONS(511), 1, - sym_identifier, - STATE(2), 1, - sym__table_variable, - STATE(158), 1, + ACTIONS(518), 1, + anon_sym_COLON, + ACTIONS(520), 1, + sym__string_start, + STATE(159), 1, sym_comment, - STATE(164), 1, - sym_variable, - STATE(167), 1, - sym__table_method_variable, - STATE(168), 1, - sym__prefix_expression, - STATE(199), 1, - sym_prefix_expression, - STATE(4), 2, - sym_parenthesized_expression, - sym_call, - [9416] = 3, + STATE(192), 1, + sym__method_identifier, + STATE(9), 3, + sym_table, + sym_argument_list, + sym_string, + [9215] = 6, ACTIONS(3), 1, sym__comment_start, - STATE(159), 1, - sym_comment, - ACTIONS(55), 8, - sym__string_start, - anon_sym_COMMA, - anon_sym_EQ, - anon_sym_LBRACE, + ACTIONS(77), 1, anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_COLON, + ACTIONS(314), 1, anon_sym_DOT, - [9433] = 3, - ACTIONS(3), 1, - sym__comment_start, STATE(160), 1, sym_comment, - ACTIONS(55), 8, - sym__string_start, - anon_sym_COMMA, - anon_sym_EQ, - anon_sym_LBRACE, - anon_sym_LBRACK, - anon_sym_LPAREN, - anon_sym_COLON, - anon_sym_DOT, - [9450] = 7, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(49), 1, - anon_sym_COLON, - ACTIONS(513), 1, + ACTIONS(522), 2, anon_sym_COMMA, - ACTIONS(515), 1, anon_sym_EQ, - STATE(161), 1, - sym_comment, - STATE(189), 1, - aux_sym_variable_list_repeat1, - ACTIONS(53), 3, + ACTIONS(75), 4, sym__string_start, anon_sym_LBRACE, anon_sym_LPAREN, - [9474] = 6, + anon_sym_COLON, + [9238] = 6, ACTIONS(3), 1, sym__comment_start, ACTIONS(33), 1, anon_sym_SEMI, - ACTIONS(519), 1, + ACTIONS(526), 1, anon_sym_else, - STATE(162), 1, + STATE(161), 1, sym_comment, - STATE(172), 1, + STATE(168), 1, sym_empty_statement, - ACTIONS(517), 4, + ACTIONS(524), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, - [9496] = 8, + [9260] = 8, ACTIONS(3), 1, sym__comment_start, - ACTIONS(121), 1, + ACTIONS(105), 1, anon_sym_else, - ACTIONS(521), 1, + ACTIONS(528), 1, anon_sym_end, - ACTIONS(523), 1, + ACTIONS(530), 1, anon_sym_elseif, + STATE(162), 1, + sym_comment, + STATE(170), 1, + aux_sym_if_statement_repeat1, + STATE(198), 1, + sym_elseif_clause, + STATE(221), 1, + sym_else_clause, + [9285] = 6, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(514), 1, + anon_sym_LBRACE, + ACTIONS(516), 1, + anon_sym_LPAREN, + ACTIONS(520), 1, + sym__string_start, STATE(163), 1, sym_comment, - STATE(173), 1, - aux_sym_if_statement_repeat1, - STATE(186), 1, - sym_elseif_clause, - STATE(212), 1, - sym_else_clause, - [9521] = 5, + STATE(9), 3, + sym_table, + sym_argument_list, + sym_string, + [9306] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(49), 1, - anon_sym_COLON, + ACTIONS(77), 1, + anon_sym_LBRACK, + ACTIONS(314), 1, + anon_sym_DOT, STATE(164), 1, sym_comment, - ACTIONS(525), 2, - anon_sym_COMMA, - anon_sym_EQ, - ACTIONS(53), 3, + ACTIONS(75), 4, sym__string_start, anon_sym_LBRACE, anon_sym_LPAREN, - [9540] = 8, + anon_sym_COLON, + [9325] = 8, ACTIONS(3), 1, sym__comment_start, - ACTIONS(121), 1, + ACTIONS(105), 1, anon_sym_else, - ACTIONS(523), 1, + ACTIONS(530), 1, anon_sym_elseif, - ACTIONS(527), 1, + ACTIONS(532), 1, anon_sym_end, + STATE(162), 1, + aux_sym_if_statement_repeat1, STATE(165), 1, sym_comment, - STATE(166), 1, - aux_sym_if_statement_repeat1, - STATE(186), 1, + STATE(198), 1, sym_elseif_clause, - STATE(217), 1, + STATE(228), 1, sym_else_clause, - [9565] = 8, + [9350] = 8, ACTIONS(3), 1, sym__comment_start, - ACTIONS(121), 1, + ACTIONS(105), 1, anon_sym_else, - ACTIONS(523), 1, + ACTIONS(530), 1, anon_sym_elseif, - ACTIONS(529), 1, + ACTIONS(534), 1, anon_sym_end, STATE(166), 1, sym_comment, - STATE(173), 1, + STATE(170), 1, aux_sym_if_statement_repeat1, - STATE(186), 1, + STATE(198), 1, sym_elseif_clause, - STATE(225), 1, + STATE(229), 1, sym_else_clause, - [9590] = 7, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(531), 1, - anon_sym_LBRACE, - ACTIONS(533), 1, - anon_sym_LPAREN, - ACTIONS(535), 1, - sym__string_start, - STATE(17), 1, - sym_argument_list, - STATE(167), 1, - sym_comment, - STATE(15), 2, - sym_table, - sym_string, - [9613] = 7, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(531), 1, - anon_sym_LBRACE, - ACTIONS(533), 1, - anon_sym_LPAREN, - ACTIONS(535), 1, - sym__string_start, - STATE(14), 1, - sym_argument_list, - STATE(168), 1, - sym_comment, - STATE(15), 2, - sym_table, - sym_string, - [9636] = 4, - ACTIONS(3), 1, - sym__comment_start, - ACTIONS(539), 1, - anon_sym_else, - STATE(169), 1, - sym_comment, - ACTIONS(537), 4, - ts_builtin_sym_end, - anon_sym_end, - anon_sym_elseif, - anon_sym_until, - [9652] = 4, + [9375] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(519), 1, + ACTIONS(163), 1, anon_sym_else, - STATE(170), 1, + STATE(167), 1, sym_comment, - ACTIONS(517), 4, + ACTIONS(161), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, - [9668] = 4, + [9391] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(179), 1, + ACTIONS(538), 1, anon_sym_else, - STATE(171), 1, + STATE(168), 1, sym_comment, - ACTIONS(177), 4, + ACTIONS(536), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, - [9684] = 4, + [9407] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(543), 1, + ACTIONS(542), 1, anon_sym_else, - STATE(172), 1, + STATE(169), 1, sym_comment, - ACTIONS(541), 4, + ACTIONS(540), 4, ts_builtin_sym_end, anon_sym_end, anon_sym_elseif, anon_sym_until, - [9700] = 6, + [9423] = 6, ACTIONS(3), 1, sym__comment_start, - ACTIONS(545), 1, + ACTIONS(544), 1, anon_sym_end, - ACTIONS(547), 1, + ACTIONS(546), 1, anon_sym_elseif, - ACTIONS(550), 1, + ACTIONS(549), 1, anon_sym_else, - STATE(186), 1, + STATE(198), 1, sym_elseif_clause, - STATE(173), 2, + STATE(170), 2, sym_comment, aux_sym_if_statement_repeat1, - [9720] = 4, + [9443] = 7, ACTIONS(3), 1, sym__comment_start, - ACTIONS(554), 1, - anon_sym_COMMA, - ACTIONS(552), 2, - anon_sym_in, - anon_sym_RPAREN, - STATE(174), 2, + ACTIONS(551), 1, + anon_sym_DOT, + ACTIONS(553), 1, + anon_sym_LPAREN, + ACTIONS(555), 1, + anon_sym_COLON, + STATE(171), 1, sym_comment, - aux_sym__name_list_repeat1, - [9735] = 6, + STATE(179), 1, + aux_sym__dotted_name_repeat1, + STATE(224), 1, + sym__method_identifier, + [9465] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(557), 1, - anon_sym_COLON, ACTIONS(559), 1, - anon_sym_DOT, - STATE(175), 1, + anon_sym_else, + STATE(172), 1, sym_comment, - STATE(197), 1, - sym__named_field_identifier, - STATE(238), 1, - sym__method_identifier, - [9754] = 5, + ACTIONS(557), 4, + ts_builtin_sym_end, + anon_sym_end, + anon_sym_elseif, + anon_sym_until, + [9481] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(302), 1, + ACTIONS(296), 1, anon_sym_RBRACE, - STATE(176), 1, + STATE(173), 1, sym_comment, - STATE(178), 1, + STATE(181), 1, aux_sym_field_list_repeat1, ACTIONS(561), 2, anon_sym_COMMA, anon_sym_SEMI, - [9771] = 6, + [9498] = 4, ACTIONS(3), 1, sym__comment_start, ACTIONS(563), 1, + anon_sym_COMMA, + ACTIONS(566), 2, + anon_sym_in, + anon_sym_RPAREN, + STATE(174), 2, + sym_comment, + aux_sym_for_generic_statement_repeat1, + [9513] = 6, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(568), 1, sym_identifier, - ACTIONS(565), 1, + ACTIONS(570), 1, anon_sym_RPAREN, - ACTIONS(567), 1, + ACTIONS(572), 1, sym_vararg_expression, - STATE(177), 1, + STATE(175), 1, sym_comment, - STATE(234), 1, + STATE(231), 1, sym_parameter_list, - [9790] = 4, + [9532] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(572), 1, - anon_sym_RBRACE, - ACTIONS(569), 2, - anon_sym_COMMA, - anon_sym_SEMI, - STATE(178), 2, + ACTIONS(576), 1, + anon_sym_else, + STATE(176), 1, sym_comment, - aux_sym_field_list_repeat1, - [9805] = 6, + ACTIONS(574), 3, + anon_sym_end, + anon_sym_elseif, + anon_sym_until, + [9547] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(574), 1, - anon_sym_in, - ACTIONS(576), 1, - anon_sym_COMMA, ACTIONS(578), 1, + anon_sym_DOT, + ACTIONS(581), 2, + anon_sym_LPAREN, + anon_sym_COLON, + STATE(177), 2, + sym_comment, + aux_sym__dotted_name_repeat1, + [9562] = 6, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(583), 1, + anon_sym_COMMA, + ACTIONS(585), 1, + anon_sym_in, + ACTIONS(587), 1, anon_sym_EQ, - STATE(179), 1, + STATE(178), 1, sym_comment, - STATE(196), 1, - aux_sym__name_list_repeat1, - [9824] = 5, + STATE(184), 1, + aux_sym_for_generic_statement_repeat1, + [9581] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(580), 1, + ACTIONS(551), 1, + anon_sym_DOT, + STATE(177), 1, + aux_sym__dotted_name_repeat1, + STATE(179), 1, + sym_comment, + ACTIONS(589), 2, anon_sym_LPAREN, - STATE(150), 1, - sym__function_body, + anon_sym_COLON, + [9598] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(593), 1, + anon_sym_RBRACE, + STATE(173), 1, + aux_sym_field_list_repeat1, STATE(180), 1, sym_comment, - ACTIONS(582), 2, - anon_sym_COLON, - anon_sym_DOT, - [9841] = 4, + ACTIONS(591), 2, + anon_sym_COMMA, + anon_sym_SEMI, + [9615] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(586), 1, - anon_sym_else, - STATE(181), 1, + ACTIONS(598), 1, + anon_sym_RBRACE, + ACTIONS(595), 2, + anon_sym_COMMA, + anon_sym_SEMI, + STATE(181), 2, sym_comment, - ACTIONS(584), 3, - anon_sym_end, - anon_sym_elseif, - anon_sym_until, - [9856] = 6, + aux_sym_field_list_repeat1, + [9630] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(588), 1, - sym_identifier, - STATE(175), 1, - sym__table_identifier, STATE(182), 1, sym_comment, - STATE(200), 1, - sym__table_function_variable, - STATE(205), 1, - sym__table_field_variable, - [9875] = 6, + ACTIONS(600), 3, + sym__string_start, + anon_sym_LBRACE, + anon_sym_LPAREN, + [9642] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(590), 1, - sym_identifier, - ACTIONS(592), 1, - anon_sym_function, - STATE(120), 1, - sym__local_variable, - STATE(127), 1, - sym__local_variable_list, STATE(183), 1, sym_comment, - [9894] = 5, + ACTIONS(598), 3, + anon_sym_COMMA, + anon_sym_SEMI, + anon_sym_RBRACE, + [9654] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(596), 1, - anon_sym_RBRACE, - STATE(176), 1, - aux_sym_field_list_repeat1, + ACTIONS(583), 1, + anon_sym_COMMA, + ACTIONS(602), 1, + anon_sym_in, + STATE(174), 1, + aux_sym_for_generic_statement_repeat1, STATE(184), 1, sym_comment, - ACTIONS(594), 2, - anon_sym_COMMA, - anon_sym_SEMI, - [9911] = 3, + [9670] = 3, ACTIONS(3), 1, sym__comment_start, STATE(185), 1, sym_comment, - ACTIONS(598), 3, - anon_sym_in, - anon_sym_COMMA, - anon_sym_RPAREN, - [9923] = 4, + ACTIONS(581), 3, + anon_sym_DOT, + anon_sym_LPAREN, + anon_sym_COLON, + [9682] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(602), 1, + ACTIONS(606), 1, anon_sym_else, STATE(186), 1, sym_comment, - ACTIONS(600), 2, + ACTIONS(604), 2, anon_sym_end, anon_sym_elseif, - [9937] = 3, + [9696] = 5, ACTIONS(3), 1, sym__comment_start, + ACTIONS(553), 1, + anon_sym_LPAREN, + ACTIONS(555), 1, + anon_sym_COLON, STATE(187), 1, sym_comment, - ACTIONS(604), 3, - sym__string_start, - anon_sym_LBRACE, - anon_sym_LPAREN, - [9949] = 5, + STATE(227), 1, + sym__method_identifier, + [9712] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(606), 1, + ACTIONS(155), 1, anon_sym_COMMA, ACTIONS(608), 1, - anon_sym_RPAREN, + anon_sym_do, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(188), 1, sym_comment, - STATE(190), 1, - aux_sym__name_list_repeat1, - [9965] = 5, + [9728] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(513), 1, - anon_sym_COMMA, ACTIONS(610), 1, - anon_sym_EQ, + anon_sym_COMMA, + ACTIONS(612), 1, + anon_sym_RPAREN, + STATE(174), 1, + aux_sym_for_generic_statement_repeat1, STATE(189), 1, sym_comment, - STATE(195), 1, - aux_sym_variable_list_repeat1, - [9981] = 5, + [9744] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(612), 1, - anon_sym_COMMA, ACTIONS(614), 1, - anon_sym_RPAREN, - STATE(174), 1, - aux_sym__name_list_repeat1, + anon_sym_COMMA, + ACTIONS(616), 1, + anon_sym_EQ, STATE(190), 1, sym_comment, - [9997] = 4, + STATE(193), 1, + aux_sym_variable_assignment_repeat1, + [9760] = 5, ACTIONS(3), 1, sym__comment_start, + ACTIONS(155), 1, + anon_sym_COMMA, ACTIONS(618), 1, - anon_sym_else, + anon_sym_do, + STATE(111), 1, + aux_sym_for_generic_statement_repeat2, STATE(191), 1, sym_comment, - ACTIONS(616), 2, - anon_sym_end, - anon_sym_elseif, - [10011] = 3, + [9776] = 3, ACTIONS(3), 1, sym__comment_start, STATE(192), 1, @@ -10145,1089 +9875,1115 @@ static const uint16_t ts_small_parse_table[] = { sym__string_start, anon_sym_LBRACE, anon_sym_LPAREN, - [10023] = 3, + [9788] = 5, ACTIONS(3), 1, sym__comment_start, + ACTIONS(614), 1, + anon_sym_COMMA, + ACTIONS(622), 1, + anon_sym_EQ, STATE(193), 1, sym_comment, - ACTIONS(59), 3, - anon_sym_LPAREN, - anon_sym_COLON, - anon_sym_DOT, - [10035] = 3, - ACTIONS(3), 1, - sym__comment_start, STATE(194), 1, - sym_comment, - ACTIONS(572), 3, - anon_sym_COMMA, - anon_sym_SEMI, - anon_sym_RBRACE, - [10047] = 4, + aux_sym_variable_assignment_repeat1, + [9804] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(525), 1, - anon_sym_EQ, - ACTIONS(622), 1, + ACTIONS(624), 1, anon_sym_COMMA, - STATE(195), 2, + ACTIONS(627), 1, + anon_sym_EQ, + STATE(194), 2, sym_comment, - aux_sym_variable_list_repeat1, - [10061] = 5, + aux_sym_variable_assignment_repeat1, + [9818] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(576), 1, + ACTIONS(629), 1, anon_sym_COMMA, - ACTIONS(625), 1, - anon_sym_in, - STATE(174), 1, - aux_sym__name_list_repeat1, + ACTIONS(631), 1, + anon_sym_RPAREN, + STATE(189), 1, + aux_sym_for_generic_statement_repeat1, + STATE(195), 1, + sym_comment, + [9834] = 5, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(633), 1, + sym_identifier, + STATE(187), 1, + sym__dotted_name, STATE(196), 1, sym_comment, - [10077] = 4, + STATE(208), 1, + sym__function_name, + [9850] = 5, ACTIONS(3), 1, sym__comment_start, - ACTIONS(627), 1, - anon_sym_LPAREN, + ACTIONS(635), 1, + sym_identifier, + ACTIONS(637), 1, + anon_sym_function, + STATE(116), 1, + sym_variable, STATE(197), 1, sym_comment, - ACTIONS(629), 2, - anon_sym_COLON, - anon_sym_DOT, - [10091] = 4, + [9866] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(631), 1, - sym__comment_content, - ACTIONS(633), 1, - sym__comment_end, + ACTIONS(641), 1, + anon_sym_else, STATE(198), 1, sym_comment, - [10104] = 4, + ACTIONS(639), 2, + anon_sym_end, + anon_sym_elseif, + [9880] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(635), 1, - anon_sym_COLON, - STATE(192), 1, - sym__method_identifier, STATE(199), 1, sym_comment, - [10117] = 4, + ACTIONS(566), 3, + anon_sym_COMMA, + anon_sym_in, + anon_sym_RPAREN, + [9892] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(580), 1, - anon_sym_LPAREN, - STATE(149), 1, - sym__function_body, + ACTIONS(643), 1, + sym__string_content, + ACTIONS(645), 1, + sym__string_end, STATE(200), 1, sym_comment, - [10130] = 4, + [9905] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(637), 1, - sym_identifier, - STATE(123), 1, - sym__local_variable, + ACTIONS(647), 1, + anon_sym_LPAREN, + STATE(145), 1, + sym__function_body, STATE(201), 1, sym_comment, - [10143] = 4, + [9918] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(639), 1, + ACTIONS(649), 1, sym__string_content, - ACTIONS(641), 1, + ACTIONS(651), 1, sym__string_end, STATE(202), 1, sym_comment, - [10156] = 4, + [9931] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(643), 1, - sym_identifier, - ACTIONS(645), 1, - sym_vararg_expression, + ACTIONS(653), 1, + sym__comment_content, + ACTIONS(655), 1, + sym__comment_end, STATE(203), 1, sym_comment, - [10169] = 4, + [9944] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(580), 1, - anon_sym_LPAREN, - STATE(155), 1, - sym__function_body, STATE(204), 1, sym_comment, - [10182] = 3, + ACTIONS(627), 2, + anon_sym_COMMA, + anon_sym_EQ, + [9955] = 4, ACTIONS(3), 1, sym__comment_start, + ACTIONS(657), 1, + sym_identifier, + ACTIONS(659), 1, + sym_vararg_expression, STATE(205), 1, sym_comment, - ACTIONS(647), 2, - anon_sym_COLON, - anon_sym_DOT, - [10193] = 4, + [9968] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(580), 1, - anon_sym_LPAREN, - STATE(31), 1, - sym__function_body, + ACTIONS(657), 1, + sym_identifier, + ACTIONS(661), 1, + sym_vararg_expression, STATE(206), 1, sym_comment, - [10206] = 4, + [9981] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(643), 1, - sym_identifier, - ACTIONS(649), 1, - sym_vararg_expression, + ACTIONS(647), 1, + anon_sym_LPAREN, + STATE(13), 1, + sym__function_body, STATE(207), 1, sym_comment, - [10219] = 4, + [9994] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(651), 1, - sym__string_content, - ACTIONS(653), 1, - sym__string_end, + ACTIONS(647), 1, + anon_sym_LPAREN, + STATE(129), 1, + sym__function_body, STATE(208), 1, sym_comment, - [10232] = 4, + [10007] = 4, ACTIONS(3), 1, sym__comment_start, - ACTIONS(655), 1, + ACTIONS(663), 1, sym_identifier, + STATE(125), 1, + sym_variable, STATE(209), 1, sym_comment, - STATE(247), 1, - sym__name_list, - [10245] = 3, + [10020] = 3, ACTIONS(3), 1, sym__comment_start, ACTIONS(657), 1, - anon_sym_RPAREN, + sym_identifier, STATE(210), 1, sym_comment, - [10255] = 3, + [10030] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(659), 1, - anon_sym_do, + ACTIONS(665), 1, + ts_builtin_sym_end, STATE(211), 1, sym_comment, - [10265] = 3, + [10040] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(661), 1, + ACTIONS(667), 1, anon_sym_end, STATE(212), 1, sym_comment, - [10275] = 3, + [10050] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(663), 1, - anon_sym_RPAREN, + ACTIONS(669), 1, + anon_sym_end, STATE(213), 1, sym_comment, - [10285] = 3, + [10060] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(665), 1, - sym__comment_end, + ACTIONS(671), 1, + sym_identifier, STATE(214), 1, sym_comment, - [10295] = 3, + [10070] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(667), 1, + ACTIONS(673), 1, sym_identifier, STATE(215), 1, sym_comment, - [10305] = 3, + [10080] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(669), 1, - anon_sym_end, + ACTIONS(675), 1, + anon_sym_COLON_COLON, STATE(216), 1, sym_comment, - [10315] = 3, + [10090] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(671), 1, + ACTIONS(677), 1, anon_sym_end, STATE(217), 1, sym_comment, - [10325] = 3, + [10100] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(673), 1, - anon_sym_end, + ACTIONS(679), 1, + anon_sym_until, STATE(218), 1, sym_comment, - [10335] = 3, + [10110] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(675), 1, - anon_sym_EQ, + ACTIONS(681), 1, + sym_identifier, STATE(219), 1, sym_comment, - [10345] = 3, + [10120] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(677), 1, - anon_sym_RBRACE, + ACTIONS(683), 1, + anon_sym_end, STATE(220), 1, sym_comment, - [10355] = 3, + [10130] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(679), 1, + ACTIONS(685), 1, anon_sym_end, STATE(221), 1, sym_comment, - [10365] = 3, + [10140] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(681), 1, - sym__string_end, + ACTIONS(687), 1, + anon_sym_RPAREN, STATE(222), 1, sym_comment, - [10375] = 3, + [10150] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(683), 1, - sym__string_end, + ACTIONS(689), 1, + sym_identifier, STATE(223), 1, sym_comment, - [10385] = 3, + [10160] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(685), 1, - ts_builtin_sym_end, + ACTIONS(691), 1, + anon_sym_LPAREN, STATE(224), 1, sym_comment, - [10395] = 3, + [10170] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(687), 1, - anon_sym_end, + ACTIONS(693), 1, + sym_identifier, STATE(225), 1, sym_comment, - [10405] = 3, + [10180] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(689), 1, - anon_sym_RBRACE, + ACTIONS(695), 1, + anon_sym_end, STATE(226), 1, sym_comment, - [10415] = 3, + [10190] = 3, ACTIONS(3), 1, sym__comment_start, ACTIONS(691), 1, - anon_sym_RPAREN, + anon_sym_LPAREN, STATE(227), 1, sym_comment, - [10425] = 3, + [10200] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(693), 1, - anon_sym_RPAREN, + ACTIONS(697), 1, + anon_sym_end, STATE(228), 1, sym_comment, - [10435] = 3, + [10210] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(258), 1, - ts_builtin_sym_end, + ACTIONS(699), 1, + anon_sym_end, STATE(229), 1, sym_comment, - [10445] = 3, + [10220] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(695), 1, - ts_builtin_sym_end, + ACTIONS(701), 1, + anon_sym_end, STATE(230), 1, sym_comment, - [10455] = 3, + [10230] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(697), 1, - anon_sym_EQ, + ACTIONS(703), 1, + anon_sym_RPAREN, STATE(231), 1, sym_comment, - [10465] = 3, + [10240] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(699), 1, - anon_sym_end, + ACTIONS(705), 1, + anon_sym_RPAREN, STATE(232), 1, sym_comment, - [10475] = 3, + [10250] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(701), 1, - sym_identifier, + ACTIONS(707), 1, + anon_sym_RBRACE, STATE(233), 1, sym_comment, - [10485] = 3, + [10260] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(703), 1, - anon_sym_RPAREN, + ACTIONS(709), 1, + sym__string_end, STATE(234), 1, sym_comment, - [10495] = 3, + [10270] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(643), 1, - sym_identifier, + ACTIONS(711), 1, + sym__comment_end, STATE(235), 1, sym_comment, - [10505] = 3, + [10280] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(705), 1, - anon_sym_end, + ACTIONS(713), 1, + anon_sym_EQ, STATE(236), 1, sym_comment, - [10515] = 3, + [10290] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(707), 1, + ACTIONS(715), 1, anon_sym_end, STATE(237), 1, sym_comment, - [10525] = 3, + [10300] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(709), 1, - anon_sym_LPAREN, + ACTIONS(717), 1, + anon_sym_end, STATE(238), 1, sym_comment, - [10535] = 3, + [10310] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(711), 1, - sym_identifier, + ACTIONS(719), 1, + anon_sym_end, STATE(239), 1, sym_comment, - [10545] = 3, + [10320] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(713), 1, + ACTIONS(721), 1, anon_sym_end, STATE(240), 1, sym_comment, - [10555] = 3, + [10330] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(715), 1, - anon_sym_end, + ACTIONS(723), 1, + sym__string_end, STATE(241), 1, sym_comment, - [10565] = 3, + [10340] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(717), 1, - sym_identifier, + ACTIONS(631), 1, + anon_sym_RPAREN, STATE(242), 1, sym_comment, - [10575] = 3, + [10350] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(719), 1, - sym_identifier, + ACTIONS(256), 1, + ts_builtin_sym_end, STATE(243), 1, sym_comment, - [10585] = 3, + [10360] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(721), 1, - sym_identifier, + ACTIONS(725), 1, + ts_builtin_sym_end, STATE(244), 1, sym_comment, - [10595] = 3, + [10370] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(723), 1, - anon_sym_GT, + ACTIONS(727), 1, + anon_sym_end, STATE(245), 1, sym_comment, - [10605] = 3, + [10380] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(604), 1, - anon_sym_LPAREN, + ACTIONS(729), 1, + anon_sym_RPAREN, STATE(246), 1, sym_comment, - [10615] = 3, + [10390] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(725), 1, - anon_sym_in, + ACTIONS(731), 1, + sym_identifier, STATE(247), 1, sym_comment, - [10625] = 3, + [10400] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(727), 1, - anon_sym_end, + ACTIONS(733), 1, + sym_identifier, STATE(248), 1, sym_comment, - [10635] = 3, + [10410] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(729), 1, - anon_sym_until, + ACTIONS(600), 1, + anon_sym_LPAREN, STATE(249), 1, sym_comment, - [10645] = 3, + [10420] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(731), 1, - anon_sym_COLON_COLON, + ACTIONS(735), 1, + sym_identifier, STATE(250), 1, sym_comment, - [10655] = 3, + [10430] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(733), 1, - sym_identifier, + ACTIONS(737), 1, + anon_sym_end, STATE(251), 1, sym_comment, - [10665] = 3, + [10440] = 3, ACTIONS(3), 1, sym__comment_start, - ACTIONS(735), 1, - sym_identifier, + ACTIONS(739), 1, + anon_sym_RBRACE, STATE(252), 1, sym_comment, - [10675] = 1, - ACTIONS(737), 1, + [10450] = 3, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(741), 1, + anon_sym_GT, + STATE(253), 1, + sym_comment, + [10460] = 3, + ACTIONS(3), 1, + sym__comment_start, + ACTIONS(743), 1, + sym_identifier, + STATE(254), 1, + sym_comment, + [10470] = 1, + ACTIONS(745), 1, ts_builtin_sym_end, - [10679] = 1, - ACTIONS(739), 1, + [10474] = 1, + ACTIONS(747), 1, ts_builtin_sym_end, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 72, - [SMALL_STATE(4)] = 144, - [SMALL_STATE(5)] = 217, - [SMALL_STATE(6)] = 279, - [SMALL_STATE(7)] = 341, - [SMALL_STATE(8)] = 403, - [SMALL_STATE(9)] = 465, - [SMALL_STATE(10)] = 527, - [SMALL_STATE(11)] = 589, - [SMALL_STATE(12)] = 651, - [SMALL_STATE(13)] = 713, - [SMALL_STATE(14)] = 774, - [SMALL_STATE(15)] = 835, - [SMALL_STATE(16)] = 896, - [SMALL_STATE(17)] = 957, - [SMALL_STATE(18)] = 1018, - [SMALL_STATE(19)] = 1079, - [SMALL_STATE(20)] = 1140, - [SMALL_STATE(21)] = 1201, - [SMALL_STATE(22)] = 1262, - [SMALL_STATE(23)] = 1323, - [SMALL_STATE(24)] = 1384, - [SMALL_STATE(25)] = 1446, - [SMALL_STATE(26)] = 1567, - [SMALL_STATE(27)] = 1633, - [SMALL_STATE(28)] = 1699, - [SMALL_STATE(29)] = 1755, - [SMALL_STATE(30)] = 1813, - [SMALL_STATE(31)] = 1869, - [SMALL_STATE(32)] = 1925, - [SMALL_STATE(33)] = 1981, - [SMALL_STATE(34)] = 2055, - [SMALL_STATE(35)] = 2135, - [SMALL_STATE(36)] = 2213, - [SMALL_STATE(37)] = 2269, - [SMALL_STATE(38)] = 2325, - [SMALL_STATE(39)] = 2397, - [SMALL_STATE(40)] = 2467, - [SMALL_STATE(41)] = 2535, - [SMALL_STATE(42)] = 2591, - [SMALL_STATE(43)] = 2647, - [SMALL_STATE(44)] = 2703, - [SMALL_STATE(45)] = 2765, - [SMALL_STATE(46)] = 2823, - [SMALL_STATE(47)] = 2879, - [SMALL_STATE(48)] = 2937, - [SMALL_STATE(49)] = 3045, - [SMALL_STATE(50)] = 3151, - [SMALL_STATE(51)] = 3234, - [SMALL_STATE(52)] = 3333, - [SMALL_STATE(53)] = 3439, - [SMALL_STATE(54)] = 3545, - [SMALL_STATE(55)] = 3651, - [SMALL_STATE(56)] = 3757, - [SMALL_STATE(57)] = 3863, - [SMALL_STATE(58)] = 3969, - [SMALL_STATE(59)] = 4075, - [SMALL_STATE(60)] = 4181, - [SMALL_STATE(61)] = 4287, - [SMALL_STATE(62)] = 4365, - [SMALL_STATE(63)] = 4442, - [SMALL_STATE(64)] = 4545, - [SMALL_STATE(65)] = 4622, - [SMALL_STATE(66)] = 4708, - [SMALL_STATE(67)] = 4762, - [SMALL_STATE(68)] = 4842, - [SMALL_STATE(69)] = 4922, - [SMALL_STATE(70)] = 4993, - [SMALL_STATE(71)] = 5070, - [SMALL_STATE(72)] = 5147, - [SMALL_STATE(73)] = 5213, - [SMALL_STATE(74)] = 5287, - [SMALL_STATE(75)] = 5361, - [SMALL_STATE(76)] = 5432, - [SMALL_STATE(77)] = 5503, - [SMALL_STATE(78)] = 5574, - [SMALL_STATE(79)] = 5642, - [SMALL_STATE(80)] = 5710, - [SMALL_STATE(81)] = 5778, - [SMALL_STATE(82)] = 5846, - [SMALL_STATE(83)] = 5914, - [SMALL_STATE(84)] = 5982, - [SMALL_STATE(85)] = 6050, - [SMALL_STATE(86)] = 6118, - [SMALL_STATE(87)] = 6186, - [SMALL_STATE(88)] = 6254, - [SMALL_STATE(89)] = 6322, - [SMALL_STATE(90)] = 6390, - [SMALL_STATE(91)] = 6458, - [SMALL_STATE(92)] = 6526, - [SMALL_STATE(93)] = 6594, - [SMALL_STATE(94)] = 6662, - [SMALL_STATE(95)] = 6730, - [SMALL_STATE(96)] = 6798, - [SMALL_STATE(97)] = 6866, - [SMALL_STATE(98)] = 6934, - [SMALL_STATE(99)] = 7002, - [SMALL_STATE(100)] = 7070, - [SMALL_STATE(101)] = 7138, - [SMALL_STATE(102)] = 7206, - [SMALL_STATE(103)] = 7274, - [SMALL_STATE(104)] = 7342, - [SMALL_STATE(105)] = 7410, - [SMALL_STATE(106)] = 7459, - [SMALL_STATE(107)] = 7518, - [SMALL_STATE(108)] = 7577, - [SMALL_STATE(109)] = 7636, - [SMALL_STATE(110)] = 7674, - [SMALL_STATE(111)] = 7734, - [SMALL_STATE(112)] = 7791, - [SMALL_STATE(113)] = 7848, - [SMALL_STATE(114)] = 7905, - [SMALL_STATE(115)] = 7962, - [SMALL_STATE(116)] = 8019, - [SMALL_STATE(117)] = 8054, - [SMALL_STATE(118)] = 8091, - [SMALL_STATE(119)] = 8148, - [SMALL_STATE(120)] = 8205, - [SMALL_STATE(121)] = 8242, - [SMALL_STATE(122)] = 8299, - [SMALL_STATE(123)] = 8331, - [SMALL_STATE(124)] = 8363, - [SMALL_STATE(125)] = 8399, - [SMALL_STATE(126)] = 8431, - [SMALL_STATE(127)] = 8465, - [SMALL_STATE(128)] = 8498, - [SMALL_STATE(129)] = 8528, - [SMALL_STATE(130)] = 8558, - [SMALL_STATE(131)] = 8588, - [SMALL_STATE(132)] = 8618, - [SMALL_STATE(133)] = 8648, - [SMALL_STATE(134)] = 8678, - [SMALL_STATE(135)] = 8708, - [SMALL_STATE(136)] = 8738, - [SMALL_STATE(137)] = 8768, - [SMALL_STATE(138)] = 8798, - [SMALL_STATE(139)] = 8828, - [SMALL_STATE(140)] = 8858, - [SMALL_STATE(141)] = 8888, - [SMALL_STATE(142)] = 8918, - [SMALL_STATE(143)] = 8948, - [SMALL_STATE(144)] = 8978, - [SMALL_STATE(145)] = 9008, - [SMALL_STATE(146)] = 9038, - [SMALL_STATE(147)] = 9068, - [SMALL_STATE(148)] = 9098, - [SMALL_STATE(149)] = 9128, - [SMALL_STATE(150)] = 9158, - [SMALL_STATE(151)] = 9188, - [SMALL_STATE(152)] = 9218, - [SMALL_STATE(153)] = 9248, - [SMALL_STATE(154)] = 9278, - [SMALL_STATE(155)] = 9308, - [SMALL_STATE(156)] = 9338, - [SMALL_STATE(157)] = 9360, - [SMALL_STATE(158)] = 9384, - [SMALL_STATE(159)] = 9416, - [SMALL_STATE(160)] = 9433, - [SMALL_STATE(161)] = 9450, - [SMALL_STATE(162)] = 9474, - [SMALL_STATE(163)] = 9496, - [SMALL_STATE(164)] = 9521, - [SMALL_STATE(165)] = 9540, - [SMALL_STATE(166)] = 9565, - [SMALL_STATE(167)] = 9590, - [SMALL_STATE(168)] = 9613, - [SMALL_STATE(169)] = 9636, - [SMALL_STATE(170)] = 9652, - [SMALL_STATE(171)] = 9668, - [SMALL_STATE(172)] = 9684, - [SMALL_STATE(173)] = 9700, - [SMALL_STATE(174)] = 9720, - [SMALL_STATE(175)] = 9735, - [SMALL_STATE(176)] = 9754, - [SMALL_STATE(177)] = 9771, - [SMALL_STATE(178)] = 9790, - [SMALL_STATE(179)] = 9805, - [SMALL_STATE(180)] = 9824, - [SMALL_STATE(181)] = 9841, - [SMALL_STATE(182)] = 9856, - [SMALL_STATE(183)] = 9875, - [SMALL_STATE(184)] = 9894, - [SMALL_STATE(185)] = 9911, - [SMALL_STATE(186)] = 9923, - [SMALL_STATE(187)] = 9937, - [SMALL_STATE(188)] = 9949, - [SMALL_STATE(189)] = 9965, - [SMALL_STATE(190)] = 9981, - [SMALL_STATE(191)] = 9997, - [SMALL_STATE(192)] = 10011, - [SMALL_STATE(193)] = 10023, - [SMALL_STATE(194)] = 10035, - [SMALL_STATE(195)] = 10047, - [SMALL_STATE(196)] = 10061, - [SMALL_STATE(197)] = 10077, - [SMALL_STATE(198)] = 10091, - [SMALL_STATE(199)] = 10104, - [SMALL_STATE(200)] = 10117, - [SMALL_STATE(201)] = 10130, - [SMALL_STATE(202)] = 10143, - [SMALL_STATE(203)] = 10156, - [SMALL_STATE(204)] = 10169, - [SMALL_STATE(205)] = 10182, - [SMALL_STATE(206)] = 10193, - [SMALL_STATE(207)] = 10206, - [SMALL_STATE(208)] = 10219, - [SMALL_STATE(209)] = 10232, - [SMALL_STATE(210)] = 10245, - [SMALL_STATE(211)] = 10255, - [SMALL_STATE(212)] = 10265, - [SMALL_STATE(213)] = 10275, - [SMALL_STATE(214)] = 10285, - [SMALL_STATE(215)] = 10295, - [SMALL_STATE(216)] = 10305, - [SMALL_STATE(217)] = 10315, - [SMALL_STATE(218)] = 10325, - [SMALL_STATE(219)] = 10335, - [SMALL_STATE(220)] = 10345, - [SMALL_STATE(221)] = 10355, - [SMALL_STATE(222)] = 10365, - [SMALL_STATE(223)] = 10375, - [SMALL_STATE(224)] = 10385, - [SMALL_STATE(225)] = 10395, - [SMALL_STATE(226)] = 10405, - [SMALL_STATE(227)] = 10415, - [SMALL_STATE(228)] = 10425, - [SMALL_STATE(229)] = 10435, - [SMALL_STATE(230)] = 10445, - [SMALL_STATE(231)] = 10455, - [SMALL_STATE(232)] = 10465, - [SMALL_STATE(233)] = 10475, - [SMALL_STATE(234)] = 10485, - [SMALL_STATE(235)] = 10495, - [SMALL_STATE(236)] = 10505, - [SMALL_STATE(237)] = 10515, - [SMALL_STATE(238)] = 10525, - [SMALL_STATE(239)] = 10535, - [SMALL_STATE(240)] = 10545, - [SMALL_STATE(241)] = 10555, - [SMALL_STATE(242)] = 10565, - [SMALL_STATE(243)] = 10575, - [SMALL_STATE(244)] = 10585, - [SMALL_STATE(245)] = 10595, - [SMALL_STATE(246)] = 10605, - [SMALL_STATE(247)] = 10615, - [SMALL_STATE(248)] = 10625, - [SMALL_STATE(249)] = 10635, - [SMALL_STATE(250)] = 10645, - [SMALL_STATE(251)] = 10655, - [SMALL_STATE(252)] = 10665, - [SMALL_STATE(253)] = 10675, - [SMALL_STATE(254)] = 10679, + [SMALL_STATE(3)] = 62, + [SMALL_STATE(4)] = 124, + [SMALL_STATE(5)] = 185, + [SMALL_STATE(6)] = 246, + [SMALL_STATE(7)] = 307, + [SMALL_STATE(8)] = 368, + [SMALL_STATE(9)] = 429, + [SMALL_STATE(10)] = 490, + [SMALL_STATE(11)] = 559, + [SMALL_STATE(12)] = 620, + [SMALL_STATE(13)] = 681, + [SMALL_STATE(14)] = 737, + [SMALL_STATE(15)] = 793, + [SMALL_STATE(16)] = 849, + [SMALL_STATE(17)] = 965, + [SMALL_STATE(18)] = 1045, + [SMALL_STATE(19)] = 1101, + [SMALL_STATE(20)] = 1175, + [SMALL_STATE(21)] = 1231, + [SMALL_STATE(22)] = 1289, + [SMALL_STATE(23)] = 1345, + [SMALL_STATE(24)] = 1407, + [SMALL_STATE(25)] = 1463, + [SMALL_STATE(26)] = 1519, + [SMALL_STATE(27)] = 1575, + [SMALL_STATE(28)] = 1633, + [SMALL_STATE(29)] = 1711, + [SMALL_STATE(30)] = 1769, + [SMALL_STATE(31)] = 1835, + [SMALL_STATE(32)] = 1901, + [SMALL_STATE(33)] = 1969, + [SMALL_STATE(34)] = 2039, + [SMALL_STATE(35)] = 2111, + [SMALL_STATE(36)] = 2167, + [SMALL_STATE(37)] = 2250, + [SMALL_STATE(38)] = 2353, + [SMALL_STATE(39)] = 2454, + [SMALL_STATE(40)] = 2537, + [SMALL_STATE(41)] = 2620, + [SMALL_STATE(42)] = 2699, + [SMALL_STATE(43)] = 2782, + [SMALL_STATE(44)] = 2876, + [SMALL_STATE(45)] = 2977, + [SMALL_STATE(46)] = 3078, + [SMALL_STATE(47)] = 3179, + [SMALL_STATE(48)] = 3280, + [SMALL_STATE(49)] = 3381, + [SMALL_STATE(50)] = 3458, + [SMALL_STATE(51)] = 3559, + [SMALL_STATE(52)] = 3660, + [SMALL_STATE(53)] = 3761, + [SMALL_STATE(54)] = 3862, + [SMALL_STATE(55)] = 3939, + [SMALL_STATE(56)] = 4040, + [SMALL_STATE(57)] = 4141, + [SMALL_STATE(58)] = 4242, + [SMALL_STATE(59)] = 4340, + [SMALL_STATE(60)] = 4420, + [SMALL_STATE(61)] = 4494, + [SMALL_STATE(62)] = 4544, + [SMALL_STATE(63)] = 4618, + [SMALL_STATE(64)] = 4689, + [SMALL_STATE(65)] = 4760, + [SMALL_STATE(66)] = 4831, + [SMALL_STATE(67)] = 4899, + [SMALL_STATE(68)] = 4967, + [SMALL_STATE(69)] = 5029, + [SMALL_STATE(70)] = 5091, + [SMALL_STATE(71)] = 5153, + [SMALL_STATE(72)] = 5215, + [SMALL_STATE(73)] = 5277, + [SMALL_STATE(74)] = 5339, + [SMALL_STATE(75)] = 5401, + [SMALL_STATE(76)] = 5463, + [SMALL_STATE(77)] = 5525, + [SMALL_STATE(78)] = 5587, + [SMALL_STATE(79)] = 5649, + [SMALL_STATE(80)] = 5711, + [SMALL_STATE(81)] = 5773, + [SMALL_STATE(82)] = 5835, + [SMALL_STATE(83)] = 5897, + [SMALL_STATE(84)] = 5959, + [SMALL_STATE(85)] = 6021, + [SMALL_STATE(86)] = 6083, + [SMALL_STATE(87)] = 6145, + [SMALL_STATE(88)] = 6207, + [SMALL_STATE(89)] = 6269, + [SMALL_STATE(90)] = 6331, + [SMALL_STATE(91)] = 6393, + [SMALL_STATE(92)] = 6455, + [SMALL_STATE(93)] = 6517, + [SMALL_STATE(94)] = 6579, + [SMALL_STATE(95)] = 6641, + [SMALL_STATE(96)] = 6703, + [SMALL_STATE(97)] = 6765, + [SMALL_STATE(98)] = 6827, + [SMALL_STATE(99)] = 6889, + [SMALL_STATE(100)] = 6951, + [SMALL_STATE(101)] = 7010, + [SMALL_STATE(102)] = 7073, + [SMALL_STATE(103)] = 7136, + [SMALL_STATE(104)] = 7195, + [SMALL_STATE(105)] = 7238, + [SMALL_STATE(106)] = 7297, + [SMALL_STATE(107)] = 7357, + [SMALL_STATE(108)] = 7414, + [SMALL_STATE(109)] = 7471, + [SMALL_STATE(110)] = 7528, + [SMALL_STATE(111)] = 7585, + [SMALL_STATE(112)] = 7620, + [SMALL_STATE(113)] = 7659, + [SMALL_STATE(114)] = 7716, + [SMALL_STATE(115)] = 7773, + [SMALL_STATE(116)] = 7808, + [SMALL_STATE(117)] = 7847, + [SMALL_STATE(118)] = 7882, + [SMALL_STATE(119)] = 7939, + [SMALL_STATE(120)] = 7996, + [SMALL_STATE(121)] = 8032, + [SMALL_STATE(122)] = 8064, + [SMALL_STATE(123)] = 8100, + [SMALL_STATE(124)] = 8136, + [SMALL_STATE(125)] = 8172, + [SMALL_STATE(126)] = 8204, + [SMALL_STATE(127)] = 8234, + [SMALL_STATE(128)] = 8264, + [SMALL_STATE(129)] = 8294, + [SMALL_STATE(130)] = 8324, + [SMALL_STATE(131)] = 8354, + [SMALL_STATE(132)] = 8384, + [SMALL_STATE(133)] = 8414, + [SMALL_STATE(134)] = 8444, + [SMALL_STATE(135)] = 8474, + [SMALL_STATE(136)] = 8504, + [SMALL_STATE(137)] = 8534, + [SMALL_STATE(138)] = 8564, + [SMALL_STATE(139)] = 8594, + [SMALL_STATE(140)] = 8624, + [SMALL_STATE(141)] = 8654, + [SMALL_STATE(142)] = 8684, + [SMALL_STATE(143)] = 8714, + [SMALL_STATE(144)] = 8744, + [SMALL_STATE(145)] = 8774, + [SMALL_STATE(146)] = 8804, + [SMALL_STATE(147)] = 8834, + [SMALL_STATE(148)] = 8864, + [SMALL_STATE(149)] = 8894, + [SMALL_STATE(150)] = 8924, + [SMALL_STATE(151)] = 8954, + [SMALL_STATE(152)] = 8984, + [SMALL_STATE(153)] = 9014, + [SMALL_STATE(154)] = 9044, + [SMALL_STATE(155)] = 9074, + [SMALL_STATE(156)] = 9104, + [SMALL_STATE(157)] = 9134, + [SMALL_STATE(158)] = 9164, + [SMALL_STATE(159)] = 9188, + [SMALL_STATE(160)] = 9215, + [SMALL_STATE(161)] = 9238, + [SMALL_STATE(162)] = 9260, + [SMALL_STATE(163)] = 9285, + [SMALL_STATE(164)] = 9306, + [SMALL_STATE(165)] = 9325, + [SMALL_STATE(166)] = 9350, + [SMALL_STATE(167)] = 9375, + [SMALL_STATE(168)] = 9391, + [SMALL_STATE(169)] = 9407, + [SMALL_STATE(170)] = 9423, + [SMALL_STATE(171)] = 9443, + [SMALL_STATE(172)] = 9465, + [SMALL_STATE(173)] = 9481, + [SMALL_STATE(174)] = 9498, + [SMALL_STATE(175)] = 9513, + [SMALL_STATE(176)] = 9532, + [SMALL_STATE(177)] = 9547, + [SMALL_STATE(178)] = 9562, + [SMALL_STATE(179)] = 9581, + [SMALL_STATE(180)] = 9598, + [SMALL_STATE(181)] = 9615, + [SMALL_STATE(182)] = 9630, + [SMALL_STATE(183)] = 9642, + [SMALL_STATE(184)] = 9654, + [SMALL_STATE(185)] = 9670, + [SMALL_STATE(186)] = 9682, + [SMALL_STATE(187)] = 9696, + [SMALL_STATE(188)] = 9712, + [SMALL_STATE(189)] = 9728, + [SMALL_STATE(190)] = 9744, + [SMALL_STATE(191)] = 9760, + [SMALL_STATE(192)] = 9776, + [SMALL_STATE(193)] = 9788, + [SMALL_STATE(194)] = 9804, + [SMALL_STATE(195)] = 9818, + [SMALL_STATE(196)] = 9834, + [SMALL_STATE(197)] = 9850, + [SMALL_STATE(198)] = 9866, + [SMALL_STATE(199)] = 9880, + [SMALL_STATE(200)] = 9892, + [SMALL_STATE(201)] = 9905, + [SMALL_STATE(202)] = 9918, + [SMALL_STATE(203)] = 9931, + [SMALL_STATE(204)] = 9944, + [SMALL_STATE(205)] = 9955, + [SMALL_STATE(206)] = 9968, + [SMALL_STATE(207)] = 9981, + [SMALL_STATE(208)] = 9994, + [SMALL_STATE(209)] = 10007, + [SMALL_STATE(210)] = 10020, + [SMALL_STATE(211)] = 10030, + [SMALL_STATE(212)] = 10040, + [SMALL_STATE(213)] = 10050, + [SMALL_STATE(214)] = 10060, + [SMALL_STATE(215)] = 10070, + [SMALL_STATE(216)] = 10080, + [SMALL_STATE(217)] = 10090, + [SMALL_STATE(218)] = 10100, + [SMALL_STATE(219)] = 10110, + [SMALL_STATE(220)] = 10120, + [SMALL_STATE(221)] = 10130, + [SMALL_STATE(222)] = 10140, + [SMALL_STATE(223)] = 10150, + [SMALL_STATE(224)] = 10160, + [SMALL_STATE(225)] = 10170, + [SMALL_STATE(226)] = 10180, + [SMALL_STATE(227)] = 10190, + [SMALL_STATE(228)] = 10200, + [SMALL_STATE(229)] = 10210, + [SMALL_STATE(230)] = 10220, + [SMALL_STATE(231)] = 10230, + [SMALL_STATE(232)] = 10240, + [SMALL_STATE(233)] = 10250, + [SMALL_STATE(234)] = 10260, + [SMALL_STATE(235)] = 10270, + [SMALL_STATE(236)] = 10280, + [SMALL_STATE(237)] = 10290, + [SMALL_STATE(238)] = 10300, + [SMALL_STATE(239)] = 10310, + [SMALL_STATE(240)] = 10320, + [SMALL_STATE(241)] = 10330, + [SMALL_STATE(242)] = 10340, + [SMALL_STATE(243)] = 10350, + [SMALL_STATE(244)] = 10360, + [SMALL_STATE(245)] = 10370, + [SMALL_STATE(246)] = 10380, + [SMALL_STATE(247)] = 10390, + [SMALL_STATE(248)] = 10400, + [SMALL_STATE(249)] = 10410, + [SMALL_STATE(250)] = 10420, + [SMALL_STATE(251)] = 10430, + [SMALL_STATE(252)] = 10440, + [SMALL_STATE(253)] = 10450, + [SMALL_STATE(254)] = 10460, + [SMALL_STATE(255)] = 10470, + [SMALL_STATE(256)] = 10474, }; 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(198), + [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 0), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(183), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(209), - [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), - [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), - [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), - [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), - [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), - [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, .production_id = 2), - [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, .production_id = 2), - [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), - [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, .production_id = 1), - [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, .production_id = 1), - [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prefix_expression, 1), - [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prefix_expression, 1), - [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefix_expression, 1), - [55] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_variable, 2, .production_id = 7), - [57] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__table_variable, 2, .production_id = 7), - [59] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__named_field_identifier, 2, .production_id = 22), - [61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__named_field_identifier, 2, .production_id = 22), - [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__indexed_field_identifier, 3, .production_id = 22), - [65] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__indexed_field_identifier, 3, .production_id = 22), - [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_variable, 2, .production_id = 11), - [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__table_variable, 2, .production_id = 11), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3), - [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 2, .production_id = 9), - [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 2, .production_id = 9), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 1), - [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 1), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2), - [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 2, .production_id = 10), - [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 2, .production_id = 10), - [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 2), - [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 2), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 2), - [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 2), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), - [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), - [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 3), - [105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 3), - [107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3), - [109] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3), - [111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [113] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [115] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244), - [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151), - [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 25), - [125] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 25), - [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), - [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), - [135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 13), - [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, .production_id = 13), - [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 4, .production_id = 43), - [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 4, .production_id = 43), - [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, .production_id = 12), - [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition, 2, .production_id = 12), - [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 4, .production_id = 42), - [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 4, .production_id = 42), - [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), - [155] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [161] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), - [163] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), - [167] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 5, .production_id = 48), - [169] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 5, .production_id = 48), - [171] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 3), - [173] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 3), - [175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_clause, 3, .production_id = 30), - [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 1), - [179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 1), - [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 1, .production_id = 14), - [183] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__value_list, 1, .production_id = 14), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [187] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), - [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), - [191] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(3), - [194] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), - [196] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(183), - [199] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(182), - [202] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(209), - [205] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(57), - [208] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(84), - [211] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(56), - [214] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(82), - [217] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(135), - [220] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(243), - [223] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(239), - [226] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(142), - [229] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(93), - [232] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_clause, 1), - [234] = {.entry = {.count = 1, .reusable = false}}, SHIFT(146), - [236] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), - [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152), - [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145), - [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148), - [248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(133), - [250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, .production_id = 40), - [252] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__value_list_repeat1, 2, .production_id = 40), - [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 4, .production_id = 32), - [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 4, .production_id = 32), - [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 1), - [260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 3, .production_id = 21), - [262] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 3, .production_id = 21), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 1), - [266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(206), - [268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 1), - [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [274] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), - [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), - [282] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), - [284] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [288] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [290] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 1), - [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [296] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_list, 1), - [298] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 2), - [304] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 3), - [306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expression_list_repeat1, 2), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expression_list_repeat1, 2), - [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [312] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), - [314] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), - [318] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 5, .production_id = 49), - [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, .production_id = 14), - [322] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, .production_id = 34), - [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable, 1, .production_id = 1), - [326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable, 1, .production_id = 1), - [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), - [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [344] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__local_variable_list_repeat1, 2), - [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__local_variable_list_repeat1, 2), - [348] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__local_variable_list_repeat1, 2), SHIFT_REPEAT(201), - [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable_list, 2, .production_id = 3), - [353] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable_list, 2, .production_id = 3), - [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), - [357] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231), - [359] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [361] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable_list, 1, .production_id = 3), - [363] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable_list, 1, .production_id = 3), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__local_variable, 2, .production_id = 1), - [369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__local_variable, 2, .production_id = 1), - [371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__local_variable_list_repeat1, 2, .production_id = 28), - [373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__local_variable_list_repeat1, 2, .production_id = 28), - [375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__value_list, 2, .production_id = 33), - [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__value_list, 2, .production_id = 33), - [379] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, .production_id = 6), - [381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_attribute, 3, .production_id = 6), - [383] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, .production_id = 41), - [385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__value_list_repeat1, 2, .production_id = 41), - [387] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__value_list_repeat1, 2, .production_id = 41), SHIFT_REPEAT(83), - [390] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 2), - [392] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 2), - [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 7, .production_id = 51), - [398] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 7, .production_id = 51), - [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 3, .production_id = 20), - [402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 3, .production_id = 20), - [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 45), - [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 45), - [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_statement, 3, .production_id = 6), - [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_statement, 3, .production_id = 6), - [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 1), - [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 1), - [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 6, .production_id = 44), - [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 6, .production_id = 44), - [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 3, .production_id = 23), - [422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 3, .production_id = 23), - [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 5, .production_id = 39), - [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 5, .production_id = 39), - [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 37), - [430] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 37), - [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 36), - [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 36), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 35), - [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 35), - [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 47), - [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 47), - [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 4, .production_id = 27), - [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 4, .production_id = 27), - [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_statement, 1), - [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_statement, 1), - [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 46), - [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 46), - [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 7, .production_id = 50), - [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 7, .production_id = 50), - [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 2), - [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 2), - [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 8, .production_id = 52), - [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 8, .production_id = 52), - [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 11, .production_id = 55), - [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 11, .production_id = 55), - [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 4, .production_id = 30), - [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 4, .production_id = 30), - [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition_statement, 3, .production_id = 16), - [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition_statement, 3, .production_id = 16), - [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition_statement, 3, .production_id = 15), - [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition_statement, 3, .production_id = 15), - [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, .production_id = 30), - [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, .production_id = 30), - [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 10, .production_id = 54), - [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 10, .production_id = 54), - [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_statement, 2, .production_id = 6), - [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_statement, 2, .production_id = 6), - [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 9, .production_id = 53), - [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 9, .production_id = 53), - [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_function_definition_statement, 4, .production_id = 26), - [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_function_definition_statement, 4, .production_id = 26), - [504] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_expression_list_repeat1, 2), SHIFT_REPEAT(97), - [507] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 2), - [509] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_list, 2), - [511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158), - [515] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_list, 1), - [517] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2), - [519] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2), - [521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), - [523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), - [525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_variable_list_repeat1, 2), - [527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), - [529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208), - [537] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 2), - [539] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 2), - [541] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 3), - [543] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 3), - [545] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 38), - [547] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 38), SHIFT_REPEAT(103), - [550] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 38), - [552] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, .production_id = 29), - [554] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, .production_id = 29), SHIFT_REPEAT(235), - [557] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252), - [559] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251), - [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [563] = {.entry = {.count = 1, .reusable = true}}, SHIFT(188), - [565] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), - [567] = {.entry = {.count = 1, .reusable = true}}, SHIFT(228), - [569] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_field_list_repeat1, 2), SHIFT_REPEAT(73), - [572] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_field_list_repeat1, 2), - [574] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 1, .production_id = 1), - [576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), - [578] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [580] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), - [582] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_identifier, 1, .production_id = 4), - [584] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 1), - [586] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 1), - [588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [590] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), - [592] = {.entry = {.count = 1, .reusable = false}}, SHIFT(233), - [594] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [596] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 1), - [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__name_list_repeat1, 2, .production_id = 6), - [600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 1, .production_id = 31), - [602] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 1, .production_id = 31), - [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__method_identifier, 2, .production_id = 24), - [606] = {.entry = {.count = 1, .reusable = true}}, SHIFT(207), - [608] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 1, .production_id = 1), - [610] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_list, 2), - [612] = {.entry = {.count = 1, .reusable = true}}, SHIFT(203), - [614] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2, .production_id = 19), - [616] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_elseif_clause, 4, .production_id = 35), - [618] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_clause, 4, .production_id = 35), - [620] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_method_variable, 2, .production_id = 8), - [622] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variable_list_repeat1, 2), SHIFT_REPEAT(158), - [625] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__name_list, 2, .production_id = 19), - [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_function_variable, 2, .production_id = 18), - [629] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_field_variable, 2, .production_id = 18), - [631] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), - [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), - [635] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244), - [637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [639] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), - [641] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(227), - [647] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_identifier, 1, .production_id = 5), - [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213), - [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), - [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), - [663] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 3, .production_id = 1), - [665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), - [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [673] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_clause, 2, .production_id = 20), - [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [677] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), - [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [685] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 2), - [687] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 4, .production_id = 19), - [693] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 1), - [695] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204), - [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(154), - [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), - [709] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__table_function_variable, 2, .production_id = 17), - [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250), - [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138), - [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), - [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245), - [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), - [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [725] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), - [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), - [737] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), - [739] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(197), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(196), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250), + [19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51), + [21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53), + [25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), + [27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155), + [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_subscript, 4, .production_id = 23), + [39] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_subscript, 4, .production_id = 23), + [41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_member_access, 3, .production_id = 14), + [43] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_member_access, 3, .production_id = 14), + [45] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 2), + [47] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 2), + [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 3), + [51] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 3), + [53] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 3), + [55] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 3), + [57] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 3), + [59] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 3), + [61] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_table, 2), + [63] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_table, 2), + [65] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 2, .production_id = 5), + [67] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 2, .production_id = 5), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prefix_expression, 1), + [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prefix_expression, 1), + [73] = {.entry = {.count = 1, .reusable = false}}, SHIFT(215), + [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefix_expression, 1), + [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [79] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__prefix_expression, 1), + [81] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized_expression, 3), + [83] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized_expression, 3), + [85] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 2), + [87] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 2), + [89] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition, 2, .production_id = 7), + [91] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition, 2, .production_id = 7), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), + [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 3), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 3), + [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), + [103] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [105] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), + [107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_binary_expression, 3, .production_id = 17), + [109] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_binary_expression, 3, .production_id = 17), + [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), + [113] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84), + [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [129] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89), + [131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_unary_expression, 2, .production_id = 8), + [137] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unary_expression, 2, .production_id = 8), + [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 5, .production_id = 43), + [141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 5, .production_id = 43), + [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 4, .production_id = 36), + [145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 4, .production_id = 36), + [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_body, 4, .production_id = 37), + [149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__function_body, 4, .production_id = 37), + [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 4, .production_id = 25), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 4, .production_id = 25), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [157] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [159] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_clause, 3, .production_id = 20), + [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 1), + [163] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 1), + [165] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 4, .production_id = 19), + [167] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 4, .production_id = 19), + [169] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 3, .production_id = 16), + [171] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 3, .production_id = 16), + [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_for_generic_statement_repeat2, 2), + [175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_for_generic_statement_repeat2, 2), + [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 5, .production_id = 29), + [179] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 5, .production_id = 29), + [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), + [183] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(160), + [186] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), + [188] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(197), + [191] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(196), + [194] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(250), + [197] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(51), + [200] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(74), + [203] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(53), + [206] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(92), + [209] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(132), + [212] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(248), + [215] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(247), + [218] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(155), + [221] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 2), SHIFT_REPEAT(75), + [224] = {.entry = {.count = 1, .reusable = false}}, SHIFT(149), + [226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), + [228] = {.entry = {.count = 1, .reusable = false}}, SHIFT(147), + [230] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154), + [232] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135), + [234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 3, .production_id = 13), + [236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 3, .production_id = 13), + [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142), + [240] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138), + [242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), + [244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96), + [246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_repeat_statement, 4, .production_id = 22), + [248] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_repeat_statement, 4, .production_id = 22), + [250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), + [252] = {.entry = {.count = 1, .reusable = false}}, SHIFT(143), + [254] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_clause, 1), + [256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 1), + [258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 1), + [260] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), + [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(207), + [264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 1), + [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), + [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [272] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [274] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), + [276] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200), + [278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(61), + [280] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [282] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [284] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [286] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 1), + [290] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_list, 1), + [292] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), + [294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 2), + [298] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 3), + [300] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), + [302] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 3, .production_id = 26), + [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), + [306] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 1, .production_id = 9), + [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_statement, 1), + [312] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_statement, 1), + [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field, 5, .production_id = 44), + [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), + [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [330] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_for_generic_statement_repeat2, 2), SHIFT_REPEAT(81), + [333] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 3, .production_id = 10), + [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 3, .production_id = 10), + [337] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209), + [339] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [341] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [343] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [345] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_local_variable_declaration_repeat1, 2), + [347] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_local_variable_declaration_repeat1, 2), + [349] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_local_variable_declaration_repeat1, 2), SHIFT_REPEAT(209), + [352] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 2, .production_id = 3), + [354] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 2, .production_id = 3), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), + [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1, .production_id = 2), + [360] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 1, .production_id = 2), + [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219), + [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236), + [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [368] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 5, .production_id = 28), + [370] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 5, .production_id = 28), + [372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 4, .production_id = 27), + [374] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable, 4, .production_id = 27), + [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_variable_declaration, 6, .production_id = 38), + [378] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_variable_declaration, 6, .production_id = 38), + [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 4, .production_id = 24), + [382] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 4, .production_id = 24), + [384] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 5, .production_id = 35), + [386] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 5, .production_id = 35), + [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 7, .production_id = 46), + [390] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 7, .production_id = 46), + [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 3, .production_id = 12), + [394] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 3, .production_id = 12), + [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_label_statement, 3, .production_id = 4), + [398] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_label_statement, 3, .production_id = 4), + [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_function_definition_statement, 3, .production_id = 11), + [402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_function_definition_statement, 3, .production_id = 11), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 31), + [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 31), + [408] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 30), + [410] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 30), + [412] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 5, .production_id = 32), + [414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 5, .production_id = 32), + [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 5, .production_id = 34), + [418] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 5, .production_id = 34), + [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 6, .production_id = 39), + [422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 6, .production_id = 39), + [424] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_statement, 2, .production_id = 4), + [426] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_statement, 2, .production_id = 4), + [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 40), + [430] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 40), + [432] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_do_statement, 2), + [434] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_do_statement, 2), + [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 41), + [438] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 41), + [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 6, .production_id = 42), + [442] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 6, .production_id = 42), + [444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 7, .production_id = 45), + [446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 7, .production_id = 45), + [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_while_statement, 4, .production_id = 20), + [450] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_while_statement, 4, .production_id = 20), + [452] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 7, .production_id = 47), + [454] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 7, .production_id = 47), + [456] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 7, .production_id = 48), + [458] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 7, .production_id = 48), + [460] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_local_function_definition_statement, 4, .production_id = 18), + [462] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_local_function_definition_statement, 4, .production_id = 18), + [464] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 8, .production_id = 49), + [466] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 8, .production_id = 49), + [468] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 8, .production_id = 50), + [470] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 8, .production_id = 50), + [472] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 8, .production_id = 51), + [474] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 8, .production_id = 51), + [476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 8, .production_id = 52), + [478] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 8, .production_id = 52), + [480] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__block_repeat1, 1), + [482] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__block_repeat1, 1), + [484] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 9, .production_id = 53), + [486] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 9, .production_id = 53), + [488] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_generic_statement, 9, .production_id = 54), + [490] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_generic_statement, 9, .production_id = 54), + [492] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_statement, 4, .production_id = 20), + [494] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_statement, 4, .production_id = 20), + [496] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 10, .production_id = 55), + [498] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 10, .production_id = 55), + [500] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_empty_statement, 1), + [502] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_empty_statement, 1), + [504] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_numeric_statement, 11, .production_id = 56), + [506] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_numeric_statement, 11, .production_id = 56), + [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), + [510] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression_list, 2), + [512] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_list, 2), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202), + [522] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__variable, 1), + [524] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2, .production_id = 1), + [526] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2, .production_id = 1), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [536] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 3, .production_id = 1), + [538] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 3, .production_id = 1), + [540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__block, 2), + [542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__block, 2), + [544] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 33), + [546] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 33), SHIFT_REPEAT(73), + [549] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 2, .production_id = 33), + [551] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223), + [553] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 1), + [555] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254), + [557] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_return_statement, 2), + [559] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_return_statement, 2), + [561] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [563] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_for_generic_statement_repeat1, 2), SHIFT_REPEAT(210), + [566] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_for_generic_statement_repeat1, 2), + [568] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [572] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242), + [574] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_block, 1), + [576] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_block, 1), + [578] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__dotted_name_repeat1, 2), SHIFT_REPEAT(223), + [581] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__dotted_name_repeat1, 2), + [583] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210), + [585] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [587] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [589] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__dotted_name, 2), + [591] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [593] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_field_list, 1), + [595] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_field_list_repeat1, 2), SHIFT_REPEAT(67), + [598] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_field_list_repeat1, 2), + [600] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__method_identifier, 2, .production_id = 15), + [602] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [604] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_elseif_clause, 4, .production_id = 30), + [606] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_elseif_clause, 4, .production_id = 30), + [608] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [610] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205), + [612] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 2), + [614] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [616] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [618] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), + [620] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_method_reference, 2, .production_id = 6), + [622] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [624] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variable_assignment_repeat1, 2), SHIFT_REPEAT(157), + [627] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_variable_assignment_repeat1, 2), + [629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206), + [631] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 1), + [633] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171), + [635] = {.entry = {.count = 1, .reusable = false}}, SHIFT(117), + [637] = {.entry = {.count = 1, .reusable = false}}, SHIFT(225), + [639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_if_statement_repeat1, 1, .production_id = 21), + [641] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_if_statement_repeat1, 1, .production_id = 21), + [643] = {.entry = {.count = 1, .reusable = true}}, SHIFT(241), + [645] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [647] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), + [649] = {.entry = {.count = 1, .reusable = true}}, SHIFT(234), + [651] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [653] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235), + [655] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255), + [657] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [659] = {.entry = {.count = 1, .reusable = true}}, SHIFT(222), + [661] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246), + [663] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [665] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_chunk, 2), + [667] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141), + [671] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), + [673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), + [677] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_clause, 2, .production_id = 12), + [679] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [681] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253), + [683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), + [685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [687] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 4), + [689] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), + [691] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__function_name, 2, .production_id = 6), + [693] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201), + [695] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [697] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137), + [699] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140), + [701] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), + [703] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), + [705] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256), + [713] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), + [717] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [719] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [721] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152), + [723] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [725] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [727] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), + [729] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter_list, 3), + [731] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216), + [733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), + [737] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [741] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), + [743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249), + [745] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2), + [747] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), }; #ifdef __cplusplus