diff --git a/grammar.js b/grammar.js index a3da915..642dfef 100644 --- a/grammar.js +++ b/grammar.js @@ -1,3 +1,23 @@ +// Main grammar for justfiles + +// Comma separated list with at least one item +function comma_sep1(item) { + return seq(item, repeat(seq(",", item))); +} + +// Create an array with the given item as contents +function array(item) { + const array_item = field("array_item", item); + return field( + "array", + seq( + "[", + optional(seq(comma_sep1(array_item), optional(array_item))), + "]", + ), + ); +} + module.exports = grammar({ name: "just", @@ -42,37 +62,28 @@ module.exports = grammar({ seq( "set", field("name", $.NAME), - field("right", optional(seq(":=", choice($.boolean, $.settinglist)))), + field( + "right", + optional( + seq(":=", choice($.boolean, $.string, array($.string))), + ), + ), $.eol, ), seq( "set", "shell", ":=", - "[", - // field("lang", $.string), - '"', - field("lang", $.NAME), - '"', - repeat(seq(optional(","), $.string)), - "]", + array($.string), $.eol, ), ), + // string_array: ($) => array($.string), + // boolean : ':=' ('true' | 'false') boolean: (_) => choice("true", "false"), - settinglist: ($) => - seq( - "[", - $.stringlist, - "]", - // seq("[", $.string, repeat(seq(",", $.string)), optional(","), "]") - ), - - stringlist: ($) => repeat1(seq($.string, optional(","))), - // expression : 'if' condition '{' expression '}' 'else' '{' expression '}' // | value '/' expression // | value '+' expression @@ -137,9 +148,9 @@ module.exports = grammar({ ), // recipe : '@'? NAME parameter* variadic_parameters? ':' dependency* body? - recipe: ($) => seq($.recipeheader, $.NEWLINE, optional($.body)), + recipe: ($) => seq($.recipe_header, $.NEWLINE, optional($.body)), - recipeheader: ($) => + recipe_header: ($) => seq( optional("@"), $.NAME, diff --git a/queries/highlights.scm b/queries/highlights.scm index 253dd82..f88c419 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -8,7 +8,7 @@ (call (NAME) @function) (dependency (NAME) @function) (depcall (NAME) @function) -(recipeheader (NAME) @function) +(recipe_header (NAME) @function) (depcall (expression) @parameter) (parameter) @parameter diff --git a/queries/injections.scm b/queries/injections.scm index b1a48c6..6c95e4b 100644 --- a/queries/injections.scm +++ b/queries/injections.scm @@ -7,7 +7,7 @@ ) (source_file - (item (setting lang:(NAME) @language)) + ; (item (setting lang:(NAME) @language)) (item (recipe (body (recipe_body) @content))) ) diff --git a/queries/locals.scm b/queries/locals.scm index fc30a5c..5a9d049 100644 --- a/queries/locals.scm +++ b/queries/locals.scm @@ -7,5 +7,5 @@ (call (NAME) @reference.function) (dependency (NAME) @reference.function) (depcall (NAME) @reference.function) -(recipeheader (NAME) @definition.function) +(recipe_header (NAME) @definition.function) diff --git a/queries/textobjects.scm b/queries/textobjects.scm index d872c1b..d7a06fd 100644 --- a/queries/textobjects.scm +++ b/queries/textobjects.scm @@ -9,7 +9,7 @@ else:(expression) @block.inner ) (interpolation (expression) @block.inner) @block.outer -(settinglist (stringlist) @block.inner) @block.outer +; (string_array (stringlist) @block.inner) @block.outer (call (NAME) @call.inner) @call.outer (dependency (NAME) @call.inner) @call.outer @@ -19,14 +19,16 @@ (depcall) @parameter.inner (depcall (expression) @parameter.inner) -(stringlist - (string) @parameter.inner - . ","? @_end - (#make-range! "parameter.outer" @parameter.inner @_end) -) +; (stringlist +; (string) @parameter.inner +; . ","? @_end +; (#make-range! "parameter.outer" @parameter.inner @_end) +; ) (parameters - [(parameter) - (variadic_parameters)] @parameter.inner + [ + (parameter) + (variadic_parameters) + ] @parameter.inner . " "? @_end (#make-range! "parameter.outer" @parameter.inner @_end) ) @@ -42,7 +44,7 @@ ) (item [(alias) (assignment) (export) (setting)]) @statement.outer -(recipeheader) @statement.outer +(recipe_header) @statement.outer (line) @statement.outer (comment) @comment.outer diff --git a/src/grammar.json b/src/grammar.json index ac4cc4c..32e17cb 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -153,7 +153,86 @@ }, { "type": "SYMBOL", - "name": "settinglist" + "name": "string" + }, + { + "type": "FIELD", + "name": "array", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "[" + }, + { + "type": "CHOICE", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + } + ] + } + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + }, + { + "type": "BLANK" + } + ] + } + ] + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "STRING", + "value": "]" + } + ] + } } ] } @@ -186,37 +265,72 @@ "type": "STRING", "value": ":=" }, - { - "type": "STRING", - "value": "[" - }, - { - "type": "STRING", - "value": "\"" - }, { "type": "FIELD", - "name": "lang", - "content": { - "type": "SYMBOL", - "name": "NAME" - } - }, - { - "type": "STRING", - "value": "\"" - }, - { - "type": "REPEAT", + "name": "array", "content": { "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "[" + }, { "type": "CHOICE", "members": [ { - "type": "STRING", - "value": "," + "type": "SEQ", + "members": [ + { + "type": "SEQ", + "members": [ + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + }, + { + "type": "REPEAT", + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "," + }, + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + } + ] + } + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "FIELD", + "name": "array_item", + "content": { + "type": "SYMBOL", + "name": "string" + } + }, + { + "type": "BLANK" + } + ] + } + ] }, { "type": "BLANK" @@ -224,16 +338,12 @@ ] }, { - "type": "SYMBOL", - "name": "string" + "type": "STRING", + "value": "]" } ] } }, - { - "type": "STRING", - "value": "]" - }, { "type": "SYMBOL", "name": "eol" @@ -255,47 +365,6 @@ } ] }, - "settinglist": { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "[" - }, - { - "type": "SYMBOL", - "name": "stringlist" - }, - { - "type": "STRING", - "value": "]" - } - ] - }, - "stringlist": { - "type": "REPEAT1", - "content": { - "type": "SEQ", - "members": [ - { - "type": "SYMBOL", - "name": "string" - }, - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "," - }, - { - "type": "BLANK" - } - ] - } - ] - } - }, "expression": { "type": "CHOICE", "members": [ @@ -607,7 +676,7 @@ "members": [ { "type": "SYMBOL", - "name": "recipeheader" + "name": "recipe_header" }, { "type": "SYMBOL", @@ -627,7 +696,7 @@ } ] }, - "recipeheader": { + "recipe_header": { "type": "SEQ", "members": [ { diff --git a/src/node-types.json b/src/node-types.json index d678691..25593ab 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -403,7 +403,7 @@ "named": true }, { - "type": "recipeheader", + "type": "recipe_header", "named": true } ] @@ -425,7 +425,7 @@ } }, { - "type": "recipeheader", + "type": "recipe_header", "named": true, "fields": {}, "children": { @@ -497,12 +497,34 @@ "type": "setting", "named": true, "fields": { - "lang": { - "multiple": false, + "array": { + "multiple": true, "required": false, "types": [ { - "type": "NAME", + "type": ",", + "named": false + }, + { + "type": "[", + "named": false + }, + { + "type": "]", + "named": false + }, + { + "type": "string", + "named": true + } + ] + }, + "array_item": { + "multiple": true, + "required": false, + "types": [ + { + "type": "string", "named": true } ] @@ -530,37 +552,18 @@ "named": true }, { - "type": "settinglist", + "type": "string", "named": true } ] } }, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "eol", - "named": true - }, - { - "type": "string", - "named": true - } - ] - } - }, - { - "type": "settinglist", - "named": true, - "fields": {}, "children": { "multiple": false, "required": true, "types": [ { - "type": "stringlist", + "type": "eol", "named": true } ] @@ -668,21 +671,6 @@ ] } }, - { - "type": "stringlist", - "named": true, - "fields": {}, - "children": { - "multiple": true, - "required": true, - "types": [ - { - "type": "string", - "named": true - } - ] - } - }, { "type": "value", "named": true, @@ -737,10 +725,6 @@ "type": "!=", "named": false }, - { - "type": "\"", - "named": false - }, { "type": "#!", "named": false diff --git a/src/parser.c b/src/parser.c index 1067baf..6e713d8 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,107 +6,103 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 190 +#define STATE_COUNT 204 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 91 +#define SYMBOL_COUNT 87 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 49 +#define TOKEN_COUNT 48 #define EXTERNAL_TOKEN_COUNT 4 -#define FIELD_COUNT 7 -#define MAX_ALIAS_SEQUENCE_LENGTH 10 -#define PRODUCTION_ID_COUNT 7 +#define FIELD_COUNT 8 +#define MAX_ALIAS_SEQUENCE_LENGTH 9 +#define PRODUCTION_ID_COUNT 18 enum { anon_sym_alias = 1, anon_sym_COLON_EQ = 2, anon_sym_export = 3, anon_sym_set = 4, - anon_sym_shell = 5, - anon_sym_LBRACK = 6, - anon_sym_DQUOTE = 7, - anon_sym_COMMA = 8, - anon_sym_RBRACK = 9, - anon_sym_true = 10, - anon_sym_false = 11, - anon_sym_if = 12, - anon_sym_LBRACE = 13, - anon_sym_RBRACE = 14, - anon_sym_else = 15, - anon_sym_PLUS = 16, - anon_sym_SLASH = 17, - anon_sym_EQ_EQ = 18, - anon_sym_BANG_EQ = 19, - anon_sym_EQ_TILDE = 20, - anon_sym_LPAREN = 21, - anon_sym_RPAREN = 22, - anon_sym_AT = 23, - anon_sym_COLON = 24, - anon_sym_ = 25, - anon_sym_DOLLAR = 26, - anon_sym_EQ = 27, - anon_sym_STAR = 28, - anon_sym_POUND_BANG = 29, - aux_sym_shebang_token1 = 30, - anon_sym_SLASHusr_SLASHbin_SLASHenv = 31, - sym_notcomment = 32, - aux_sym_comment_token1 = 33, - aux_sym_comment_token2 = 34, - anon_sym_LBRACE_LBRACE = 35, - anon_sym_RBRACE_RBRACE = 36, - sym_BACKTICK = 37, - sym_INDENTED_BACKTICK = 38, - sym_NAME = 39, - sym_RAW_STRING = 40, - sym_INDENTED_RAW_STRING = 41, - sym_STRING = 42, - sym_INDENTED_STRING = 43, - sym_TEXT = 44, - sym_INDENT = 45, - sym_DEDENT = 46, - sym_NEWLINE = 47, - sym_LINE = 48, - sym_source_file = 49, - sym_item = 50, - sym_eol = 51, - sym_alias = 52, - sym_assignment = 53, - sym_export = 54, - sym_setting = 55, - sym_boolean = 56, - sym_settinglist = 57, - sym_stringlist = 58, - sym_expression = 59, - sym_condition = 60, - sym_value = 61, - sym_call = 62, - sym_cmd = 63, - sym_string = 64, - sym_sequence = 65, - sym_recipe = 66, - sym_recipeheader = 67, - sym_parameters = 68, - sym_parameter = 69, - sym_variadic_parameters = 70, - sym_dependencies = 71, - sym_dependency = 72, - sym_depcall = 73, - sym_body = 74, - sym_shebang_recipe = 75, - sym_shebang_body = 76, - sym_shebang = 77, - sym_recipe_body = 78, - sym_line = 79, - sym_recipeline = 80, - sym_comment = 81, - sym_interpolation = 82, - aux_sym_source_file_repeat1 = 83, - aux_sym_setting_repeat1 = 84, - aux_sym_stringlist_repeat1 = 85, - aux_sym_parameters_repeat1 = 86, - aux_sym_dependencies_repeat1 = 87, - aux_sym_depcall_repeat1 = 88, - aux_sym_shebang_body_repeat1 = 89, - aux_sym_recipeline_repeat1 = 90, + anon_sym_LBRACK = 5, + anon_sym_COMMA = 6, + anon_sym_RBRACK = 7, + anon_sym_shell = 8, + anon_sym_true = 9, + anon_sym_false = 10, + anon_sym_if = 11, + anon_sym_LBRACE = 12, + anon_sym_RBRACE = 13, + anon_sym_else = 14, + anon_sym_PLUS = 15, + anon_sym_SLASH = 16, + anon_sym_EQ_EQ = 17, + anon_sym_BANG_EQ = 18, + anon_sym_EQ_TILDE = 19, + anon_sym_LPAREN = 20, + anon_sym_RPAREN = 21, + anon_sym_AT = 22, + anon_sym_COLON = 23, + anon_sym_ = 24, + anon_sym_DOLLAR = 25, + anon_sym_EQ = 26, + anon_sym_STAR = 27, + anon_sym_POUND_BANG = 28, + aux_sym_shebang_token1 = 29, + anon_sym_SLASHusr_SLASHbin_SLASHenv = 30, + sym_notcomment = 31, + aux_sym_comment_token1 = 32, + aux_sym_comment_token2 = 33, + anon_sym_LBRACE_LBRACE = 34, + anon_sym_RBRACE_RBRACE = 35, + sym_BACKTICK = 36, + sym_INDENTED_BACKTICK = 37, + sym_NAME = 38, + sym_RAW_STRING = 39, + sym_INDENTED_RAW_STRING = 40, + sym_STRING = 41, + sym_INDENTED_STRING = 42, + sym_TEXT = 43, + sym_INDENT = 44, + sym_DEDENT = 45, + sym_NEWLINE = 46, + sym_LINE = 47, + sym_source_file = 48, + sym_item = 49, + sym_eol = 50, + sym_alias = 51, + sym_assignment = 52, + sym_export = 53, + sym_setting = 54, + sym_boolean = 55, + sym_expression = 56, + sym_condition = 57, + sym_value = 58, + sym_call = 59, + sym_cmd = 60, + sym_string = 61, + sym_sequence = 62, + sym_recipe = 63, + sym_recipe_header = 64, + sym_parameters = 65, + sym_parameter = 66, + sym_variadic_parameters = 67, + sym_dependencies = 68, + sym_dependency = 69, + sym_depcall = 70, + sym_body = 71, + sym_shebang_recipe = 72, + sym_shebang_body = 73, + sym_shebang = 74, + sym_recipe_body = 75, + sym_line = 76, + sym_recipeline = 77, + sym_comment = 78, + sym_interpolation = 79, + aux_sym_source_file_repeat1 = 80, + aux_sym_setting_repeat1 = 81, + aux_sym_parameters_repeat1 = 82, + aux_sym_dependencies_repeat1 = 83, + aux_sym_depcall_repeat1 = 84, + aux_sym_shebang_body_repeat1 = 85, + aux_sym_recipeline_repeat1 = 86, }; static const char * const ts_symbol_names[] = { @@ -115,11 +111,10 @@ static const char * const ts_symbol_names[] = { [anon_sym_COLON_EQ] = ":=", [anon_sym_export] = "export", [anon_sym_set] = "set", - [anon_sym_shell] = "shell", [anon_sym_LBRACK] = "[", - [anon_sym_DQUOTE] = "\"", [anon_sym_COMMA] = ",", [anon_sym_RBRACK] = "]", + [anon_sym_shell] = "shell", [anon_sym_true] = "true", [anon_sym_false] = "false", [anon_sym_if] = "if", @@ -167,8 +162,6 @@ static const char * const ts_symbol_names[] = { [sym_export] = "export", [sym_setting] = "setting", [sym_boolean] = "boolean", - [sym_settinglist] = "settinglist", - [sym_stringlist] = "stringlist", [sym_expression] = "expression", [sym_condition] = "condition", [sym_value] = "value", @@ -177,7 +170,7 @@ static const char * const ts_symbol_names[] = { [sym_string] = "string", [sym_sequence] = "sequence", [sym_recipe] = "recipe", - [sym_recipeheader] = "recipeheader", + [sym_recipe_header] = "recipe_header", [sym_parameters] = "parameters", [sym_parameter] = "parameter", [sym_variadic_parameters] = "variadic_parameters", @@ -195,7 +188,6 @@ static const char * const ts_symbol_names[] = { [sym_interpolation] = "interpolation", [aux_sym_source_file_repeat1] = "source_file_repeat1", [aux_sym_setting_repeat1] = "setting_repeat1", - [aux_sym_stringlist_repeat1] = "stringlist_repeat1", [aux_sym_parameters_repeat1] = "parameters_repeat1", [aux_sym_dependencies_repeat1] = "dependencies_repeat1", [aux_sym_depcall_repeat1] = "depcall_repeat1", @@ -209,11 +201,10 @@ static const TSSymbol ts_symbol_map[] = { [anon_sym_COLON_EQ] = anon_sym_COLON_EQ, [anon_sym_export] = anon_sym_export, [anon_sym_set] = anon_sym_set, - [anon_sym_shell] = anon_sym_shell, [anon_sym_LBRACK] = anon_sym_LBRACK, - [anon_sym_DQUOTE] = anon_sym_DQUOTE, [anon_sym_COMMA] = anon_sym_COMMA, [anon_sym_RBRACK] = anon_sym_RBRACK, + [anon_sym_shell] = anon_sym_shell, [anon_sym_true] = anon_sym_true, [anon_sym_false] = anon_sym_false, [anon_sym_if] = anon_sym_if, @@ -261,8 +252,6 @@ static const TSSymbol ts_symbol_map[] = { [sym_export] = sym_export, [sym_setting] = sym_setting, [sym_boolean] = sym_boolean, - [sym_settinglist] = sym_settinglist, - [sym_stringlist] = sym_stringlist, [sym_expression] = sym_expression, [sym_condition] = sym_condition, [sym_value] = sym_value, @@ -271,7 +260,7 @@ static const TSSymbol ts_symbol_map[] = { [sym_string] = sym_string, [sym_sequence] = sym_sequence, [sym_recipe] = sym_recipe, - [sym_recipeheader] = sym_recipeheader, + [sym_recipe_header] = sym_recipe_header, [sym_parameters] = sym_parameters, [sym_parameter] = sym_parameter, [sym_variadic_parameters] = sym_variadic_parameters, @@ -289,7 +278,6 @@ static const TSSymbol ts_symbol_map[] = { [sym_interpolation] = sym_interpolation, [aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1, [aux_sym_setting_repeat1] = aux_sym_setting_repeat1, - [aux_sym_stringlist_repeat1] = aux_sym_stringlist_repeat1, [aux_sym_parameters_repeat1] = aux_sym_parameters_repeat1, [aux_sym_dependencies_repeat1] = aux_sym_dependencies_repeat1, [aux_sym_depcall_repeat1] = aux_sym_depcall_repeat1, @@ -318,23 +306,19 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = false, }, - [anon_sym_shell] = { - .visible = true, - .named = false, - }, [anon_sym_LBRACK] = { .visible = true, .named = false, }, - [anon_sym_DQUOTE] = { + [anon_sym_COMMA] = { .visible = true, .named = false, }, - [anon_sym_COMMA] = { + [anon_sym_RBRACK] = { .visible = true, .named = false, }, - [anon_sym_RBRACK] = { + [anon_sym_shell] = { .visible = true, .named = false, }, @@ -526,14 +510,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_settinglist] = { - .visible = true, - .named = true, - }, - [sym_stringlist] = { - .visible = true, - .named = true, - }, [sym_expression] = { .visible = true, .named = true, @@ -566,7 +542,7 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = true, .named = true, }, - [sym_recipeheader] = { + [sym_recipe_header] = { .visible = true, .named = true, }, @@ -638,10 +614,6 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { .visible = false, .named = false, }, - [aux_sym_stringlist_repeat1] = { - .visible = false, - .named = false, - }, [aux_sym_parameters_repeat1] = { .visible = false, .named = false, @@ -665,21 +637,23 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { }; enum { - field_else = 1, - field_if = 2, - field_interpreter = 3, - field_lang = 4, - field_left = 5, - field_name = 6, - field_right = 7, + field_array = 1, + field_array_item = 2, + field_else = 3, + field_if = 4, + field_interpreter = 5, + field_left = 6, + field_name = 7, + field_right = 8, }; static const char * const ts_field_names[] = { [0] = NULL, + [field_array] = "array", + [field_array_item] = "array_item", [field_else] = "else", [field_if] = "if", [field_interpreter] = "interpreter", - [field_lang] = "lang", [field_left] = "left", [field_name] = "name", [field_right] = "right", @@ -689,9 +663,20 @@ static const TSFieldMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 1}, [2] = {.index = 1, .length = 2}, [3] = {.index = 3, .length = 3}, - [4] = {.index = 6, .length = 1}, - [5] = {.index = 7, .length = 1}, - [6] = {.index = 8, .length = 2}, + [4] = {.index = 6, .length = 2}, + [5] = {.index = 8, .length = 4}, + [6] = {.index = 12, .length = 1}, + [7] = {.index = 13, .length = 3}, + [8] = {.index = 16, .length = 2}, + [9] = {.index = 18, .length = 5}, + [10] = {.index = 23, .length = 1}, + [11] = {.index = 24, .length = 4}, + [12] = {.index = 28, .length = 5}, + [13] = {.index = 33, .length = 6}, + [14] = {.index = 39, .length = 7}, + [15] = {.index = 46, .length = 6}, + [16] = {.index = 52, .length = 8}, + [17] = {.index = 60, .length = 2}, }; static const TSFieldMapEntry ts_field_map_entries[] = { @@ -705,10 +690,73 @@ static const TSFieldMapEntry ts_field_map_entries[] = { {field_right, 2}, {field_right, 3}, [6] = - {field_interpreter, 2}, - [7] = - {field_lang, 5}, + {field_array, 3}, + {field_array, 4}, [8] = + {field_array, 3}, + {field_array, 4}, + {field_name, 1}, + {field_right, 2}, + [12] = + {field_array_item, 1}, + [13] = + {field_array, 3}, + {field_array, 5}, + {field_array_item, 4}, + [16] = + {field_array_item, 0, .inherited = true}, + {field_array_item, 1, .inherited = true}, + [18] = + {field_array, 3}, + {field_array, 5}, + {field_array_item, 4}, + {field_name, 1}, + {field_right, 2}, + [23] = + {field_interpreter, 2}, + [24] = + {field_array, 3}, + {field_array, 6}, + {field_array_item, 4}, + {field_array_item, 5}, + [28] = + {field_array, 3}, + {field_array, 5}, + {field_array, 6}, + {field_array_item, 4}, + {field_array_item, 5, .inherited = true}, + [33] = + {field_array, 3}, + {field_array, 6}, + {field_array_item, 4}, + {field_array_item, 5}, + {field_name, 1}, + {field_right, 2}, + [39] = + {field_array, 3}, + {field_array, 5}, + {field_array, 6}, + {field_array_item, 4}, + {field_array_item, 5, .inherited = true}, + {field_name, 1}, + {field_right, 2}, + [46] = + {field_array, 3}, + {field_array, 5}, + {field_array, 7}, + {field_array_item, 4}, + {field_array_item, 5, .inherited = true}, + {field_array_item, 6}, + [52] = + {field_array, 3}, + {field_array, 5}, + {field_array, 7}, + {field_array_item, 4}, + {field_array_item, 5, .inherited = true}, + {field_array_item, 6}, + {field_name, 1}, + {field_right, 2}, + [60] = {field_else, 7}, {field_if, 3}, }; @@ -731,9 +779,9 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [6] = 6, [7] = 7, [8] = 8, - [9] = 5, - [10] = 10, - [11] = 5, + [9] = 9, + [10] = 6, + [11] = 6, [12] = 12, [13] = 13, [14] = 14, @@ -742,35 +790,35 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [17] = 17, [18] = 18, [19] = 19, - [20] = 17, - [21] = 21, - [22] = 19, - [23] = 17, - [24] = 24, + [20] = 20, + [21] = 20, + [22] = 22, + [23] = 19, + [24] = 17, [25] = 25, [26] = 18, - [27] = 19, - [28] = 24, + [27] = 27, + [28] = 19, [29] = 17, - [30] = 24, + [30] = 18, [31] = 31, - [32] = 18, - [33] = 33, + [32] = 20, + [33] = 20, [34] = 34, - [35] = 2, + [35] = 34, [36] = 36, [37] = 37, [38] = 38, - [39] = 39, - [40] = 39, - [41] = 36, - [42] = 34, - [43] = 37, - [44] = 38, + [39] = 36, + [40] = 40, + [41] = 40, + [42] = 38, + [43] = 3, + [44] = 37, [45] = 45, - [46] = 25, + [46] = 46, [47] = 47, - [48] = 48, + [48] = 31, [49] = 49, [50] = 50, [51] = 45, @@ -812,7 +860,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [87] = 87, [88] = 88, [89] = 89, - [90] = 25, + [90] = 90, [91] = 91, [92] = 92, [93] = 93, @@ -823,33 +871,33 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [98] = 98, [99] = 99, [100] = 100, - [101] = 45, - [102] = 102, - [103] = 2, + [101] = 101, + [102] = 31, + [103] = 103, [104] = 104, - [105] = 34, + [105] = 105, [106] = 106, - [107] = 37, - [108] = 25, - [109] = 39, - [110] = 36, + [107] = 107, + [108] = 108, + [109] = 38, + [110] = 31, [111] = 111, - [112] = 38, - [113] = 66, + [112] = 112, + [113] = 3, [114] = 114, [115] = 115, - [116] = 116, + [116] = 45, [117] = 117, [118] = 118, [119] = 119, - [120] = 45, - [121] = 121, + [120] = 34, + [121] = 37, [122] = 122, - [123] = 123, - [124] = 7, + [123] = 36, + [124] = 124, [125] = 125, - [126] = 126, - [127] = 6, + [126] = 40, + [127] = 127, [128] = 128, [129] = 129, [130] = 130, @@ -857,10 +905,10 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [132] = 132, [133] = 133, [134] = 134, - [135] = 135, - [136] = 136, + [135] = 45, + [136] = 75, [137] = 137, - [138] = 138, + [138] = 12, [139] = 139, [140] = 140, [141] = 141, @@ -868,7 +916,7 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [143] = 143, [144] = 144, [145] = 145, - [146] = 146, + [146] = 13, [147] = 147, [148] = 148, [149] = 149, @@ -880,38 +928,52 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [155] = 155, [156] = 156, [157] = 157, - [158] = 6, + [158] = 158, [159] = 159, - [160] = 7, + [160] = 160, [161] = 161, [162] = 162, [163] = 163, - [164] = 136, - [165] = 163, + [164] = 164, + [165] = 165, [166] = 166, - [167] = 140, - [168] = 166, - [169] = 136, + [167] = 167, + [168] = 168, + [169] = 169, [170] = 170, - [171] = 166, - [172] = 140, + [171] = 171, + [172] = 12, [173] = 173, - [174] = 174, + [174] = 13, [175] = 175, [176] = 176, - [177] = 177, - [178] = 162, - [179] = 162, - [180] = 180, - [181] = 180, - [182] = 141, - [183] = 141, - [184] = 173, - [185] = 185, - [186] = 137, - [187] = 137, + [177] = 169, + [178] = 161, + [179] = 179, + [180] = 151, + [181] = 154, + [182] = 182, + [183] = 161, + [184] = 184, + [185] = 151, + [186] = 154, + [187] = 187, [188] = 188, - [189] = 180, + [189] = 189, + [190] = 190, + [191] = 187, + [192] = 147, + [193] = 147, + [194] = 194, + [195] = 194, + [196] = 149, + [197] = 149, + [198] = 198, + [199] = 194, + [200] = 164, + [201] = 164, + [202] = 202, + [203] = 203, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { @@ -920,257 +982,259 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { switch (state) { case 0: if (eof) ADVANCE(52); - if (lookahead == '!') ADVANCE(28); - if (lookahead == '"') ADVANCE(59); + if (lookahead == '!') ADVANCE(29); + if (lookahead == '"') ADVANCE(8); if (lookahead == '#') ADVANCE(5); - if (lookahead == '$') ADVANCE(83); - if (lookahead == '\'') ADVANCE(14); - if (lookahead == '(') ADVANCE(77); - if (lookahead == ')') ADVANCE(78); - if (lookahead == '*') ADVANCE(86); - if (lookahead == '+') ADVANCE(72); - if (lookahead == ',') ADVANCE(60); - if (lookahead == '/') ADVANCE(73); - if (lookahead == ':') ADVANCE(81); - if (lookahead == '=') ADVANCE(85); - if (lookahead == '@') ADVANCE(79); - if (lookahead == '[') ADVANCE(58); - if (lookahead == ']') ADVANCE(61); + if (lookahead == '$') ADVANCE(82); + if (lookahead == '\'') ADVANCE(15); + if (lookahead == '(') ADVANCE(76); + if (lookahead == ')') ADVANCE(77); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(71); + if (lookahead == ',') ADVANCE(58); + if (lookahead == '/') ADVANCE(72); + if (lookahead == ':') ADVANCE(80); + if (lookahead == '=') ADVANCE(84); + if (lookahead == '@') ADVANCE(78); + if (lookahead == '[') ADVANCE(57); + if (lookahead == ']') ADVANCE(59); if (lookahead == '`') ADVANCE(31); - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'e') ADVANCE(115); - if (lookahead == 'f') ADVANCE(103); - if (lookahead == 'i') ADVANCE(111); - if (lookahead == 's') ADVANCE(105); - if (lookahead == 't') ADVANCE(121); - if (lookahead == '{') ADVANCE(68); - if (lookahead == '}') ADVANCE(69); + if (lookahead == 'a') ADVANCE(113); + if (lookahead == 'e') ADVANCE(114); + if (lookahead == 'f') ADVANCE(102); + if (lookahead == 'i') ADVANCE(110); + if (lookahead == 's') ADVANCE(104); + if (lookahead == 't') ADVANCE(120); + if (lookahead == '{') ADVANCE(67); + if (lookahead == '}') ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 1: if (lookahead == '\n') SKIP(1) - if (lookahead == '/') ADVANCE(90); + if (lookahead == '/') ADVANCE(89); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') ADVANCE(1); - if (lookahead != 0) ADVANCE(25); + if (lookahead != 0) ADVANCE(26); END_STATE(); case 2: - if (lookahead == ' ') ADVANCE(82); - if (lookahead == '(') ADVANCE(77); + if (lookahead == ' ') ADVANCE(81); + if (lookahead == '(') ADVANCE(76); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r') SKIP(2) if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 3: - if (lookahead == '!') ADVANCE(28); - if (lookahead == '"') ADVANCE(7); - if (lookahead == '$') ADVANCE(83); - if (lookahead == '\'') ADVANCE(14); - if (lookahead == '(') ADVANCE(77); - if (lookahead == ')') ADVANCE(78); - if (lookahead == '*') ADVANCE(86); - if (lookahead == '+') ADVANCE(72); - if (lookahead == ',') ADVANCE(60); - if (lookahead == '/') ADVANCE(73); - if (lookahead == ':') ADVANCE(81); - if (lookahead == '=') ADVANCE(29); - if (lookahead == ']') ADVANCE(61); + if (lookahead == '!') ADVANCE(29); + if (lookahead == '"') ADVANCE(8); + if (lookahead == '$') ADVANCE(82); + if (lookahead == '\'') ADVANCE(15); + if (lookahead == '(') ADVANCE(76); + if (lookahead == ')') ADVANCE(77); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(71); + if (lookahead == ',') ADVANCE(58); + if (lookahead == '/') ADVANCE(72); + if (lookahead == ':') ADVANCE(80); + if (lookahead == '=') ADVANCE(30); + if (lookahead == ']') ADVANCE(59); if (lookahead == '`') ADVANCE(31); - if (lookahead == '{') ADVANCE(67); - if (lookahead == '}') ADVANCE(69); + if (lookahead == '{') ADVANCE(66); + if (lookahead == '}') ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(3) if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 4: - if (lookahead == '!') ADVANCE(28); - if (lookahead == '"') ADVANCE(7); - if (lookahead == '\'') ADVANCE(14); - if (lookahead == '(') ADVANCE(77); - if (lookahead == ')') ADVANCE(78); - if (lookahead == '+') ADVANCE(72); - if (lookahead == ',') ADVANCE(60); - if (lookahead == '/') ADVANCE(73); - if (lookahead == '=') ADVANCE(29); + if (lookahead == '!') ADVANCE(29); + if (lookahead == '"') ADVANCE(8); + if (lookahead == '\'') ADVANCE(15); + if (lookahead == '(') ADVANCE(76); + if (lookahead == ')') ADVANCE(77); + if (lookahead == '+') ADVANCE(71); + if (lookahead == ',') ADVANCE(58); + if (lookahead == '/') ADVANCE(72); + if (lookahead == '=') ADVANCE(30); if (lookahead == '`') ADVANCE(31); - if (lookahead == 'i') ADVANCE(111); - if (lookahead == '{') ADVANCE(67); - if (lookahead == '}') ADVANCE(69); + if (lookahead == 'i') ADVANCE(110); + if (lookahead == '{') ADVANCE(66); + if (lookahead == '}') ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(4) if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 5: - if (lookahead == '!') ADVANCE(87); - if (lookahead != 0) ADVANCE(94); + if (lookahead == '!') ADVANCE(86); + if (lookahead != 0) ADVANCE(93); END_STATE(); case 6: - if (lookahead == '"') ADVANCE(7); - if (lookahead == '\'') ADVANCE(14); - if (lookahead == '(') ADVANCE(77); - if (lookahead == ')') ADVANCE(78); - if (lookahead == '+') ADVANCE(72); - if (lookahead == '/') ADVANCE(73); + if (lookahead == '"') ADVANCE(8); + if (lookahead == '\'') ADVANCE(15); + if (lookahead == '(') ADVANCE(76); + if (lookahead == ')') ADVANCE(77); + if (lookahead == '+') ADVANCE(71); + if (lookahead == '/') ADVANCE(72); if (lookahead == '`') ADVANCE(31); - if (lookahead == 'i') ADVANCE(111); + if (lookahead == 'i') ADVANCE(110); if (lookahead == '}') ADVANCE(48); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(6) if (('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('_' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 7: - if (lookahead == '"') ADVANCE(135); - if (lookahead != 0) ADVANCE(8); + if (lookahead == '"') ADVANCE(8); + if (lookahead == '\'') ADVANCE(15); + if (lookahead == '[') ADVANCE(57); + if (lookahead == 'e') ADVANCE(40); + if (lookahead == 'f') ADVANCE(36); + if (lookahead == 't') ADVANCE(42); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(7) END_STATE(); case 8: if (lookahead == '"') ADVANCE(134); - if (lookahead != 0) ADVANCE(8); + if (lookahead != 0) ADVANCE(9); END_STATE(); case 9: - if (lookahead == '"') ADVANCE(11); - if (lookahead != 0 && - lookahead != '(') ADVANCE(9); + if (lookahead == '"') ADVANCE(133); + if (lookahead != 0) ADVANCE(9); END_STATE(); case 10: - if (lookahead == '"') ADVANCE(136); + if (lookahead == '"') ADVANCE(12); + if (lookahead != 0 && + lookahead != '(') ADVANCE(10); END_STATE(); case 11: - if (lookahead == '"') ADVANCE(10); + if (lookahead == '"') ADVANCE(135); END_STATE(); case 12: + if (lookahead == '"') ADVANCE(11); + END_STATE(); + case 13: if (lookahead == '#') ADVANCE(5); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(12) - if (lookahead != 0) ADVANCE(93); + lookahead == ' ') SKIP(13) + if (lookahead != 0) ADVANCE(92); END_STATE(); - case 13: - if (lookahead == '$') ADVANCE(83); - if (lookahead == '*') ADVANCE(86); - if (lookahead == '+') ADVANCE(72); - if (lookahead == ':') ADVANCE(80); - if (lookahead == '=') ADVANCE(84); + case 14: + if (lookahead == '$') ADVANCE(82); + if (lookahead == '*') ADVANCE(85); + if (lookahead == '+') ADVANCE(71); + if (lookahead == ':') ADVANCE(79); + if (lookahead == '=') ADVANCE(83); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(13) + lookahead == ' ') SKIP(14) if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); - END_STATE(); - case 14: - if (lookahead == '\'') ADVANCE(132); - if (lookahead != 0) ADVANCE(15); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 15: if (lookahead == '\'') ADVANCE(131); - if (lookahead != 0) ADVANCE(15); + if (lookahead != 0) ADVANCE(16); END_STATE(); case 16: - if (lookahead == '\'') ADVANCE(18); - if (lookahead != 0 && - lookahead != '(' && - lookahead != ')') ADVANCE(16); + if (lookahead == '\'') ADVANCE(130); + if (lookahead != 0) ADVANCE(16); END_STATE(); case 17: - if (lookahead == '\'') ADVANCE(133); + if (lookahead == '\'') ADVANCE(19); + if (lookahead != 0 && + lookahead != '(' && + lookahead != ')') ADVANCE(17); END_STATE(); case 18: - if (lookahead == '\'') ADVANCE(17); + if (lookahead == '\'') ADVANCE(132); END_STATE(); case 19: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'i') ADVANCE(21); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + if (lookahead == '\'') ADVANCE(18); END_STATE(); case 20: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'n') ADVANCE(24); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'i') ADVANCE(22); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 21: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'n') ADVANCE(27); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'n') ADVANCE(25); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 22: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'r') ADVANCE(26); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'n') ADVANCE(28); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 23: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 's') ADVANCE(22); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'r') ADVANCE(27); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 24: - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'v') ADVANCE(92); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 's') ADVANCE(23); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 25: - if (lookahead == '/') ADVANCE(91); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'v') ADVANCE(91); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 26: - if (lookahead == '/') ADVANCE(88); + if (lookahead == '/') ADVANCE(90); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 27: - if (lookahead == '/') ADVANCE(89); + if (lookahead == '/') ADVANCE(87); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 28: - if (lookahead == '=') ADVANCE(75); + if (lookahead == '/') ADVANCE(88); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(26); END_STATE(); case 29: if (lookahead == '=') ADVANCE(74); - if (lookahead == '~') ADVANCE(76); END_STATE(); case 30: - if (lookahead == '[') ADVANCE(58); - if (lookahead == 'e') ADVANCE(40); - if (lookahead == 'f') ADVANCE(36); - if (lookahead == 't') ADVANCE(42); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(30) + if (lookahead == '=') ADVANCE(73); + if (lookahead == '~') ADVANCE(75); END_STATE(); case 31: - if (lookahead == '`') ADVANCE(101); + if (lookahead == '`') ADVANCE(100); if (lookahead != 0) ADVANCE(32); END_STATE(); case 32: - if (lookahead == '`') ADVANCE(100); + if (lookahead == '`') ADVANCE(99); if (lookahead != 0) ADVANCE(32); END_STATE(); case 33: @@ -1180,7 +1244,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ')') ADVANCE(33); END_STATE(); case 34: - if (lookahead == '`') ADVANCE(102); + if (lookahead == '`') ADVANCE(101); END_STATE(); case 35: if (lookahead == '`') ADVANCE(34); @@ -1189,13 +1253,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'a') ADVANCE(41); END_STATE(); case 37: - if (lookahead == 'e') ADVANCE(70); + if (lookahead == 'e') ADVANCE(69); END_STATE(); case 38: - if (lookahead == 'e') ADVANCE(62); + if (lookahead == 'e') ADVANCE(61); END_STATE(); case 39: - if (lookahead == 'e') ADVANCE(64); + if (lookahead == 'e') ADVANCE(63); END_STATE(); case 40: if (lookahead == 'l') ADVANCE(43); @@ -1210,14 +1274,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 's') ADVANCE(37); END_STATE(); case 44: - if (lookahead == 's') ADVANCE(112); + if (lookahead == 's') ADVANCE(111); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(44) if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 45: if (lookahead == 's') ADVANCE(39); @@ -1226,52 +1290,49 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'u') ADVANCE(38); END_STATE(); case 47: - if (lookahead == '{') ADVANCE(137); + if (lookahead == '{') ADVANCE(136); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(47) - if (lookahead != 0) ADVANCE(138); + if (lookahead != 0) ADVANCE(137); END_STATE(); case 48: - if (lookahead == '}') ADVANCE(99); + if (lookahead == '}') ADVANCE(98); END_STATE(); case 49: if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(49) - if (lookahead != 0) ADVANCE(138); + if (lookahead != 0) ADVANCE(137); END_STATE(); case 50: if (lookahead != 0 && - lookahead != '!') ADVANCE(94); + lookahead != '!') ADVANCE(93); END_STATE(); case 51: if (eof) ADVANCE(52); - if (lookahead == '!') ADVANCE(28); - if (lookahead == '"') ADVANCE(7); + if (lookahead == '!') ADVANCE(29); if (lookahead == '#') ADVANCE(50); - if (lookahead == '\'') ADVANCE(14); - if (lookahead == ')') ADVANCE(78); - if (lookahead == '+') ADVANCE(72); - if (lookahead == ',') ADVANCE(60); - if (lookahead == '/') ADVANCE(73); - if (lookahead == '=') ADVANCE(29); - if (lookahead == '@') ADVANCE(79); - if (lookahead == ']') ADVANCE(61); - if (lookahead == 'a') ADVANCE(114); - if (lookahead == 'e') ADVANCE(129); - if (lookahead == 's') ADVANCE(106); - if (lookahead == '{') ADVANCE(67); - if (lookahead == '}') ADVANCE(69); + if (lookahead == ')') ADVANCE(77); + if (lookahead == '+') ADVANCE(71); + if (lookahead == ',') ADVANCE(58); + if (lookahead == '/') ADVANCE(72); + if (lookahead == '=') ADVANCE(30); + if (lookahead == '@') ADVANCE(78); + if (lookahead == 'a') ADVANCE(113); + if (lookahead == 'e') ADVANCE(128); + if (lookahead == 's') ADVANCE(105); + if (lookahead == '{') ADVANCE(66); + if (lookahead == '}') ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(51) if (('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 52: ACCEPT_TOKEN(ts_builtin_sym_end); @@ -1282,7 +1343,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 54: ACCEPT_TOKEN(anon_sym_COLON_EQ); @@ -1293,7 +1354,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 56: ACCEPT_TOKEN(anon_sym_set); @@ -1301,503 +1362,500 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 57: - ACCEPT_TOKEN(anon_sym_shell); - if (lookahead == '-' || - ('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 58: - ACCEPT_TOKEN(anon_sym_LBRACK); + ACCEPT_TOKEN(anon_sym_COMMA); END_STATE(); case 59: - ACCEPT_TOKEN(anon_sym_DQUOTE); + ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 60: - ACCEPT_TOKEN(anon_sym_COMMA); + ACCEPT_TOKEN(anon_sym_shell); + if (lookahead == '-' || + ('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 61: - ACCEPT_TOKEN(anon_sym_RBRACK); - END_STATE(); - case 62: ACCEPT_TOKEN(anon_sym_true); END_STATE(); - case 63: + case 62: ACCEPT_TOKEN(anon_sym_true); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); - case 64: + case 63: ACCEPT_TOKEN(anon_sym_false); END_STATE(); - case 65: + case 64: ACCEPT_TOKEN(anon_sym_false); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); - case 66: + case 65: ACCEPT_TOKEN(anon_sym_if); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); - case 67: + case 66: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 68: + case 67: ACCEPT_TOKEN(anon_sym_LBRACE); - if (lookahead == '{') ADVANCE(97); + if (lookahead == '{') ADVANCE(96); END_STATE(); - case 69: + case 68: ACCEPT_TOKEN(anon_sym_RBRACE); END_STATE(); - case 70: + case 69: ACCEPT_TOKEN(anon_sym_else); END_STATE(); - case 71: + case 70: ACCEPT_TOKEN(anon_sym_else); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); - case 72: + case 71: ACCEPT_TOKEN(anon_sym_PLUS); END_STATE(); - case 73: + case 72: ACCEPT_TOKEN(anon_sym_SLASH); END_STATE(); - case 74: + case 73: ACCEPT_TOKEN(anon_sym_EQ_EQ); END_STATE(); - case 75: + case 74: ACCEPT_TOKEN(anon_sym_BANG_EQ); END_STATE(); - case 76: + case 75: ACCEPT_TOKEN(anon_sym_EQ_TILDE); END_STATE(); - case 77: + case 76: ACCEPT_TOKEN(anon_sym_LPAREN); END_STATE(); - case 78: + case 77: ACCEPT_TOKEN(anon_sym_RPAREN); END_STATE(); - case 79: + case 78: ACCEPT_TOKEN(anon_sym_AT); END_STATE(); - case 80: + case 79: ACCEPT_TOKEN(anon_sym_COLON); END_STATE(); - case 81: + case 80: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead == '=') ADVANCE(54); END_STATE(); - case 82: + case 81: ACCEPT_TOKEN(anon_sym_); - if (lookahead == ' ') ADVANCE(82); + if (lookahead == ' ') ADVANCE(81); END_STATE(); - case 83: + case 82: ACCEPT_TOKEN(anon_sym_DOLLAR); END_STATE(); + case 83: + ACCEPT_TOKEN(anon_sym_EQ); + END_STATE(); case 84: ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '=') ADVANCE(73); + if (lookahead == '~') ADVANCE(75); END_STATE(); case 85: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '=') ADVANCE(74); - if (lookahead == '~') ADVANCE(76); + ACCEPT_TOKEN(anon_sym_STAR); END_STATE(); case 86: - ACCEPT_TOKEN(anon_sym_STAR); + ACCEPT_TOKEN(anon_sym_POUND_BANG); END_STATE(); case 87: - ACCEPT_TOKEN(anon_sym_POUND_BANG); + ACCEPT_TOKEN(aux_sym_shebang_token1); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'b') ADVANCE(20); + if (lookahead != 0 && + lookahead != '\n') ADVANCE(26); END_STATE(); case 88: ACCEPT_TOKEN(aux_sym_shebang_token1); - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'b') ADVANCE(19); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'e') ADVANCE(21); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 89: ACCEPT_TOKEN(aux_sym_shebang_token1); - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'e') ADVANCE(20); + if (lookahead == '/') ADVANCE(90); + if (lookahead == 'u') ADVANCE(24); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 90: ACCEPT_TOKEN(aux_sym_shebang_token1); - if (lookahead == '/') ADVANCE(91); - if (lookahead == 'u') ADVANCE(23); + if (lookahead == '/') ADVANCE(90); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); case 91: - ACCEPT_TOKEN(aux_sym_shebang_token1); - if (lookahead == '/') ADVANCE(91); - if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); - END_STATE(); - case 92: ACCEPT_TOKEN(anon_sym_SLASHusr_SLASHbin_SLASHenv); - if (lookahead == '/') ADVANCE(91); + if (lookahead == '/') ADVANCE(90); if (lookahead != 0 && - lookahead != '\n') ADVANCE(25); + lookahead != '\n') ADVANCE(26); END_STATE(); - case 93: + case 92: ACCEPT_TOKEN(sym_notcomment); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && - lookahead != ' ') ADVANCE(93); + lookahead != ' ') ADVANCE(92); END_STATE(); - case 94: + case 93: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead != 0 && - lookahead != '\n') ADVANCE(94); + lookahead != '\n') ADVANCE(93); END_STATE(); - case 95: + case 94: ACCEPT_TOKEN(aux_sym_comment_token2); if (lookahead == '\t' || lookahead == '\r' || - lookahead == ' ') ADVANCE(95); + lookahead == ' ') ADVANCE(94); if (lookahead != 0 && - lookahead != '\n') ADVANCE(96); + lookahead != '\n') ADVANCE(95); END_STATE(); - case 96: + case 95: ACCEPT_TOKEN(aux_sym_comment_token2); if (lookahead != 0 && - lookahead != '\n') ADVANCE(96); + lookahead != '\n') ADVANCE(95); END_STATE(); - case 97: + case 96: ACCEPT_TOKEN(anon_sym_LBRACE_LBRACE); END_STATE(); - case 98: + case 97: ACCEPT_TOKEN(anon_sym_LBRACE_LBRACE); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && - lookahead != ' ') ADVANCE(138); + lookahead != ' ') ADVANCE(137); END_STATE(); - case 99: + case 98: ACCEPT_TOKEN(anon_sym_RBRACE_RBRACE); END_STATE(); - case 100: + case 99: ACCEPT_TOKEN(sym_BACKTICK); END_STATE(); - case 101: + case 100: ACCEPT_TOKEN(sym_BACKTICK); if (lookahead == '`') ADVANCE(33); END_STATE(); - case 102: + case 101: ACCEPT_TOKEN(sym_INDENTED_BACKTICK); END_STATE(); + case 102: + ACCEPT_TOKEN(sym_NAME); + if (lookahead == 'a') ADVANCE(117); + if (lookahead == '-' || + ('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(129); + END_STATE(); case 103: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'a') ADVANCE(118); + if (lookahead == 'a') ADVANCE(122); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('b' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 104: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'a') ADVANCE(123); + if (lookahead == 'e') ADVANCE(125); + if (lookahead == 'h') ADVANCE(109); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('b' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 105: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(126); - if (lookahead == 'h') ADVANCE(110); + if (lookahead == 'e') ADVANCE(125); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 106: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(126); + if (lookahead == 'e') ADVANCE(70); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 107: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(71); + if (lookahead == 'e') ADVANCE(62); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 108: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(63); + if (lookahead == 'e') ADVANCE(64); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 109: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(65); + if (lookahead == 'e') ADVANCE(116); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 110: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'e') ADVANCE(117); + if (lookahead == 'f') ADVANCE(65); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 111: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'f') ADVANCE(66); + if (lookahead == 'h') ADVANCE(109); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 112: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'h') ADVANCE(110); + if (lookahead == 'i') ADVANCE(103); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 113: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'i') ADVANCE(104); + if (lookahead == 'l') ADVANCE(112); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 114: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'l') ADVANCE(113); + if (lookahead == 'l') ADVANCE(123); + if (lookahead == 'x') ADVANCE(119); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 115: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'l') ADVANCE(124); - if (lookahead == 'x') ADVANCE(120); + if (lookahead == 'l') ADVANCE(60); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 116: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'l') ADVANCE(57); + if (lookahead == 'l') ADVANCE(115); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 117: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'l') ADVANCE(116); + if (lookahead == 'l') ADVANCE(124); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 118: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'l') ADVANCE(125); + if (lookahead == 'o') ADVANCE(121); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 119: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'o') ADVANCE(122); + if (lookahead == 'p') ADVANCE(118); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 120: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'p') ADVANCE(119); + if (lookahead == 'r') ADVANCE(127); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 121: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'r') ADVANCE(128); + if (lookahead == 'r') ADVANCE(126); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 122: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'r') ADVANCE(127); + if (lookahead == 's') ADVANCE(53); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 123: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 's') ADVANCE(53); + if (lookahead == 's') ADVANCE(106); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 124: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 's') ADVANCE(107); + if (lookahead == 's') ADVANCE(108); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 125: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 's') ADVANCE(109); + if (lookahead == 't') ADVANCE(56); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 126: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 't') ADVANCE(56); + if (lookahead == 't') ADVANCE(55); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 127: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 't') ADVANCE(55); + if (lookahead == 'u') ADVANCE(107); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 128: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'u') ADVANCE(108); + if (lookahead == 'x') ADVANCE(119); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 129: ACCEPT_TOKEN(sym_NAME); - if (lookahead == 'x') ADVANCE(120); if (lookahead == '-' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(129); END_STATE(); case 130: - ACCEPT_TOKEN(sym_NAME); - if (lookahead == '-' || - ('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - lookahead == '_' || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(130); + ACCEPT_TOKEN(sym_RAW_STRING); END_STATE(); case 131: ACCEPT_TOKEN(sym_RAW_STRING); + if (lookahead == '\'') ADVANCE(17); END_STATE(); case 132: - ACCEPT_TOKEN(sym_RAW_STRING); - if (lookahead == '\'') ADVANCE(16); + ACCEPT_TOKEN(sym_INDENTED_RAW_STRING); END_STATE(); case 133: - ACCEPT_TOKEN(sym_INDENTED_RAW_STRING); + ACCEPT_TOKEN(sym_STRING); END_STATE(); case 134: ACCEPT_TOKEN(sym_STRING); + if (lookahead == '"') ADVANCE(10); END_STATE(); case 135: - ACCEPT_TOKEN(sym_STRING); - if (lookahead == '"') ADVANCE(9); - END_STATE(); - case 136: ACCEPT_TOKEN(sym_INDENTED_STRING); END_STATE(); - case 137: + case 136: ACCEPT_TOKEN(sym_TEXT); - if (lookahead == '{') ADVANCE(98); + if (lookahead == '{') ADVANCE(97); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && - lookahead != ' ') ADVANCE(138); + lookahead != ' ') ADVANCE(137); END_STATE(); - case 138: + case 137: ACCEPT_TOKEN(sym_TEXT); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && - lookahead != ' ') ADVANCE(138); + lookahead != ' ') ADVANCE(137); END_STATE(); default: return false; @@ -1807,8 +1865,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0, .external_lex_state = 1}, [1] = {.lex_state = 51, .external_lex_state = 2}, - [2] = {.lex_state = 3}, - [3] = {.lex_state = 51, .external_lex_state = 2}, + [2] = {.lex_state = 51, .external_lex_state = 2}, + [3] = {.lex_state = 3}, [4] = {.lex_state = 51, .external_lex_state = 2}, [5] = {.lex_state = 4}, [6] = {.lex_state = 4}, @@ -1830,171 +1888,185 @@ static const TSLexMode ts_lex_modes[STATE_COUNT] = { [22] = {.lex_state = 4}, [23] = {.lex_state = 4}, [24] = {.lex_state = 4}, - [25] = {.lex_state = 3}, + [25] = {.lex_state = 4}, [26] = {.lex_state = 4}, [27] = {.lex_state = 4}, [28] = {.lex_state = 4}, [29] = {.lex_state = 4}, [30] = {.lex_state = 4}, - [31] = {.lex_state = 4}, + [31] = {.lex_state = 3}, [32] = {.lex_state = 4}, [33] = {.lex_state = 4}, [34] = {.lex_state = 3}, [35] = {.lex_state = 6}, [36] = {.lex_state = 6}, - [37] = {.lex_state = 6}, + [37] = {.lex_state = 3}, [38] = {.lex_state = 3}, - [39] = {.lex_state = 6}, + [39] = {.lex_state = 3}, [40] = {.lex_state = 3}, - [41] = {.lex_state = 3}, + [41] = {.lex_state = 6}, [42] = {.lex_state = 6}, - [43] = {.lex_state = 3}, + [43] = {.lex_state = 6}, [44] = {.lex_state = 6}, [45] = {.lex_state = 4}, - [46] = {.lex_state = 4}, + [46] = {.lex_state = 3}, [47] = {.lex_state = 3}, - [48] = {.lex_state = 3}, - [49] = {.lex_state = 12, .external_lex_state = 3}, + [48] = {.lex_state = 4}, + [49] = {.lex_state = 13, .external_lex_state = 3}, [50] = {.lex_state = 51, .external_lex_state = 4}, [51] = {.lex_state = 51}, - [52] = {.lex_state = 51, .external_lex_state = 2}, + [52] = {.lex_state = 7}, [53] = {.lex_state = 51, .external_lex_state = 2}, [54] = {.lex_state = 51, .external_lex_state = 2}, [55] = {.lex_state = 51, .external_lex_state = 2}, [56] = {.lex_state = 51, .external_lex_state = 2}, - [57] = {.lex_state = 51, .external_lex_state = 2}, + [57] = {.lex_state = 0}, [58] = {.lex_state = 51, .external_lex_state = 2}, [59] = {.lex_state = 51, .external_lex_state = 2}, - [60] = {.lex_state = 51, .external_lex_state = 2}, + [60] = {.lex_state = 0}, [61] = {.lex_state = 51, .external_lex_state = 2}, - [62] = {.lex_state = 51}, - [63] = {.lex_state = 51}, + [62] = {.lex_state = 51, .external_lex_state = 2}, + [63] = {.lex_state = 51, .external_lex_state = 2}, [64] = {.lex_state = 51, .external_lex_state = 2}, - [65] = {.lex_state = 51}, + [65] = {.lex_state = 51, .external_lex_state = 2}, [66] = {.lex_state = 51, .external_lex_state = 2}, - [67] = {.lex_state = 3}, - [68] = {.lex_state = 51, .external_lex_state = 2}, - [69] = {.lex_state = 2, .external_lex_state = 2}, - [70] = {.lex_state = 2, .external_lex_state = 2}, - [71] = {.lex_state = 2, .external_lex_state = 2}, - [72] = {.lex_state = 51}, - [73] = {.lex_state = 12, .external_lex_state = 3}, - [74] = {.lex_state = 12, .external_lex_state = 3}, - [75] = {.lex_state = 12}, - [76] = {.lex_state = 12, .external_lex_state = 3}, - [77] = {.lex_state = 51}, - [78] = {.lex_state = 51}, - [79] = {.lex_state = 3}, + [67] = {.lex_state = 51, .external_lex_state = 2}, + [68] = {.lex_state = 0}, + [69] = {.lex_state = 51, .external_lex_state = 2}, + [70] = {.lex_state = 0}, + [71] = {.lex_state = 3}, + [72] = {.lex_state = 51, .external_lex_state = 2}, + [73] = {.lex_state = 51, .external_lex_state = 2}, + [74] = {.lex_state = 51, .external_lex_state = 2}, + [75] = {.lex_state = 51, .external_lex_state = 2}, + [76] = {.lex_state = 51, .external_lex_state = 2}, + [77] = {.lex_state = 51, .external_lex_state = 2}, + [78] = {.lex_state = 51, .external_lex_state = 2}, + [79] = {.lex_state = 0}, [80] = {.lex_state = 3}, - [81] = {.lex_state = 51}, - [82] = {.lex_state = 13}, - [83] = {.lex_state = 3}, - [84] = {.lex_state = 3, .external_lex_state = 2}, - [85] = {.lex_state = 13}, - [86] = {.lex_state = 3, .external_lex_state = 2}, - [87] = {.lex_state = 51}, - [88] = {.lex_state = 3, .external_lex_state = 2}, - [89] = {.lex_state = 3, .external_lex_state = 2}, - [90] = {.lex_state = 0, .external_lex_state = 2}, - [91] = {.lex_state = 51}, + [81] = {.lex_state = 13, .external_lex_state = 3}, + [82] = {.lex_state = 3}, + [83] = {.lex_state = 13}, + [84] = {.lex_state = 13, .external_lex_state = 3}, + [85] = {.lex_state = 13, .external_lex_state = 3}, + [86] = {.lex_state = 2, .external_lex_state = 2}, + [87] = {.lex_state = 2, .external_lex_state = 2}, + [88] = {.lex_state = 2, .external_lex_state = 2}, + [89] = {.lex_state = 14}, + [90] = {.lex_state = 3, .external_lex_state = 2}, + [91] = {.lex_state = 3, .external_lex_state = 2}, [92] = {.lex_state = 3}, - [93] = {.lex_state = 0, .external_lex_state = 2}, - [94] = {.lex_state = 47, .external_lex_state = 2}, - [95] = {.lex_state = 30}, - [96] = {.lex_state = 3, .external_lex_state = 2}, - [97] = {.lex_state = 47, .external_lex_state = 2}, - [98] = {.lex_state = 3}, - [99] = {.lex_state = 51}, + [93] = {.lex_state = 3, .external_lex_state = 2}, + [94] = {.lex_state = 0}, + [95] = {.lex_state = 0}, + [96] = {.lex_state = 0}, + [97] = {.lex_state = 14}, + [98] = {.lex_state = 3, .external_lex_state = 2}, + [99] = {.lex_state = 0}, [100] = {.lex_state = 47, .external_lex_state = 2}, - [101] = {.lex_state = 0, .external_lex_state = 2}, + [101] = {.lex_state = 3}, [102] = {.lex_state = 0, .external_lex_state = 2}, - [103] = {.lex_state = 0, .external_lex_state = 2}, + [103] = {.lex_state = 47, .external_lex_state = 2}, [104] = {.lex_state = 0, .external_lex_state = 2}, - [105] = {.lex_state = 0, .external_lex_state = 2}, - [106] = {.lex_state = 0, .external_lex_state = 2}, - [107] = {.lex_state = 0, .external_lex_state = 2}, - [108] = {.lex_state = 6}, + [105] = {.lex_state = 3}, + [106] = {.lex_state = 47, .external_lex_state = 2}, + [107] = {.lex_state = 3, .external_lex_state = 2}, + [108] = {.lex_state = 0, .external_lex_state = 2}, [109] = {.lex_state = 0, .external_lex_state = 2}, - [110] = {.lex_state = 0, .external_lex_state = 2}, + [110] = {.lex_state = 6}, [111] = {.lex_state = 0, .external_lex_state = 2}, [112] = {.lex_state = 0, .external_lex_state = 2}, - [113] = {.lex_state = 12, .external_lex_state = 3}, - [114] = {.lex_state = 51}, - [115] = {.lex_state = 12, .external_lex_state = 3}, - [116] = {.lex_state = 3}, - [117] = {.lex_state = 3, .external_lex_state = 2}, - [118] = {.lex_state = 47, .external_lex_state = 2}, - [119] = {.lex_state = 12, .external_lex_state = 3}, - [120] = {.lex_state = 6}, - [121] = {.lex_state = 3, .external_lex_state = 2}, - [122] = {.lex_state = 12, .external_lex_state = 3}, + [113] = {.lex_state = 0, .external_lex_state = 2}, + [114] = {.lex_state = 0, .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 = 0, .external_lex_state = 2}, + [119] = {.lex_state = 0, .external_lex_state = 2}, + [120] = {.lex_state = 0, .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}, - [125] = {.lex_state = 3}, - [126] = {.lex_state = 44}, + [125] = {.lex_state = 0, .external_lex_state = 2}, + [126] = {.lex_state = 0, .external_lex_state = 2}, [127] = {.lex_state = 0, .external_lex_state = 2}, - [128] = {.lex_state = 12}, - [129] = {.lex_state = 1}, - [130] = {.lex_state = 0, .external_lex_state = 2}, - [131] = {.lex_state = 3}, - [132] = {.lex_state = 0}, - [133] = {.lex_state = 0}, - [134] = {.lex_state = 3}, - [135] = {.lex_state = 0}, - [136] = {.lex_state = 0}, + [128] = {.lex_state = 13, .external_lex_state = 3}, + [129] = {.lex_state = 3, .external_lex_state = 2}, + [130] = {.lex_state = 3, .external_lex_state = 2}, + [131] = {.lex_state = 13, .external_lex_state = 3}, + [132] = {.lex_state = 3}, + [133] = {.lex_state = 13, .external_lex_state = 3}, + [134] = {.lex_state = 47, .external_lex_state = 2}, + [135] = {.lex_state = 6}, + [136] = {.lex_state = 13, .external_lex_state = 3}, [137] = {.lex_state = 51}, - [138] = {.lex_state = 0}, - [139] = {.lex_state = 0, .external_lex_state = 2}, + [138] = {.lex_state = 0, .external_lex_state = 2}, + [139] = {.lex_state = 3}, [140] = {.lex_state = 0}, - [141] = {.lex_state = 0}, - [142] = {.lex_state = 0, .external_lex_state = 2}, - [143] = {.lex_state = 0}, - [144] = {.lex_state = 0}, - [145] = {.lex_state = 51}, + [141] = {.lex_state = 44}, + [142] = {.lex_state = 13}, + [143] = {.lex_state = 0, .external_lex_state = 2}, + [144] = {.lex_state = 3}, + [145] = {.lex_state = 1}, [146] = {.lex_state = 0, .external_lex_state = 2}, - [147] = {.lex_state = 0, .external_lex_state = 2}, + [147] = {.lex_state = 51}, [148] = {.lex_state = 0}, - [149] = {.lex_state = 0, .external_lex_state = 3}, - [150] = {.lex_state = 0, .external_lex_state = 3}, - [151] = {.lex_state = 3}, - [152] = {.lex_state = 0}, - [153] = {.lex_state = 49}, + [149] = {.lex_state = 0}, + [150] = {.lex_state = 51}, + [151] = {.lex_state = 0}, + [152] = {.lex_state = 0, .external_lex_state = 3}, + [153] = {.lex_state = 0, .external_lex_state = 2}, [154] = {.lex_state = 0}, - [155] = {.lex_state = 3}, - [156] = {.lex_state = 0, .external_lex_state = 2}, - [157] = {.lex_state = 3}, - [158] = {.lex_state = 6}, + [155] = {.lex_state = 0}, + [156] = {.lex_state = 0}, + [157] = {.lex_state = 49}, + [158] = {.lex_state = 0}, [159] = {.lex_state = 0}, - [160] = {.lex_state = 6}, - [161] = {.lex_state = 6}, - [162] = {.lex_state = 51}, - [163] = {.lex_state = 0, .external_lex_state = 2}, - [164] = {.lex_state = 0}, - [165] = {.lex_state = 0, .external_lex_state = 2}, - [166] = {.lex_state = 0}, + [160] = {.lex_state = 0}, + [161] = {.lex_state = 0}, + [162] = {.lex_state = 0}, + [163] = {.lex_state = 3}, + [164] = {.lex_state = 51}, + [165] = {.lex_state = 0}, + [166] = {.lex_state = 3}, [167] = {.lex_state = 0}, - [168] = {.lex_state = 0}, - [169] = {.lex_state = 0}, - [170] = {.lex_state = 0}, - [171] = {.lex_state = 0}, - [172] = {.lex_state = 0}, - [173] = {.lex_state = 95}, - [174] = {.lex_state = 0}, - [175] = {.lex_state = 0}, + [168] = {.lex_state = 0, .external_lex_state = 2}, + [169] = {.lex_state = 0, .external_lex_state = 2}, + [170] = {.lex_state = 0, .external_lex_state = 3}, + [171] = {.lex_state = 0, .external_lex_state = 2}, + [172] = {.lex_state = 6}, + [173] = {.lex_state = 0}, + [174] = {.lex_state = 6}, + [175] = {.lex_state = 6}, [176] = {.lex_state = 0, .external_lex_state = 2}, - [177] = {.lex_state = 0}, - [178] = {.lex_state = 51}, - [179] = {.lex_state = 51}, - [180] = {.lex_state = 30}, - [181] = {.lex_state = 30}, + [177] = {.lex_state = 0, .external_lex_state = 2}, + [178] = {.lex_state = 0}, + [179] = {.lex_state = 0}, + [180] = {.lex_state = 0}, + [181] = {.lex_state = 0}, [182] = {.lex_state = 0}, [183] = {.lex_state = 0}, - [184] = {.lex_state = 95}, - [185] = {.lex_state = 3}, - [186] = {.lex_state = 51}, - [187] = {.lex_state = 51}, + [184] = {.lex_state = 0, .external_lex_state = 2}, + [185] = {.lex_state = 0}, + [186] = {.lex_state = 0}, + [187] = {.lex_state = 94}, [188] = {.lex_state = 0}, - [189] = {.lex_state = 30}, + [189] = {.lex_state = 0}, + [190] = {.lex_state = 0, .external_lex_state = 2}, + [191] = {.lex_state = 94}, + [192] = {.lex_state = 51}, + [193] = {.lex_state = 51}, + [194] = {.lex_state = 7}, + [195] = {.lex_state = 7}, + [196] = {.lex_state = 0}, + [197] = {.lex_state = 0}, + [198] = {.lex_state = 3}, + [199] = {.lex_state = 7}, + [200] = {.lex_state = 51}, + [201] = {.lex_state = 51}, + [202] = {.lex_state = 0}, + [203] = {.lex_state = 3}, }; enum { @@ -2037,11 +2109,10 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_COLON_EQ] = ACTIONS(1), [anon_sym_export] = ACTIONS(1), [anon_sym_set] = ACTIONS(1), - [anon_sym_shell] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), - [anon_sym_DQUOTE] = ACTIONS(1), [anon_sym_COMMA] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), + [anon_sym_shell] = ACTIONS(1), [anon_sym_true] = ACTIONS(1), [anon_sym_false] = ACTIONS(1), [anon_sym_if] = ACTIONS(1), @@ -2068,21 +2139,23 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_NAME] = ACTIONS(1), [sym_RAW_STRING] = ACTIONS(1), [sym_INDENTED_RAW_STRING] = ACTIONS(1), + [sym_STRING] = ACTIONS(1), + [sym_INDENTED_STRING] = ACTIONS(1), [sym_INDENT] = ACTIONS(1), [sym_DEDENT] = ACTIONS(1), [sym_NEWLINE] = ACTIONS(1), [sym_LINE] = ACTIONS(1), }, [1] = { - [sym_source_file] = STATE(177), + [sym_source_file] = STATE(189), [sym_item] = STATE(4), - [sym_eol] = STATE(57), - [sym_alias] = STATE(57), - [sym_assignment] = STATE(57), - [sym_export] = STATE(57), - [sym_setting] = STATE(57), - [sym_recipe] = STATE(57), - [sym_recipeheader] = STATE(176), + [sym_eol] = STATE(56), + [sym_alias] = STATE(56), + [sym_assignment] = STATE(56), + [sym_export] = STATE(56), + [sym_setting] = STATE(56), + [sym_recipe] = STATE(56), + [sym_recipe_header] = STATE(184), [sym_comment] = STATE(58), [aux_sym_source_file_repeat1] = STATE(4), [ts_builtin_sym_end] = ACTIONS(3), @@ -2097,58 +2170,58 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { }; static const uint16_t ts_small_parse_table[] = { - [0] = 2, - ACTIONS(21), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(19), 16, - anon_sym_COMMA, - anon_sym_RBRACK, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_DOLLAR, - anon_sym_STAR, - sym_NAME, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [23] = 12, - ACTIONS(23), 1, + [0] = 12, + ACTIONS(19), 1, ts_builtin_sym_end, - ACTIONS(25), 1, + ACTIONS(21), 1, anon_sym_alias, - ACTIONS(28), 1, + ACTIONS(24), 1, anon_sym_export, - ACTIONS(31), 1, + ACTIONS(27), 1, anon_sym_set, - ACTIONS(34), 1, + ACTIONS(30), 1, anon_sym_AT, - ACTIONS(37), 1, + ACTIONS(33), 1, aux_sym_comment_token1, - ACTIONS(40), 1, + ACTIONS(36), 1, sym_NAME, - ACTIONS(43), 1, + ACTIONS(39), 1, sym_NEWLINE, STATE(58), 1, sym_comment, - STATE(176), 1, - sym_recipeheader, - STATE(3), 2, + STATE(184), 1, + sym_recipe_header, + STATE(2), 2, sym_item, aux_sym_source_file_repeat1, - STATE(57), 6, + STATE(56), 6, sym_eol, sym_alias, sym_assignment, sym_export, sym_setting, sym_recipe, + [43] = 2, + ACTIONS(44), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(42), 16, + anon_sym_COMMA, + anon_sym_RBRACK, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_SLASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, + anon_sym_RPAREN, + anon_sym_COLON, + anon_sym_DOLLAR, + anon_sym_STAR, + sym_NAME, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, [66] = 12, ACTIONS(5), 1, anon_sym_alias, @@ -2168,19 +2241,19 @@ static const uint16_t ts_small_parse_table[] = { ts_builtin_sym_end, STATE(58), 1, sym_comment, - STATE(176), 1, - sym_recipeheader, - STATE(3), 2, + STATE(184), 1, + sym_recipe_header, + STATE(2), 2, sym_item, aux_sym_source_file_repeat1, - STATE(57), 6, + STATE(56), 6, sym_eol, sym_alias, sym_assignment, sym_export, sym_setting, sym_recipe, - [109] = 12, + [109] = 11, ACTIONS(48), 1, anon_sym_if, ACTIONS(50), 1, @@ -2193,409 +2266,409 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_BACKTICK, ACTIONS(58), 1, sym_NAME, - STATE(51), 1, + STATE(45), 1, sym_value, - STATE(132), 1, - sym_expression, - STATE(166), 1, - sym_sequence, ACTIONS(60), 2, sym_RAW_STRING, sym_STRING, ACTIONS(62), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(7), 2, + sym_expression, + aux_sym_depcall_repeat1, + STATE(44), 3, sym_call, sym_cmd, sym_string, - [150] = 2, - ACTIONS(66), 5, + [148] = 12, + ACTIONS(48), 1, anon_sym_if, - sym_BACKTICK, - sym_NAME, - sym_RAW_STRING, - sym_STRING, - ACTIONS(64), 11, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, + ACTIONS(64), 1, anon_sym_LPAREN, + ACTIONS(66), 1, anon_sym_RPAREN, - sym_INDENTED_BACKTICK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [171] = 2, - ACTIONS(70), 5, - anon_sym_if, + ACTIONS(68), 1, sym_BACKTICK, + ACTIONS(70), 1, + sym_INDENTED_BACKTICK, + ACTIONS(72), 1, sym_NAME, + STATE(51), 1, + sym_value, + STATE(140), 1, + sym_expression, + STATE(151), 1, + sym_sequence, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(68), 11, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, - anon_sym_LPAREN, - anon_sym_RPAREN, - sym_INDENTED_BACKTICK, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [192] = 11, + STATE(37), 3, + sym_call, + sym_cmd, + sym_string, + [189] = 11, ACTIONS(48), 1, anon_sym_if, - ACTIONS(72), 1, + ACTIONS(50), 1, anon_sym_LPAREN, - ACTIONS(74), 1, - anon_sym_RPAREN, - ACTIONS(76), 1, + ACTIONS(54), 1, sym_BACKTICK, - ACTIONS(78), 1, + ACTIONS(56), 1, sym_INDENTED_BACKTICK, - ACTIONS(80), 1, + ACTIONS(58), 1, sym_NAME, + ACTIONS(78), 1, + anon_sym_RPAREN, STATE(45), 1, sym_value, - ACTIONS(82), 2, + ACTIONS(60), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(84), 2, + ACTIONS(62), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(10), 2, + STATE(9), 2, sym_expression, aux_sym_depcall_repeat1, - STATE(37), 3, + STATE(44), 3, sym_call, sym_cmd, sym_string, - [231] = 12, + [228] = 12, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, - ACTIONS(86), 1, + ACTIONS(80), 1, anon_sym_RPAREN, STATE(51), 1, sym_value, - STATE(132), 1, + STATE(140), 1, sym_expression, - STATE(168), 1, + STATE(188), 1, sym_sequence, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [272] = 11, - ACTIONS(88), 1, + [269] = 11, + ACTIONS(82), 1, anon_sym_if, - ACTIONS(91), 1, + ACTIONS(85), 1, anon_sym_LPAREN, - ACTIONS(94), 1, + ACTIONS(88), 1, anon_sym_RPAREN, - ACTIONS(96), 1, + ACTIONS(90), 1, sym_BACKTICK, - ACTIONS(99), 1, + ACTIONS(93), 1, sym_INDENTED_BACKTICK, - ACTIONS(102), 1, + ACTIONS(96), 1, sym_NAME, STATE(45), 1, sym_value, - ACTIONS(105), 2, + ACTIONS(99), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(108), 2, + ACTIONS(102), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(10), 2, + STATE(9), 2, sym_expression, aux_sym_depcall_repeat1, - STATE(37), 3, + STATE(44), 3, sym_call, sym_cmd, sym_string, - [311] = 12, + [308] = 12, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, - ACTIONS(111), 1, + ACTIONS(105), 1, anon_sym_RPAREN, STATE(51), 1, sym_value, - STATE(132), 1, + STATE(140), 1, sym_expression, - STATE(171), 1, + STATE(185), 1, sym_sequence, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [352] = 12, + [349] = 12, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, - ACTIONS(113), 1, + ACTIONS(107), 1, anon_sym_RPAREN, STATE(51), 1, sym_value, - STATE(132), 1, + STATE(140), 1, sym_expression, - STATE(188), 1, + STATE(180), 1, sym_sequence, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [393] = 11, - ACTIONS(48), 1, + [390] = 2, + ACTIONS(111), 5, anon_sym_if, - ACTIONS(72), 1, - anon_sym_LPAREN, - ACTIONS(76), 1, sym_BACKTICK, - ACTIONS(78), 1, - sym_INDENTED_BACKTICK, - ACTIONS(80), 1, sym_NAME, - ACTIONS(115), 1, + sym_RAW_STRING, + sym_STRING, + ACTIONS(109), 11, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, + anon_sym_LPAREN, anon_sym_RPAREN, - STATE(45), 1, - sym_value, - ACTIONS(82), 2, + sym_INDENTED_BACKTICK, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [411] = 2, + ACTIONS(115), 5, + anon_sym_if, + sym_BACKTICK, + sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(84), 2, + ACTIONS(113), 11, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(8), 2, - sym_expression, - aux_sym_depcall_repeat1, - STATE(37), 3, - sym_call, - sym_cmd, - sym_string, [432] = 11, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(114), 1, + STATE(137), 1, sym_expression, - STATE(187), 1, + STATE(201), 1, sym_condition, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [470] = 11, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(114), 1, + STATE(137), 1, sym_expression, - STATE(186), 1, + STATE(200), 1, sym_condition, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [508] = 11, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(114), 1, - sym_expression, STATE(137), 1, + sym_expression, + STATE(164), 1, sym_condition, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [546] = 10, - ACTIONS(117), 1, + ACTIONS(48), 1, anon_sym_if, - ACTIONS(119), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(121), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(123), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(125), 1, + ACTIONS(72), 1, sym_NAME, - STATE(101), 1, + STATE(51), 1, sym_value, - STATE(127), 1, + STATE(154), 1, sym_expression, - ACTIONS(127), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(129), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(107), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [581] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(140), 1, + STATE(161), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [616] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(183), 1, + STATE(196), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [651] = 10, - ACTIONS(72), 1, + ACTIONS(48), 1, + anon_sym_if, + ACTIONS(50), 1, anon_sym_LPAREN, - ACTIONS(76), 1, + ACTIONS(54), 1, sym_BACKTICK, - ACTIONS(78), 1, + ACTIONS(56), 1, sym_INDENTED_BACKTICK, - ACTIONS(131), 1, - anon_sym_if, - ACTIONS(133), 1, + ACTIONS(58), 1, sym_NAME, - STATE(120), 1, - sym_value, - STATE(158), 1, + STATE(12), 1, sym_expression, - ACTIONS(82), 2, - sym_RAW_STRING, + STATE(45), 1, + sym_value, + ACTIONS(60), 2, + sym_RAW_STRING, sym_STRING, - ACTIONS(84), 2, + ACTIONS(62), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(37), 3, + STATE(44), 3, sym_call, sym_cmd, sym_string, @@ -2610,9 +2683,9 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_BACKTICK, ACTIONS(125), 1, sym_NAME, - STATE(101), 1, + STATE(116), 1, sym_value, - STATE(104), 1, + STATE(138), 1, sym_expression, ACTIONS(127), 2, sym_RAW_STRING, @@ -2620,166 +2693,149 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(129), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(107), 3, + STATE(121), 3, sym_call, sym_cmd, sym_string, [721] = 10, - ACTIONS(48), 1, + ACTIONS(117), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(119), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(121), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(123), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(125), 1, sym_NAME, - STATE(51), 1, - sym_value, - STATE(182), 1, + STATE(115), 1, sym_expression, - ACTIONS(60), 2, + STATE(116), 1, + sym_value, + ACTIONS(127), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(129), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(121), 3, sym_call, sym_cmd, sym_string, [756] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, - STATE(6), 1, - sym_expression, STATE(51), 1, sym_value, - ACTIONS(60), 2, + STATE(149), 1, + sym_expression, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [791] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(164), 1, + STATE(186), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [826] = 2, - ACTIONS(137), 1, - anon_sym_LPAREN, - ACTIONS(135), 13, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_DOLLAR, - anon_sym_STAR, - sym_NAME, - [845] = 10, + [826] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(172), 1, + STATE(150), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [880] = 10, + [861] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(141), 1, + STATE(183), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [915] = 10, - ACTIONS(48), 1, - anon_sym_if, + [896] = 10, ACTIONS(50), 1, anon_sym_LPAREN, ACTIONS(54), 1, sym_BACKTICK, ACTIONS(56), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(131), 1, + anon_sym_if, + ACTIONS(133), 1, sym_NAME, - STATE(51), 1, + STATE(135), 1, sym_value, - STATE(169), 1, + STATE(175), 1, sym_expression, ACTIONS(60), 2, sym_RAW_STRING, @@ -2787,132 +2843,149 @@ static const uint16_t ts_small_parse_table[] = { ACTIONS(62), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(44), 3, sym_call, sym_cmd, sym_string, - [950] = 10, + [931] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(72), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(76), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(78), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(80), 1, + ACTIONS(72), 1, sym_NAME, - STATE(6), 1, - sym_expression, - STATE(45), 1, + STATE(51), 1, sym_value, - ACTIONS(82), 2, + STATE(197), 1, + sym_expression, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(84), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, STATE(37), 3, sym_call, sym_cmd, sym_string, - [985] = 10, + [966] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(136), 1, + STATE(181), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [1020] = 10, + [1001] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, STATE(51), 1, sym_value, - STATE(145), 1, + STATE(178), 1, sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, + [1036] = 2, + ACTIONS(137), 1, + anon_sym_LPAREN, + ACTIONS(135), 13, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, + anon_sym_PLUS, + anon_sym_SLASH, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, + anon_sym_RPAREN, + anon_sym_COLON, + anon_sym_DOLLAR, + anon_sym_STAR, + sym_NAME, [1055] = 10, ACTIONS(48), 1, anon_sym_if, - ACTIONS(50), 1, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, - ACTIONS(58), 1, + ACTIONS(72), 1, sym_NAME, + STATE(12), 1, + sym_expression, STATE(51), 1, sym_value, - STATE(167), 1, - sym_expression, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, [1090] = 10, - ACTIONS(72), 1, + ACTIONS(50), 1, anon_sym_LPAREN, - ACTIONS(76), 1, + ACTIONS(54), 1, sym_BACKTICK, - ACTIONS(78), 1, + ACTIONS(56), 1, sym_INDENTED_BACKTICK, ACTIONS(131), 1, anon_sym_if, ACTIONS(133), 1, sym_NAME, - STATE(120), 1, + STATE(135), 1, sym_value, - STATE(161), 1, + STATE(172), 1, sym_expression, - ACTIONS(82), 2, + ACTIONS(60), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(84), 2, + ACTIONS(62), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(37), 3, + STATE(44), 3, sym_call, sym_cmd, sym_string, @@ -2932,13 +3005,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR, sym_NAME, [1141] = 2, - ACTIONS(21), 5, + ACTIONS(141), 5, anon_sym_if, sym_BACKTICK, sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(19), 8, + ACTIONS(139), 8, anon_sym_PLUS, anon_sym_SLASH, anon_sym_LPAREN, @@ -2948,13 +3021,13 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, [1159] = 2, - ACTIONS(141), 5, + ACTIONS(143), 5, anon_sym_if, sym_BACKTICK, sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(143), 8, + ACTIONS(145), 8, anon_sym_PLUS, anon_sym_SLASH, anon_sym_LPAREN, @@ -2963,23 +3036,22 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1177] = 2, - ACTIONS(145), 5, - anon_sym_if, - sym_BACKTICK, - sym_NAME, - sym_RAW_STRING, - sym_STRING, - ACTIONS(135), 8, + [1177] = 1, + ACTIONS(135), 13, + anon_sym_COMMA, + anon_sym_LBRACE, + anon_sym_RBRACE, anon_sym_PLUS, anon_sym_SLASH, - anon_sym_LPAREN, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, anon_sym_RPAREN, - anon_sym_RBRACE_RBRACE, - sym_INDENTED_BACKTICK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [1195] = 1, + anon_sym_COLON, + anon_sym_DOLLAR, + anon_sym_STAR, + sym_NAME, + [1193] = 1, ACTIONS(147), 13, anon_sym_COMMA, anon_sym_LBRACE, @@ -2994,24 +3066,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [1211] = 2, - ACTIONS(149), 5, - anon_sym_if, - sym_BACKTICK, - sym_NAME, - sym_RAW_STRING, - sym_STRING, - ACTIONS(151), 8, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_LPAREN, - anon_sym_RPAREN, - anon_sym_RBRACE_RBRACE, - sym_INDENTED_BACKTICK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [1229] = 1, - ACTIONS(151), 13, + [1209] = 1, + ACTIONS(145), 13, anon_sym_COMMA, anon_sym_LBRACE, anon_sym_RBRACE, @@ -3025,8 +3081,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [1245] = 1, - ACTIONS(143), 13, + [1225] = 1, + ACTIONS(149), 13, anon_sym_COMMA, anon_sym_LBRACE, anon_sym_RBRACE, @@ -3040,14 +3096,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [1261] = 2, - ACTIONS(153), 5, + [1241] = 2, + ACTIONS(151), 5, anon_sym_if, sym_BACKTICK, sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(139), 8, + ACTIONS(149), 8, anon_sym_PLUS, anon_sym_SLASH, anon_sym_LPAREN, @@ -3056,23 +3112,8 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1279] = 1, - ACTIONS(135), 13, - anon_sym_COMMA, - anon_sym_LBRACE, - anon_sym_RBRACE, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, - anon_sym_RPAREN, - anon_sym_COLON, - anon_sym_DOLLAR, - anon_sym_STAR, - sym_NAME, - [1295] = 2, - ACTIONS(155), 5, + [1259] = 2, + ACTIONS(153), 5, anon_sym_if, sym_BACKTICK, sym_NAME, @@ -3087,79 +3128,111 @@ static const uint16_t ts_small_parse_table[] = { sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1313] = 3, - ACTIONS(159), 2, - anon_sym_PLUS, - anon_sym_SLASH, - ACTIONS(157), 5, + [1277] = 2, + ACTIONS(44), 5, anon_sym_if, sym_BACKTICK, sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(161), 5, + ACTIONS(42), 8, + anon_sym_PLUS, + anon_sym_SLASH, anon_sym_LPAREN, anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE, sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1332] = 2, - ACTIONS(145), 5, + [1295] = 2, + ACTIONS(155), 5, anon_sym_if, sym_BACKTICK, sym_NAME, sym_RAW_STRING, sym_STRING, - ACTIONS(135), 7, + ACTIONS(135), 8, anon_sym_PLUS, anon_sym_SLASH, anon_sym_LPAREN, anon_sym_RPAREN, + anon_sym_RBRACE_RBRACE, sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1349] = 8, - ACTIONS(50), 1, - anon_sym_LPAREN, - ACTIONS(54), 1, + [1313] = 3, + ACTIONS(159), 2, + anon_sym_PLUS, + anon_sym_SLASH, + ACTIONS(157), 5, + anon_sym_if, sym_BACKTICK, - ACTIONS(56), 1, - sym_INDENTED_BACKTICK, - ACTIONS(163), 1, sym_NAME, - STATE(92), 1, - sym_value, - ACTIONS(60), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(161), 5, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_INDENTED_BACKTICK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + [1332] = 8, + ACTIONS(64), 1, + anon_sym_LPAREN, + ACTIONS(68), 1, + sym_BACKTICK, + ACTIONS(70), 1, + sym_INDENTED_BACKTICK, + ACTIONS(163), 1, + sym_NAME, + STATE(101), 1, + sym_value, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + STATE(37), 3, sym_call, sym_cmd, sym_string, - [1378] = 8, - ACTIONS(50), 1, + [1361] = 8, + ACTIONS(64), 1, anon_sym_LPAREN, - ACTIONS(54), 1, + ACTIONS(68), 1, sym_BACKTICK, - ACTIONS(56), 1, + ACTIONS(70), 1, sym_INDENTED_BACKTICK, ACTIONS(163), 1, sym_NAME, - STATE(98), 1, + STATE(105), 1, sym_value, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(43), 3, + STATE(37), 3, sym_call, sym_cmd, sym_string, + [1390] = 2, + ACTIONS(155), 5, + anon_sym_if, + sym_BACKTICK, + sym_NAME, + sym_RAW_STRING, + sym_STRING, + ACTIONS(135), 7, + anon_sym_PLUS, + anon_sym_SLASH, + anon_sym_LPAREN, + anon_sym_RPAREN, + sym_INDENTED_BACKTICK, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, [1407] = 8, ACTIONS(165), 1, anon_sym_POUND_BANG, @@ -3169,21 +3242,21 @@ static const uint16_t ts_small_parse_table[] = { aux_sym_comment_token1, ACTIONS(171), 1, sym_DEDENT, - STATE(75), 1, + STATE(83), 1, sym_shebang, - STATE(76), 2, + STATE(85), 2, sym_line, aux_sym_shebang_body_repeat1, - STATE(122), 2, + STATE(128), 2, sym_recipeline, sym_comment, - STATE(149), 2, + STATE(152), 2, sym_shebang_recipe, sym_recipe_body, [1435] = 4, ACTIONS(177), 1, sym_INDENT, - STATE(54), 1, + STATE(62), 1, sym_body, ACTIONS(173), 4, sym_NEWLINE, @@ -3207,18 +3280,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_EQ_TILDE, anon_sym_RPAREN, - [1468] = 2, - ACTIONS(181), 4, - sym_NEWLINE, - ts_builtin_sym_end, - anon_sym_AT, - aux_sym_comment_token1, - ACTIONS(183), 4, - anon_sym_alias, - anon_sym_export, - anon_sym_set, - sym_NAME, - [1481] = 2, + [1468] = 5, + ACTIONS(181), 1, + anon_sym_LBRACK, + ACTIONS(127), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(129), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + ACTIONS(183), 2, + anon_sym_true, + anon_sym_false, + STATE(111), 2, + sym_boolean, + sym_string, + [1488] = 2, ACTIONS(185), 4, sym_NEWLINE, ts_builtin_sym_end, @@ -3229,7 +3306,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_export, anon_sym_set, sym_NAME, - [1494] = 2, + [1501] = 2, ACTIONS(189), 4, sym_NEWLINE, ts_builtin_sym_end, @@ -3240,7 +3317,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_export, anon_sym_set, sym_NAME, - [1507] = 2, + [1514] = 2, ACTIONS(193), 4, sym_NEWLINE, ts_builtin_sym_end, @@ -3251,7 +3328,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_export, anon_sym_set, sym_NAME, - [1520] = 2, + [1527] = 2, ACTIONS(197), 4, sym_NEWLINE, ts_builtin_sym_end, @@ -3262,875 +3339,1028 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_export, anon_sym_set, sym_NAME, - [1533] = 2, - ACTIONS(201), 4, + [1540] = 6, + ACTIONS(201), 1, + anon_sym_COMMA, + ACTIONS(203), 1, + anon_sym_RBRACK, + STATE(79), 1, + aux_sym_setting_repeat1, + STATE(167), 1, + sym_string, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [1561] = 2, + ACTIONS(205), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(207), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1574] = 2, + ACTIONS(209), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(203), 4, + ACTIONS(211), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1546] = 2, - ACTIONS(205), 4, + [1587] = 6, + ACTIONS(201), 1, + anon_sym_COMMA, + ACTIONS(213), 1, + anon_sym_RBRACK, + STATE(79), 1, + aux_sym_setting_repeat1, + STATE(202), 1, + sym_string, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [1608] = 2, + ACTIONS(215), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(207), 4, + ACTIONS(217), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1559] = 2, - ACTIONS(209), 4, + [1621] = 2, + ACTIONS(219), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(211), 4, + ACTIONS(221), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1572] = 2, - ACTIONS(213), 4, + [1634] = 2, + ACTIONS(223), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(215), 4, + ACTIONS(225), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1585] = 2, - ACTIONS(217), 4, + [1647] = 2, + ACTIONS(227), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(219), 4, + ACTIONS(229), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1598] = 5, - ACTIONS(221), 1, - anon_sym_COMMA, - ACTIONS(223), 1, - anon_sym_RBRACK, - ACTIONS(60), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(62), 2, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - STATE(65), 2, - sym_string, - aux_sym_setting_repeat1, - [1617] = 5, - ACTIONS(225), 1, - anon_sym_COMMA, - ACTIONS(228), 1, - anon_sym_RBRACK, - ACTIONS(230), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(233), 2, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - STATE(63), 2, - sym_string, - aux_sym_setting_repeat1, - [1636] = 2, - ACTIONS(236), 4, + [1660] = 2, + ACTIONS(231), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(233), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1673] = 2, + ACTIONS(235), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(237), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1686] = 2, + ACTIONS(239), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(238), 4, + ACTIONS(241), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1649] = 5, - ACTIONS(221), 1, + [1699] = 6, + ACTIONS(201), 1, anon_sym_COMMA, - ACTIONS(240), 1, + ACTIONS(243), 1, anon_sym_RBRACK, - ACTIONS(60), 2, + STATE(60), 1, + aux_sym_setting_repeat1, + STATE(155), 1, + sym_string, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - STATE(63), 2, - sym_string, - aux_sym_setting_repeat1, - [1668] = 2, - ACTIONS(242), 4, + [1720] = 2, + ACTIONS(245), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(244), 4, + ACTIONS(247), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1681] = 6, - ACTIONS(248), 1, + [1733] = 6, + ACTIONS(201), 1, + anon_sym_COMMA, + ACTIONS(249), 1, + anon_sym_RBRACK, + STATE(57), 1, + aux_sym_setting_repeat1, + STATE(156), 1, + sym_string, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [1754] = 6, + ACTIONS(253), 1, anon_sym_COLON, - ACTIONS(250), 1, + ACTIONS(255), 1, anon_sym_DOLLAR, - ACTIONS(252), 1, + ACTIONS(257), 1, sym_NAME, - STATE(144), 1, + STATE(148), 1, sym_variadic_parameters, - ACTIONS(246), 2, + ACTIONS(251), 2, anon_sym_PLUS, anon_sym_STAR, - STATE(79), 2, + STATE(80), 2, sym_parameter, aux_sym_parameters_repeat1, - [1702] = 2, - ACTIONS(254), 4, + [1775] = 2, + ACTIONS(259), 4, sym_NEWLINE, ts_builtin_sym_end, anon_sym_AT, aux_sym_comment_token1, - ACTIONS(256), 4, + ACTIONS(261), 4, anon_sym_alias, anon_sym_export, anon_sym_set, sym_NAME, - [1715] = 6, - ACTIONS(258), 1, - anon_sym_LPAREN, - ACTIONS(260), 1, - anon_sym_, - ACTIONS(262), 1, + [1788] = 2, + ACTIONS(263), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(265), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, sym_NAME, - ACTIONS(264), 1, + [1801] = 2, + ACTIONS(267), 4, sym_NEWLINE, - STATE(139), 1, - sym_dependencies, - STATE(89), 2, - sym_dependency, - aux_sym_dependencies_repeat1, - [1735] = 6, - ACTIONS(258), 1, - anon_sym_LPAREN, - ACTIONS(262), 1, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(269), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, sym_NAME, - ACTIONS(266), 1, - anon_sym_, - ACTIONS(268), 1, + [1814] = 2, + ACTIONS(271), 4, sym_NEWLINE, - STATE(142), 1, - sym_dependencies, - STATE(89), 2, - sym_dependency, - aux_sym_dependencies_repeat1, - [1755] = 6, - ACTIONS(258), 1, - anon_sym_LPAREN, - ACTIONS(262), 1, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(273), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, sym_NAME, - ACTIONS(270), 1, - anon_sym_, - ACTIONS(272), 1, + [1827] = 2, + ACTIONS(275), 4, sym_NEWLINE, - STATE(146), 1, - sym_dependencies, - STATE(89), 2, - sym_dependency, - aux_sym_dependencies_repeat1, - [1775] = 5, - ACTIONS(274), 1, - anon_sym_RBRACK, - STATE(72), 1, - aux_sym_stringlist_repeat1, - STATE(87), 1, - sym_string, - ACTIONS(276), 2, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(277), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1840] = 2, + ACTIONS(279), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(281), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1853] = 2, + ACTIONS(283), 4, + sym_NEWLINE, + ts_builtin_sym_end, + anon_sym_AT, + aux_sym_comment_token1, + ACTIONS(285), 4, + anon_sym_alias, + anon_sym_export, + anon_sym_set, + sym_NAME, + [1866] = 4, + ACTIONS(287), 1, + anon_sym_COMMA, + STATE(79), 1, + aux_sym_setting_repeat1, + ACTIONS(292), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(279), 2, + ACTIONS(290), 3, + anon_sym_RBRACK, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [1793] = 5, - ACTIONS(282), 1, + [1882] = 4, + ACTIONS(296), 1, + anon_sym_DOLLAR, + ACTIONS(299), 1, + sym_NAME, + STATE(80), 2, + sym_parameter, + aux_sym_parameters_repeat1, + ACTIONS(294), 3, + anon_sym_PLUS, + anon_sym_COLON, + anon_sym_STAR, + [1898] = 5, + ACTIONS(302), 1, sym_notcomment, - ACTIONS(285), 1, + ACTIONS(305), 1, aux_sym_comment_token1, - ACTIONS(288), 1, + ACTIONS(308), 1, sym_DEDENT, - STATE(73), 2, + STATE(81), 2, sym_line, aux_sym_shebang_body_repeat1, - STATE(122), 2, + STATE(128), 2, sym_recipeline, sym_comment, - [1811] = 5, + [1916] = 6, + ACTIONS(255), 1, + anon_sym_DOLLAR, + ACTIONS(257), 1, + sym_NAME, + ACTIONS(310), 1, + anon_sym_COLON_EQ, + ACTIONS(312), 1, + anon_sym_COLON, + STATE(165), 1, + sym_parameters, + STATE(71), 2, + sym_parameter, + aux_sym_parameters_repeat1, + [1936] = 5, ACTIONS(167), 1, sym_notcomment, ACTIONS(169), 1, aux_sym_comment_token1, - ACTIONS(290), 1, - sym_DEDENT, - STATE(73), 2, + STATE(170), 1, + sym_shebang_body, + STATE(84), 2, sym_line, aux_sym_shebang_body_repeat1, - STATE(122), 2, + STATE(128), 2, sym_recipeline, sym_comment, - [1829] = 5, + [1954] = 5, ACTIONS(167), 1, sym_notcomment, ACTIONS(169), 1, aux_sym_comment_token1, - STATE(150), 1, - sym_shebang_body, - STATE(74), 2, + ACTIONS(314), 1, + sym_DEDENT, + STATE(81), 2, sym_line, aux_sym_shebang_body_repeat1, - STATE(122), 2, + STATE(128), 2, sym_recipeline, sym_comment, - [1847] = 5, + [1972] = 5, ACTIONS(167), 1, sym_notcomment, ACTIONS(169), 1, aux_sym_comment_token1, - ACTIONS(292), 1, + ACTIONS(316), 1, sym_DEDENT, - STATE(73), 2, + STATE(81), 2, sym_line, aux_sym_shebang_body_repeat1, - STATE(122), 2, + STATE(128), 2, sym_recipeline, sym_comment, - [1865] = 5, - STATE(78), 1, - aux_sym_stringlist_repeat1, - STATE(87), 1, - sym_string, - STATE(152), 1, - sym_stringlist, - ACTIONS(60), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(62), 2, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [1883] = 5, - ACTIONS(294), 1, - anon_sym_RBRACK, - STATE(72), 1, - aux_sym_stringlist_repeat1, - STATE(87), 1, - sym_string, - ACTIONS(60), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(62), 2, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [1901] = 4, - ACTIONS(298), 1, - anon_sym_DOLLAR, - ACTIONS(301), 1, + [1990] = 6, + ACTIONS(318), 1, + anon_sym_LPAREN, + ACTIONS(320), 1, + anon_sym_, + ACTIONS(322), 1, sym_NAME, - STATE(79), 2, - sym_parameter, - aux_sym_parameters_repeat1, - ACTIONS(296), 3, - anon_sym_PLUS, - anon_sym_COLON, - anon_sym_STAR, - [1917] = 6, - ACTIONS(250), 1, - anon_sym_DOLLAR, - ACTIONS(252), 1, - sym_NAME, - ACTIONS(304), 1, - anon_sym_COLON_EQ, - ACTIONS(306), 1, - anon_sym_COLON, - STATE(159), 1, - sym_parameters, - STATE(67), 2, - sym_parameter, - aux_sym_parameters_repeat1, - [1937] = 2, - ACTIONS(308), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(228), 4, - anon_sym_COMMA, - anon_sym_RBRACK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [1948] = 2, - ACTIONS(312), 1, - anon_sym_EQ, - ACTIONS(310), 5, - anon_sym_PLUS, - anon_sym_COLON, - anon_sym_DOLLAR, - anon_sym_STAR, - sym_NAME, - [1959] = 5, - ACTIONS(250), 1, - anon_sym_DOLLAR, - ACTIONS(252), 1, - sym_NAME, - ACTIONS(314), 1, - anon_sym_COLON, - STATE(154), 1, - sym_parameters, - STATE(67), 2, - sym_parameter, - aux_sym_parameters_repeat1, - [1976] = 5, - ACTIONS(264), 1, + ACTIONS(324), 1, sym_NEWLINE, - ACTIONS(316), 1, - anon_sym_LPAREN, + STATE(190), 1, + sym_dependencies, + STATE(107), 2, + sym_dependency, + aux_sym_dependencies_repeat1, + [2010] = 6, ACTIONS(318), 1, + anon_sym_LPAREN, + ACTIONS(322), 1, sym_NAME, - STATE(139), 1, + ACTIONS(326), 1, + anon_sym_, + ACTIONS(328), 1, + sym_NEWLINE, + STATE(168), 1, sym_dependencies, - STATE(89), 2, + STATE(107), 2, sym_dependency, aux_sym_dependencies_repeat1, - [1993] = 2, + [2030] = 6, + ACTIONS(318), 1, + anon_sym_LPAREN, ACTIONS(322), 1, + sym_NAME, + ACTIONS(330), 1, + anon_sym_, + ACTIONS(332), 1, + sym_NEWLINE, + STATE(171), 1, + sym_dependencies, + STATE(107), 2, + sym_dependency, + aux_sym_dependencies_repeat1, + [2050] = 2, + ACTIONS(336), 1, anon_sym_EQ, - ACTIONS(320), 5, + ACTIONS(334), 5, anon_sym_PLUS, anon_sym_COLON, anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [2004] = 5, - ACTIONS(268), 1, + [2061] = 5, + ACTIONS(332), 1, sym_NEWLINE, - ACTIONS(316), 1, + ACTIONS(338), 1, anon_sym_LPAREN, - ACTIONS(318), 1, + ACTIONS(340), 1, sym_NAME, - STATE(142), 1, + STATE(171), 1, sym_dependencies, - STATE(89), 2, + STATE(107), 2, sym_dependency, aux_sym_dependencies_repeat1, - [2021] = 3, - ACTIONS(324), 1, - anon_sym_COMMA, - ACTIONS(328), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(326), 3, - anon_sym_RBRACK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [2034] = 5, - ACTIONS(316), 1, + [2078] = 5, + ACTIONS(338), 1, anon_sym_LPAREN, - ACTIONS(318), 1, + ACTIONS(340), 1, sym_NAME, - ACTIONS(330), 1, + ACTIONS(342), 1, sym_NEWLINE, - STATE(147), 1, + STATE(153), 1, sym_dependencies, - STATE(89), 2, + STATE(107), 2, sym_dependency, aux_sym_dependencies_repeat1, - [2051] = 4, - ACTIONS(316), 1, - anon_sym_LPAREN, - ACTIONS(318), 1, + [2095] = 5, + ACTIONS(255), 1, + anon_sym_DOLLAR, + ACTIONS(257), 1, sym_NAME, - ACTIONS(332), 1, + ACTIONS(344), 1, + anon_sym_COLON, + STATE(159), 1, + sym_parameters, + STATE(71), 2, + sym_parameter, + aux_sym_parameters_repeat1, + [2112] = 5, + ACTIONS(328), 1, sym_NEWLINE, - STATE(96), 2, + ACTIONS(338), 1, + anon_sym_LPAREN, + ACTIONS(340), 1, + sym_NAME, + STATE(168), 1, + sym_dependencies, + STATE(107), 2, sym_dependency, aux_sym_dependencies_repeat1, - [2065] = 2, - ACTIONS(334), 1, - anon_sym_LPAREN, - ACTIONS(135), 4, - sym_NEWLINE, - anon_sym_PLUS, - anon_sym_SLASH, - aux_sym_comment_token1, - [2075] = 3, - STATE(81), 1, + [2129] = 4, + ACTIONS(346), 1, + anon_sym_RBRACK, + STATE(68), 1, sym_string, - ACTIONS(60), 2, + ACTIONS(74), 2, sym_RAW_STRING, sym_STRING, - ACTIONS(62), 2, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [2144] = 2, + ACTIONS(350), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(348), 4, + anon_sym_COMMA, + anon_sym_RBRACK, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [2155] = 4, + ACTIONS(352), 1, + anon_sym_RBRACK, + STATE(70), 1, + sym_string, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, sym_INDENTED_RAW_STRING, sym_INDENTED_STRING, - [2087] = 1, - ACTIONS(336), 5, + [2170] = 2, + ACTIONS(356), 1, + anon_sym_EQ, + ACTIONS(354), 5, anon_sym_PLUS, anon_sym_COLON, anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [2095] = 5, - ACTIONS(13), 1, - aux_sym_comment_token1, - ACTIONS(17), 1, + [2181] = 4, + ACTIONS(358), 1, + anon_sym_LPAREN, + ACTIONS(361), 1, + sym_NAME, + ACTIONS(364), 1, sym_NEWLINE, - ACTIONS(338), 1, - anon_sym_COLON_EQ, - STATE(58), 1, - sym_comment, - STATE(68), 1, - sym_eol, - [2111] = 4, - ACTIONS(340), 1, + STATE(98), 2, + sym_dependency, + aux_sym_dependencies_repeat1, + [2195] = 3, + STATE(95), 1, + sym_string, + ACTIONS(74), 2, + sym_RAW_STRING, + sym_STRING, + ACTIONS(76), 2, + sym_INDENTED_RAW_STRING, + sym_INDENTED_STRING, + [2207] = 4, + ACTIONS(366), 1, anon_sym_LBRACE_LBRACE, - ACTIONS(343), 1, + ACTIONS(369), 1, sym_TEXT, - ACTIONS(346), 1, + ACTIONS(372), 1, sym_NEWLINE, - STATE(94), 2, + STATE(100), 2, sym_interpolation, aux_sym_recipeline_repeat1, - [2125] = 3, - ACTIONS(348), 1, - anon_sym_LBRACK, - ACTIONS(350), 2, - anon_sym_true, - anon_sym_false, - STATE(102), 2, - sym_boolean, - sym_settinglist, - [2137] = 4, - ACTIONS(352), 1, - anon_sym_LPAREN, - ACTIONS(355), 1, + [2221] = 1, + ACTIONS(374), 5, + anon_sym_PLUS, + anon_sym_COLON, + anon_sym_DOLLAR, + anon_sym_STAR, sym_NAME, - ACTIONS(358), 1, + [2229] = 2, + ACTIONS(376), 1, + anon_sym_LPAREN, + ACTIONS(135), 4, sym_NEWLINE, - STATE(96), 2, - sym_dependency, - aux_sym_dependencies_repeat1, - [2151] = 4, - ACTIONS(360), 1, + anon_sym_PLUS, + anon_sym_SLASH, + aux_sym_comment_token1, + [2239] = 4, + ACTIONS(378), 1, anon_sym_LBRACE_LBRACE, - ACTIONS(362), 1, + ACTIONS(380), 1, sym_TEXT, - ACTIONS(364), 1, + ACTIONS(382), 1, sym_NEWLINE, STATE(100), 2, sym_interpolation, aux_sym_recipeline_repeat1, - [2165] = 1, - ACTIONS(366), 5, + [2253] = 5, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, + ACTIONS(384), 1, + anon_sym_COLON_EQ, + STATE(58), 1, + sym_comment, + STATE(72), 1, + sym_eol, + [2269] = 1, + ACTIONS(386), 5, anon_sym_PLUS, anon_sym_COLON, anon_sym_DOLLAR, anon_sym_STAR, sym_NAME, - [2173] = 2, - ACTIONS(368), 2, - sym_RAW_STRING, - sym_STRING, - ACTIONS(274), 3, - anon_sym_RBRACK, - sym_INDENTED_RAW_STRING, - sym_INDENTED_STRING, - [2183] = 4, - ACTIONS(360), 1, + [2277] = 4, + ACTIONS(378), 1, anon_sym_LBRACE_LBRACE, - ACTIONS(370), 1, + ACTIONS(388), 1, sym_TEXT, - ACTIONS(372), 1, + ACTIONS(390), 1, sym_NEWLINE, - STATE(94), 2, + STATE(103), 2, sym_interpolation, aux_sym_recipeline_repeat1, - [2197] = 2, - ACTIONS(161), 2, + [2291] = 4, + ACTIONS(338), 1, + anon_sym_LPAREN, + ACTIONS(340), 1, + sym_NAME, + ACTIONS(392), 1, + sym_NEWLINE, + STATE(98), 2, + sym_dependency, + aux_sym_dependencies_repeat1, + [2305] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(66), 1, + sym_eol, + [2318] = 1, + ACTIONS(147), 4, + sym_NEWLINE, + anon_sym_PLUS, + anon_sym_SLASH, aux_sym_comment_token1, - ACTIONS(374), 2, + [2325] = 2, + ACTIONS(394), 1, + anon_sym_LPAREN, + ACTIONS(135), 3, anon_sym_PLUS, anon_sym_SLASH, - [2206] = 4, + anon_sym_RBRACE_RBRACE, + [2334] = 4, ACTIONS(13), 1, aux_sym_comment_token1, ACTIONS(17), 1, sym_NEWLINE, - STATE(56), 1, + STATE(58), 1, + sym_comment, + STATE(67), 1, sym_eol, + [2347] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, STATE(58), 1, sym_comment, - [2219] = 1, - ACTIONS(19), 4, + STATE(64), 1, + sym_eol, + [2360] = 1, + ACTIONS(42), 4, sym_NEWLINE, anon_sym_PLUS, anon_sym_SLASH, aux_sym_comment_token1, - [2226] = 4, + [2367] = 4, ACTIONS(13), 1, aux_sym_comment_token1, ACTIONS(17), 1, sym_NEWLINE, - STATE(52), 1, + STATE(58), 1, + sym_comment, + STATE(65), 1, sym_eol, + [2380] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, STATE(58), 1, sym_comment, - [2239] = 1, - ACTIONS(139), 4, + STATE(74), 1, + sym_eol, + [2393] = 2, + ACTIONS(161), 2, sym_NEWLINE, + aux_sym_comment_token1, + ACTIONS(396), 2, anon_sym_PLUS, anon_sym_SLASH, + [2402] = 4, + ACTIONS(13), 1, aux_sym_comment_token1, - [2246] = 4, + ACTIONS(17), 1, + sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(78), 1, + sym_eol, + [2415] = 4, ACTIONS(13), 1, aux_sym_comment_token1, ACTIONS(17), 1, sym_NEWLINE, + STATE(55), 1, + sym_eol, STATE(58), 1, sym_comment, - STATE(64), 1, + [2428] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(61), 1, sym_eol, - [2259] = 1, - ACTIONS(135), 4, + [2441] = 1, + ACTIONS(139), 4, sym_NEWLINE, anon_sym_PLUS, anon_sym_SLASH, aux_sym_comment_token1, - [2266] = 2, - ACTIONS(376), 1, - anon_sym_LPAREN, - ACTIONS(135), 3, - anon_sym_PLUS, - anon_sym_SLASH, - anon_sym_RBRACE_RBRACE, - [2275] = 1, - ACTIONS(151), 4, + [2448] = 1, + ACTIONS(135), 4, sym_NEWLINE, anon_sym_PLUS, anon_sym_SLASH, aux_sym_comment_token1, - [2282] = 1, - ACTIONS(143), 4, + [2455] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(77), 1, + sym_eol, + [2468] = 1, + ACTIONS(145), 4, sym_NEWLINE, anon_sym_PLUS, anon_sym_SLASH, aux_sym_comment_token1, - [2289] = 4, + [2475] = 4, ACTIONS(13), 1, aux_sym_comment_token1, ACTIONS(17), 1, sym_NEWLINE, STATE(58), 1, sym_comment, - STATE(59), 1, + STATE(76), 1, sym_eol, - [2302] = 1, - ACTIONS(147), 4, + [2488] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(73), 1, + sym_eol, + [2501] = 1, + ACTIONS(149), 4, sym_NEWLINE, anon_sym_PLUS, anon_sym_SLASH, aux_sym_comment_token1, - [2309] = 1, - ACTIONS(242), 3, + [2508] = 4, + ACTIONS(13), 1, + aux_sym_comment_token1, + ACTIONS(17), 1, + sym_NEWLINE, + STATE(58), 1, + sym_comment, + STATE(69), 1, + sym_eol, + [2521] = 1, + ACTIONS(398), 3, sym_DEDENT, sym_notcomment, aux_sym_comment_token1, - [2315] = 1, - ACTIONS(378), 3, - anon_sym_EQ_EQ, - anon_sym_BANG_EQ, - anon_sym_EQ_TILDE, - [2321] = 1, - ACTIONS(380), 3, + [2527] = 1, + ACTIONS(400), 3, + sym_NEWLINE, + anon_sym_LPAREN, + sym_NAME, + [2533] = 1, + ACTIONS(402), 3, + sym_NEWLINE, + anon_sym_LPAREN, + sym_NAME, + [2539] = 1, + ACTIONS(404), 3, sym_DEDENT, sym_notcomment, aux_sym_comment_token1, - [2327] = 3, - ACTIONS(250), 1, + [2545] = 3, + ACTIONS(255), 1, anon_sym_DOLLAR, - ACTIONS(252), 1, + ACTIONS(257), 1, sym_NAME, - STATE(138), 1, + STATE(158), 1, sym_parameter, - [2337] = 1, - ACTIONS(382), 3, - sym_NEWLINE, - anon_sym_LPAREN, - sym_NAME, - [2343] = 2, - ACTIONS(386), 1, - sym_NEWLINE, - ACTIONS(384), 2, - anon_sym_LBRACE_LBRACE, - sym_TEXT, - [2351] = 1, - ACTIONS(388), 3, + [2555] = 1, + ACTIONS(406), 3, sym_DEDENT, sym_notcomment, aux_sym_comment_token1, - [2357] = 2, + [2561] = 2, + ACTIONS(410), 1, + sym_NEWLINE, + ACTIONS(408), 2, + anon_sym_LBRACE_LBRACE, + sym_TEXT, + [2569] = 2, ACTIONS(161), 1, anon_sym_RBRACE_RBRACE, - ACTIONS(390), 2, + ACTIONS(412), 2, anon_sym_PLUS, anon_sym_SLASH, - [2365] = 1, - ACTIONS(392), 3, - sym_NEWLINE, - anon_sym_LPAREN, - sym_NAME, - [2371] = 1, - ACTIONS(394), 3, + [2577] = 1, + ACTIONS(271), 3, sym_DEDENT, sym_notcomment, aux_sym_comment_token1, - [2377] = 1, - ACTIONS(396), 2, - sym_NEWLINE, - aux_sym_comment_token1, - [2382] = 1, - ACTIONS(68), 2, + [2583] = 1, + ACTIONS(414), 3, + anon_sym_EQ_EQ, + anon_sym_BANG_EQ, + anon_sym_EQ_TILDE, + [2589] = 1, + ACTIONS(109), 2, sym_NEWLINE, aux_sym_comment_token1, - [2387] = 2, - ACTIONS(398), 1, + [2594] = 2, + ACTIONS(416), 1, sym_NAME, - STATE(60), 1, + STATE(59), 1, sym_assignment, - [2394] = 2, - ACTIONS(400), 1, + [2601] = 2, + ACTIONS(418), 1, + anon_sym_COMMA, + ACTIONS(420), 1, + anon_sym_RPAREN, + [2608] = 2, + ACTIONS(422), 1, anon_sym_shell, - ACTIONS(402), 1, + ACTIONS(424), 1, sym_NAME, - [2401] = 1, - ACTIONS(64), 2, - sym_NEWLINE, - aux_sym_comment_token1, - [2406] = 1, - ACTIONS(404), 2, + [2615] = 1, + ACTIONS(426), 2, sym_notcomment, aux_sym_comment_token1, - [2411] = 2, - ACTIONS(406), 1, - aux_sym_shebang_token1, - ACTIONS(408), 1, - anon_sym_SLASHusr_SLASHbin_SLASHenv, - [2418] = 1, - ACTIONS(410), 2, + [2620] = 1, + ACTIONS(428), 2, sym_NEWLINE, aux_sym_comment_token1, - [2423] = 2, - ACTIONS(412), 1, + [2625] = 2, + ACTIONS(430), 1, sym_NAME, - STATE(135), 1, + STATE(160), 1, sym_depcall, - [2430] = 2, - ACTIONS(414), 1, - anon_sym_COMMA, - ACTIONS(416), 1, - anon_sym_RPAREN, - [2437] = 1, - ACTIONS(418), 1, - anon_sym_LBRACK, - [2441] = 1, - ACTIONS(420), 1, - sym_NAME, - [2445] = 1, - ACTIONS(422), 1, - anon_sym_RPAREN, - [2449] = 1, - ACTIONS(424), 1, - anon_sym_RPAREN, - [2453] = 1, - ACTIONS(426), 1, - anon_sym_LBRACE, - [2457] = 1, - ACTIONS(428), 1, - anon_sym_COLON, - [2461] = 1, - ACTIONS(268), 1, - sym_NEWLINE, - [2465] = 1, - ACTIONS(430), 1, - anon_sym_RBRACE, - [2469] = 1, + [2632] = 2, ACTIONS(432), 1, - anon_sym_RBRACE, - [2473] = 1, - ACTIONS(330), 1, - sym_NEWLINE, - [2477] = 1, + aux_sym_shebang_token1, ACTIONS(434), 1, - anon_sym_DQUOTE, - [2481] = 1, + anon_sym_SLASHusr_SLASHbin_SLASHenv, + [2639] = 1, + ACTIONS(113), 2, + sym_NEWLINE, + aux_sym_comment_token1, + [2644] = 1, ACTIONS(436), 1, - anon_sym_COLON, - [2485] = 1, - ACTIONS(438), 1, anon_sym_LBRACE, - [2489] = 1, - ACTIONS(264), 1, - sym_NEWLINE, - [2493] = 1, + [2648] = 1, + ACTIONS(438), 1, + anon_sym_COLON, + [2652] = 1, ACTIONS(440), 1, - sym_NEWLINE, - [2497] = 1, + anon_sym_RBRACE, + [2656] = 1, ACTIONS(442), 1, - anon_sym_DQUOTE, - [2501] = 1, + anon_sym_LBRACE, + [2660] = 1, ACTIONS(444), 1, - sym_DEDENT, - [2505] = 1, + anon_sym_RPAREN, + [2664] = 1, ACTIONS(446), 1, sym_DEDENT, - [2509] = 1, + [2668] = 1, ACTIONS(448), 1, - sym_NAME, - [2513] = 1, + sym_NEWLINE, + [2672] = 1, ACTIONS(450), 1, - anon_sym_RBRACK, - [2517] = 1, + anon_sym_RBRACE, + [2676] = 1, ACTIONS(452), 1, - sym_TEXT, - [2521] = 1, + anon_sym_RBRACK, + [2680] = 1, ACTIONS(454), 1, - anon_sym_COLON, - [2525] = 1, + anon_sym_RBRACK, + [2684] = 1, ACTIONS(456), 1, - sym_NAME, - [2529] = 1, + sym_TEXT, + [2688] = 1, ACTIONS(458), 1, - sym_NEWLINE, - [2533] = 1, + anon_sym_COLON, + [2692] = 1, ACTIONS(460), 1, - sym_NAME, - [2537] = 1, - ACTIONS(64), 1, - anon_sym_RBRACE_RBRACE, - [2541] = 1, - ACTIONS(314), 1, anon_sym_COLON, - [2545] = 1, - ACTIONS(68), 1, - anon_sym_RBRACE_RBRACE, - [2549] = 1, + [2696] = 1, ACTIONS(462), 1, - anon_sym_RBRACE_RBRACE, - [2553] = 1, + anon_sym_RPAREN, + [2700] = 1, ACTIONS(464), 1, - anon_sym_LBRACE, - [2557] = 1, + anon_sym_RPAREN, + [2704] = 1, ACTIONS(466), 1, - sym_NEWLINE, - [2561] = 1, + anon_sym_LBRACK, + [2708] = 1, ACTIONS(468), 1, - anon_sym_RPAREN, - [2565] = 1, + sym_NAME, + [2712] = 1, ACTIONS(470), 1, - sym_NEWLINE, - [2569] = 1, + anon_sym_LBRACE, + [2716] = 1, + ACTIONS(344), 1, + anon_sym_COLON, + [2720] = 1, ACTIONS(472), 1, - anon_sym_RPAREN, - [2573] = 1, + sym_NAME, + [2724] = 1, ACTIONS(474), 1, - anon_sym_RBRACE, - [2577] = 1, + anon_sym_RBRACK, + [2728] = 1, + ACTIONS(332), 1, + sym_NEWLINE, + [2732] = 1, ACTIONS(476), 1, - anon_sym_RPAREN, - [2581] = 1, + sym_NEWLINE, + [2736] = 1, ACTIONS(478), 1, - anon_sym_RPAREN, - [2585] = 1, + sym_DEDENT, + [2740] = 1, + ACTIONS(342), 1, + sym_NEWLINE, + [2744] = 1, + ACTIONS(109), 1, + anon_sym_RBRACE_RBRACE, + [2748] = 1, ACTIONS(480), 1, anon_sym_COLON_EQ, - [2589] = 1, + [2752] = 1, + ACTIONS(113), 1, + anon_sym_RBRACE_RBRACE, + [2756] = 1, ACTIONS(482), 1, - anon_sym_RPAREN, - [2593] = 1, + anon_sym_RBRACE_RBRACE, + [2760] = 1, ACTIONS(484), 1, - anon_sym_RBRACE, - [2597] = 1, + sym_NEWLINE, + [2764] = 1, ACTIONS(486), 1, - aux_sym_comment_token2, - [2601] = 1, - ACTIONS(304), 1, - anon_sym_COLON_EQ, - [2605] = 1, + sym_NEWLINE, + [2768] = 1, ACTIONS(488), 1, + anon_sym_RPAREN, + [2772] = 1, + ACTIONS(310), 1, anon_sym_COLON_EQ, - [2609] = 1, + [2776] = 1, ACTIONS(490), 1, - sym_NEWLINE, - [2613] = 1, + anon_sym_RPAREN, + [2780] = 1, ACTIONS(492), 1, - ts_builtin_sym_end, - [2617] = 1, + anon_sym_RBRACE, + [2784] = 1, ACTIONS(494), 1, - anon_sym_LBRACE, - [2621] = 1, + anon_sym_COLON_EQ, + [2788] = 1, ACTIONS(496), 1, - anon_sym_LBRACE, - [2625] = 1, + anon_sym_RPAREN, + [2792] = 1, ACTIONS(498), 1, - anon_sym_else, - [2629] = 1, + sym_NEWLINE, + [2796] = 1, ACTIONS(500), 1, - anon_sym_else, - [2633] = 1, + anon_sym_RPAREN, + [2800] = 1, ACTIONS(502), 1, anon_sym_RBRACE, - [2637] = 1, + [2804] = 1, ACTIONS(504), 1, - anon_sym_RBRACE, - [2641] = 1, - ACTIONS(506), 1, aux_sym_comment_token2, - [2645] = 1, + [2808] = 1, + ACTIONS(506), 1, + anon_sym_RPAREN, + [2812] = 1, ACTIONS(508), 1, - sym_NAME, - [2649] = 1, + ts_builtin_sym_end, + [2816] = 1, + ACTIONS(328), 1, + sym_NEWLINE, + [2820] = 1, ACTIONS(510), 1, - anon_sym_LBRACE, - [2653] = 1, + aux_sym_comment_token2, + [2824] = 1, ACTIONS(512), 1, anon_sym_LBRACE, - [2657] = 1, + [2828] = 1, ACTIONS(514), 1, - anon_sym_RPAREN, - [2661] = 1, + anon_sym_LBRACE, + [2832] = 1, ACTIONS(516), 1, anon_sym_else, + [2836] = 1, + ACTIONS(518), 1, + anon_sym_else, + [2840] = 1, + ACTIONS(520), 1, + anon_sym_RBRACE, + [2844] = 1, + ACTIONS(522), 1, + anon_sym_RBRACE, + [2848] = 1, + ACTIONS(524), 1, + sym_NAME, + [2852] = 1, + ACTIONS(526), 1, + anon_sym_else, + [2856] = 1, + ACTIONS(528), 1, + anon_sym_LBRACE, + [2860] = 1, + ACTIONS(530), 1, + anon_sym_LBRACE, + [2864] = 1, + ACTIONS(532), 1, + anon_sym_RBRACK, + [2868] = 1, + ACTIONS(534), 1, + sym_NAME, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 23, + [SMALL_STATE(3)] = 43, [SMALL_STATE(4)] = 66, [SMALL_STATE(5)] = 109, - [SMALL_STATE(6)] = 150, - [SMALL_STATE(7)] = 171, - [SMALL_STATE(8)] = 192, - [SMALL_STATE(9)] = 231, - [SMALL_STATE(10)] = 272, - [SMALL_STATE(11)] = 311, - [SMALL_STATE(12)] = 352, - [SMALL_STATE(13)] = 393, + [SMALL_STATE(6)] = 148, + [SMALL_STATE(7)] = 189, + [SMALL_STATE(8)] = 228, + [SMALL_STATE(9)] = 269, + [SMALL_STATE(10)] = 308, + [SMALL_STATE(11)] = 349, + [SMALL_STATE(12)] = 390, + [SMALL_STATE(13)] = 411, [SMALL_STATE(14)] = 432, [SMALL_STATE(15)] = 470, [SMALL_STATE(16)] = 508, @@ -4143,419 +4373,444 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(23)] = 756, [SMALL_STATE(24)] = 791, [SMALL_STATE(25)] = 826, - [SMALL_STATE(26)] = 845, - [SMALL_STATE(27)] = 880, - [SMALL_STATE(28)] = 915, - [SMALL_STATE(29)] = 950, - [SMALL_STATE(30)] = 985, - [SMALL_STATE(31)] = 1020, + [SMALL_STATE(26)] = 861, + [SMALL_STATE(27)] = 896, + [SMALL_STATE(28)] = 931, + [SMALL_STATE(29)] = 966, + [SMALL_STATE(30)] = 1001, + [SMALL_STATE(31)] = 1036, [SMALL_STATE(32)] = 1055, [SMALL_STATE(33)] = 1090, [SMALL_STATE(34)] = 1125, [SMALL_STATE(35)] = 1141, [SMALL_STATE(36)] = 1159, [SMALL_STATE(37)] = 1177, - [SMALL_STATE(38)] = 1195, - [SMALL_STATE(39)] = 1211, - [SMALL_STATE(40)] = 1229, - [SMALL_STATE(41)] = 1245, - [SMALL_STATE(42)] = 1261, - [SMALL_STATE(43)] = 1279, + [SMALL_STATE(38)] = 1193, + [SMALL_STATE(39)] = 1209, + [SMALL_STATE(40)] = 1225, + [SMALL_STATE(41)] = 1241, + [SMALL_STATE(42)] = 1259, + [SMALL_STATE(43)] = 1277, [SMALL_STATE(44)] = 1295, [SMALL_STATE(45)] = 1313, [SMALL_STATE(46)] = 1332, - [SMALL_STATE(47)] = 1349, - [SMALL_STATE(48)] = 1378, + [SMALL_STATE(47)] = 1361, + [SMALL_STATE(48)] = 1390, [SMALL_STATE(49)] = 1407, [SMALL_STATE(50)] = 1435, [SMALL_STATE(51)] = 1454, [SMALL_STATE(52)] = 1468, - [SMALL_STATE(53)] = 1481, - [SMALL_STATE(54)] = 1494, - [SMALL_STATE(55)] = 1507, - [SMALL_STATE(56)] = 1520, - [SMALL_STATE(57)] = 1533, - [SMALL_STATE(58)] = 1546, - [SMALL_STATE(59)] = 1559, - [SMALL_STATE(60)] = 1572, - [SMALL_STATE(61)] = 1585, - [SMALL_STATE(62)] = 1598, - [SMALL_STATE(63)] = 1617, - [SMALL_STATE(64)] = 1636, - [SMALL_STATE(65)] = 1649, - [SMALL_STATE(66)] = 1668, - [SMALL_STATE(67)] = 1681, - [SMALL_STATE(68)] = 1702, - [SMALL_STATE(69)] = 1715, - [SMALL_STATE(70)] = 1735, - [SMALL_STATE(71)] = 1755, + [SMALL_STATE(53)] = 1488, + [SMALL_STATE(54)] = 1501, + [SMALL_STATE(55)] = 1514, + [SMALL_STATE(56)] = 1527, + [SMALL_STATE(57)] = 1540, + [SMALL_STATE(58)] = 1561, + [SMALL_STATE(59)] = 1574, + [SMALL_STATE(60)] = 1587, + [SMALL_STATE(61)] = 1608, + [SMALL_STATE(62)] = 1621, + [SMALL_STATE(63)] = 1634, + [SMALL_STATE(64)] = 1647, + [SMALL_STATE(65)] = 1660, + [SMALL_STATE(66)] = 1673, + [SMALL_STATE(67)] = 1686, + [SMALL_STATE(68)] = 1699, + [SMALL_STATE(69)] = 1720, + [SMALL_STATE(70)] = 1733, + [SMALL_STATE(71)] = 1754, [SMALL_STATE(72)] = 1775, - [SMALL_STATE(73)] = 1793, - [SMALL_STATE(74)] = 1811, - [SMALL_STATE(75)] = 1829, - [SMALL_STATE(76)] = 1847, - [SMALL_STATE(77)] = 1865, - [SMALL_STATE(78)] = 1883, - [SMALL_STATE(79)] = 1901, - [SMALL_STATE(80)] = 1917, - [SMALL_STATE(81)] = 1937, - [SMALL_STATE(82)] = 1948, - [SMALL_STATE(83)] = 1959, - [SMALL_STATE(84)] = 1976, - [SMALL_STATE(85)] = 1993, - [SMALL_STATE(86)] = 2004, - [SMALL_STATE(87)] = 2021, - [SMALL_STATE(88)] = 2034, - [SMALL_STATE(89)] = 2051, - [SMALL_STATE(90)] = 2065, - [SMALL_STATE(91)] = 2075, - [SMALL_STATE(92)] = 2087, - [SMALL_STATE(93)] = 2095, - [SMALL_STATE(94)] = 2111, - [SMALL_STATE(95)] = 2125, - [SMALL_STATE(96)] = 2137, - [SMALL_STATE(97)] = 2151, - [SMALL_STATE(98)] = 2165, - [SMALL_STATE(99)] = 2173, - [SMALL_STATE(100)] = 2183, - [SMALL_STATE(101)] = 2197, - [SMALL_STATE(102)] = 2206, - [SMALL_STATE(103)] = 2219, - [SMALL_STATE(104)] = 2226, - [SMALL_STATE(105)] = 2239, - [SMALL_STATE(106)] = 2246, - [SMALL_STATE(107)] = 2259, - [SMALL_STATE(108)] = 2266, - [SMALL_STATE(109)] = 2275, - [SMALL_STATE(110)] = 2282, - [SMALL_STATE(111)] = 2289, - [SMALL_STATE(112)] = 2302, - [SMALL_STATE(113)] = 2309, - [SMALL_STATE(114)] = 2315, - [SMALL_STATE(115)] = 2321, - [SMALL_STATE(116)] = 2327, - [SMALL_STATE(117)] = 2337, - [SMALL_STATE(118)] = 2343, - [SMALL_STATE(119)] = 2351, - [SMALL_STATE(120)] = 2357, - [SMALL_STATE(121)] = 2365, - [SMALL_STATE(122)] = 2371, - [SMALL_STATE(123)] = 2377, - [SMALL_STATE(124)] = 2382, - [SMALL_STATE(125)] = 2387, - [SMALL_STATE(126)] = 2394, - [SMALL_STATE(127)] = 2401, - [SMALL_STATE(128)] = 2406, - [SMALL_STATE(129)] = 2411, - [SMALL_STATE(130)] = 2418, - [SMALL_STATE(131)] = 2423, - [SMALL_STATE(132)] = 2430, - [SMALL_STATE(133)] = 2437, - [SMALL_STATE(134)] = 2441, - [SMALL_STATE(135)] = 2445, - [SMALL_STATE(136)] = 2449, - [SMALL_STATE(137)] = 2453, - [SMALL_STATE(138)] = 2457, - [SMALL_STATE(139)] = 2461, - [SMALL_STATE(140)] = 2465, - [SMALL_STATE(141)] = 2469, - [SMALL_STATE(142)] = 2473, - [SMALL_STATE(143)] = 2477, - [SMALL_STATE(144)] = 2481, - [SMALL_STATE(145)] = 2485, - [SMALL_STATE(146)] = 2489, - [SMALL_STATE(147)] = 2493, - [SMALL_STATE(148)] = 2497, - [SMALL_STATE(149)] = 2501, - [SMALL_STATE(150)] = 2505, - [SMALL_STATE(151)] = 2509, - [SMALL_STATE(152)] = 2513, - [SMALL_STATE(153)] = 2517, - [SMALL_STATE(154)] = 2521, - [SMALL_STATE(155)] = 2525, - [SMALL_STATE(156)] = 2529, - [SMALL_STATE(157)] = 2533, - [SMALL_STATE(158)] = 2537, - [SMALL_STATE(159)] = 2541, - [SMALL_STATE(160)] = 2545, - [SMALL_STATE(161)] = 2549, - [SMALL_STATE(162)] = 2553, - [SMALL_STATE(163)] = 2557, - [SMALL_STATE(164)] = 2561, - [SMALL_STATE(165)] = 2565, - [SMALL_STATE(166)] = 2569, - [SMALL_STATE(167)] = 2573, - [SMALL_STATE(168)] = 2577, - [SMALL_STATE(169)] = 2581, - [SMALL_STATE(170)] = 2585, - [SMALL_STATE(171)] = 2589, - [SMALL_STATE(172)] = 2593, - [SMALL_STATE(173)] = 2597, - [SMALL_STATE(174)] = 2601, - [SMALL_STATE(175)] = 2605, - [SMALL_STATE(176)] = 2609, - [SMALL_STATE(177)] = 2613, - [SMALL_STATE(178)] = 2617, - [SMALL_STATE(179)] = 2621, - [SMALL_STATE(180)] = 2625, - [SMALL_STATE(181)] = 2629, - [SMALL_STATE(182)] = 2633, - [SMALL_STATE(183)] = 2637, - [SMALL_STATE(184)] = 2641, - [SMALL_STATE(185)] = 2645, - [SMALL_STATE(186)] = 2649, - [SMALL_STATE(187)] = 2653, - [SMALL_STATE(188)] = 2657, - [SMALL_STATE(189)] = 2661, + [SMALL_STATE(73)] = 1788, + [SMALL_STATE(74)] = 1801, + [SMALL_STATE(75)] = 1814, + [SMALL_STATE(76)] = 1827, + [SMALL_STATE(77)] = 1840, + [SMALL_STATE(78)] = 1853, + [SMALL_STATE(79)] = 1866, + [SMALL_STATE(80)] = 1882, + [SMALL_STATE(81)] = 1898, + [SMALL_STATE(82)] = 1916, + [SMALL_STATE(83)] = 1936, + [SMALL_STATE(84)] = 1954, + [SMALL_STATE(85)] = 1972, + [SMALL_STATE(86)] = 1990, + [SMALL_STATE(87)] = 2010, + [SMALL_STATE(88)] = 2030, + [SMALL_STATE(89)] = 2050, + [SMALL_STATE(90)] = 2061, + [SMALL_STATE(91)] = 2078, + [SMALL_STATE(92)] = 2095, + [SMALL_STATE(93)] = 2112, + [SMALL_STATE(94)] = 2129, + [SMALL_STATE(95)] = 2144, + [SMALL_STATE(96)] = 2155, + [SMALL_STATE(97)] = 2170, + [SMALL_STATE(98)] = 2181, + [SMALL_STATE(99)] = 2195, + [SMALL_STATE(100)] = 2207, + [SMALL_STATE(101)] = 2221, + [SMALL_STATE(102)] = 2229, + [SMALL_STATE(103)] = 2239, + [SMALL_STATE(104)] = 2253, + [SMALL_STATE(105)] = 2269, + [SMALL_STATE(106)] = 2277, + [SMALL_STATE(107)] = 2291, + [SMALL_STATE(108)] = 2305, + [SMALL_STATE(109)] = 2318, + [SMALL_STATE(110)] = 2325, + [SMALL_STATE(111)] = 2334, + [SMALL_STATE(112)] = 2347, + [SMALL_STATE(113)] = 2360, + [SMALL_STATE(114)] = 2367, + [SMALL_STATE(115)] = 2380, + [SMALL_STATE(116)] = 2393, + [SMALL_STATE(117)] = 2402, + [SMALL_STATE(118)] = 2415, + [SMALL_STATE(119)] = 2428, + [SMALL_STATE(120)] = 2441, + [SMALL_STATE(121)] = 2448, + [SMALL_STATE(122)] = 2455, + [SMALL_STATE(123)] = 2468, + [SMALL_STATE(124)] = 2475, + [SMALL_STATE(125)] = 2488, + [SMALL_STATE(126)] = 2501, + [SMALL_STATE(127)] = 2508, + [SMALL_STATE(128)] = 2521, + [SMALL_STATE(129)] = 2527, + [SMALL_STATE(130)] = 2533, + [SMALL_STATE(131)] = 2539, + [SMALL_STATE(132)] = 2545, + [SMALL_STATE(133)] = 2555, + [SMALL_STATE(134)] = 2561, + [SMALL_STATE(135)] = 2569, + [SMALL_STATE(136)] = 2577, + [SMALL_STATE(137)] = 2583, + [SMALL_STATE(138)] = 2589, + [SMALL_STATE(139)] = 2594, + [SMALL_STATE(140)] = 2601, + [SMALL_STATE(141)] = 2608, + [SMALL_STATE(142)] = 2615, + [SMALL_STATE(143)] = 2620, + [SMALL_STATE(144)] = 2625, + [SMALL_STATE(145)] = 2632, + [SMALL_STATE(146)] = 2639, + [SMALL_STATE(147)] = 2644, + [SMALL_STATE(148)] = 2648, + [SMALL_STATE(149)] = 2652, + [SMALL_STATE(150)] = 2656, + [SMALL_STATE(151)] = 2660, + [SMALL_STATE(152)] = 2664, + [SMALL_STATE(153)] = 2668, + [SMALL_STATE(154)] = 2672, + [SMALL_STATE(155)] = 2676, + [SMALL_STATE(156)] = 2680, + [SMALL_STATE(157)] = 2684, + [SMALL_STATE(158)] = 2688, + [SMALL_STATE(159)] = 2692, + [SMALL_STATE(160)] = 2696, + [SMALL_STATE(161)] = 2700, + [SMALL_STATE(162)] = 2704, + [SMALL_STATE(163)] = 2708, + [SMALL_STATE(164)] = 2712, + [SMALL_STATE(165)] = 2716, + [SMALL_STATE(166)] = 2720, + [SMALL_STATE(167)] = 2724, + [SMALL_STATE(168)] = 2728, + [SMALL_STATE(169)] = 2732, + [SMALL_STATE(170)] = 2736, + [SMALL_STATE(171)] = 2740, + [SMALL_STATE(172)] = 2744, + [SMALL_STATE(173)] = 2748, + [SMALL_STATE(174)] = 2752, + [SMALL_STATE(175)] = 2756, + [SMALL_STATE(176)] = 2760, + [SMALL_STATE(177)] = 2764, + [SMALL_STATE(178)] = 2768, + [SMALL_STATE(179)] = 2772, + [SMALL_STATE(180)] = 2776, + [SMALL_STATE(181)] = 2780, + [SMALL_STATE(182)] = 2784, + [SMALL_STATE(183)] = 2788, + [SMALL_STATE(184)] = 2792, + [SMALL_STATE(185)] = 2796, + [SMALL_STATE(186)] = 2800, + [SMALL_STATE(187)] = 2804, + [SMALL_STATE(188)] = 2808, + [SMALL_STATE(189)] = 2812, + [SMALL_STATE(190)] = 2816, + [SMALL_STATE(191)] = 2820, + [SMALL_STATE(192)] = 2824, + [SMALL_STATE(193)] = 2828, + [SMALL_STATE(194)] = 2832, + [SMALL_STATE(195)] = 2836, + [SMALL_STATE(196)] = 2840, + [SMALL_STATE(197)] = 2844, + [SMALL_STATE(198)] = 2848, + [SMALL_STATE(199)] = 2852, + [SMALL_STATE(200)] = 2856, + [SMALL_STATE(201)] = 2860, + [SMALL_STATE(202)] = 2864, + [SMALL_STATE(203)] = 2868, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0), - [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(125), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(126), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184), - [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139), + [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141), + [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191), + [15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82), [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1), - [21] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 1), - [23] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), - [25] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(155), - [28] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(125), - [31] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(126), - [34] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(185), - [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(184), - [40] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(80), - [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(58), + [19] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), + [21] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(203), + [24] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(139), + [27] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(141), + [30] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(198), + [33] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(191), + [36] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(82), + [39] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(58), + [42] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_string, 1), + [44] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_string, 1), [46] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1), [48] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15), - [50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), - [52] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [54] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), - [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), - [58] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), - [60] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2), - [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), - [66] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), - [68] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 9, .production_id = 6), - [70] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 9, .production_id = 6), - [72] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), - [74] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_depcall, 2), - [76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36), - [78] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46), - [82] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35), - [84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), - [86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), - [88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(15), - [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(28), - [94] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), - [96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(36), - [99] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(36), - [102] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(46), - [105] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(35), - [108] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(35), - [111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 2), - [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_depcall, 1), + [50] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [52] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_depcall, 1), + [54] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), + [56] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [58] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48), + [60] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43), + [62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), + [64] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [66] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), + [68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), + [70] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), + [72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), + [76] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_depcall, 2), + [80] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 2), + [82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(15), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(26), + [88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(42), + [93] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(42), + [96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(48), + [99] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(43), + [102] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_depcall_repeat1, 2), SHIFT_REPEAT(43), + [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3), + [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3), + [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 9, .production_id = 17), + [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 9, .production_id = 17), [117] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16), - [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), - [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), - [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), + [121] = {.entry = {.count = 1, .reusable = false}}, SHIFT(109), + [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [125] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), + [127] = {.entry = {.count = 1, .reusable = false}}, SHIFT(113), + [129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), [131] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), - [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(108), + [133] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110), [135] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 1), - [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3), - [141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cmd, 1), - [143] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd, 1), - [145] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), - [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4), - [149] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 3), - [151] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 3), - [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3), - [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4), + [137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [139] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 4), + [141] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 4), + [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 3), + [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_value, 3), + [147] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd, 1), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call, 3), + [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call, 3), + [153] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cmd, 1), + [155] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_value, 1), [157] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 1), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), [161] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 1), - [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), - [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173), - [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), + [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145), + [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(187), + [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), [173] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe, 2), [175] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_recipe, 2), [177] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [181] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), - [183] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), [185] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 3), [187] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_body, 3), - [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe, 3), - [191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_recipe, 3), - [193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alias, 4, .production_id = 2), - [195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_alias, 4, .production_id = 2), - [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 5, .production_id = 3), - [199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 5, .production_id = 3), - [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), - [203] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [189] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 2), + [191] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_body, 2), + [193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 6, .production_id = 4), + [195] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 6, .production_id = 4), + [197] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_item, 1), + [199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_item, 1), + [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(127), [205] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_eol, 1), [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_eol, 1), - [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 10, .production_id = 5), - [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 10, .production_id = 5), - [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_export, 2), - [215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_export, 2), - [217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_body, 2), - [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_body, 2), - [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [225] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2), SHIFT_REPEAT(91), - [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2), - [230] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_setting_repeat1, 2), SHIFT_REPEAT(2), - [233] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2), SHIFT_REPEAT(2), - [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 9, .production_id = 5), - [238] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 9, .production_id = 5), - [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), - [242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), - [244] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 3), - [246] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 1), - [250] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), - [252] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 3, .production_id = 1), - [256] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 3, .production_id = 1), - [258] = {.entry = {.count = 1, .reusable = false}}, SHIFT(131), - [260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [262] = {.entry = {.count = 1, .reusable = false}}, SHIFT(121), - [264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeheader, 3), - [266] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [268] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeheader, 4), - [270] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeheader, 2), - [274] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_stringlist_repeat1, 2), - [276] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_stringlist_repeat1, 2), SHIFT_REPEAT(2), - [279] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_stringlist_repeat1, 2), SHIFT_REPEAT(2), - [282] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), SHIFT_REPEAT(97), - [285] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), SHIFT_REPEAT(173), - [288] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), - [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang_body, 1), - [292] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_body, 1), - [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_stringlist, 1), - [296] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), - [298] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(134), - [301] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(82), - [304] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [306] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), - [308] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_setting_repeat1, 2), - [310] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 1), - [312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [314] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [316] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), - [318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121), - [320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), - [322] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [324] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), - [326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_stringlist_repeat1, 1), - [328] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_stringlist_repeat1, 1), - [330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeheader, 5), - [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependencies, 1), - [334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 3), - [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95), - [340] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_recipeline_repeat1, 2), SHIFT_REPEAT(33), - [343] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_recipeline_repeat1, 2), SHIFT_REPEAT(94), - [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_recipeline_repeat1, 2), - [348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [350] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), - [352] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), SHIFT_REPEAT(131), - [355] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), SHIFT_REPEAT(121), - [358] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), - [360] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), - [362] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), - [364] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), - [366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 4), - [368] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_stringlist_repeat1, 2), - [370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [372] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), - [374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeline, 2), - [382] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependency, 3), - [384] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_interpolation, 3), - [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpolation, 3), - [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeline, 3), - [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependency, 1), - [394] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line, 1), - [396] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), - [398] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), - [400] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170), - [402] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), - [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang, 4, .production_id = 4), - [406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(153), - [408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153), - [410] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_settinglist, 3), - [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [416] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 1), - [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143), - [420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [422] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [424] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variadic_parameters, 2), - [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(189), - [434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151), - [436] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2), - [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 3), - [440] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeheader, 6), - [442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [446] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang_recipe, 2), - [448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148), - [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), - [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156), - [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175), - [458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), - [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), - [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), - [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), - [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [478] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), - [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160), - [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), - [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), - [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [492] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178), - [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), - [502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180), - [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181), - [506] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165), - [508] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83), - [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [514] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 3), - [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_export, 2), + [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_export, 2), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), + [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 6, .production_id = 5), + [217] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 6, .production_id = 5), + [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe, 3), + [221] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_recipe, 3), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_alias, 4, .production_id = 2), + [225] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_alias, 4, .production_id = 2), + [227] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 7, .production_id = 7), + [229] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 7, .production_id = 7), + [231] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 7, .production_id = 9), + [233] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 7, .production_id = 9), + [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 8, .production_id = 11), + [237] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 8, .production_id = 11), + [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 5, .production_id = 3), + [241] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 5, .production_id = 3), + [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 8, .production_id = 12), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 8, .production_id = 12), + [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132), + [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 1), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [259] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 3, .production_id = 1), + [261] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 3, .production_id = 1), + [263] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 8, .production_id = 13), + [265] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 8, .production_id = 13), + [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment, 4), + [269] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment, 4), + [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 3), + [273] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 3), + [275] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 8, .production_id = 14), + [277] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 8, .production_id = 14), + [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 9, .production_id = 15), + [281] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 9, .production_id = 15), + [283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setting, 9, .production_id = 16), + [285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setting, 9, .production_id = 16), + [287] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2, .production_id = 8), SHIFT_REPEAT(99), + [290] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2, .production_id = 8), + [292] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_setting_repeat1, 2, .production_id = 8), + [294] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), + [296] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(166), + [299] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_parameters_repeat1, 2), SHIFT_REPEAT(89), + [302] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), SHIFT_REPEAT(106), + [305] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), SHIFT_REPEAT(187), + [308] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_shebang_body_repeat1, 2), + [310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [312] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang_body, 1), + [316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_body, 1), + [318] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144), + [320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [322] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130), + [324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_header, 2), + [326] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_header, 3), + [330] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_header, 4), + [334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 1), + [336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144), + [340] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130), + [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_header, 5), + [344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [348] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setting_repeat1, 2, .production_id = 6), + [350] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_setting_repeat1, 2, .production_id = 6), + [352] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), + [354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 2), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [358] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), SHIFT_REPEAT(144), + [361] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), SHIFT_REPEAT(130), + [364] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_dependencies_repeat1, 2), + [366] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_recipeline_repeat1, 2), SHIFT_REPEAT(27), + [369] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_recipeline_repeat1, 2), SHIFT_REPEAT(100), + [372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_recipeline_repeat1, 2), + [374] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 4), + [376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(27), + [380] = {.entry = {.count = 1, .reusable = false}}, SHIFT(100), + [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131), + [384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [386] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameter, 3), + [388] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), + [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133), + [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependencies, 1), + [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), + [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_line, 1), + [400] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependency, 3), + [402] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_dependency, 1), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeline, 3), + [406] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipeline, 2), + [408] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_interpolation, 3), + [410] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_interpolation, 3), + [412] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [414] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), + [416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179), + [418] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [420] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 1), + [422] = {.entry = {.count = 1, .reusable = false}}, SHIFT(173), + [424] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104), + [426] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang, 4, .production_id = 10), + [428] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_boolean, 1), + [430] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [432] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157), + [434] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157), + [436] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parameters, 2), + [440] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199), + [442] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_condition, 3), + [444] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120), + [446] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [448] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_recipe_header, 6), + [450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146), + [452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), + [454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176), + [458] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variadic_parameters, 2), + [460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129), + [464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123), + [466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [474] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [476] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_shebang_recipe, 2), + [480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162), + [482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134), + [484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142), + [486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136), + [488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163), + [496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [502] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174), + [504] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177), + [506] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_sequence, 3), + [508] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [510] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169), + [512] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [514] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [516] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192), + [518] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193), + [520] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194), + [522] = {.entry = {.count = 1, .reusable = true}}, SHIFT(195), + [524] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [526] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147), + [528] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), + [530] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [532] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), + [534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182), }; #ifdef __cplusplus diff --git a/test/corpus/recipes.txt b/test/corpus/recipes.txt index 6836268..ec3c6eb 100644 --- a/test/corpus/recipes.txt +++ b/test/corpus/recipes.txt @@ -16,7 +16,7 @@ bar: (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body @@ -29,7 +29,7 @@ bar: (DEDENT)))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body @@ -56,7 +56,7 @@ quiet (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body @@ -83,7 +83,7 @@ foo: bar baz (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME) (dependencies (dependency @@ -118,7 +118,7 @@ baz qux *quux: (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME) (parameters (parameter @@ -134,7 +134,7 @@ baz qux *quux: (DEDENT)))) (item (recipe - (recipeheader + (recipe_header (NAME) (parameters (parameter @@ -167,7 +167,7 @@ foo +bar: baz(bar) (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME) (parameters (parameter @@ -213,7 +213,7 @@ foo: (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE))) (ERROR @@ -240,7 +240,7 @@ foo: (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body @@ -299,7 +299,7 @@ bar: (NEWLINE))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body @@ -326,7 +326,7 @@ bar: (DEDENT)))) (item (recipe - (recipeheader + (recipe_header (NAME)) (NEWLINE) (body diff --git a/test/corpus/statements.txt b/test/corpus/statements.txt index 3173a8c..3995b34 100644 --- a/test/corpus/statements.txt +++ b/test/corpus/statements.txt @@ -170,19 +170,15 @@ corge := "foo\"bar" (INDENTED_RAW_STRING)))) (eol (NEWLINE)))) - (item - (assignment - (NAME) - (ERROR - (value - (string - (STRING)))) - (expression - (value - (NAME))) - (ERROR) - (eol - (NEWLINE))))) + (ERROR + (NAME) + (ERROR + (value + (string + (STRING)))) + (NAME) + (INDENT) + (UNEXPECTED '\0'))) ================================================================================ if @@ -324,12 +320,13 @@ mod bar 'PATH' (NEWLINE)))) ================================================================================ -set # FIXME(array): XFAIL arrays +set ================================================================================ set SOME_BOOL set FOO := true set dotenv-load +set tempdir := "/tmp/just" set shell := ["powershell.exe", "-c"] -------------------------------------------------------------------------------- @@ -357,10 +354,14 @@ set shell := ["powershell.exe", "-c"] (item (setting (NAME) - (ERROR - (INDENT) - (UNEXPECTED '.') - (NAME)) + (string + (STRING)) + (eol + (NEWLINE)))) + (item + (setting + (string + (STRING)) (string (STRING)) (eol