tree-sitter-cmake/src/parser.c

4440 lines
122 KiB
C
Raw Normal View History

2021-04-10 10:29:19 -04:00
#include <tree_sitter/parser.h>
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#define LANGUAGE_VERSION 13
#define STATE_COUNT 213
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 64
2021-04-10 10:29:19 -04:00
#define ALIAS_COUNT 0
#define TOKEN_COUNT 29
2021-04-10 10:29:19 -04:00
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 13
2021-04-10 10:29:19 -04:00
#define PRODUCTION_ID_COUNT 1
enum {
sym_space = 1,
sym_newline = 2,
sym_identifier = 3,
sym__escape_identity = 4,
anon_sym_BSLASHt = 5,
anon_sym_BSLASHr = 6,
anon_sym_BSLASHn = 7,
sym__escape_semicolon = 8,
aux_sym_variable_token1 = 9,
anon_sym_DOLLAR_LBRACE = 10,
anon_sym_RBRACE = 11,
anon_sym_DOLLARENV_LBRACE = 12,
anon_sym_DOLLARCACHE_LBRACE = 13,
anon_sym_LBRACK = 14,
anon_sym_EQ = 15,
aux_sym_bracket_content_token1 = 16,
anon_sym_RBRACK = 17,
anon_sym_DQUOTE = 18,
aux_sym_quoted_element_token1 = 19,
anon_sym_BSLASH = 20,
aux_sym_unquoted_argument_token1 = 21,
anon_sym_foreach = 22,
anon_sym_LPAREN = 23,
anon_sym_RPAREN = 24,
anon_sym_endforeach = 25,
anon_sym_a = 26,
anon_sym_b = 27,
anon_sym_c = 28,
sym_source_file = 29,
sym_line_ending = 30,
sym_seperation = 31,
sym_escape_sequence = 32,
sym__escape_encoded = 33,
sym_variable = 34,
sym_variable_ref = 35,
sym_normal_var = 36,
sym_env_var = 37,
sym_cache_var = 38,
sym_argument = 39,
sym_bracket_argument = 40,
sym__bracket_open = 41,
sym_bracket_content = 42,
sym__bracket_close = 43,
sym_quoted_argument = 44,
sym_quoted_element = 45,
sym_unquoted_argument = 46,
sym_arguments = 47,
sym__seperated_arguments = 48,
sym_foreach_loop = 49,
sym_foreach_range = 50,
sym_foreach_lists_items = 51,
sym_foreach_zip_lists = 52,
sym_normal_command = 53,
sym_command_invocation = 54,
aux_sym_source_file_repeat1 = 55,
aux_sym_variable_repeat1 = 56,
aux_sym__bracket_open_repeat1 = 57,
aux_sym_bracket_content_repeat1 = 58,
aux_sym_quoted_element_repeat1 = 59,
aux_sym_unquoted_argument_repeat1 = 60,
aux_sym_arguments_repeat1 = 61,
aux_sym__seperated_arguments_repeat1 = 62,
aux_sym_foreach_loop_repeat1 = 63,
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const char * const ts_symbol_names[] = {
2021-04-10 10:29:19 -04:00
[ts_builtin_sym_end] = "end",
[sym_space] = "space",
[sym_newline] = "newline",
[sym_identifier] = "identifier",
[sym__escape_identity] = "_escape_identity",
[anon_sym_BSLASHt] = "\\t",
[anon_sym_BSLASHr] = "\\r",
[anon_sym_BSLASHn] = "\\n",
[sym__escape_semicolon] = "_escape_semicolon",
[aux_sym_variable_token1] = "variable_token1",
[anon_sym_DOLLAR_LBRACE] = "${",
[anon_sym_RBRACE] = "}",
[anon_sym_DOLLARENV_LBRACE] = "$ENV{",
[anon_sym_DOLLARCACHE_LBRACE] = "$CACHE{",
2021-04-10 15:55:47 -04:00
[anon_sym_LBRACK] = "[",
[anon_sym_EQ] = "=",
[aux_sym_bracket_content_token1] = "bracket_content_token1",
2021-04-10 15:55:47 -04:00
[anon_sym_RBRACK] = "]",
2021-04-11 11:27:20 -04:00
[anon_sym_DQUOTE] = "\"",
[aux_sym_quoted_element_token1] = "quoted_element_token1",
2021-04-11 11:27:20 -04:00
[anon_sym_BSLASH] = "\\",
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_token1] = "unquoted_argument_token1",
[anon_sym_foreach] = "foreach",
2021-04-10 10:29:19 -04:00
[anon_sym_LPAREN] = "(",
[anon_sym_RPAREN] = ")",
[anon_sym_endforeach] = "endforeach",
[anon_sym_a] = "a",
[anon_sym_b] = "b",
[anon_sym_c] = "c",
2021-04-10 10:29:19 -04:00
[sym_source_file] = "source_file",
[sym_line_ending] = "line_ending",
[sym_seperation] = "seperation",
[sym_escape_sequence] = "escape_sequence",
[sym__escape_encoded] = "_escape_encoded",
[sym_variable] = "variable",
[sym_variable_ref] = "variable_ref",
[sym_normal_var] = "normal_var",
[sym_env_var] = "env_var",
[sym_cache_var] = "cache_var",
2021-04-10 15:55:47 -04:00
[sym_argument] = "argument",
[sym_bracket_argument] = "bracket_argument",
2021-04-10 19:10:37 -04:00
[sym__bracket_open] = "_bracket_open",
[sym_bracket_content] = "bracket_content",
2021-04-10 19:10:37 -04:00
[sym__bracket_close] = "_bracket_close",
2021-04-11 11:27:20 -04:00
[sym_quoted_argument] = "quoted_argument",
[sym_quoted_element] = "quoted_element",
2021-04-11 09:48:26 -04:00
[sym_unquoted_argument] = "unquoted_argument",
2021-04-10 10:29:19 -04:00
[sym_arguments] = "arguments",
[sym__seperated_arguments] = "_seperated_arguments",
[sym_foreach_loop] = "foreach_loop",
[sym_foreach_range] = "foreach_range",
[sym_foreach_lists_items] = "foreach_lists_items",
[sym_foreach_zip_lists] = "foreach_zip_lists",
[sym_normal_command] = "normal_command",
2021-04-10 10:29:19 -04:00
[sym_command_invocation] = "command_invocation",
[aux_sym_source_file_repeat1] = "source_file_repeat1",
[aux_sym_variable_repeat1] = "variable_repeat1",
2021-04-10 19:10:37 -04:00
[aux_sym__bracket_open_repeat1] = "_bracket_open_repeat1",
[aux_sym_bracket_content_repeat1] = "bracket_content_repeat1",
[aux_sym_quoted_element_repeat1] = "quoted_element_repeat1",
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_repeat1] = "unquoted_argument_repeat1",
2021-04-10 10:29:19 -04:00
[aux_sym_arguments_repeat1] = "arguments_repeat1",
[aux_sym__seperated_arguments_repeat1] = "_seperated_arguments_repeat1",
[aux_sym_foreach_loop_repeat1] = "foreach_loop_repeat1",
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const TSSymbol ts_symbol_map[] = {
2021-04-10 10:29:19 -04:00
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_space] = sym_space,
[sym_newline] = sym_newline,
[sym_identifier] = sym_identifier,
[sym__escape_identity] = sym__escape_identity,
[anon_sym_BSLASHt] = anon_sym_BSLASHt,
[anon_sym_BSLASHr] = anon_sym_BSLASHr,
[anon_sym_BSLASHn] = anon_sym_BSLASHn,
[sym__escape_semicolon] = sym__escape_semicolon,
[aux_sym_variable_token1] = aux_sym_variable_token1,
[anon_sym_DOLLAR_LBRACE] = anon_sym_DOLLAR_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
[anon_sym_DOLLARENV_LBRACE] = anon_sym_DOLLARENV_LBRACE,
[anon_sym_DOLLARCACHE_LBRACE] = anon_sym_DOLLARCACHE_LBRACE,
2021-04-10 15:55:47 -04:00
[anon_sym_LBRACK] = anon_sym_LBRACK,
[anon_sym_EQ] = anon_sym_EQ,
[aux_sym_bracket_content_token1] = aux_sym_bracket_content_token1,
2021-04-10 15:55:47 -04:00
[anon_sym_RBRACK] = anon_sym_RBRACK,
2021-04-11 11:27:20 -04:00
[anon_sym_DQUOTE] = anon_sym_DQUOTE,
[aux_sym_quoted_element_token1] = aux_sym_quoted_element_token1,
2021-04-11 11:27:20 -04:00
[anon_sym_BSLASH] = anon_sym_BSLASH,
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_token1] = aux_sym_unquoted_argument_token1,
[anon_sym_foreach] = anon_sym_foreach,
2021-04-10 10:29:19 -04:00
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_RPAREN] = anon_sym_RPAREN,
[anon_sym_endforeach] = anon_sym_endforeach,
[anon_sym_a] = anon_sym_a,
[anon_sym_b] = anon_sym_b,
[anon_sym_c] = anon_sym_c,
2021-04-10 10:29:19 -04:00
[sym_source_file] = sym_source_file,
[sym_line_ending] = sym_line_ending,
[sym_seperation] = sym_seperation,
[sym_escape_sequence] = sym_escape_sequence,
[sym__escape_encoded] = sym__escape_encoded,
[sym_variable] = sym_variable,
[sym_variable_ref] = sym_variable_ref,
[sym_normal_var] = sym_normal_var,
[sym_env_var] = sym_env_var,
[sym_cache_var] = sym_cache_var,
2021-04-10 15:55:47 -04:00
[sym_argument] = sym_argument,
[sym_bracket_argument] = sym_bracket_argument,
2021-04-10 19:10:37 -04:00
[sym__bracket_open] = sym__bracket_open,
[sym_bracket_content] = sym_bracket_content,
2021-04-10 19:10:37 -04:00
[sym__bracket_close] = sym__bracket_close,
2021-04-11 11:27:20 -04:00
[sym_quoted_argument] = sym_quoted_argument,
[sym_quoted_element] = sym_quoted_element,
2021-04-11 09:48:26 -04:00
[sym_unquoted_argument] = sym_unquoted_argument,
2021-04-10 10:29:19 -04:00
[sym_arguments] = sym_arguments,
[sym__seperated_arguments] = sym__seperated_arguments,
[sym_foreach_loop] = sym_foreach_loop,
[sym_foreach_range] = sym_foreach_range,
[sym_foreach_lists_items] = sym_foreach_lists_items,
[sym_foreach_zip_lists] = sym_foreach_zip_lists,
[sym_normal_command] = sym_normal_command,
2021-04-10 10:29:19 -04:00
[sym_command_invocation] = sym_command_invocation,
[aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
[aux_sym_variable_repeat1] = aux_sym_variable_repeat1,
2021-04-10 19:10:37 -04:00
[aux_sym__bracket_open_repeat1] = aux_sym__bracket_open_repeat1,
[aux_sym_bracket_content_repeat1] = aux_sym_bracket_content_repeat1,
[aux_sym_quoted_element_repeat1] = aux_sym_quoted_element_repeat1,
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_repeat1] = aux_sym_unquoted_argument_repeat1,
2021-04-10 10:29:19 -04:00
[aux_sym_arguments_repeat1] = aux_sym_arguments_repeat1,
[aux_sym__seperated_arguments_repeat1] = aux_sym__seperated_arguments_repeat1,
[aux_sym_foreach_loop_repeat1] = aux_sym_foreach_loop_repeat1,
2021-04-10 10:29:19 -04:00
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_space] = {
.visible = true,
.named = true,
},
[sym_newline] = {
.visible = true,
.named = true,
},
[sym_identifier] = {
.visible = true,
.named = true,
},
[sym__escape_identity] = {
.visible = false,
.named = true,
},
[anon_sym_BSLASHt] = {
.visible = true,
.named = false,
},
[anon_sym_BSLASHr] = {
.visible = true,
.named = false,
},
[anon_sym_BSLASHn] = {
.visible = true,
.named = false,
},
[sym__escape_semicolon] = {
.visible = false,
.named = true,
},
[aux_sym_variable_token1] = {
.visible = false,
.named = false,
},
[anon_sym_DOLLAR_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_DOLLARENV_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_DOLLARCACHE_LBRACE] = {
.visible = true,
.named = false,
},
2021-04-10 15:55:47 -04:00
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[anon_sym_EQ] = {
.visible = true,
.named = false,
},
[aux_sym_bracket_content_token1] = {
2021-04-10 15:55:47 -04:00
.visible = false,
.named = false,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
2021-04-11 11:27:20 -04:00
[anon_sym_DQUOTE] = {
.visible = true,
.named = false,
},
[aux_sym_quoted_element_token1] = {
2021-04-11 11:27:20 -04:00
.visible = false,
.named = false,
},
[anon_sym_BSLASH] = {
.visible = true,
.named = false,
},
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_token1] = {
.visible = false,
.named = false,
},
[anon_sym_foreach] = {
.visible = true,
.named = false,
},
2021-04-10 10:29:19 -04:00
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_endforeach] = {
.visible = true,
.named = false,
},
[anon_sym_a] = {
.visible = true,
.named = false,
},
[anon_sym_b] = {
.visible = true,
.named = false,
},
[anon_sym_c] = {
.visible = true,
.named = false,
},
2021-04-10 15:55:47 -04:00
[sym_source_file] = {
2021-04-10 12:12:41 -04:00
.visible = true,
.named = true,
},
2021-04-10 15:55:47 -04:00
[sym_line_ending] = {
2021-04-10 10:29:19 -04:00
.visible = true,
.named = true,
},
2021-04-10 15:55:47 -04:00
[sym_seperation] = {
2021-04-10 10:29:19 -04:00
.visible = true,
.named = true,
},
[sym_escape_sequence] = {
.visible = true,
.named = true,
},
[sym__escape_encoded] = {
.visible = false,
.named = true,
},
[sym_variable] = {
.visible = true,
.named = true,
},
[sym_variable_ref] = {
.visible = true,
.named = true,
},
[sym_normal_var] = {
.visible = true,
.named = true,
},
[sym_env_var] = {
.visible = true,
.named = true,
},
[sym_cache_var] = {
.visible = true,
.named = true,
},
2021-04-10 10:29:19 -04:00
[sym_argument] = {
.visible = true,
.named = true,
},
2021-04-10 15:55:47 -04:00
[sym_bracket_argument] = {
.visible = true,
.named = true,
},
2021-04-10 19:10:37 -04:00
[sym__bracket_open] = {
.visible = false,
2021-04-10 15:55:47 -04:00
.named = true,
},
[sym_bracket_content] = {
.visible = true,
.named = true,
2021-04-10 15:55:47 -04:00
},
2021-04-10 19:10:37 -04:00
[sym__bracket_close] = {
.visible = false,
2021-04-10 10:29:19 -04:00
.named = true,
},
2021-04-11 11:27:20 -04:00
[sym_quoted_argument] = {
.visible = true,
.named = true,
},
[sym_quoted_element] = {
.visible = true,
2021-04-11 11:27:20 -04:00
.named = true,
},
2021-04-11 09:48:26 -04:00
[sym_unquoted_argument] = {
.visible = true,
.named = true,
},
2021-04-10 10:29:19 -04:00
[sym_arguments] = {
.visible = true,
.named = true,
},
[sym__seperated_arguments] = {
.visible = false,
.named = true,
},
[sym_foreach_loop] = {
.visible = true,
.named = true,
},
[sym_foreach_range] = {
.visible = true,
.named = true,
},
[sym_foreach_lists_items] = {
.visible = true,
.named = true,
},
[sym_foreach_zip_lists] = {
.visible = true,
.named = true,
},
[sym_normal_command] = {
.visible = true,
.named = true,
},
2021-04-10 10:29:19 -04:00
[sym_command_invocation] = {
.visible = true,
.named = true,
},
[aux_sym_source_file_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_variable_repeat1] = {
.visible = false,
.named = false,
},
2021-04-11 09:48:26 -04:00
[aux_sym__bracket_open_repeat1] = {
2021-04-10 15:55:47 -04:00
.visible = false,
.named = false,
},
[aux_sym_bracket_content_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_quoted_element_repeat1] = {
2021-04-11 11:27:20 -04:00
.visible = false,
.named = false,
},
2021-04-11 09:48:26 -04:00
[aux_sym_unquoted_argument_repeat1] = {
2021-04-10 15:55:47 -04:00
.visible = false,
.named = false,
},
2021-04-10 10:29:19 -04:00
[aux_sym_arguments_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__seperated_arguments_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_foreach_loop_repeat1] = {
2021-04-10 10:29:19 -04:00
.visible = false,
.named = false,
},
};
2021-05-27 03:13:26 -04:00
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
2021-04-10 10:29:19 -04:00
[0] = {0},
};
2021-05-27 03:13:26 -04:00
static const uint16_t ts_non_terminal_alias_map[] = {
2021-04-10 10:29:19 -04:00
0,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(21);
if (lookahead == '"') ADVANCE(61);
if (lookahead == '$') ADVANCE(8);
if (lookahead == '(') ADVANCE(71);
if (lookahead == ')') ADVANCE(72);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '=') ADVANCE(57);
if (lookahead == '[') ADVANCE(56);
if (lookahead == '\\') ADVANCE(65);
if (lookahead == ']') ADVANCE(60);
if (lookahead == 'a') ADVANCE(75);
if (lookahead == 'b') ADVANCE(77);
if (lookahead == 'c') ADVANCE(79);
if (lookahead == '}') ADVANCE(53);
2021-04-10 10:29:19 -04:00
if (lookahead == '\t' ||
2021-04-10 15:55:47 -04:00
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(0)
if (lookahead == '+' ||
('-' <= lookahead && lookahead <= '9')) ADVANCE(51);
2021-04-10 10:29:19 -04:00
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('d' <= lookahead && lookahead <= 'z')) ADVANCE(45);
2021-04-10 10:29:19 -04:00
END_STATE();
case 1:
if (lookahead == '\t') ADVANCE(22);
if (lookahead == '\n') ADVANCE(26);
if (lookahead == '\r') ADVANCE(67);
if (lookahead == ' ') ADVANCE(22);
if (lookahead == '"') ADVANCE(61);
if (lookahead == '$') ADVANCE(69);
if (lookahead == ')') ADVANCE(72);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '[') ADVANCE(56);
if (lookahead == '\\') ADVANCE(17);
2021-04-10 10:29:19 -04:00
if (lookahead != 0 &&
lookahead != '#' &&
lookahead != '(') ADVANCE(66);
2021-04-10 10:29:19 -04:00
END_STATE();
case 2:
if (lookahead == '\t') ADVANCE(23);
if (lookahead == '\n') ADVANCE(27);
if (lookahead == '\r') ADVANCE(68);
if (lookahead == ' ') ADVANCE(23);
if (lookahead == '$') ADVANCE(69);
if (lookahead == ')') ADVANCE(72);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '\\') ADVANCE(17);
2021-04-10 15:55:47 -04:00
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '#' &&
lookahead != '(') ADVANCE(66);
2021-04-10 10:29:19 -04:00
END_STATE();
case 3:
if (lookahead == '\n') ADVANCE(28);
2021-04-10 15:55:47 -04:00
if (lookahead == '\r') SKIP(3)
if (lookahead == '(') ADVANCE(71);
if (lookahead == ')') ADVANCE(72);
2021-04-10 15:55:47 -04:00
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(24);
2021-04-10 15:55:47 -04:00
END_STATE();
case 4:
if (lookahead == '\n') ADVANCE(29);
2021-04-10 10:29:19 -04:00
if (lookahead == '\t' ||
lookahead == '\r' ||
2021-04-11 11:27:20 -04:00
lookahead == ' ') SKIP(4)
2021-04-10 10:29:19 -04:00
END_STATE();
2021-04-10 15:55:47 -04:00
case 5:
if (lookahead == '"') ADVANCE(61);
if (lookahead == '$') ADVANCE(64);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '\\') ADVANCE(65);
2021-04-11 11:27:20 -04:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(63);
if (lookahead != 0) ADVANCE(62);
2021-04-11 11:27:20 -04:00
END_STATE();
case 6:
if (lookahead == ')') ADVANCE(72);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '\\') ADVANCE(17);
if (lookahead == '}') ADVANCE(53);
2021-04-11 11:27:20 -04:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(6)
if (lookahead == '+' ||
('-' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(51);
2021-04-11 11:27:20 -04:00
END_STATE();
case 7:
if (lookahead == 'A') ADVANCE(9);
END_STATE();
case 8:
if (lookahead == 'C') ADVANCE(7);
if (lookahead == 'E') ADVANCE(12);
if (lookahead == '{') ADVANCE(52);
END_STATE();
case 9:
if (lookahead == 'C') ADVANCE(11);
END_STATE();
case 10:
if (lookahead == 'E') ADVANCE(19);
END_STATE();
case 11:
if (lookahead == 'H') ADVANCE(10);
END_STATE();
case 12:
if (lookahead == 'N') ADVANCE(13);
END_STATE();
case 13:
if (lookahead == 'V') ADVANCE(18);
END_STATE();
case 14:
if (lookahead == ']') ADVANCE(60);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(59);
if (lookahead != 0) ADVANCE(58);
END_STATE();
case 15:
if (lookahead == 'a') ADVANCE(74);
if (lookahead == 'b') ADVANCE(76);
if (lookahead == 'c') ADVANCE(78);
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') SKIP(15)
END_STATE();
case 16:
if (lookahead == 'e') ADVANCE(40);
if (lookahead == 'f') ADVANCE(41);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(25);
if (lookahead == '\n' ||
lookahead == '\r') SKIP(16)
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 17:
if (lookahead == 'n') ADVANCE(49);
if (lookahead == 'r') ADVANCE(48);
if (lookahead == 't') ADVANCE(47);
if (lookahead != 0 &&
(lookahead < '0' || '9' < lookahead) &&
lookahead != ';' &&
(lookahead < 'A' || 'Z' < lookahead) &&
(lookahead < 'a' || 'z' < lookahead)) ADVANCE(46);
END_STATE();
case 18:
if (lookahead == '{') ADVANCE(54);
END_STATE();
case 19:
if (lookahead == '{') ADVANCE(55);
END_STATE();
case 20:
if (eof) ADVANCE(21);
if (lookahead == '(') ADVANCE(71);
if (lookahead == 'f') ADVANCE(41);
2021-04-10 15:55:47 -04:00
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(25);
2021-04-10 15:55:47 -04:00
if (lookahead == '\n' ||
lookahead == '\r') SKIP(20)
2021-04-10 15:55:47 -04:00
if (('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
2021-04-10 15:55:47 -04:00
END_STATE();
case 21:
ACCEPT_TOKEN(ts_builtin_sym_end);
2021-04-10 10:29:19 -04:00
END_STATE();
case 22:
2021-04-10 10:29:19 -04:00
ACCEPT_TOKEN(sym_space);
if (lookahead == '\t') ADVANCE(22);
if (lookahead == '\n') ADVANCE(26);
if (lookahead == '\r') ADVANCE(67);
if (lookahead == ' ') ADVANCE(22);
2021-04-10 10:29:19 -04:00
END_STATE();
case 23:
ACCEPT_TOKEN(sym_space);
if (lookahead == '\t') ADVANCE(23);
if (lookahead == '\n') ADVANCE(27);
if (lookahead == '\r') ADVANCE(68);
if (lookahead == ' ') ADVANCE(23);
2021-04-10 10:29:19 -04:00
END_STATE();
case 24:
ACCEPT_TOKEN(sym_space);
if (lookahead == '\n') ADVANCE(28);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(24);
2021-04-10 15:55:47 -04:00
END_STATE();
case 25:
ACCEPT_TOKEN(sym_space);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(25);
2021-04-10 10:29:19 -04:00
END_STATE();
case 26:
ACCEPT_TOKEN(sym_newline);
if (lookahead == '\t') ADVANCE(22);
if (lookahead == '\n') ADVANCE(26);
if (lookahead == '\r') ADVANCE(67);
if (lookahead == ' ') ADVANCE(22);
END_STATE();
case 27:
2021-04-11 11:27:20 -04:00
ACCEPT_TOKEN(sym_newline);
if (lookahead == '\t') ADVANCE(23);
if (lookahead == '\n') ADVANCE(27);
if (lookahead == '\r') ADVANCE(68);
if (lookahead == ' ') ADVANCE(23);
2021-04-11 11:27:20 -04:00
END_STATE();
case 28:
ACCEPT_TOKEN(sym_newline);
if (lookahead == '\n') ADVANCE(28);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(24);
END_STATE();
case 29:
ACCEPT_TOKEN(sym_newline);
if (lookahead == '\n') ADVANCE(29);
END_STATE();
case 30:
2021-04-10 10:29:19 -04:00
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'a') ADVANCE(32);
2021-04-10 10:29:19 -04:00
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('b' <= lookahead && lookahead <= 'z')) ADVANCE(45);
2021-04-10 10:29:19 -04:00
END_STATE();
case 31:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'a') ADVANCE(33);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('b' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 32:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'c') ADVANCE(38);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 33:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'c') ADVANCE(39);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 34:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'd') ADVANCE(37);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 35:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'e') ADVANCE(30);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 36:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'e') ADVANCE(31);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 37:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'f') ADVANCE(42);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 38:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'h') ADVANCE(70);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 39:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'h') ADVANCE(73);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 40:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'n') ADVANCE(34);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 41:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'o') ADVANCE(43);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 42:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'o') ADVANCE(44);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 43:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'r') ADVANCE(35);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 44:
ACCEPT_TOKEN(sym_identifier);
if (lookahead == 'r') ADVANCE(36);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 45:
ACCEPT_TOKEN(sym_identifier);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 46:
ACCEPT_TOKEN(sym__escape_identity);
END_STATE();
case 47:
ACCEPT_TOKEN(anon_sym_BSLASHt);
END_STATE();
case 48:
ACCEPT_TOKEN(anon_sym_BSLASHr);
END_STATE();
case 49:
ACCEPT_TOKEN(anon_sym_BSLASHn);
END_STATE();
case 50:
ACCEPT_TOKEN(sym__escape_semicolon);
END_STATE();
case 51:
ACCEPT_TOKEN(aux_sym_variable_token1);
END_STATE();
case 52:
ACCEPT_TOKEN(anon_sym_DOLLAR_LBRACE);
END_STATE();
case 53:
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 54:
ACCEPT_TOKEN(anon_sym_DOLLARENV_LBRACE);
END_STATE();
case 55:
ACCEPT_TOKEN(anon_sym_DOLLARCACHE_LBRACE);
END_STATE();
case 56:
2021-04-11 09:48:26 -04:00
ACCEPT_TOKEN(anon_sym_LBRACK);
END_STATE();
case 57:
2021-04-11 09:48:26 -04:00
ACCEPT_TOKEN(anon_sym_EQ);
END_STATE();
case 58:
ACCEPT_TOKEN(aux_sym_bracket_content_token1);
2021-04-11 09:48:26 -04:00
END_STATE();
case 59:
ACCEPT_TOKEN(aux_sym_bracket_content_token1);
2021-04-11 09:48:26 -04:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(59);
2021-04-11 09:48:26 -04:00
if (lookahead != 0 &&
lookahead != ']') ADVANCE(58);
2021-04-11 09:48:26 -04:00
END_STATE();
case 60:
2021-04-11 09:48:26 -04:00
ACCEPT_TOKEN(anon_sym_RBRACK);
END_STATE();
case 61:
2021-04-11 11:27:20 -04:00
ACCEPT_TOKEN(anon_sym_DQUOTE);
END_STATE();
case 62:
ACCEPT_TOKEN(aux_sym_quoted_element_token1);
2021-04-11 11:27:20 -04:00
END_STATE();
case 63:
ACCEPT_TOKEN(aux_sym_quoted_element_token1);
if (lookahead == '$') ADVANCE(64);
if (lookahead == ';') ADVANCE(50);
2021-04-11 11:27:20 -04:00
if (lookahead == '\t' ||
lookahead == '\n' ||
lookahead == '\r' ||
lookahead == ' ') ADVANCE(63);
2021-04-11 11:27:20 -04:00
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '\\') ADVANCE(62);
2021-04-11 11:27:20 -04:00
END_STATE();
case 64:
ACCEPT_TOKEN(aux_sym_quoted_element_token1);
if (lookahead == 'C') ADVANCE(7);
if (lookahead == 'E') ADVANCE(12);
if (lookahead == '{') ADVANCE(52);
END_STATE();
case 65:
2021-04-11 11:27:20 -04:00
ACCEPT_TOKEN(anon_sym_BSLASH);
if (lookahead == 'n') ADVANCE(49);
if (lookahead == 'r') ADVANCE(48);
if (lookahead == 't') ADVANCE(47);
2021-04-11 11:27:20 -04:00
if (lookahead != 0 &&
(lookahead < '0' || '9' < lookahead) &&
lookahead != ';' &&
(lookahead < 'A' || 'Z' < lookahead) &&
(lookahead < 'a' || 'z' < lookahead)) ADVANCE(46);
2021-04-11 11:27:20 -04:00
END_STATE();
case 66:
2021-04-11 09:48:26 -04:00
ACCEPT_TOKEN(aux_sym_unquoted_argument_token1);
END_STATE();
case 67:
2021-04-10 15:55:47 -04:00
ACCEPT_TOKEN(aux_sym_unquoted_argument_token1);
if (lookahead == '\t') ADVANCE(22);
if (lookahead == '\n') ADVANCE(26);
if (lookahead == '\r') ADVANCE(67);
if (lookahead == ' ') ADVANCE(22);
if (lookahead == '$') ADVANCE(69);
if (lookahead == ';') ADVANCE(50);
if (lookahead == '[') ADVANCE(56);
2021-04-10 10:29:19 -04:00
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '#' &&
lookahead != '(' &&
lookahead != ')' &&
lookahead != '\\') ADVANCE(66);
2021-04-10 10:29:19 -04:00
END_STATE();
case 68:
2021-04-10 15:55:47 -04:00
ACCEPT_TOKEN(aux_sym_unquoted_argument_token1);
if (lookahead == '\t') ADVANCE(23);
if (lookahead == '\n') ADVANCE(27);
if (lookahead == '\r') ADVANCE(68);
if (lookahead == ' ') ADVANCE(23);
if (lookahead == '$') ADVANCE(69);
if (lookahead == ';') ADVANCE(50);
2021-04-10 10:29:19 -04:00
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '#' &&
lookahead != '(' &&
lookahead != ')' &&
lookahead != '\\') ADVANCE(66);
2021-04-10 15:55:47 -04:00
END_STATE();
case 69:
ACCEPT_TOKEN(aux_sym_unquoted_argument_token1);
if (lookahead == 'C') ADVANCE(7);
if (lookahead == 'E') ADVANCE(12);
if (lookahead == '{') ADVANCE(52);
END_STATE();
case 70:
ACCEPT_TOKEN(anon_sym_foreach);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 71:
2021-04-10 15:55:47 -04:00
ACCEPT_TOKEN(anon_sym_LPAREN);
END_STATE();
case 72:
2021-04-10 15:55:47 -04:00
ACCEPT_TOKEN(anon_sym_RPAREN);
2021-04-10 10:29:19 -04:00
END_STATE();
case 73:
ACCEPT_TOKEN(anon_sym_endforeach);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 74:
ACCEPT_TOKEN(anon_sym_a);
END_STATE();
case 75:
ACCEPT_TOKEN(anon_sym_a);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 76:
ACCEPT_TOKEN(anon_sym_b);
END_STATE();
case 77:
ACCEPT_TOKEN(anon_sym_b);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 78:
ACCEPT_TOKEN(anon_sym_c);
END_STATE();
case 79:
ACCEPT_TOKEN(anon_sym_c);
if (('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
2021-04-10 10:29:19 -04:00
default:
return false;
}
}
2021-05-27 03:13:26 -04:00
static const TSLexMode ts_lex_modes[STATE_COUNT] = {
2021-04-10 10:29:19 -04:00
[0] = {.lex_state = 0},
[1] = {.lex_state = 20},
2021-04-10 10:29:19 -04:00
[2] = {.lex_state = 1},
[3] = {.lex_state = 1},
[4] = {.lex_state = 1},
[5] = {.lex_state = 1},
[6] = {.lex_state = 1},
[7] = {.lex_state = 1},
2021-04-10 15:55:47 -04:00
[8] = {.lex_state = 1},
[9] = {.lex_state = 1},
[10] = {.lex_state = 1},
[11] = {.lex_state = 1},
[12] = {.lex_state = 1},
[13] = {.lex_state = 1},
[14] = {.lex_state = 1},
[15] = {.lex_state = 5},
[16] = {.lex_state = 2},
2021-04-11 11:27:20 -04:00
[17] = {.lex_state = 2},
[18] = {.lex_state = 5},
[19] = {.lex_state = 5},
[20] = {.lex_state = 1},
[21] = {.lex_state = 1},
[22] = {.lex_state = 1},
[23] = {.lex_state = 2},
[24] = {.lex_state = 2},
[25] = {.lex_state = 2},
[26] = {.lex_state = 2},
[27] = {.lex_state = 2},
[28] = {.lex_state = 5},
[29] = {.lex_state = 6},
[30] = {.lex_state = 6},
2021-04-11 11:27:20 -04:00
[31] = {.lex_state = 6},
[32] = {.lex_state = 6},
[33] = {.lex_state = 5},
[34] = {.lex_state = 6},
[35] = {.lex_state = 6},
[36] = {.lex_state = 6},
[37] = {.lex_state = 6},
[38] = {.lex_state = 6},
[39] = {.lex_state = 6},
[40] = {.lex_state = 6},
[41] = {.lex_state = 5},
[42] = {.lex_state = 6},
[43] = {.lex_state = 5},
[44] = {.lex_state = 5},
[45] = {.lex_state = 6},
[46] = {.lex_state = 5},
[47] = {.lex_state = 6},
[48] = {.lex_state = 6},
[49] = {.lex_state = 6},
[50] = {.lex_state = 6},
[51] = {.lex_state = 6},
[52] = {.lex_state = 6},
[53] = {.lex_state = 6},
[54] = {.lex_state = 16},
[55] = {.lex_state = 20},
[56] = {.lex_state = 16},
[57] = {.lex_state = 16},
[58] = {.lex_state = 16},
[59] = {.lex_state = 20},
[60] = {.lex_state = 16},
[61] = {.lex_state = 16},
[62] = {.lex_state = 16},
[63] = {.lex_state = 16},
[64] = {.lex_state = 16},
[65] = {.lex_state = 16},
[66] = {.lex_state = 16},
[67] = {.lex_state = 16},
[68] = {.lex_state = 16},
[69] = {.lex_state = 3},
[70] = {.lex_state = 3},
[71] = {.lex_state = 3},
[72] = {.lex_state = 6},
[73] = {.lex_state = 3},
[74] = {.lex_state = 3},
[75] = {.lex_state = 3},
[76] = {.lex_state = 3},
[77] = {.lex_state = 3},
[78] = {.lex_state = 3},
[79] = {.lex_state = 3},
[80] = {.lex_state = 15},
[81] = {.lex_state = 15},
[82] = {.lex_state = 15},
[83] = {.lex_state = 3},
[84] = {.lex_state = 3},
[85] = {.lex_state = 3},
[86] = {.lex_state = 3},
[87] = {.lex_state = 3},
[88] = {.lex_state = 3},
[89] = {.lex_state = 3},
[90] = {.lex_state = 3},
[91] = {.lex_state = 3},
[92] = {.lex_state = 3},
[93] = {.lex_state = 3},
[94] = {.lex_state = 15},
[95] = {.lex_state = 3},
[96] = {.lex_state = 15},
[97] = {.lex_state = 3},
[98] = {.lex_state = 3},
[99] = {.lex_state = 3},
[100] = {.lex_state = 3},
[101] = {.lex_state = 3},
[102] = {.lex_state = 15},
[103] = {.lex_state = 3},
[104] = {.lex_state = 3},
[105] = {.lex_state = 3},
[106] = {.lex_state = 3},
[107] = {.lex_state = 3},
[108] = {.lex_state = 16},
[109] = {.lex_state = 20},
[110] = {.lex_state = 16},
[111] = {.lex_state = 16},
[112] = {.lex_state = 16},
[113] = {.lex_state = 16},
[114] = {.lex_state = 14},
[115] = {.lex_state = 16},
[116] = {.lex_state = 16},
[117] = {.lex_state = 16},
[118] = {.lex_state = 16},
[119] = {.lex_state = 20},
[120] = {.lex_state = 16},
[121] = {.lex_state = 20},
[122] = {.lex_state = 20},
[123] = {.lex_state = 20},
[124] = {.lex_state = 20},
[125] = {.lex_state = 20},
[126] = {.lex_state = 16},
[127] = {.lex_state = 20},
[128] = {.lex_state = 20},
[129] = {.lex_state = 20},
[130] = {.lex_state = 20},
[131] = {.lex_state = 0},
[132] = {.lex_state = 16},
[133] = {.lex_state = 20},
[134] = {.lex_state = 20},
[135] = {.lex_state = 16},
[136] = {.lex_state = 20},
[137] = {.lex_state = 20},
[138] = {.lex_state = 20},
[139] = {.lex_state = 16},
[140] = {.lex_state = 16},
[141] = {.lex_state = 16},
[142] = {.lex_state = 16},
[143] = {.lex_state = 16},
[144] = {.lex_state = 16},
[145] = {.lex_state = 16},
[146] = {.lex_state = 16},
[147] = {.lex_state = 16},
[148] = {.lex_state = 3},
[149] = {.lex_state = 0},
[150] = {.lex_state = 3},
[151] = {.lex_state = 20},
[152] = {.lex_state = 3},
[153] = {.lex_state = 3},
[154] = {.lex_state = 20},
[155] = {.lex_state = 0},
[156] = {.lex_state = 3},
[157] = {.lex_state = 20},
[158] = {.lex_state = 14},
[159] = {.lex_state = 3},
[160] = {.lex_state = 20},
[161] = {.lex_state = 20},
[162] = {.lex_state = 3},
[163] = {.lex_state = 20},
[164] = {.lex_state = 0},
[165] = {.lex_state = 3},
[166] = {.lex_state = 3},
[167] = {.lex_state = 0},
[168] = {.lex_state = 20},
[169] = {.lex_state = 3},
[170] = {.lex_state = 20},
[171] = {.lex_state = 14},
[172] = {.lex_state = 14},
[173] = {.lex_state = 0},
[174] = {.lex_state = 14},
[175] = {.lex_state = 0},
[176] = {.lex_state = 0},
[177] = {.lex_state = 0},
[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 = 0},
[185] = {.lex_state = 0},
[186] = {.lex_state = 4},
[187] = {.lex_state = 0},
[188] = {.lex_state = 0},
[189] = {.lex_state = 0},
[190] = {.lex_state = 0},
[191] = {.lex_state = 0},
[192] = {.lex_state = 0},
[193] = {.lex_state = 0},
[194] = {.lex_state = 0},
[195] = {.lex_state = 0},
[196] = {.lex_state = 0},
[197] = {.lex_state = 0},
[198] = {.lex_state = 0},
[199] = {.lex_state = 0},
[200] = {.lex_state = 0},
[201] = {.lex_state = 0},
[202] = {.lex_state = 0},
[203] = {.lex_state = 0},
[204] = {.lex_state = 0},
[205] = {.lex_state = 0},
[206] = {.lex_state = 0},
[207] = {.lex_state = 0},
[208] = {.lex_state = 0},
[209] = {.lex_state = 0},
[210] = {.lex_state = 0},
[211] = {.lex_state = 0},
[212] = {.lex_state = 0},
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
2021-04-10 10:29:19 -04:00
[0] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_identifier] = ACTIONS(1),
[sym__escape_identity] = ACTIONS(1),
[anon_sym_BSLASHt] = ACTIONS(1),
[anon_sym_BSLASHr] = ACTIONS(1),
[anon_sym_BSLASHn] = ACTIONS(1),
[sym__escape_semicolon] = ACTIONS(1),
[aux_sym_variable_token1] = ACTIONS(1),
[anon_sym_DOLLAR_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
[anon_sym_DOLLARENV_LBRACE] = ACTIONS(1),
[anon_sym_DOLLARCACHE_LBRACE] = ACTIONS(1),
2021-04-10 15:55:47 -04:00
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
2021-04-11 11:27:20 -04:00
[anon_sym_DQUOTE] = ACTIONS(1),
[anon_sym_BSLASH] = ACTIONS(1),
2021-04-10 10:29:19 -04:00
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
[anon_sym_a] = ACTIONS(1),
[anon_sym_b] = ACTIONS(1),
[anon_sym_c] = ACTIONS(1),
2021-04-10 10:29:19 -04:00
},
[1] = {
[sym_source_file] = STATE(212),
[sym_foreach_loop] = STATE(121),
[sym_normal_command] = STATE(121),
[sym_command_invocation] = STATE(55),
[aux_sym_source_file_repeat1] = STATE(55),
[aux_sym_foreach_loop_repeat1] = STATE(124),
2021-04-10 10:29:19 -04:00
[ts_builtin_sym_end] = ACTIONS(3),
[sym_space] = ACTIONS(5),
[sym_identifier] = ACTIONS(7),
[anon_sym_foreach] = ACTIONS(9),
},
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const uint16_t ts_small_parse_table[] = {
[0] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(29), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(178), 1,
sym_arguments,
STATE(13), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[69] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(29), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(178), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
2021-04-11 11:27:20 -04:00
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[138] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(31), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(189), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[207] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(33), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
2021-04-11 11:27:20 -04:00
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(209), 1,
sym_arguments,
STATE(7), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
2021-04-11 11:27:20 -04:00
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[276] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(35), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
2021-04-11 11:27:20 -04:00
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(199), 1,
sym_arguments,
STATE(3), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
2021-04-11 11:27:20 -04:00
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[345] = 19,
ACTIONS(11), 1,
2021-04-10 10:29:19 -04:00
sym_space,
ACTIONS(13), 1,
2021-04-10 10:29:19 -04:00
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(37), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(200), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[414] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
2021-04-10 15:55:47 -04:00
anon_sym_LBRACK,
ACTIONS(25), 1,
2021-04-11 11:27:20 -04:00
anon_sym_DQUOTE,
ACTIONS(27), 1,
2021-04-11 09:48:26 -04:00
aux_sym_unquoted_argument_token1,
ACTIONS(37), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(200), 1,
sym_arguments,
STATE(9), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[483] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
2021-04-10 15:55:47 -04:00
anon_sym_LBRACK,
ACTIONS(25), 1,
2021-04-11 11:27:20 -04:00
anon_sym_DQUOTE,
ACTIONS(27), 1,
2021-04-11 09:48:26 -04:00
aux_sym_unquoted_argument_token1,
ACTIONS(39), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(176), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[552] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(39), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(176), 1,
sym_arguments,
STATE(11), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[621] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(41), 1,
2021-04-10 15:55:47 -04:00
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(192), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[690] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(43), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(208), 1,
sym_arguments,
STATE(4), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[759] = 19,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
ACTIONS(43), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(71), 1,
sym_argument,
STATE(114), 1,
sym__bracket_open,
STATE(208), 1,
sym_arguments,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[828] = 16,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(23), 1,
anon_sym_LBRACK,
ACTIONS(25), 1,
anon_sym_DQUOTE,
ACTIONS(27), 1,
aux_sym_unquoted_argument_token1,
STATE(22), 1,
sym_line_ending,
STATE(26), 1,
sym__escape_encoded,
STATE(114), 1,
sym__bracket_open,
STATE(165), 1,
sym_argument,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
ACTIONS(45), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
STATE(17), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
STATE(156), 3,
sym_bracket_argument,
sym_quoted_argument,
sym_unquoted_argument,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[890] = 11,
ACTIONS(49), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(51), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(53), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(55), 1,
anon_sym_DQUOTE,
ACTIONS(57), 1,
aux_sym_quoted_element_token1,
ACTIONS(59), 1,
anon_sym_BSLASH,
STATE(28), 1,
sym__escape_encoded,
STATE(185), 1,
sym_quoted_element,
STATE(19), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_quoted_element_repeat1,
STATE(41), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
ACTIONS(47), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[932] = 9,
ACTIONS(66), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(69), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(72), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(75), 1,
aux_sym_unquoted_argument_token1,
STATE(26), 1,
sym__escape_encoded,
ACTIONS(61), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
STATE(16), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
ACTIONS(63), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[970] = 9,
ACTIONS(17), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(19), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(21), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(80), 1,
aux_sym_unquoted_argument_token1,
STATE(26), 1,
sym__escape_encoded,
ACTIONS(78), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
STATE(16), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_unquoted_argument_repeat1,
STATE(27), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
ACTIONS(15), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1008] = 10,
ACTIONS(85), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(88), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(91), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(94), 1,
anon_sym_DQUOTE,
ACTIONS(96), 1,
aux_sym_quoted_element_token1,
ACTIONS(99), 1,
anon_sym_BSLASH,
STATE(28), 1,
sym__escape_encoded,
STATE(18), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_quoted_element_repeat1,
STATE(41), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
ACTIONS(82), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1047] = 10,
ACTIONS(49), 1,
anon_sym_DOLLAR_LBRACE,
ACTIONS(51), 1,
anon_sym_DOLLARENV_LBRACE,
ACTIONS(53), 1,
anon_sym_DOLLARCACHE_LBRACE,
ACTIONS(59), 1,
anon_sym_BSLASH,
ACTIONS(102), 1,
anon_sym_DQUOTE,
ACTIONS(104), 1,
aux_sym_quoted_element_token1,
STATE(28), 1,
sym__escape_encoded,
STATE(18), 3,
sym_escape_sequence,
sym_variable_ref,
aux_sym_quoted_element_repeat1,
STATE(41), 3,
sym_normal_var,
sym_env_var,
sym_cache_var,
ACTIONS(47), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1086] = 5,
ACTIONS(106), 1,
sym_space,
ACTIONS(109), 1,
sym_newline,
STATE(22), 1,
sym_line_ending,
STATE(20), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
ACTIONS(112), 12,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_LBRACK,
anon_sym_DQUOTE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1114] = 1,
ACTIONS(114), 14,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_LBRACK,
anon_sym_DQUOTE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1131] = 1,
ACTIONS(116), 14,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_LBRACK,
anon_sym_DQUOTE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1148] = 1,
ACTIONS(118), 12,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1163] = 1,
ACTIONS(120), 12,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1178] = 1,
ACTIONS(122), 12,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1193] = 1,
ACTIONS(124), 12,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1208] = 1,
ACTIONS(126), 12,
sym_space,
sym_newline,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
aux_sym_unquoted_argument_token1,
anon_sym_RPAREN,
[1223] = 1,
ACTIONS(124), 11,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
anon_sym_BSLASH,
[1237] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(132), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(177), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1261] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(134), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(188), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1285] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(136), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(211), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1309] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(138), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(187), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1333] = 1,
ACTIONS(94), 11,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
anon_sym_BSLASH,
[1347] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(140), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(210), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1371] = 5,
ACTIONS(145), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
ACTIONS(148), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
STATE(35), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(142), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1393] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(150), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(201), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1417] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(152), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(184), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1441] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(154), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(181), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1465] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(156), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(182), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1489] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(158), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(179), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1513] = 1,
ACTIONS(126), 11,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
anon_sym_BSLASH,
[1527] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(160), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(175), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1551] = 1,
ACTIONS(118), 11,
2021-04-11 11:27:20 -04:00
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
2021-04-11 11:27:20 -04:00
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
2021-04-11 11:27:20 -04:00
anon_sym_BSLASH,
[1565] = 1,
ACTIONS(120), 11,
2021-04-11 11:27:20 -04:00
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
2021-04-11 11:27:20 -04:00
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
2021-04-11 11:27:20 -04:00
anon_sym_BSLASH,
[1579] = 5,
ACTIONS(162), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
ACTIONS(164), 2,
anon_sym_RBRACE,
anon_sym_RPAREN,
STATE(35), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1601] = 1,
ACTIONS(122), 11,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
anon_sym_DOLLAR_LBRACE,
anon_sym_DOLLARENV_LBRACE,
anon_sym_DOLLARCACHE_LBRACE,
anon_sym_DQUOTE,
aux_sym_quoted_element_token1,
anon_sym_BSLASH,
[1615] = 6,
ACTIONS(130), 1,
aux_sym_variable_token1,
ACTIONS(166), 1,
anon_sym_RPAREN,
STATE(72), 1,
sym__escape_encoded,
STATE(183), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1639] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(191), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1660] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(202), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1681] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(206), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1702] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(207), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1723] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(190), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1744] = 5,
ACTIONS(130), 1,
aux_sym_variable_token1,
STATE(72), 1,
sym__escape_encoded,
STATE(193), 1,
sym_variable,
STATE(45), 2,
sym_escape_sequence,
aux_sym_variable_repeat1,
ACTIONS(128), 5,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
[1765] = 7,
ACTIONS(168), 1,
sym_space,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(174), 1,
anon_sym_endforeach,
STATE(115), 1,
aux_sym_foreach_loop_repeat1,
STATE(63), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1789] = 7,
ACTIONS(5), 1,
sym_space,
ACTIONS(7), 1,
sym_identifier,
2021-04-10 15:55:47 -04:00
ACTIONS(9), 1,
anon_sym_foreach,
ACTIONS(176), 1,
ts_builtin_sym_end,
STATE(124), 1,
aux_sym_foreach_loop_repeat1,
STATE(59), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(121), 2,
sym_foreach_loop,
sym_normal_command,
[1813] = 7,
ACTIONS(178), 1,
sym_space,
ACTIONS(181), 1,
sym_identifier,
ACTIONS(184), 1,
anon_sym_foreach,
ACTIONS(187), 1,
anon_sym_endforeach,
STATE(128), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1837] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(189), 1,
sym_space,
ACTIONS(191), 1,
anon_sym_endforeach,
STATE(117), 1,
aux_sym_foreach_loop_repeat1,
STATE(64), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1861] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(189), 1,
sym_space,
ACTIONS(191), 1,
anon_sym_endforeach,
STATE(117), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1885] = 7,
ACTIONS(193), 1,
ts_builtin_sym_end,
ACTIONS(195), 1,
sym_space,
ACTIONS(198), 1,
sym_identifier,
ACTIONS(201), 1,
anon_sym_foreach,
STATE(124), 1,
aux_sym_foreach_loop_repeat1,
STATE(59), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(121), 2,
sym_foreach_loop,
sym_normal_command,
[1909] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(204), 1,
sym_space,
ACTIONS(206), 1,
anon_sym_endforeach,
STATE(113), 1,
aux_sym_foreach_loop_repeat1,
STATE(61), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1933] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(208), 1,
sym_space,
ACTIONS(210), 1,
anon_sym_endforeach,
STATE(111), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1957] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(212), 1,
sym_space,
ACTIONS(214), 1,
anon_sym_endforeach,
STATE(108), 1,
aux_sym_foreach_loop_repeat1,
STATE(58), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[1981] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(216), 1,
sym_space,
ACTIONS(218), 1,
anon_sym_endforeach,
STATE(110), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2005] = 7,
ACTIONS(168), 1,
sym_space,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(174), 1,
anon_sym_endforeach,
STATE(115), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2029] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(208), 1,
sym_space,
ACTIONS(210), 1,
anon_sym_endforeach,
STATE(111), 1,
aux_sym_foreach_loop_repeat1,
STATE(66), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2053] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(220), 1,
sym_space,
ACTIONS(222), 1,
anon_sym_endforeach,
STATE(116), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2077] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(220), 1,
sym_space,
ACTIONS(222), 1,
anon_sym_endforeach,
STATE(116), 1,
aux_sym_foreach_loop_repeat1,
STATE(68), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2101] = 7,
ACTIONS(170), 1,
sym_identifier,
ACTIONS(172), 1,
anon_sym_foreach,
ACTIONS(224), 1,
sym_space,
ACTIONS(226), 1,
anon_sym_endforeach,
STATE(118), 1,
aux_sym_foreach_loop_repeat1,
STATE(56), 2,
sym_command_invocation,
aux_sym_source_file_repeat1,
STATE(126), 2,
sym_foreach_loop,
sym_normal_command,
[2125] = 6,
ACTIONS(228), 1,
sym_space,
ACTIONS(231), 1,
sym_newline,
ACTIONS(234), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(14), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(69), 2,
sym__seperated_arguments,
aux_sym_arguments_repeat1,
[2146] = 6,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(236), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(14), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(69), 2,
sym__seperated_arguments,
aux_sym_arguments_repeat1,
[2167] = 6,
ACTIONS(11), 1,
sym_space,
ACTIONS(13), 1,
sym_newline,
ACTIONS(238), 1,
anon_sym_RPAREN,
STATE(22), 1,
sym_line_ending,
STATE(14), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
STATE(70), 2,
sym__seperated_arguments,
aux_sym_arguments_repeat1,
[2188] = 1,
ACTIONS(240), 8,
sym__escape_identity,
anon_sym_BSLASHt,
anon_sym_BSLASHr,
anon_sym_BSLASHn,
sym__escape_semicolon,
aux_sym_variable_token1,
anon_sym_RBRACE,
anon_sym_RPAREN,
[2199] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(246), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(85), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2216] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(246), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2233] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(248), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(78), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2250] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(250), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2267] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(252), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(84), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2284] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(254), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2301] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(256), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(104), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2318] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(203), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2333] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(204), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2348] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(205), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2363] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(264), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(91), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2380] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(266), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2397] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(256), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2414] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(268), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(103), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2431] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(266), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(88), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2448] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(270), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2465] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(270), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(74), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2482] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(272), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2499] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(274), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2516] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(274), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(100), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2533] = 5,
ACTIONS(242), 1,
2021-04-10 10:29:19 -04:00
sym_space,
ACTIONS(244), 1,
2021-04-10 10:29:19 -04:00
sym_newline,
ACTIONS(254), 1,
anon_sym_LPAREN,
STATE(152), 1,
2021-04-10 15:55:47 -04:00
sym_line_ending,
STATE(98), 2,
2021-04-10 10:29:19 -04:00
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2550] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(180), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2565] = 5,
ACTIONS(242), 1,
2021-04-10 10:29:19 -04:00
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(276), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(76), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2582] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(195), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2597] = 5,
ACTIONS(242), 1,
2021-04-10 10:29:19 -04:00
sym_space,
ACTIONS(244), 1,
2021-04-10 10:29:19 -04:00
sym_newline,
ACTIONS(278), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2614] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(280), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2631] = 5,
ACTIONS(112), 1,
anon_sym_LPAREN,
ACTIONS(282), 1,
2021-04-11 11:27:20 -04:00
sym_space,
ACTIONS(285), 1,
sym_newline,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2648] = 5,
ACTIONS(242), 1,
2021-04-11 11:27:20 -04:00
sym_space,
ACTIONS(244), 1,
2021-04-10 15:55:47 -04:00
sym_newline,
ACTIONS(288), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2665] = 5,
ACTIONS(242), 1,
2021-04-10 15:55:47 -04:00
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(288), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(97), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2682] = 4,
ACTIONS(258), 1,
anon_sym_a,
ACTIONS(260), 1,
anon_sym_b,
ACTIONS(262), 1,
anon_sym_c,
STATE(194), 3,
sym_foreach_range,
sym_foreach_lists_items,
sym_foreach_zip_lists,
[2697] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
2021-04-10 15:55:47 -04:00
sym_newline,
ACTIONS(276), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2714] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(290), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2731] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(278), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(106), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2748] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(292), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(99), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2765] = 5,
ACTIONS(242), 1,
sym_space,
ACTIONS(244), 1,
sym_newline,
ACTIONS(292), 1,
anon_sym_LPAREN,
STATE(152), 1,
sym_line_ending,
STATE(90), 2,
sym_seperation,
aux_sym__seperated_arguments_repeat1,
[2782] = 5,
ACTIONS(191), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2798] = 3,
ACTIONS(300), 1,
sym_space,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
ACTIONS(303), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_LPAREN,
[2810] = 5,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
ACTIONS(305), 1,
anon_sym_endforeach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2826] = 5,
ACTIONS(222), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2842] = 3,
ACTIONS(307), 1,
sym_space,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
ACTIONS(303), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[2854] = 5,
ACTIONS(210), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2870] = 5,
ACTIONS(310), 1,
aux_sym_bracket_content_token1,
ACTIONS(312), 1,
2021-04-10 19:10:37 -04:00
anon_sym_RBRACK,
STATE(169), 1,
sym__bracket_close,
STATE(171), 1,
aux_sym_bracket_content_repeat1,
STATE(173), 1,
sym_bracket_content,
[2886] = 5,
ACTIONS(218), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2902] = 5,
ACTIONS(226), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2918] = 5,
ACTIONS(174), 1,
anon_sym_endforeach,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2934] = 5,
ACTIONS(294), 1,
sym_space,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
ACTIONS(314), 1,
anon_sym_endforeach,
STATE(112), 1,
aux_sym_foreach_loop_repeat1,
[2950] = 2,
ACTIONS(316), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(318), 2,
sym_identifier,
anon_sym_foreach,
[2959] = 2,
ACTIONS(320), 1,
sym_space,
ACTIONS(322), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[2968] = 2,
ACTIONS(324), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(326), 2,
sym_identifier,
anon_sym_foreach,
[2977] = 2,
ACTIONS(328), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(330), 2,
sym_identifier,
anon_sym_foreach,
[2986] = 2,
ACTIONS(332), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(334), 2,
sym_identifier,
anon_sym_foreach,
[2995] = 4,
ACTIONS(336), 1,
sym_space,
ACTIONS(338), 1,
sym_identifier,
ACTIONS(340), 1,
anon_sym_foreach,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3008] = 2,
ACTIONS(320), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(322), 2,
sym_identifier,
anon_sym_foreach,
[3017] = 2,
ACTIONS(324), 1,
sym_space,
ACTIONS(326), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3026] = 2,
ACTIONS(342), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(344), 2,
sym_identifier,
anon_sym_foreach,
[3035] = 4,
ACTIONS(296), 1,
sym_identifier,
ACTIONS(298), 1,
anon_sym_foreach,
ACTIONS(336), 1,
sym_space,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3048] = 2,
ACTIONS(346), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(348), 2,
sym_identifier,
anon_sym_foreach,
[3057] = 2,
ACTIONS(350), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(352), 2,
sym_identifier,
anon_sym_foreach,
[3066] = 3,
ACTIONS(356), 1,
2021-04-10 19:10:37 -04:00
anon_sym_EQ,
STATE(131), 1,
2021-04-10 19:10:37 -04:00
aux_sym__bracket_open_repeat1,
ACTIONS(354), 2,
2021-04-11 11:27:20 -04:00
anon_sym_LBRACK,
anon_sym_RBRACK,
[3077] = 2,
ACTIONS(342), 1,
2021-04-10 15:55:47 -04:00
sym_space,
ACTIONS(344), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3086] = 2,
ACTIONS(359), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(361), 2,
sym_identifier,
anon_sym_foreach,
[3095] = 2,
ACTIONS(363), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(365), 2,
sym_identifier,
anon_sym_foreach,
[3104] = 2,
ACTIONS(350), 1,
sym_space,
ACTIONS(352), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3113] = 2,
ACTIONS(367), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(369), 2,
sym_identifier,
anon_sym_foreach,
[3122] = 2,
ACTIONS(371), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(373), 2,
sym_identifier,
anon_sym_foreach,
[3131] = 2,
ACTIONS(375), 2,
ts_builtin_sym_end,
sym_space,
ACTIONS(377), 2,
sym_identifier,
anon_sym_foreach,
[3140] = 2,
ACTIONS(371), 1,
sym_space,
ACTIONS(373), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3149] = 2,
ACTIONS(375), 1,
sym_space,
ACTIONS(377), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3158] = 2,
ACTIONS(367), 1,
sym_space,
ACTIONS(369), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3167] = 2,
ACTIONS(359), 1,
sym_space,
ACTIONS(361), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3176] = 2,
ACTIONS(316), 1,
sym_space,
ACTIONS(318), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3185] = 2,
ACTIONS(346), 1,
sym_space,
ACTIONS(348), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3194] = 2,
ACTIONS(328), 1,
sym_space,
ACTIONS(330), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3203] = 2,
ACTIONS(363), 1,
sym_space,
ACTIONS(365), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3212] = 2,
ACTIONS(332), 1,
sym_space,
ACTIONS(334), 3,
sym_identifier,
anon_sym_foreach,
anon_sym_endforeach,
[3221] = 1,
ACTIONS(379), 3,
2021-04-11 11:27:20 -04:00
sym_space,
sym_newline,
anon_sym_RPAREN,
[3227] = 3,
ACTIONS(381), 1,
anon_sym_EQ,
ACTIONS(383), 1,
anon_sym_RBRACK,
STATE(131), 1,
aux_sym__bracket_open_repeat1,
[3237] = 1,
ACTIONS(385), 3,
2021-04-10 10:29:19 -04:00
sym_space,
sym_newline,
anon_sym_RPAREN,
[3243] = 3,
ACTIONS(336), 1,
sym_space,
ACTIONS(387), 1,
anon_sym_LPAREN,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3253] = 1,
ACTIONS(116), 3,
sym_space,
sym_newline,
anon_sym_LPAREN,
[3259] = 1,
ACTIONS(114), 3,
2021-04-10 10:29:19 -04:00
sym_space,
sym_newline,
anon_sym_LPAREN,
[3265] = 3,
ACTIONS(387), 1,
anon_sym_LPAREN,
ACTIONS(389), 1,
sym_space,
STATE(157), 1,
aux_sym_foreach_loop_repeat1,
[3275] = 3,
ACTIONS(391), 1,
anon_sym_LBRACK,
ACTIONS(393), 1,
anon_sym_EQ,
STATE(164), 1,
aux_sym__bracket_open_repeat1,
[3285] = 1,
ACTIONS(395), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
[3291] = 3,
ACTIONS(336), 1,
sym_space,
ACTIONS(397), 1,
anon_sym_LPAREN,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3301] = 3,
ACTIONS(399), 1,
aux_sym_bracket_content_token1,
ACTIONS(402), 1,
anon_sym_RBRACK,
STATE(158), 1,
aux_sym_bracket_content_repeat1,
[3311] = 1,
ACTIONS(404), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
[3317] = 3,
ACTIONS(406), 1,
sym_space,
ACTIONS(408), 1,
anon_sym_LPAREN,
STATE(151), 1,
aux_sym_foreach_loop_repeat1,
[3327] = 3,
ACTIONS(410), 1,
sym_space,
ACTIONS(412), 1,
anon_sym_LPAREN,
STATE(168), 1,
aux_sym_foreach_loop_repeat1,
[3337] = 1,
ACTIONS(414), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
[3343] = 3,
ACTIONS(416), 1,
sym_space,
ACTIONS(418), 1,
anon_sym_LPAREN,
STATE(170), 1,
aux_sym_foreach_loop_repeat1,
[3353] = 3,
ACTIONS(381), 1,
2021-04-11 11:27:20 -04:00
anon_sym_EQ,
ACTIONS(420), 1,
anon_sym_LBRACK,
STATE(131), 1,
2021-04-11 11:27:20 -04:00
aux_sym__bracket_open_repeat1,
[3363] = 1,
ACTIONS(422), 3,
2021-04-11 11:27:20 -04:00
sym_space,
sym_newline,
anon_sym_RPAREN,
[3369] = 1,
ACTIONS(424), 3,
2021-04-10 10:29:19 -04:00
sym_space,
sym_newline,
anon_sym_RPAREN,
[3375] = 3,
ACTIONS(426), 1,
anon_sym_EQ,
ACTIONS(428), 1,
anon_sym_RBRACK,
STATE(149), 1,
aux_sym__bracket_open_repeat1,
[3385] = 3,
ACTIONS(336), 1,
sym_space,
ACTIONS(418), 1,
anon_sym_LPAREN,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3395] = 1,
ACTIONS(430), 3,
sym_space,
sym_newline,
anon_sym_RPAREN,
[3401] = 3,
ACTIONS(336), 1,
sym_space,
ACTIONS(432), 1,
anon_sym_LPAREN,
STATE(109), 1,
aux_sym_foreach_loop_repeat1,
[3411] = 3,
ACTIONS(434), 1,
aux_sym_bracket_content_token1,
ACTIONS(436), 1,
2021-04-10 15:55:47 -04:00
anon_sym_RBRACK,
STATE(158), 1,
aux_sym_bracket_content_repeat1,
[3421] = 2,
ACTIONS(438), 1,
aux_sym_bracket_content_token1,
ACTIONS(440), 1,
anon_sym_RBRACK,
[3428] = 2,
ACTIONS(442), 1,
anon_sym_RBRACK,
STATE(159), 1,
sym__bracket_close,
[3435] = 2,
ACTIONS(444), 1,
aux_sym_bracket_content_token1,
ACTIONS(446), 1,
anon_sym_RBRACK,
[3442] = 1,
ACTIONS(134), 1,
anon_sym_RPAREN,
[3446] = 1,
ACTIONS(448), 1,
anon_sym_RPAREN,
[3450] = 1,
ACTIONS(450), 1,
anon_sym_RPAREN,
[3454] = 1,
ACTIONS(452), 1,
anon_sym_RPAREN,
[3458] = 1,
ACTIONS(150), 1,
anon_sym_RPAREN,
[3462] = 1,
ACTIONS(454), 1,
anon_sym_RPAREN,
[3466] = 1,
ACTIONS(132), 1,
anon_sym_RPAREN,
[3470] = 1,
ACTIONS(154), 1,
anon_sym_RPAREN,
[3474] = 1,
ACTIONS(158), 1,
anon_sym_RPAREN,
[3478] = 1,
ACTIONS(156), 1,
anon_sym_RPAREN,
[3482] = 1,
ACTIONS(456), 1,
anon_sym_DQUOTE,
[3486] = 1,
ACTIONS(458), 1,
2021-04-11 11:27:20 -04:00
sym_newline,
[3490] = 1,
ACTIONS(136), 1,
anon_sym_RPAREN,
[3494] = 1,
ACTIONS(152), 1,
anon_sym_RPAREN,
[3498] = 1,
ACTIONS(460), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
[3502] = 1,
ACTIONS(462), 1,
anon_sym_RBRACE,
[3506] = 1,
ACTIONS(464), 1,
anon_sym_RBRACE,
[3510] = 1,
ACTIONS(466), 1,
anon_sym_RPAREN,
[3514] = 1,
ACTIONS(468), 1,
anon_sym_RBRACE,
[3518] = 1,
ACTIONS(470), 1,
anon_sym_RPAREN,
[3522] = 1,
ACTIONS(472), 1,
anon_sym_RPAREN,
[3526] = 1,
ACTIONS(474), 1,
anon_sym_RPAREN,
[3530] = 1,
ACTIONS(476), 1,
anon_sym_RPAREN,
[3534] = 1,
ACTIONS(478), 1,
anon_sym_RPAREN,
[3538] = 1,
ACTIONS(480), 1,
anon_sym_RPAREN,
[3542] = 1,
ACTIONS(482), 1,
anon_sym_RPAREN,
[3546] = 1,
ACTIONS(140), 1,
anon_sym_RPAREN,
[3550] = 1,
ACTIONS(484), 1,
anon_sym_RBRACE,
[3554] = 1,
ACTIONS(486), 1,
anon_sym_RPAREN,
[3558] = 1,
ACTIONS(488), 1,
anon_sym_RPAREN,
[3562] = 1,
ACTIONS(490), 1,
anon_sym_RPAREN,
[3566] = 1,
ACTIONS(492), 1,
anon_sym_RBRACE,
[3570] = 1,
ACTIONS(494), 1,
anon_sym_RBRACE,
[3574] = 1,
ACTIONS(496), 1,
anon_sym_RPAREN,
[3578] = 1,
ACTIONS(498), 1,
2021-04-10 10:29:19 -04:00
anon_sym_RPAREN,
[3582] = 1,
ACTIONS(138), 1,
anon_sym_RPAREN,
[3586] = 1,
ACTIONS(500), 1,
anon_sym_RPAREN,
[3590] = 1,
ACTIONS(502), 1,
ts_builtin_sym_end,
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 69,
[SMALL_STATE(4)] = 138,
[SMALL_STATE(5)] = 207,
[SMALL_STATE(6)] = 276,
[SMALL_STATE(7)] = 345,
[SMALL_STATE(8)] = 414,
[SMALL_STATE(9)] = 483,
[SMALL_STATE(10)] = 552,
[SMALL_STATE(11)] = 621,
[SMALL_STATE(12)] = 690,
[SMALL_STATE(13)] = 759,
[SMALL_STATE(14)] = 828,
[SMALL_STATE(15)] = 890,
[SMALL_STATE(16)] = 932,
[SMALL_STATE(17)] = 970,
[SMALL_STATE(18)] = 1008,
[SMALL_STATE(19)] = 1047,
[SMALL_STATE(20)] = 1086,
[SMALL_STATE(21)] = 1114,
[SMALL_STATE(22)] = 1131,
[SMALL_STATE(23)] = 1148,
[SMALL_STATE(24)] = 1163,
[SMALL_STATE(25)] = 1178,
[SMALL_STATE(26)] = 1193,
[SMALL_STATE(27)] = 1208,
[SMALL_STATE(28)] = 1223,
[SMALL_STATE(29)] = 1237,
[SMALL_STATE(30)] = 1261,
[SMALL_STATE(31)] = 1285,
[SMALL_STATE(32)] = 1309,
[SMALL_STATE(33)] = 1333,
[SMALL_STATE(34)] = 1347,
[SMALL_STATE(35)] = 1371,
[SMALL_STATE(36)] = 1393,
[SMALL_STATE(37)] = 1417,
[SMALL_STATE(38)] = 1441,
[SMALL_STATE(39)] = 1465,
[SMALL_STATE(40)] = 1489,
[SMALL_STATE(41)] = 1513,
[SMALL_STATE(42)] = 1527,
[SMALL_STATE(43)] = 1551,
[SMALL_STATE(44)] = 1565,
[SMALL_STATE(45)] = 1579,
[SMALL_STATE(46)] = 1601,
[SMALL_STATE(47)] = 1615,
[SMALL_STATE(48)] = 1639,
[SMALL_STATE(49)] = 1660,
[SMALL_STATE(50)] = 1681,
[SMALL_STATE(51)] = 1702,
[SMALL_STATE(52)] = 1723,
[SMALL_STATE(53)] = 1744,
[SMALL_STATE(54)] = 1765,
[SMALL_STATE(55)] = 1789,
[SMALL_STATE(56)] = 1813,
[SMALL_STATE(57)] = 1837,
[SMALL_STATE(58)] = 1861,
[SMALL_STATE(59)] = 1885,
[SMALL_STATE(60)] = 1909,
[SMALL_STATE(61)] = 1933,
[SMALL_STATE(62)] = 1957,
[SMALL_STATE(63)] = 1981,
[SMALL_STATE(64)] = 2005,
[SMALL_STATE(65)] = 2029,
[SMALL_STATE(66)] = 2053,
[SMALL_STATE(67)] = 2077,
[SMALL_STATE(68)] = 2101,
[SMALL_STATE(69)] = 2125,
[SMALL_STATE(70)] = 2146,
[SMALL_STATE(71)] = 2167,
[SMALL_STATE(72)] = 2188,
[SMALL_STATE(73)] = 2199,
[SMALL_STATE(74)] = 2216,
[SMALL_STATE(75)] = 2233,
[SMALL_STATE(76)] = 2250,
[SMALL_STATE(77)] = 2267,
[SMALL_STATE(78)] = 2284,
[SMALL_STATE(79)] = 2301,
[SMALL_STATE(80)] = 2318,
[SMALL_STATE(81)] = 2333,
[SMALL_STATE(82)] = 2348,
[SMALL_STATE(83)] = 2363,
[SMALL_STATE(84)] = 2380,
[SMALL_STATE(85)] = 2397,
[SMALL_STATE(86)] = 2414,
[SMALL_STATE(87)] = 2431,
[SMALL_STATE(88)] = 2448,
[SMALL_STATE(89)] = 2465,
[SMALL_STATE(90)] = 2482,
[SMALL_STATE(91)] = 2499,
[SMALL_STATE(92)] = 2516,
[SMALL_STATE(93)] = 2533,
[SMALL_STATE(94)] = 2550,
[SMALL_STATE(95)] = 2565,
[SMALL_STATE(96)] = 2582,
[SMALL_STATE(97)] = 2597,
[SMALL_STATE(98)] = 2614,
[SMALL_STATE(99)] = 2631,
[SMALL_STATE(100)] = 2648,
[SMALL_STATE(101)] = 2665,
[SMALL_STATE(102)] = 2682,
[SMALL_STATE(103)] = 2697,
[SMALL_STATE(104)] = 2714,
[SMALL_STATE(105)] = 2731,
[SMALL_STATE(106)] = 2748,
[SMALL_STATE(107)] = 2765,
[SMALL_STATE(108)] = 2782,
[SMALL_STATE(109)] = 2798,
[SMALL_STATE(110)] = 2810,
[SMALL_STATE(111)] = 2826,
[SMALL_STATE(112)] = 2842,
[SMALL_STATE(113)] = 2854,
[SMALL_STATE(114)] = 2870,
[SMALL_STATE(115)] = 2886,
[SMALL_STATE(116)] = 2902,
[SMALL_STATE(117)] = 2918,
[SMALL_STATE(118)] = 2934,
[SMALL_STATE(119)] = 2950,
[SMALL_STATE(120)] = 2959,
[SMALL_STATE(121)] = 2968,
[SMALL_STATE(122)] = 2977,
[SMALL_STATE(123)] = 2986,
[SMALL_STATE(124)] = 2995,
[SMALL_STATE(125)] = 3008,
[SMALL_STATE(126)] = 3017,
[SMALL_STATE(127)] = 3026,
[SMALL_STATE(128)] = 3035,
[SMALL_STATE(129)] = 3048,
[SMALL_STATE(130)] = 3057,
[SMALL_STATE(131)] = 3066,
[SMALL_STATE(132)] = 3077,
[SMALL_STATE(133)] = 3086,
[SMALL_STATE(134)] = 3095,
[SMALL_STATE(135)] = 3104,
[SMALL_STATE(136)] = 3113,
[SMALL_STATE(137)] = 3122,
[SMALL_STATE(138)] = 3131,
[SMALL_STATE(139)] = 3140,
[SMALL_STATE(140)] = 3149,
[SMALL_STATE(141)] = 3158,
[SMALL_STATE(142)] = 3167,
[SMALL_STATE(143)] = 3176,
[SMALL_STATE(144)] = 3185,
[SMALL_STATE(145)] = 3194,
[SMALL_STATE(146)] = 3203,
[SMALL_STATE(147)] = 3212,
[SMALL_STATE(148)] = 3221,
[SMALL_STATE(149)] = 3227,
[SMALL_STATE(150)] = 3237,
[SMALL_STATE(151)] = 3243,
[SMALL_STATE(152)] = 3253,
[SMALL_STATE(153)] = 3259,
[SMALL_STATE(154)] = 3265,
[SMALL_STATE(155)] = 3275,
[SMALL_STATE(156)] = 3285,
[SMALL_STATE(157)] = 3291,
[SMALL_STATE(158)] = 3301,
[SMALL_STATE(159)] = 3311,
[SMALL_STATE(160)] = 3317,
[SMALL_STATE(161)] = 3327,
[SMALL_STATE(162)] = 3337,
[SMALL_STATE(163)] = 3343,
[SMALL_STATE(164)] = 3353,
[SMALL_STATE(165)] = 3363,
[SMALL_STATE(166)] = 3369,
[SMALL_STATE(167)] = 3375,
[SMALL_STATE(168)] = 3385,
[SMALL_STATE(169)] = 3395,
[SMALL_STATE(170)] = 3401,
[SMALL_STATE(171)] = 3411,
[SMALL_STATE(172)] = 3421,
[SMALL_STATE(173)] = 3428,
[SMALL_STATE(174)] = 3435,
[SMALL_STATE(175)] = 3442,
[SMALL_STATE(176)] = 3446,
[SMALL_STATE(177)] = 3450,
[SMALL_STATE(178)] = 3454,
[SMALL_STATE(179)] = 3458,
[SMALL_STATE(180)] = 3462,
[SMALL_STATE(181)] = 3466,
[SMALL_STATE(182)] = 3470,
[SMALL_STATE(183)] = 3474,
[SMALL_STATE(184)] = 3478,
[SMALL_STATE(185)] = 3482,
[SMALL_STATE(186)] = 3486,
[SMALL_STATE(187)] = 3490,
[SMALL_STATE(188)] = 3494,
[SMALL_STATE(189)] = 3498,
[SMALL_STATE(190)] = 3502,
[SMALL_STATE(191)] = 3506,
[SMALL_STATE(192)] = 3510,
[SMALL_STATE(193)] = 3514,
[SMALL_STATE(194)] = 3518,
[SMALL_STATE(195)] = 3522,
[SMALL_STATE(196)] = 3526,
[SMALL_STATE(197)] = 3530,
[SMALL_STATE(198)] = 3534,
[SMALL_STATE(199)] = 3538,
[SMALL_STATE(200)] = 3542,
[SMALL_STATE(201)] = 3546,
[SMALL_STATE(202)] = 3550,
[SMALL_STATE(203)] = 3554,
[SMALL_STATE(204)] = 3558,
[SMALL_STATE(205)] = 3562,
[SMALL_STATE(206)] = 3566,
[SMALL_STATE(207)] = 3570,
[SMALL_STATE(208)] = 3574,
[SMALL_STATE(209)] = 3578,
[SMALL_STATE(210)] = 3582,
[SMALL_STATE(211)] = 3586,
[SMALL_STATE(212)] = 3590,
2021-04-10 10:29:19 -04:00
};
2021-05-27 03:13:26 -04:00
static const TSParseActionEntry ts_parse_actions[] = {
2021-04-10 10:29:19 -04:00
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
[3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0),
[5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160),
[9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75),
[11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22),
[13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(21),
[15] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
[17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(53),
[19] = {.entry = {.count = 1, .reusable = false}}, SHIFT(48),
[21] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
[23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155),
[25] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
[29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(130),
[31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
[33] = {.entry = {.count = 1, .reusable = false}}, SHIFT(132),
[35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
[37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(135),
[39] = {.entry = {.count = 1, .reusable = false}}, SHIFT(139),
[41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140),
[43] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
[45] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__seperated_arguments, 1),
[47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28),
[49] = {.entry = {.count = 1, .reusable = false}}, SHIFT(51),
[51] = {.entry = {.count = 1, .reusable = false}}, SHIFT(50),
[53] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
[55] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
[57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(19),
[59] = {.entry = {.count = 1, .reusable = false}}, SHIFT(186),
[61] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2),
[63] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2), SHIFT_REPEAT(26),
[66] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2), SHIFT_REPEAT(53),
[69] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2), SHIFT_REPEAT(48),
[72] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2), SHIFT_REPEAT(52),
[75] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_unquoted_argument_repeat1, 2), SHIFT_REPEAT(16),
[78] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_unquoted_argument, 1),
[80] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
[82] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(28),
[85] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(51),
[88] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(50),
[91] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(49),
[94] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2),
[96] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(18),
[99] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_element_repeat1, 2), SHIFT_REPEAT(186),
[102] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_quoted_element, 1),
[104] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18),
[106] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__seperated_arguments_repeat1, 2), SHIFT_REPEAT(22),
[109] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__seperated_arguments_repeat1, 2), SHIFT_REPEAT(21),
[112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__seperated_arguments_repeat1, 2),
[114] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_line_ending, 1),
[116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_seperation, 1),
[118] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cache_var, 3),
[120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_env_var, 3),
[122] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_var, 3),
[124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_escape_sequence, 1),
[126] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_ref, 1),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(147),
[134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(143),
[136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[142] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variable_repeat1, 2), SHIFT_REPEAT(72),
[145] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variable_repeat1, 2), SHIFT_REPEAT(35),
[148] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_variable_repeat1, 2),
[150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
[154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(146),
[156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
[158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
[160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(141),
[162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[164] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable, 1),
[166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
[170] = {.entry = {.count = 1, .reusable = false}}, SHIFT(161),
[172] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86),
[174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101),
[176] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1),
[178] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(128),
[181] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(161),
[184] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(86),
[187] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2),
[189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
[191] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92),
[193] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2),
[195] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(124),
[198] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(160),
[201] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_source_file_repeat1, 2), SHIFT_REPEAT(75),
[204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
[206] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77),
[208] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
[210] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87),
[212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
[214] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83),
[216] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110),
[218] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105),
[220] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
[222] = {.entry = {.count = 1, .reusable = false}}, SHIFT(89),
[224] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
[226] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73),
[228] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_arguments_repeat1, 2), SHIFT_REPEAT(22),
[231] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_arguments_repeat1, 2), SHIFT_REPEAT(21),
[234] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_arguments_repeat1, 2),
[236] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 2),
[238] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arguments, 1),
[240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_escape_sequence, 1),
[242] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
[244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(153),
[246] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
[248] = {.entry = {.count = 1, .reusable = false}}, SHIFT(96),
[250] = {.entry = {.count = 1, .reusable = false}}, SHIFT(82),
[252] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42),
[254] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102),
[256] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38),
[258] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
[260] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
[262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
[264] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47),
[266] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30),
[268] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
[270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
[272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31),
[274] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
[276] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81),
[278] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
[280] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94),
[282] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__seperated_arguments_repeat1, 2), SHIFT_REPEAT(152),
[285] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__seperated_arguments_repeat1, 2), SHIFT_REPEAT(153),
[288] = {.entry = {.count = 1, .reusable = false}}, SHIFT(36),
[290] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29),
[292] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
[294] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
[296] = {.entry = {.count = 1, .reusable = false}}, SHIFT(163),
[298] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95),
[300] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_foreach_loop_repeat1, 2), SHIFT_REPEAT(109),
[303] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_foreach_loop_repeat1, 2),
[305] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107),
[307] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_foreach_loop_repeat1, 2), SHIFT_REPEAT(112),
[310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
[312] = {.entry = {.count = 1, .reusable = false}}, SHIFT(167),
[314] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79),
[316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 8),
[318] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 8),
[320] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 13),
[322] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 13),
[324] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command_invocation, 1),
[326] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_command_invocation, 1),
[328] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 10),
[330] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 10),
[332] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 12),
[334] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 12),
[336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
[338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
[340] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93),
[342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_normal_command, 3),
[344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_command, 3),
[346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 9),
[348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 9),
[350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_normal_command, 4),
[352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_command, 4),
[354] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__bracket_open_repeat1, 2),
[356] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__bracket_open_repeat1, 2), SHIFT_REPEAT(131),
[359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_normal_command, 7),
[361] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_command, 7),
[363] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 11),
[365] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 11),
[367] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_loop, 7),
[369] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_foreach_loop, 7),
[371] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_normal_command, 5),
[373] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_command, 5),
[375] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_normal_command, 6),
[377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_normal_command, 6),
[379] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_quoted_argument, 3),
[381] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
[383] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
[385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bracket_close, 3),
[387] = {.entry = {.count = 1, .reusable = false}}, SHIFT(2),
[389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
[391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
[393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
[395] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument, 1),
[397] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
[399] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bracket_content_repeat1, 2), SHIFT_REPEAT(158),
[402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_bracket_content_repeat1, 2),
[404] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracket_argument, 3),
[406] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
[408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6),
[410] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
[412] = {.entry = {.count = 1, .reusable = false}}, SHIFT(5),
[414] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bracket_close, 2),
[416] = {.entry = {.count = 1, .reusable = true}}, SHIFT(170),
[418] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8),
[420] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
[422] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__seperated_arguments, 2),
[424] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_quoted_argument, 2),
[426] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
[428] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
[430] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracket_argument, 2),
[432] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10),
[434] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
[436] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracket_content, 1),
[438] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bracket_open, 3),
[440] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bracket_open, 3),
[442] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
[444] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bracket_open, 2),
[446] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bracket_open, 2),
[448] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[450] = {.entry = {.count = 1, .reusable = true}}, SHIFT(120),
[452] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
[454] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[456] = {.entry = {.count = 1, .reusable = true}}, SHIFT(148),
[458] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[460] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
[462] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[464] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[466] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
[468] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[470] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[472] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[474] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_zip_lists, 1),
[476] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_lists_items, 1),
[478] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_foreach_range, 1),
[480] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
[482] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[484] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[486] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[488] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
[490] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
[492] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[494] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[496] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
[498] = {.entry = {.count = 1, .reusable = true}}, SHIFT(135),
[500] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
[502] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
2021-04-10 10:29:19 -04:00
};
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _WIN32
#define extern __declspec(dllexport)
#endif
extern const TSLanguage *tree_sitter_cmake(void) {
2021-05-27 03:13:26 -04:00
static const TSLanguage language = {
2021-04-10 10:29:19 -04:00
.version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
.external_token_count = EXTERNAL_TOKEN_COUNT,
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
2021-05-27 03:13:26 -04:00
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
2021-04-10 10:29:19 -04:00
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
2021-05-27 03:13:26 -04:00
.alias_sequences = &ts_alias_sequences[0][0],
2021-04-10 10:29:19 -04:00
.lex_modes = ts_lex_modes,
.lex_fn = ts_lex,
};
return &language;
}
#ifdef __cplusplus
}
#endif