#include "tree_sitter/parser.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#define LANGUAGE_VERSION 15
#define STATE_COUNT 358
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 119
#define ALIAS_COUNT 1
#define TOKEN_COUNT 73
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 0
#define MAX_ALIAS_SEQUENCE_LENGTH 10
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 2
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
sym_command_name = 1,
aux_sym_program_token1 = 2,
anon_sym_AT = 3,
aux_sym_echo_off_token1 = 4,
aux_sym_echo_off_token2 = 5,
aux_sym_echo_off_token3 = 6,
sym_comment = 7,
sym_label = 8,
aux_sym_variable_assignment_token1 = 9,
aux_sym_variable_assignment_token2 = 10,
anon_sym_DQUOTE = 11,
anon_sym_EQ = 12,
anon_sym_CARET_DQUOTE = 13,
aux_sym_caret_quoted_assignment_value_token1 = 14,
anon_sym_PERCENT = 15,
anon_sym_BANG = 16,
anon_sym_CARET_CARET = 17,
anon_sym_CARET = 18,
sym__var_name_pattern = 19,
sym__quoted_var_name_pattern = 20,
aux_sym_arithmetic_assignment_token1 = 21,
aux_sym_prompt_assignment_token1 = 22,
aux_sym_prompt_assignment_token2 = 23,
sym_arithmetic_expression = 24,
aux_sym_assignment_value_token1 = 25,
anon_sym_LPAREN = 26,
anon_sym_RPAREN = 27,
aux_sym_quoted_assignment_value_token1 = 28,
aux_sym_if_stmt_token1 = 29,
aux_sym_if_stmt_token2 = 30,
aux_sym_if_stmt_token3 = 31,
aux_sym_if_stmt_token4 = 32,
aux_sym_if_stmt_token5 = 33,
aux_sym_if_stmt_token6 = 34,
aux_sym_if_stmt_token7 = 35,
aux_sym_else_clause_token1 = 36,
sym__if_word = 37,
sym_comparison_op = 38,
aux_sym_goto_stmt_token1 = 39,
aux_sym_goto_stmt_token2 = 40,
aux_sym_goto_stmt_token3 = 41,
aux_sym_call_stmt_token1 = 42,
aux_sym_call_stmt_token2 = 43,
aux_sym_exit_stmt_token1 = 44,
aux_sym_exit_stmt_token2 = 45,
aux_sym_setlocal_stmt_token1 = 46,
aux_sym_setlocal_stmt_token2 = 47,
aux_sym_setlocal_stmt_token3 = 48,
aux_sym_setlocal_stmt_token4 = 49,
aux_sym_setlocal_stmt_token5 = 50,
aux_sym_endlocal_stmt_token1 = 51,
aux_sym_for_stmt_token1 = 52,
aux_sym_for_stmt_token2 = 53,
aux_sym_for_stmt_token3 = 54,
sym_for_options = 55,
sym_for_variable = 56,
aux_sym_redirection_token1 = 57,
sym_fd_redirect = 58,
sym_redirect_op = 59,
sym_redirect_target = 60,
anon_sym_PIPE = 61,
anon_sym_AMP_AMP = 62,
anon_sym_PIPE_PIPE = 63,
anon_sym_AMP = 64,
sym_variable_reference = 65,
sym_string = 66,
anon_sym_LBRACK = 67,
aux_sym_bracketed_value_token1 = 68,
anon_sym_RBRACK = 69,
sym_command_option = 70,
sym_argument_value = 71,
sym_integer = 72,
sym_program = 73,
sym__stmt = 74,
sym_echo_off = 75,
sym_variable_assignment = 76,
sym_caret_quoted_assignment_value = 77,
sym_arithmetic_assignment = 78,
sym_prompt_assignment = 79,
sym_assignment_value = 80,
sym_assignment_paren_group = 81,
sym_quoted_assignment_value = 82,
sym_if_stmt = 83,
sym_else_clause = 84,
sym__body_stmt = 85,
sym__if_operand = 86,
sym_goto_stmt = 87,
sym_call_stmt = 88,
sym_exit_stmt = 89,
sym_setlocal_stmt = 90,
sym_endlocal_stmt = 91,
sym_for_stmt = 92,
sym_for_set = 93,
sym_for_set_group = 94,
sym_parenthesized = 95,
sym_redirect_stmt = 96,
sym_redirection = 97,
sym_pipe_stmt = 98,
sym_cond_exec = 99,
sym_command_sep = 100,
sym_bracketed_value = 101,
sym_cmd = 102,
sym_macro_invocation = 103,
sym_argument_list = 104,
sym__arg = 105,
sym_paren_expression = 106,
aux_sym_program_repeat1 = 107,
aux_sym_variable_assignment_repeat1 = 108,
aux_sym_caret_quoted_assignment_value_repeat1 = 109,
aux_sym_assignment_value_repeat1 = 110,
aux_sym_assignment_paren_group_repeat1 = 111,
aux_sym_quoted_assignment_value_repeat1 = 112,
aux_sym_setlocal_stmt_repeat1 = 113,
aux_sym_for_set_repeat1 = 114,
aux_sym_for_set_group_repeat1 = 115,
aux_sym_redirection_repeat1 = 116,
aux_sym_bracketed_value_repeat1 = 117,
aux_sym_argument_list_repeat1 = 118,
alias_sym_for_set_literal = 119,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[sym_command_name] = "command_name",
[aux_sym_program_token1] = "program_token1",
[anon_sym_AT] = "@",
[aux_sym_echo_off_token1] = "echo_off_token1",
[aux_sym_echo_off_token2] = "echo_off_token2",
[aux_sym_echo_off_token3] = "echo_off_token3",
[sym_comment] = "comment",
[sym_label] = "label",
[aux_sym_variable_assignment_token1] = "set_keyword",
[aux_sym_variable_assignment_token2] = "variable_assignment_token2",
[anon_sym_DQUOTE] = "\"",
[anon_sym_EQ] = "=",
[anon_sym_CARET_DQUOTE] = "^\"",
[aux_sym_caret_quoted_assignment_value_token1] = "assignment_literal",
[anon_sym_PERCENT] = "assignment_literal",
[anon_sym_BANG] = "assignment_literal",
[anon_sym_CARET_CARET] = "assignment_literal",
[anon_sym_CARET] = "assignment_literal",
[sym__var_name_pattern] = "variable_name",
[sym__quoted_var_name_pattern] = "variable_name",
[aux_sym_arithmetic_assignment_token1] = "set_option",
[aux_sym_prompt_assignment_token1] = "set_option",
[aux_sym_prompt_assignment_token2] = "variable_name",
[sym_arithmetic_expression] = "arithmetic_expression",
[aux_sym_assignment_value_token1] = "assignment_literal",
[anon_sym_LPAREN] = "(",
[anon_sym_RPAREN] = ")",
[aux_sym_quoted_assignment_value_token1] = "assignment_literal",
[aux_sym_if_stmt_token1] = "if_stmt_token1",
[aux_sym_if_stmt_token2] = "if_option",
[aux_sym_if_stmt_token3] = "if_stmt_token3",
[aux_sym_if_stmt_token4] = "if_stmt_token4",
[aux_sym_if_stmt_token5] = "if_stmt_token5",
[aux_sym_if_stmt_token6] = "if_stmt_token6",
[aux_sym_if_stmt_token7] = "if_stmt_token7",
[aux_sym_else_clause_token1] = "else_clause_token1",
[sym__if_word] = "argument_value",
[sym_comparison_op] = "comparison_op",
[aux_sym_goto_stmt_token1] = "goto_stmt_token1",
[aux_sym_goto_stmt_token2] = "goto_stmt_token2",
[aux_sym_goto_stmt_token3] = "goto_stmt_token3",
[aux_sym_call_stmt_token1] = "call_stmt_token1",
[aux_sym_call_stmt_token2] = "call_stmt_token2",
[aux_sym_exit_stmt_token1] = "exit_stmt_token1",
[aux_sym_exit_stmt_token2] = "exit_stmt_token2",
[aux_sym_setlocal_stmt_token1] = "setlocal_stmt_token1",
[aux_sym_setlocal_stmt_token2] = "setlocal_stmt_token2",
[aux_sym_setlocal_stmt_token3] = "setlocal_stmt_token3",
[aux_sym_setlocal_stmt_token4] = "setlocal_stmt_token4",
[aux_sym_setlocal_stmt_token5] = "setlocal_stmt_token5",
[aux_sym_endlocal_stmt_token1] = "endlocal_stmt_token1",
[aux_sym_for_stmt_token1] = "for_stmt_token1",
[aux_sym_for_stmt_token2] = "for_stmt_token2",
[aux_sym_for_stmt_token3] = "for_stmt_token3",
[sym_for_options] = "for_options",
[sym_for_variable] = "for_variable",
[aux_sym_redirection_token1] = "redirection_token1",
[sym_fd_redirect] = "fd_redirect",
[sym_redirect_op] = "redirect_op",
[sym_redirect_target] = "redirect_target",
[anon_sym_PIPE] = "|",
[anon_sym_AMP_AMP] = "&&",
[anon_sym_PIPE_PIPE] = "||",
[anon_sym_AMP] = "&",
[sym_variable_reference] = "variable_reference",
[sym_string] = "string",
[anon_sym_LBRACK] = "[",
[aux_sym_bracketed_value_token1] = "bracketed_literal",
[anon_sym_RBRACK] = "]",
[sym_command_option] = "command_option",
[sym_argument_value] = "argument_value",
[sym_integer] = "integer",
[sym_program] = "program",
[sym__stmt] = "_stmt",
[sym_echo_off] = "echo_off",
[sym_variable_assignment] = "variable_assignment",
[sym_caret_quoted_assignment_value] = "caret_quoted_assignment_value",
[sym_arithmetic_assignment] = "arithmetic_assignment",
[sym_prompt_assignment] = "prompt_assignment",
[sym_assignment_value] = "assignment_value",
[sym_assignment_paren_group] = "assignment_paren_group",
[sym_quoted_assignment_value] = "quoted_assignment_value",
[sym_if_stmt] = "if_stmt",
[sym_else_clause] = "else_clause",
[sym__body_stmt] = "_body_stmt",
[sym__if_operand] = "_if_operand",
[sym_goto_stmt] = "goto_stmt",
[sym_call_stmt] = "call_stmt",
[sym_exit_stmt] = "exit_stmt",
[sym_setlocal_stmt] = "setlocal_stmt",
[sym_endlocal_stmt] = "endlocal_stmt",
[sym_for_stmt] = "for_stmt",
[sym_for_set] = "for_set",
[sym_for_set_group] = "for_set_group",
[sym_parenthesized] = "parenthesized",
[sym_redirect_stmt] = "redirect_stmt",
[sym_redirection] = "redirection",
[sym_pipe_stmt] = "pipe_stmt",
[sym_cond_exec] = "cond_exec",
[sym_command_sep] = "command_sep",
[sym_bracketed_value] = "bracketed_value",
[sym_cmd] = "cmd",
[sym_macro_invocation] = "macro_invocation",
[sym_argument_list] = "argument_list",
[sym__arg] = "_arg",
[sym_paren_expression] = "paren_expression",
[aux_sym_program_repeat1] = "program_repeat1",
[aux_sym_variable_assignment_repeat1] = "variable_assignment_repeat1",
[aux_sym_caret_quoted_assignment_value_repeat1] = "caret_quoted_assignment_value_repeat1",
[aux_sym_assignment_value_repeat1] = "assignment_value_repeat1",
[aux_sym_assignment_paren_group_repeat1] = "assignment_paren_group_repeat1",
[aux_sym_quoted_assignment_value_repeat1] = "quoted_assignment_value_repeat1",
[aux_sym_setlocal_stmt_repeat1] = "setlocal_stmt_repeat1",
[aux_sym_for_set_repeat1] = "for_set_repeat1",
[aux_sym_for_set_group_repeat1] = "for_set_group_repeat1",
[aux_sym_redirection_repeat1] = "redirection_repeat1",
[aux_sym_bracketed_value_repeat1] = "bracketed_value_repeat1",
[aux_sym_argument_list_repeat1] = "argument_list_repeat1",
[alias_sym_for_set_literal] = "for_set_literal",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[sym_command_name] = sym_command_name,
[aux_sym_program_token1] = aux_sym_program_token1,
[anon_sym_AT] = anon_sym_AT,
[aux_sym_echo_off_token1] = aux_sym_echo_off_token1,
[aux_sym_echo_off_token2] = aux_sym_echo_off_token2,
[aux_sym_echo_off_token3] = aux_sym_echo_off_token3,
[sym_comment] = sym_comment,
[sym_label] = sym_label,
[aux_sym_variable_assignment_token1] = aux_sym_variable_assignment_token1,
[aux_sym_variable_assignment_token2] = aux_sym_variable_assignment_token2,
[anon_sym_DQUOTE] = anon_sym_DQUOTE,
[anon_sym_EQ] = anon_sym_EQ,
[anon_sym_CARET_DQUOTE] = anon_sym_CARET_DQUOTE,
[aux_sym_caret_quoted_assignment_value_token1] = aux_sym_caret_quoted_assignment_value_token1,
[anon_sym_PERCENT] = aux_sym_caret_quoted_assignment_value_token1,
[anon_sym_BANG] = aux_sym_caret_quoted_assignment_value_token1,
[anon_sym_CARET_CARET] = aux_sym_caret_quoted_assignment_value_token1,
[anon_sym_CARET] = aux_sym_caret_quoted_assignment_value_token1,
[sym__var_name_pattern] = sym__var_name_pattern,
[sym__quoted_var_name_pattern] = sym__var_name_pattern,
[aux_sym_arithmetic_assignment_token1] = aux_sym_arithmetic_assignment_token1,
[aux_sym_prompt_assignment_token1] = aux_sym_arithmetic_assignment_token1,
[aux_sym_prompt_assignment_token2] = sym__var_name_pattern,
[sym_arithmetic_expression] = sym_arithmetic_expression,
[aux_sym_assignment_value_token1] = aux_sym_caret_quoted_assignment_value_token1,
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_RPAREN] = anon_sym_RPAREN,
[aux_sym_quoted_assignment_value_token1] = aux_sym_caret_quoted_assignment_value_token1,
[aux_sym_if_stmt_token1] = aux_sym_if_stmt_token1,
[aux_sym_if_stmt_token2] = aux_sym_if_stmt_token2,
[aux_sym_if_stmt_token3] = aux_sym_if_stmt_token3,
[aux_sym_if_stmt_token4] = aux_sym_if_stmt_token4,
[aux_sym_if_stmt_token5] = aux_sym_if_stmt_token5,
[aux_sym_if_stmt_token6] = aux_sym_if_stmt_token6,
[aux_sym_if_stmt_token7] = aux_sym_if_stmt_token7,
[aux_sym_else_clause_token1] = aux_sym_else_clause_token1,
[sym__if_word] = sym_argument_value,
[sym_comparison_op] = sym_comparison_op,
[aux_sym_goto_stmt_token1] = aux_sym_goto_stmt_token1,
[aux_sym_goto_stmt_token2] = aux_sym_goto_stmt_token2,
[aux_sym_goto_stmt_token3] = aux_sym_goto_stmt_token3,
[aux_sym_call_stmt_token1] = aux_sym_call_stmt_token1,
[aux_sym_call_stmt_token2] = aux_sym_call_stmt_token2,
[aux_sym_exit_stmt_token1] = aux_sym_exit_stmt_token1,
[aux_sym_exit_stmt_token2] = aux_sym_exit_stmt_token2,
[aux_sym_setlocal_stmt_token1] = aux_sym_setlocal_stmt_token1,
[aux_sym_setlocal_stmt_token2] = aux_sym_setlocal_stmt_token2,
[aux_sym_setlocal_stmt_token3] = aux_sym_setlocal_stmt_token3,
[aux_sym_setlocal_stmt_token4] = aux_sym_setlocal_stmt_token4,
[aux_sym_setlocal_stmt_token5] = aux_sym_setlocal_stmt_token5,
[aux_sym_endlocal_stmt_token1] = aux_sym_endlocal_stmt_token1,
[aux_sym_for_stmt_token1] = aux_sym_for_stmt_token1,
[aux_sym_for_stmt_token2] = aux_sym_for_stmt_token2,
[aux_sym_for_stmt_token3] = aux_sym_for_stmt_token3,
[sym_for_options] = sym_for_options,
[sym_for_variable] = sym_for_variable,
[aux_sym_redirection_token1] = aux_sym_redirection_token1,
[sym_fd_redirect] = sym_fd_redirect,
[sym_redirect_op] = sym_redirect_op,
[sym_redirect_target] = sym_redirect_target,
[anon_sym_PIPE] = anon_sym_PIPE,
[anon_sym_AMP_AMP] = anon_sym_AMP_AMP,
[anon_sym_PIPE_PIPE] = anon_sym_PIPE_PIPE,
[anon_sym_AMP] = anon_sym_AMP,
[sym_variable_reference] = sym_variable_reference,
[sym_string] = sym_string,
[anon_sym_LBRACK] = anon_sym_LBRACK,
[aux_sym_bracketed_value_token1] = aux_sym_bracketed_value_token1,
[anon_sym_RBRACK] = anon_sym_RBRACK,
[sym_command_option] = sym_command_option,
[sym_argument_value] = sym_argument_value,
[sym_integer] = sym_integer,
[sym_program] = sym_program,
[sym__stmt] = sym__stmt,
[sym_echo_off] = sym_echo_off,
[sym_variable_assignment] = sym_variable_assignment,
[sym_caret_quoted_assignment_value] = sym_caret_quoted_assignment_value,
[sym_arithmetic_assignment] = sym_arithmetic_assignment,
[sym_prompt_assignment] = sym_prompt_assignment,
[sym_assignment_value] = sym_assignment_value,
[sym_assignment_paren_group] = sym_assignment_paren_group,
[sym_quoted_assignment_value] = sym_quoted_assignment_value,
[sym_if_stmt] = sym_if_stmt,
[sym_else_clause] = sym_else_clause,
[sym__body_stmt] = sym__body_stmt,
[sym__if_operand] = sym__if_operand,
[sym_goto_stmt] = sym_goto_stmt,
[sym_call_stmt] = sym_call_stmt,
[sym_exit_stmt] = sym_exit_stmt,
[sym_setlocal_stmt] = sym_setlocal_stmt,
[sym_endlocal_stmt] = sym_endlocal_stmt,
[sym_for_stmt] = sym_for_stmt,
[sym_for_set] = sym_for_set,
[sym_for_set_group] = sym_for_set_group,
[sym_parenthesized] = sym_parenthesized,
[sym_redirect_stmt] = sym_redirect_stmt,
[sym_redirection] = sym_redirection,
[sym_pipe_stmt] = sym_pipe_stmt,
[sym_cond_exec] = sym_cond_exec,
[sym_command_sep] = sym_command_sep,
[sym_bracketed_value] = sym_bracketed_value,
[sym_cmd] = sym_cmd,
[sym_macro_invocation] = sym_macro_invocation,
[sym_argument_list] = sym_argument_list,
[sym__arg] = sym__arg,
[sym_paren_expression] = sym_paren_expression,
[aux_sym_program_repeat1] = aux_sym_program_repeat1,
[aux_sym_variable_assignment_repeat1] = aux_sym_variable_assignment_repeat1,
[aux_sym_caret_quoted_assignment_value_repeat1] = aux_sym_caret_quoted_assignment_value_repeat1,
[aux_sym_assignment_value_repeat1] = aux_sym_assignment_value_repeat1,
[aux_sym_assignment_paren_group_repeat1] = aux_sym_assignment_paren_group_repeat1,
[aux_sym_quoted_assignment_value_repeat1] = aux_sym_quoted_assignment_value_repeat1,
[aux_sym_setlocal_stmt_repeat1] = aux_sym_setlocal_stmt_repeat1,
[aux_sym_for_set_repeat1] = aux_sym_for_set_repeat1,
[aux_sym_for_set_group_repeat1] = aux_sym_for_set_group_repeat1,
[aux_sym_redirection_repeat1] = aux_sym_redirection_repeat1,
[aux_sym_bracketed_value_repeat1] = aux_sym_bracketed_value_repeat1,
[aux_sym_argument_list_repeat1] = aux_sym_argument_list_repeat1,
[alias_sym_for_set_literal] = alias_sym_for_set_literal,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[sym_command_name] = {
.visible = true,
.named = true,
},
[aux_sym_program_token1] = {
.visible = false,
.named = false,
},
[anon_sym_AT] = {
.visible = true,
.named = false,
},
[aux_sym_echo_off_token1] = {
.visible = false,
.named = false,
},
[aux_sym_echo_off_token2] = {
.visible = false,
.named = false,
},
[aux_sym_echo_off_token3] = {
.visible = false,
.named = false,
},
[sym_comment] = {
.visible = true,
.named = true,
},
[sym_label] = {
.visible = true,
.named = true,
},
[aux_sym_variable_assignment_token1] = {
.visible = true,
.named = true,
},
[aux_sym_variable_assignment_token2] = {
.visible = false,
.named = false,
},
[anon_sym_DQUOTE] = {
.visible = true,
.named = false,
},
[anon_sym_EQ] = {
.visible = true,
.named = false,
},
[anon_sym_CARET_DQUOTE] = {
.visible = true,
.named = false,
},
[aux_sym_caret_quoted_assignment_value_token1] = {
.visible = true,
.named = true,
},
[anon_sym_PERCENT] = {
.visible = true,
.named = true,
},
[anon_sym_BANG] = {
.visible = true,
.named = true,
},
[anon_sym_CARET_CARET] = {
.visible = true,
.named = true,
},
[anon_sym_CARET] = {
.visible = true,
.named = true,
},
[sym__var_name_pattern] = {
.visible = true,
.named = true,
},
[sym__quoted_var_name_pattern] = {
.visible = true,
.named = true,
},
[aux_sym_arithmetic_assignment_token1] = {
.visible = true,
.named = true,
},
[aux_sym_prompt_assignment_token1] = {
.visible = true,
.named = true,
},
[aux_sym_prompt_assignment_token2] = {
.visible = true,
.named = true,
},
[sym_arithmetic_expression] = {
.visible = true,
.named = true,
},
[aux_sym_assignment_value_token1] = {
.visible = true,
.named = true,
},
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
[aux_sym_quoted_assignment_value_token1] = {
.visible = true,
.named = true,
},
[aux_sym_if_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_if_stmt_token2] = {
.visible = true,
.named = true,
},
[aux_sym_if_stmt_token3] = {
.visible = false,
.named = false,
},
[aux_sym_if_stmt_token4] = {
.visible = false,
.named = false,
},
[aux_sym_if_stmt_token5] = {
.visible = false,
.named = false,
},
[aux_sym_if_stmt_token6] = {
.visible = false,
.named = false,
},
[aux_sym_if_stmt_token7] = {
.visible = false,
.named = false,
},
[aux_sym_else_clause_token1] = {
.visible = false,
.named = false,
},
[sym__if_word] = {
.visible = true,
.named = true,
},
[sym_comparison_op] = {
.visible = true,
.named = true,
},
[aux_sym_goto_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_goto_stmt_token2] = {
.visible = false,
.named = false,
},
[aux_sym_goto_stmt_token3] = {
.visible = false,
.named = false,
},
[aux_sym_call_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_call_stmt_token2] = {
.visible = false,
.named = false,
},
[aux_sym_exit_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_exit_stmt_token2] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_token2] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_token3] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_token4] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_token5] = {
.visible = false,
.named = false,
},
[aux_sym_endlocal_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_for_stmt_token1] = {
.visible = false,
.named = false,
},
[aux_sym_for_stmt_token2] = {
.visible = false,
.named = false,
},
[aux_sym_for_stmt_token3] = {
.visible = false,
.named = false,
},
[sym_for_options] = {
.visible = true,
.named = true,
},
[sym_for_variable] = {
.visible = true,
.named = true,
},
[aux_sym_redirection_token1] = {
.visible = false,
.named = false,
},
[sym_fd_redirect] = {
.visible = true,
.named = true,
},
[sym_redirect_op] = {
.visible = true,
.named = true,
},
[sym_redirect_target] = {
.visible = true,
.named = true,
},
[anon_sym_PIPE] = {
.visible = true,
.named = false,
},
[anon_sym_AMP_AMP] = {
.visible = true,
.named = false,
},
[anon_sym_PIPE_PIPE] = {
.visible = true,
.named = false,
},
[anon_sym_AMP] = {
.visible = true,
.named = false,
},
[sym_variable_reference] = {
.visible = true,
.named = true,
},
[sym_string] = {
.visible = true,
.named = true,
},
[anon_sym_LBRACK] = {
.visible = true,
.named = false,
},
[aux_sym_bracketed_value_token1] = {
.visible = true,
.named = true,
},
[anon_sym_RBRACK] = {
.visible = true,
.named = false,
},
[sym_command_option] = {
.visible = true,
.named = true,
},
[sym_argument_value] = {
.visible = true,
.named = true,
},
[sym_integer] = {
.visible = true,
.named = true,
},
[sym_program] = {
.visible = true,
.named = true,
},
[sym__stmt] = {
.visible = false,
.named = true,
},
[sym_echo_off] = {
.visible = true,
.named = true,
},
[sym_variable_assignment] = {
.visible = true,
.named = true,
},
[sym_caret_quoted_assignment_value] = {
.visible = true,
.named = true,
},
[sym_arithmetic_assignment] = {
.visible = true,
.named = true,
},
[sym_prompt_assignment] = {
.visible = true,
.named = true,
},
[sym_assignment_value] = {
.visible = true,
.named = true,
},
[sym_assignment_paren_group] = {
.visible = true,
.named = true,
},
[sym_quoted_assignment_value] = {
.visible = true,
.named = true,
},
[sym_if_stmt] = {
.visible = true,
.named = true,
},
[sym_else_clause] = {
.visible = true,
.named = true,
},
[sym__body_stmt] = {
.visible = false,
.named = true,
},
[sym__if_operand] = {
.visible = false,
.named = true,
},
[sym_goto_stmt] = {
.visible = true,
.named = true,
},
[sym_call_stmt] = {
.visible = true,
.named = true,
},
[sym_exit_stmt] = {
.visible = true,
.named = true,
},
[sym_setlocal_stmt] = {
.visible = true,
.named = true,
},
[sym_endlocal_stmt] = {
.visible = true,
.named = true,
},
[sym_for_stmt] = {
.visible = true,
.named = true,
},
[sym_for_set] = {
.visible = true,
.named = true,
},
[sym_for_set_group] = {
.visible = true,
.named = true,
},
[sym_parenthesized] = {
.visible = true,
.named = true,
},
[sym_redirect_stmt] = {
.visible = true,
.named = true,
},
[sym_redirection] = {
.visible = true,
.named = true,
},
[sym_pipe_stmt] = {
.visible = true,
.named = true,
},
[sym_cond_exec] = {
.visible = true,
.named = true,
},
[sym_command_sep] = {
.visible = true,
.named = true,
},
[sym_bracketed_value] = {
.visible = true,
.named = true,
},
[sym_cmd] = {
.visible = true,
.named = true,
},
[sym_macro_invocation] = {
.visible = true,
.named = true,
},
[sym_argument_list] = {
.visible = true,
.named = true,
},
[sym__arg] = {
.visible = false,
.named = true,
},
[sym_paren_expression] = {
.visible = true,
.named = true,
},
[aux_sym_program_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_variable_assignment_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_caret_quoted_assignment_value_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_assignment_value_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_assignment_paren_group_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_quoted_assignment_value_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_setlocal_stmt_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_for_set_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_for_set_group_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_redirection_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_bracketed_value_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_argument_list_repeat1] = {
.visible = false,
.named = false,
},
[alias_sym_for_set_literal] = {
.visible = true,
.named = true,
},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
[1] = {
[0] = alias_sym_for_set_literal,
},
};
static const uint16_t ts_non_terminal_alias_map[] = {
0,
};
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
[0] = 0,
[1] = 1,
[2] = 2,
[3] = 2,
[4] = 4,
[5] = 5,
[6] = 6,
[7] = 7,
[8] = 8,
[9] = 8,
[10] = 10,
[11] = 11,
[12] = 12,
[13] = 10,
[14] = 14,
[15] = 15,
[16] = 16,
[17] = 17,
[18] = 18,
[19] = 19,
[20] = 11,
[21] = 12,
[22] = 14,
[23] = 15,
[24] = 16,
[25] = 17,
[26] = 18,
[27] = 19,
[28] = 28,
[29] = 28,
[30] = 30,
[31] = 31,
[32] = 32,
[33] = 32,
[34] = 34,
[35] = 35,
[36] = 36,
[37] = 37,
[38] = 38,
[39] = 34,
[40] = 40,
[41] = 41,
[42] = 42,
[43] = 43,
[44] = 44,
[45] = 45,
[46] = 37,
[47] = 35,
[48] = 36,
[49] = 38,
[50] = 50,
[51] = 51,
[52] = 52,
[53] = 53,
[54] = 40,
[55] = 55,
[56] = 56,
[57] = 41,
[58] = 58,
[59] = 59,
[60] = 60,
[61] = 50,
[62] = 62,
[63] = 63,
[64] = 64,
[65] = 65,
[66] = 66,
[67] = 67,
[68] = 68,
[69] = 56,
[70] = 70,
[71] = 53,
[72] = 72,
[73] = 73,
[74] = 74,
[75] = 75,
[76] = 76,
[77] = 77,
[78] = 78,
[79] = 79,
[80] = 80,
[81] = 68,
[82] = 73,
[83] = 65,
[84] = 84,
[85] = 78,
[86] = 77,
[87] = 72,
[88] = 88,
[89] = 79,
[90] = 76,
[91] = 88,
[92] = 92,
[93] = 93,
[94] = 94,
[95] = 95,
[96] = 96,
[97] = 97,
[98] = 62,
[99] = 55,
[100] = 100,
[101] = 101,
[102] = 102,
[103] = 103,
[104] = 104,
[105] = 105,
[106] = 106,
[107] = 104,
[108] = 94,
[109] = 92,
[110] = 110,
[111] = 111,
[112] = 112,
[113] = 113,
[114] = 105,
[115] = 115,
[116] = 116,
[117] = 117,
[118] = 110,
[119] = 119,
[120] = 120,
[121] = 121,
[122] = 122,
[123] = 123,
[124] = 124,
[125] = 125,
[126] = 126,
[127] = 127,
[128] = 112,
[129] = 125,
[130] = 116,
[131] = 121,
[132] = 126,
[133] = 123,
[134] = 134,
[135] = 135,
[136] = 136,
[137] = 137,
[138] = 138,
[139] = 139,
[140] = 140,
[141] = 141,
[142] = 137,
[143] = 143,
[144] = 140,
[145] = 145,
[146] = 146,
[147] = 147,
[148] = 138,
[149] = 139,
[150] = 150,
[151] = 151,
[152] = 152,
[153] = 153,
[154] = 154,
[155] = 155,
[156] = 156,
[157] = 157,
[158] = 158,
[159] = 159,
[160] = 160,
[161] = 161,
[162] = 162,
[163] = 159,
[164] = 157,
[165] = 165,
[166] = 166,
[167] = 167,
[168] = 165,
[169] = 127,
[170] = 170,
[171] = 120,
[172] = 172,
[173] = 173,
[174] = 174,
[175] = 175,
[176] = 176,
[177] = 162,
[178] = 178,
[179] = 179,
[180] = 180,
[181] = 181,
[182] = 182,
[183] = 183,
[184] = 184,
[185] = 185,
[186] = 186,
[187] = 187,
[188] = 161,
[189] = 189,
[190] = 190,
[191] = 178,
[192] = 192,
[193] = 193,
[194] = 194,
[195] = 195,
[196] = 192,
[197] = 197,
[198] = 198,
[199] = 199,
[200] = 200,
[201] = 201,
[202] = 202,
[203] = 203,
[204] = 204,
[205] = 205,
[206] = 206,
[207] = 207,
[208] = 208,
[209] = 209,
[210] = 210,
[211] = 211,
[212] = 212,
[213] = 213,
[214] = 214,
[215] = 215,
[216] = 216,
[217] = 217,
[218] = 218,
[219] = 219,
[220] = 220,
[221] = 203,
[222] = 199,
[223] = 223,
[224] = 224,
[225] = 225,
[226] = 226,
[227] = 227,
[228] = 228,
[229] = 229,
[230] = 230,
[231] = 231,
[232] = 232,
[233] = 233,
[234] = 195,
[235] = 235,
[236] = 236,
[237] = 237,
[238] = 238,
[239] = 239,
[240] = 238,
[241] = 228,
[242] = 242,
[243] = 243,
[244] = 242,
[245] = 245,
[246] = 246,
[247] = 245,
[248] = 246,
[249] = 249,
[250] = 250,
[251] = 251,
[252] = 252,
[253] = 253,
[254] = 254,
[255] = 255,
[256] = 256,
[257] = 257,
[258] = 258,
[259] = 259,
[260] = 260,
[261] = 261,
[262] = 262,
[263] = 263,
[264] = 252,
[265] = 263,
[266] = 266,
[267] = 267,
[268] = 255,
[269] = 256,
[270] = 259,
[271] = 271,
[272] = 272,
[273] = 261,
[274] = 271,
[275] = 251,
[276] = 254,
[277] = 266,
[278] = 260,
[279] = 267,
[280] = 258,
[281] = 281,
[282] = 282,
[283] = 283,
[284] = 262,
[285] = 285,
[286] = 286,
[287] = 287,
[288] = 288,
[289] = 289,
[290] = 290,
[291] = 291,
[292] = 290,
[293] = 285,
[294] = 294,
[295] = 295,
[296] = 296,
[297] = 297,
[298] = 298,
[299] = 43,
[300] = 300,
[301] = 301,
[302] = 302,
[303] = 42,
[304] = 304,
[305] = 305,
[306] = 306,
[307] = 307,
[308] = 308,
[309] = 296,
[310] = 310,
[311] = 311,
[312] = 312,
[313] = 313,
[314] = 314,
[315] = 315,
[316] = 316,
[317] = 298,
[318] = 318,
[319] = 319,
[320] = 320,
[321] = 321,
[322] = 322,
[323] = 310,
[324] = 324,
[325] = 325,
[326] = 319,
[327] = 306,
[328] = 328,
[329] = 321,
[330] = 330,
[331] = 294,
[332] = 332,
[333] = 318,
[334] = 334,
[335] = 335,
[336] = 336,
[337] = 337,
[338] = 300,
[339] = 339,
[340] = 330,
[341] = 341,
[342] = 312,
[343] = 313,
[344] = 297,
[345] = 320,
[346] = 336,
[347] = 316,
[348] = 339,
[349] = 308,
[350] = 311,
[351] = 315,
[352] = 352,
[353] = 325,
[354] = 354,
[355] = 305,
[356] = 337,
[357] = 357,
};
static const TSCharacterRange sym_variable_reference_character_set_1[] = {
{'!', '!'}, {'#', '%'}, {'(', ')'}, {'.', '.'}, {'0', ':'}, {'A', '['}, {']', ']'}, {'_', '_'},
{'a', 'z'},
};
static const TSCharacterRange sym_argument_value_character_set_1[] = {
{0, 0x08}, {0x0e, 0x1f}, {'!', '!'}, {'#', '%'}, {'\'', '\''}, {'*', ';'}, {'=', '='}, {'?', '{'},
{'}', 0x10ffff},
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(91);
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 116,
'"', 107,
'%', 114,
'&', 209,
'(', 142,
')', 143,
'/', 166,
':', 167,
'=', 108,
'@', 93,
'[', 216,
']', 219,
'^', 119,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(0);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(149);
if (('0' <= lookahead && lookahead <= '2')) ADVANCE(189);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(151);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(173);
END_STATE();
case 1:
if (lookahead == '\n') ADVANCE(92);
END_STATE();
case 2:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'"', 31,
'%', 25,
'(', 142,
')', 143,
'/', 233,
'2', 191,
':', 236,
'<', 195,
'>', 196,
'@', 94,
'^', 232,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(2);
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(220);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(193);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(222);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
(lookahead < '$' || '&' < lookahead) &&
lookahead != '|') ADVANCE(234);
END_STATE();
case 3:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'"', 31,
'%', 28,
'&', 209,
'(', 142,
')', 143,
'/', 233,
'2', 191,
'<', 195,
'>', 196,
'^', 232,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(3);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(193);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(234);
END_STATE();
case 4:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'"', 31,
'%', 26,
'&', 209,
'(', 142,
')', 143,
'/', 233,
'2', 191,
'<', 195,
'>', 196,
'^', 232,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(4);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(229);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(193);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(234);
END_STATE();
case 5:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'"', 31,
'%', 26,
'&', 209,
'(', 142,
')', 143,
'/', 233,
'2', 191,
'<', 195,
'>', 196,
'^', 232,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(5);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(193);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(234);
END_STATE();
case 6:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'"', 31,
'%', 26,
'&', 209,
'(', 142,
')', 143,
'/', 233,
'^', 232,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(6);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '<' &&
lookahead != '>') ADVANCE(234);
END_STATE();
case 7:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'%', 26,
'&', 209,
'(', 142,
')', 143,
'2', 190,
':', 83,
'<', 195,
'>', 196,
'@', 93,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(7);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(192);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
END_STATE();
case 8:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 172,
'"', 31,
'%', 157,
'&', 209,
')', 143,
'/', 168,
'[', 216,
'|', 54,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(8);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '(' &&
lookahead != ')' &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != ']') ADVANCE(173);
END_STATE();
case 9:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 117,
'%', 115,
'&', 210,
')', 144,
'^', 119,
'|', 112,
'\t', 110,
' ', 110,
);
if (lookahead != 0) ADVANCE(113);
END_STATE();
case 10:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 117,
'%', 115,
'&', 210,
'^', 119,
'|', 112,
'\t', 111,
' ', 111,
);
if (lookahead != 0) ADVANCE(113);
END_STATE();
case 11:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 117,
'%', 115,
'&', 211,
'(', 142,
')', 143,
'|', 139,
'\t', 138,
' ', 138,
);
if (lookahead != 0) ADVANCE(141);
END_STATE();
case 12:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 117,
'%', 115,
'(', 142,
')', 143,
'\t', 140,
' ', 140,
);
if (lookahead != 0) ADVANCE(141);
END_STATE();
case 13:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'%', 38,
'&', 209,
')', 143,
'/', 61,
':', 67,
'@', 72,
'|', 54,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(13);
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(176);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 14:
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'%', 49,
'&', 209,
')', 143,
'/', 68,
'2', 190,
'<', 195,
'=', 53,
'>', 196,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(14);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(69);
if (lookahead == 'G' ||
lookahead == 'g') ADVANCE(66);
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(65);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(64);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(192);
END_STATE();
case 15:
if (lookahead == '!') ADVANCE(212);
if (lookahead == ':') ADVANCE(88);
if (lookahead == '%' ||
lookahead == '(' ||
lookahead == ')' ||
lookahead == '[' ||
lookahead == ']') ADVANCE(52);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
case 16:
if (lookahead == '!') ADVANCE(212);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(16);
END_STATE();
case 17:
if (lookahead == '!') ADVANCE(84);
if (lookahead == '"') ADVANCE(107);
if (lookahead == '%') ADVANCE(26);
if (lookahead == '/') ADVANCE(60);
if (lookahead == '^') ADVANCE(30);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(17);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(121);
END_STATE();
case 18:
if (lookahead == '!') ADVANCE(84);
if (lookahead == '"') ADVANCE(31);
if (lookahead == '%') ADVANCE(26);
if (lookahead == '^') ADVANCE(232);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(18);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '%' &&
lookahead != '&' &&
lookahead != '(' &&
lookahead != ')' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(234);
END_STATE();
case 19:
if (lookahead == '!') ADVANCE(84);
if (lookahead == '"') ADVANCE(31);
if (lookahead == '%') ADVANCE(26);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(19);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(152);
END_STATE();
case 20:
if (lookahead == '!') ADVANCE(84);
if (lookahead == '%') ADVANCE(26);
if (lookahead == ']') ADVANCE(219);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(217);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '[') ADVANCE(218);
END_STATE();
case 21:
if (lookahead == '!') ADVANCE(172);
if (lookahead == '"') ADVANCE(31);
if (lookahead == '%') ADVANCE(157);
if (lookahead == '[') ADVANCE(216);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(21);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
(lookahead < '$' || '&' < lookahead) &&
lookahead != '(' &&
lookahead != ')' &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != ']' &&
lookahead != '|') ADVANCE(173);
END_STATE();
case 22:
if (lookahead == '!') ADVANCE(172);
if (lookahead == '"') ADVANCE(31);
if (lookahead == '%') ADVANCE(157);
if (lookahead == '[') ADVANCE(216);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(22);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '%' &&
lookahead != '&' &&
lookahead != '(' &&
lookahead != ')' &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != ']' &&
lookahead != '|') ADVANCE(173);
END_STATE();
case 23:
if (lookahead == '!') ADVANCE(128);
if (lookahead == '"') ADVANCE(87);
if (lookahead == '%') ADVANCE(27);
if (lookahead == '=') ADVANCE(108);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(23);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(129);
END_STATE();
case 24:
if (lookahead == '!') ADVANCE(117);
if (lookahead == '"') ADVANCE(107);
if (lookahead == '%') ADVANCE(115);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(145);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(146);
END_STATE();
case 25:
ADVANCE_MAP(
'"', 46,
'#', 39,
'%', 55,
'\\', 45,
'~', 79,
'/', 44,
'<', 44,
'>', 44,
);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(43);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(42);
END_STATE();
case 26:
if (lookahead == '"') ADVANCE(46);
if (lookahead == '%') ADVANCE(55);
if (lookahead == '\\') ADVANCE(45);
if (lookahead == '~') ADVANCE(79);
if (lookahead == '/' ||
lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(43);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(42);
END_STATE();
case 27:
if (lookahead == '"') ADVANCE(46);
if (lookahead == '%') ADVANCE(127);
if (lookahead == '\\') ADVANCE(45);
if (lookahead == '~') ADVANCE(79);
if (lookahead == '/' ||
lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(43);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(42);
END_STATE();
case 28:
if (lookahead == '"') ADVANCE(46);
if (lookahead == '%') ADVANCE(56);
if (lookahead == '\\') ADVANCE(45);
if (lookahead == '~') ADVANCE(79);
if (lookahead == '/' ||
lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(43);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(42);
END_STATE();
case 29:
if (lookahead == '"') ADVANCE(42);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '%') ADVANCE(29);
END_STATE();
case 30:
if (lookahead == '"') ADVANCE(109);
END_STATE();
case 31:
if (lookahead == '"') ADVANCE(215);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(31);
END_STATE();
case 32:
if (lookahead == '"') ADVANCE(183);
if (lookahead != 0) ADVANCE(32);
END_STATE();
case 33:
if (lookahead == '"') ADVANCE(32);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(33);
END_STATE();
case 34:
if (lookahead == '"') ADVANCE(122);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '=') ADVANCE(34);
END_STATE();
case 35:
if (lookahead == '"') ADVANCE(135);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(35);
END_STATE();
case 36:
if (lookahead == '"') ADVANCE(35);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(106);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(137);
END_STATE();
case 37:
if (lookahead == '"') ADVANCE(35);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(136);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(137);
END_STATE();
case 38:
if (lookahead == '#') ADVANCE(41);
END_STATE();
case 39:
if (lookahead == '#') ADVANCE(40);
if (lookahead == '%') ADVANCE(213);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(41);
END_STATE();
case 40:
if (lookahead == '#') ADVANCE(40);
if (lookahead == '%') ADVANCE(96);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(41);
END_STATE();
case 41:
if (lookahead == '#') ADVANCE(40);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(41);
END_STATE();
case 42:
if (lookahead == '%') ADVANCE(212);
END_STATE();
case 43:
if (lookahead == '%') ADVANCE(212);
if (lookahead == ':') ADVANCE(89);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!') ADVANCE(43);
END_STATE();
case 44:
if (lookahead == '%') ADVANCE(212);
if (lookahead == '/' ||
lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (('.' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 45:
if (lookahead == '%') ADVANCE(212);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(45);
END_STATE();
case 46:
if (lookahead == '%') ADVANCE(212);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '"') ADVANCE(29);
END_STATE();
case 47:
if (lookahead == '%') ADVANCE(212);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(47);
END_STATE();
case 48:
if (lookahead == '%') ADVANCE(86);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(48);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(184);
END_STATE();
case 49:
if (lookahead == '%') ADVANCE(56);
END_STATE();
case 50:
if (lookahead == '&') ADVANCE(78);
END_STATE();
case 51:
if (lookahead == '/') ADVANCE(59);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(106);
if (('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(134);
END_STATE();
case 52:
if (lookahead == ':') ADVANCE(88);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead)) &&
lookahead != '!') ADVANCE(52);
END_STATE();
case 53:
if (lookahead == '=') ADVANCE(174);
END_STATE();
case 54:
if (lookahead == '|') ADVANCE(206);
END_STATE();
case 55:
if (lookahead == '~') ADVANCE(80);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(212);
END_STATE();
case 56:
if (lookahead == '~') ADVANCE(81);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(188);
END_STATE();
case 57:
if (lookahead == '\t' ||
lookahead == ' ') SKIP(57);
if (lookahead == 'C' ||
lookahead == 'c') ADVANCE(199);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(200);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 58:
if (lookahead == '\t' ||
lookahead == ' ') SKIP(58);
if (('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(134);
END_STATE();
case 59:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(130);
if (lookahead == 'P' ||
lookahead == 'p') ADVANCE(132);
END_STATE();
case 60:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(131);
if (lookahead == 'P' ||
lookahead == 'p') ADVANCE(133);
if (('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('b' <= lookahead && lookahead <= 'z')) ADVANCE(85);
END_STATE();
case 61:
if (lookahead == 'B' ||
lookahead == 'b') ADVANCE(182);
END_STATE();
case 62:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(153);
END_STATE();
case 63:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(70);
END_STATE();
case 64:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(71);
END_STATE();
case 65:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(71);
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(74);
END_STATE();
case 66:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(71);
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(73);
END_STATE();
case 67:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(179);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(100);
END_STATE();
case 68:
ADVANCE_MAP(
'F', 185,
'f', 185,
'R', 186,
'r', 186,
'D', 183,
'L', 183,
'd', 183,
'l', 183,
);
END_STATE();
case 69:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(75);
if (lookahead == 'Q' ||
lookahead == 'q') ADVANCE(76);
END_STATE();
case 70:
if (lookahead == 'M' ||
lookahead == 'm') ADVANCE(99);
END_STATE();
case 71:
if (lookahead == 'Q' ||
lookahead == 'q') ADVANCE(174);
END_STATE();
case 72:
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(63);
END_STATE();
case 73:
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(174);
END_STATE();
case 74:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(174);
END_STATE();
case 75:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(62);
END_STATE();
case 76:
if (lookahead == 'U' ||
lookahead == 'u') ADVANCE(174);
END_STATE();
case 77:
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(212);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(77);
END_STATE();
case 78:
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(194);
END_STATE();
case 79:
if (lookahead == '%' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(212);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(77);
END_STATE();
case 80:
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(212);
END_STATE();
case 81:
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(188);
END_STATE();
case 82:
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(104);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(100);
END_STATE();
case 83:
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(181);
END_STATE();
case 84:
if (lookahead == '$' ||
lookahead == '%' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
case 85:
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!' &&
lookahead != '$' &&
lookahead != '%' &&
lookahead != ':') ADVANCE(120);
END_STATE();
case 86:
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '%') ADVANCE(184);
END_STATE();
case 87:
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '"' &&
lookahead != '=') ADVANCE(34);
END_STATE();
case 88:
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!') ADVANCE(16);
END_STATE();
case 89:
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '%') ADVANCE(47);
END_STATE();
case 90:
if (eof) ADVANCE(91);
ADVANCE_MAP(
'\n', 92,
'\r', 1,
'!', 84,
'%', 25,
'&', 209,
'(', 142,
')', 143,
'2', 190,
':', 82,
'<', 195,
'>', 196,
'@', 95,
'^', 30,
'|', 202,
);
if (lookahead == '\t' ||
lookahead == ' ') SKIP(90);
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(223);
if (lookahead == '0' ||
lookahead == '1') ADVANCE(192);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
END_STATE();
case 91:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 92:
ACCEPT_TOKEN(aux_sym_program_token1);
END_STATE();
case 93:
ACCEPT_TOKEN(anon_sym_AT);
END_STATE();
case 94:
ACCEPT_TOKEN(anon_sym_AT);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(228);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 95:
ACCEPT_TOKEN(anon_sym_AT);
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(63);
END_STATE();
case 96:
ACCEPT_TOKEN(sym_comment);
if (lookahead == '#') ADVANCE(40);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(41);
END_STATE();
case 97:
ACCEPT_TOKEN(sym_comment);
if (lookahead == '^') ADVANCE(97);
if (lookahead == '\t' ||
lookahead == 0x0b ||
lookahead == '\f' ||
lookahead == ' ' ||
lookahead == '"') ADVANCE(100);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(98);
END_STATE();
case 98:
ACCEPT_TOKEN(sym_comment);
ADVANCE_MAP(
'^', 97,
'\t', 100,
0x0b, 100,
'\f', 100,
' ', 100,
'"', 100,
'&', 100,
'(', 100,
')', 100,
'<', 100,
'>', 100,
'|', 100,
);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(98);
END_STATE();
case 99:
ACCEPT_TOKEN(sym_comment);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(100);
END_STATE();
case 100:
ACCEPT_TOKEN(sym_comment);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(100);
END_STATE();
case 101:
ACCEPT_TOKEN(sym_label);
if (lookahead == '^') ADVANCE(235);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(105);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(101);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 102:
ACCEPT_TOKEN(sym_label);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(105);
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(175);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(104);
END_STATE();
case 103:
ACCEPT_TOKEN(sym_label);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(105);
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(102);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(104);
END_STATE();
case 104:
ACCEPT_TOKEN(sym_label);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(105);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(104);
END_STATE();
case 105:
ACCEPT_TOKEN(sym_label);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(105);
END_STATE();
case 106:
ACCEPT_TOKEN(aux_sym_variable_assignment_token2);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(106);
END_STATE();
case 107:
ACCEPT_TOKEN(anon_sym_DQUOTE);
END_STATE();
case 108:
ACCEPT_TOKEN(anon_sym_EQ);
END_STATE();
case 109:
ACCEPT_TOKEN(anon_sym_CARET_DQUOTE);
END_STATE();
case 110:
ACCEPT_TOKEN(aux_sym_caret_quoted_assignment_value_token1);
if (lookahead == '&') ADVANCE(210);
if (lookahead == ')') ADVANCE(144);
if (lookahead == '^') ADVANCE(119);
if (lookahead == '|') ADVANCE(112);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(110);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != ' ' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '&') ADVANCE(113);
END_STATE();
case 111:
ACCEPT_TOKEN(aux_sym_caret_quoted_assignment_value_token1);
if (lookahead == '&') ADVANCE(210);
if (lookahead == '^') ADVANCE(119);
if (lookahead == '|') ADVANCE(112);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(111);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != ' ' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '&') ADVANCE(113);
END_STATE();
case 112:
ACCEPT_TOKEN(aux_sym_caret_quoted_assignment_value_token1);
if (lookahead == '|') ADVANCE(208);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 113:
ACCEPT_TOKEN(aux_sym_caret_quoted_assignment_value_token1);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 114:
ACCEPT_TOKEN(anon_sym_PERCENT);
ADVANCE_MAP(
'"', 46,
'%', 165,
'/', 159,
'\\', 162,
'~', 170,
'<', 44,
'>', 44,
'&', 42,
'(', 42,
')', 42,
'|', 42,
);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(160);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(163);
END_STATE();
case 115:
ACCEPT_TOKEN(anon_sym_PERCENT);
if (lookahead == '"') ADVANCE(46);
if (lookahead == '%') ADVANCE(55);
if (lookahead == '\\') ADVANCE(45);
if (lookahead == '~') ADVANCE(79);
if (lookahead == '/' ||
lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(43);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(42);
END_STATE();
case 116:
ACCEPT_TOKEN(anon_sym_BANG);
if (lookahead == '$' ||
lookahead == '%' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(155);
END_STATE();
case 117:
ACCEPT_TOKEN(anon_sym_BANG);
if (lookahead == '$' ||
lookahead == '%' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(15);
END_STATE();
case 118:
ACCEPT_TOKEN(anon_sym_CARET_CARET);
END_STATE();
case 119:
ACCEPT_TOKEN(anon_sym_CARET);
if (lookahead == '"') ADVANCE(109);
if (lookahead == '^') ADVANCE(118);
END_STATE();
case 120:
ACCEPT_TOKEN(sym__var_name_pattern);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!' &&
lookahead != '$' &&
lookahead != '%' &&
lookahead != ':') ADVANCE(120);
END_STATE();
case 121:
ACCEPT_TOKEN(sym__var_name_pattern);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != ':') ADVANCE(121);
END_STATE();
case 122:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
END_STATE();
case 123:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead == '!') ADVANCE(129);
if (lookahead == ':') ADVANCE(126);
if (lookahead == '(' ||
lookahead == ')' ||
lookahead == '[' ||
lookahead == ']') ADVANCE(125);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(123);
if (lookahead != 0 &&
(lookahead < '!' || '%' < lookahead) &&
lookahead != '=') ADVANCE(129);
END_STATE();
case 124:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead == '!') ADVANCE(129);
if (lookahead == '\n' ||
lookahead == '\r') ADVANCE(129);
if (lookahead != 0 &&
lookahead != '!' &&
lookahead != '"' &&
lookahead != '%' &&
lookahead != '=') ADVANCE(124);
END_STATE();
case 125:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead == ':') ADVANCE(126);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead)) &&
lookahead != '!' &&
lookahead != '%') ADVANCE(125);
if (lookahead != 0 &&
(lookahead < '"' || '%' < lookahead) &&
lookahead != '=') ADVANCE(129);
END_STATE();
case 126:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead == '\n' ||
lookahead == '\r' ||
lookahead == '!') ADVANCE(129);
if (lookahead != 0 &&
lookahead != '!' &&
lookahead != '"' &&
lookahead != '%' &&
lookahead != '=') ADVANCE(124);
END_STATE();
case 127:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(122);
END_STATE();
case 128:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(123);
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '$' &&
lookahead != '%' &&
lookahead != '=') ADVANCE(129);
END_STATE();
case 129:
ACCEPT_TOKEN(sym__quoted_var_name_pattern);
if (lookahead != 0 &&
lookahead != '"' &&
lookahead != '%' &&
lookahead != '=') ADVANCE(129);
END_STATE();
case 130:
ACCEPT_TOKEN(aux_sym_arithmetic_assignment_token1);
END_STATE();
case 131:
ACCEPT_TOKEN(aux_sym_arithmetic_assignment_token1);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!' &&
lookahead != '$' &&
lookahead != '%' &&
lookahead != ':') ADVANCE(120);
END_STATE();
case 132:
ACCEPT_TOKEN(aux_sym_prompt_assignment_token1);
END_STATE();
case 133:
ACCEPT_TOKEN(aux_sym_prompt_assignment_token1);
if ((set_contains(sym_variable_reference_character_set_1, 9, lookahead) ||
lookahead == '@') &&
lookahead != '!' &&
lookahead != '$' &&
lookahead != '%' &&
lookahead != ':') ADVANCE(120);
END_STATE();
case 134:
ACCEPT_TOKEN(aux_sym_prompt_assignment_token2);
if (lookahead == '(' ||
lookahead == ')' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= '[') ||
lookahead == ']' ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(134);
END_STATE();
case 135:
ACCEPT_TOKEN(sym_arithmetic_expression);
END_STATE();
case 136:
ACCEPT_TOKEN(sym_arithmetic_expression);
if (lookahead == '"') ADVANCE(35);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(136);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(137);
END_STATE();
case 137:
ACCEPT_TOKEN(sym_arithmetic_expression);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '"') ADVANCE(137);
END_STATE();
case 138:
ACCEPT_TOKEN(aux_sym_assignment_value_token1);
if (lookahead == '&') ADVANCE(211);
if (lookahead == '|') ADVANCE(139);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(138);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != ' ' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '&' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 139:
ACCEPT_TOKEN(aux_sym_assignment_value_token1);
if (lookahead == '|') ADVANCE(207);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 140:
ACCEPT_TOKEN(aux_sym_assignment_value_token1);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(140);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != ' ' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 141:
ACCEPT_TOKEN(aux_sym_assignment_value_token1);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 142:
ACCEPT_TOKEN(anon_sym_LPAREN);
END_STATE();
case 143:
ACCEPT_TOKEN(anon_sym_RPAREN);
END_STATE();
case 144:
ACCEPT_TOKEN(anon_sym_RPAREN);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 145:
ACCEPT_TOKEN(aux_sym_quoted_assignment_value_token1);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(145);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
(lookahead < ' ' || '"' < lookahead) &&
lookahead != '%') ADVANCE(146);
END_STATE();
case 146:
ACCEPT_TOKEN(aux_sym_quoted_assignment_value_token1);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '"' &&
lookahead != '%') ADVANCE(146);
END_STATE();
case 147:
ACCEPT_TOKEN(aux_sym_if_stmt_token2);
END_STATE();
case 148:
ACCEPT_TOKEN(aux_sym_if_stmt_token6);
if (lookahead == '#' ||
lookahead == '-') ADVANCE(180);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(153);
if (lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(151);
END_STATE();
case 149:
ACCEPT_TOKEN(aux_sym_if_stmt_token6);
if (lookahead == '#' ||
lookahead == '-') ADVANCE(180);
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(150);
if (lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(151);
END_STATE();
case 150:
ACCEPT_TOKEN(aux_sym_if_stmt_token6);
if (lookahead == '#' ||
lookahead == '-') ADVANCE(180);
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(148);
if (lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(151);
END_STATE();
case 151:
ACCEPT_TOKEN(aux_sym_if_stmt_token6);
if (lookahead == '#' ||
lookahead == '-') ADVANCE(180);
if (lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(151);
END_STATE();
case 152:
ACCEPT_TOKEN(aux_sym_if_stmt_token6);
if (lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(152);
END_STATE();
case 153:
ACCEPT_TOKEN(aux_sym_else_clause_token1);
END_STATE();
case 154:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '!') ADVANCE(173);
if (lookahead == '\t' ||
lookahead == 0x0b ||
lookahead == '\f' ||
(' ' <= lookahead && lookahead <= '"') ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
('<' <= lookahead && lookahead <= '>') ||
lookahead == '|') ADVANCE(16);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(156);
END_STATE();
case 155:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '!') ADVANCE(212);
if (lookahead == ':') ADVANCE(154);
if (lookahead == '(' ||
lookahead == ')') ADVANCE(52);
if (lookahead == '%' ||
lookahead == '[' ||
lookahead == ']') ADVANCE(164);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(155);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
(lookahead < ' ' || '&' < lookahead) &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != '|') ADVANCE(173);
END_STATE();
case 156:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '!') ADVANCE(212);
if (lookahead == '\t' ||
lookahead == 0x0b ||
lookahead == '\f' ||
(' ' <= lookahead && lookahead <= '"') ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
('<' <= lookahead && lookahead <= '>') ||
lookahead == '|') ADVANCE(16);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(156);
END_STATE();
case 157:
ACCEPT_TOKEN(sym__if_word);
ADVANCE_MAP(
'"', 46,
'%', 165,
'/', 159,
'\\', 162,
'~', 170,
'<', 44,
'>', 44,
'&', 42,
'(', 42,
')', 42,
'|', 42,
);
if (lookahead == '*' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(214);
if (lookahead == '$' ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(160);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '<' || '>' < lookahead)) ADVANCE(163);
END_STATE();
case 158:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(173);
if (lookahead == '\t' ||
lookahead == 0x0b ||
lookahead == '\f' ||
lookahead == ' ' ||
lookahead == '"' ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
('<' <= lookahead && lookahead <= '>') ||
lookahead == '|') ADVANCE(47);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(161);
END_STATE();
case 159:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(212);
if (lookahead == '/') ADVANCE(159);
if (lookahead == '<' ||
lookahead == '>') ADVANCE(44);
if (('.' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(162);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 160:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(212);
if (lookahead == ':') ADVANCE(158);
if (lookahead == '(' ||
lookahead == ')') ADVANCE(43);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= '[') ||
lookahead == ']' ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(160);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '"' || '&' < lookahead) &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != '|') ADVANCE(173);
END_STATE();
case 161:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(212);
if (lookahead == '\t' ||
lookahead == 0x0b ||
lookahead == '\f' ||
lookahead == ' ' ||
lookahead == '"' ||
lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
('<' <= lookahead && lookahead <= '>') ||
lookahead == '|') ADVANCE(47);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(161);
END_STATE();
case 162:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(212);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('@' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(162);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 163:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%') ADVANCE(212);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 164:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == ':') ADVANCE(154);
if (lookahead == '(' ||
lookahead == ')') ADVANCE(52);
if (('#' <= lookahead && lookahead <= '%') ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= '[') ||
lookahead == ']' ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(164);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
(lookahead < '"' || '&' < lookahead) &&
(lookahead < '<' || '>' < lookahead) &&
lookahead != '|') ADVANCE(173);
END_STATE();
case 165:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '~') ADVANCE(171);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(212);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 166:
ACCEPT_TOKEN(sym__if_word);
ADVANCE_MAP(
'A', 130,
'a', 130,
'B', 182,
'b', 182,
'I', 147,
'i', 147,
'P', 132,
'p', 132,
);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 167:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(103);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(104);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 168:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(147);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 169:
ACCEPT_TOKEN(sym__if_word);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(212);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(169);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 170:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '%' ||
('0' <= lookahead && lookahead <= '9')) ADVANCE(212);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(169);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 171:
ACCEPT_TOKEN(sym__if_word);
if (('A' <= lookahead && lookahead <= 'Z') ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(212);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 172:
ACCEPT_TOKEN(sym__if_word);
if (lookahead == '$' ||
lookahead == '%' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(155);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 173:
ACCEPT_TOKEN(sym__if_word);
if (((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) &&
lookahead != '=') ADVANCE(173);
END_STATE();
case 174:
ACCEPT_TOKEN(sym_comparison_op);
END_STATE();
case 175:
ACCEPT_TOKEN(aux_sym_goto_stmt_token2);
END_STATE();
case 176:
ACCEPT_TOKEN(aux_sym_goto_stmt_token3);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(178);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 177:
ACCEPT_TOKEN(aux_sym_goto_stmt_token3);
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(175);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 178:
ACCEPT_TOKEN(aux_sym_goto_stmt_token3);
if (lookahead == 'M' ||
lookahead == 'm') ADVANCE(99);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 179:
ACCEPT_TOKEN(aux_sym_goto_stmt_token3);
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(177);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 180:
ACCEPT_TOKEN(aux_sym_goto_stmt_token3);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(180);
END_STATE();
case 181:
ACCEPT_TOKEN(aux_sym_call_stmt_token2);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(181);
END_STATE();
case 182:
ACCEPT_TOKEN(aux_sym_exit_stmt_token2);
END_STATE();
case 183:
ACCEPT_TOKEN(sym_for_options);
END_STATE();
case 184:
ACCEPT_TOKEN(sym_for_options);
if (lookahead == '%') ADVANCE(187);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ') ADVANCE(184);
END_STATE();
case 185:
ACCEPT_TOKEN(sym_for_options);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(33);
END_STATE();
case 186:
ACCEPT_TOKEN(sym_for_options);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(48);
END_STATE();
case 187:
ACCEPT_TOKEN(sym_for_options);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '%') ADVANCE(184);
END_STATE();
case 188:
ACCEPT_TOKEN(sym_for_variable);
END_STATE();
case 189:
ACCEPT_TOKEN(aux_sym_redirection_token1);
END_STATE();
case 190:
ACCEPT_TOKEN(aux_sym_redirection_token1);
if (lookahead == '>') ADVANCE(196);
END_STATE();
case 191:
ACCEPT_TOKEN(aux_sym_redirection_token1);
if (lookahead == '>') ADVANCE(196);
if (lookahead == '^') ADVANCE(235);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 192:
ACCEPT_TOKEN(aux_sym_redirection_token1);
if (lookahead == '>') ADVANCE(50);
END_STATE();
case 193:
ACCEPT_TOKEN(aux_sym_redirection_token1);
if (lookahead == '>') ADVANCE(50);
if (lookahead == '^') ADVANCE(235);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 194:
ACCEPT_TOKEN(sym_fd_redirect);
END_STATE();
case 195:
ACCEPT_TOKEN(sym_redirect_op);
END_STATE();
case 196:
ACCEPT_TOKEN(sym_redirect_op);
if (lookahead == '&') ADVANCE(78);
if (lookahead == '>') ADVANCE(195);
END_STATE();
case 197:
ACCEPT_TOKEN(sym_redirect_target);
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(201);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 198:
ACCEPT_TOKEN(sym_redirect_target);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(201);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 199:
ACCEPT_TOKEN(sym_redirect_target);
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(198);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 200:
ACCEPT_TOKEN(sym_redirect_target);
if (lookahead == 'U' ||
lookahead == 'u') ADVANCE(197);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 201:
ACCEPT_TOKEN(sym_redirect_target);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '&' &&
lookahead != '<' &&
lookahead != '>' &&
lookahead != '|') ADVANCE(201);
END_STATE();
case 202:
ACCEPT_TOKEN(anon_sym_PIPE);
if (lookahead == '|') ADVANCE(206);
END_STATE();
case 203:
ACCEPT_TOKEN(anon_sym_AMP_AMP);
END_STATE();
case 204:
ACCEPT_TOKEN(anon_sym_AMP_AMP);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 205:
ACCEPT_TOKEN(anon_sym_AMP_AMP);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 206:
ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
END_STATE();
case 207:
ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 208:
ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 209:
ACCEPT_TOKEN(anon_sym_AMP);
if (lookahead == '&') ADVANCE(203);
END_STATE();
case 210:
ACCEPT_TOKEN(anon_sym_AMP);
if (lookahead == '&') ADVANCE(205);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '&' &&
lookahead != '^') ADVANCE(113);
END_STATE();
case 211:
ACCEPT_TOKEN(anon_sym_AMP);
if (lookahead == '&') ADVANCE(204);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '&' &&
lookahead != '(' &&
lookahead != ')') ADVANCE(141);
END_STATE();
case 212:
ACCEPT_TOKEN(sym_variable_reference);
END_STATE();
case 213:
ACCEPT_TOKEN(sym_variable_reference);
if (lookahead == '#') ADVANCE(40);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r') ADVANCE(41);
END_STATE();
case 214:
ACCEPT_TOKEN(sym_variable_reference);
if (lookahead == '%') ADVANCE(212);
END_STATE();
case 215:
ACCEPT_TOKEN(sym_string);
END_STATE();
case 216:
ACCEPT_TOKEN(anon_sym_LBRACK);
END_STATE();
case 217:
ACCEPT_TOKEN(aux_sym_bracketed_value_token1);
if (lookahead == '\t' ||
lookahead == ' ') ADVANCE(217);
if (lookahead != 0 &&
lookahead != '\t' &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != ' ' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '[' &&
lookahead != ']') ADVANCE(218);
END_STATE();
case 218:
ACCEPT_TOKEN(aux_sym_bracketed_value_token1);
if (lookahead != 0 &&
lookahead != '\n' &&
lookahead != '\r' &&
lookahead != '!' &&
lookahead != '%' &&
lookahead != '[' &&
lookahead != ']') ADVANCE(218);
END_STATE();
case 219:
ACCEPT_TOKEN(anon_sym_RBRACK);
END_STATE();
case 220:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(221);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(222);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 221:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'M' ||
lookahead == 'm') ADVANCE(99);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(222);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 222:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == '^') ADVANCE(235);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(222);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 223:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(224);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
END_STATE();
case 224:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == 'M' ||
lookahead == 'm') ADVANCE(99);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
END_STATE();
case 225:
ACCEPT_TOKEN(sym_command_name);
if (lookahead == '#' ||
lookahead == '$' ||
lookahead == '-' ||
lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(225);
END_STATE();
case 226:
ACCEPT_TOKEN(sym_command_option);
if (lookahead == '^') ADVANCE(235);
if (('0' <= lookahead && lookahead <= ':') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(226);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 227:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(153);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 228:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(230);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 229:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(231);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 230:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'M' ||
lookahead == 'm') ADVANCE(99);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 231:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(227);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 232:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == '&' ||
lookahead == '(' ||
lookahead == ')' ||
lookahead == '<' ||
lookahead == '>' ||
lookahead == '|') ADVANCE(234);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '"') ADVANCE(234);
END_STATE();
case 233:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead == '?' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(226);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 234:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if ((!eof && set_contains(sym_argument_value_character_set_1, 9, lookahead))) ADVANCE(234);
END_STATE();
case 235:
ACCEPT_TOKEN(sym_argument_value);
if (lookahead == '^') ADVANCE(235);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead) &&
lookahead != ' ' &&
lookahead != '"') ADVANCE(234);
END_STATE();
case 236:
ACCEPT_TOKEN(sym_argument_value);
ADVANCE_MAP(
'^', 97,
'\t', 100,
0x0b, 100,
'\f', 100,
' ', 100,
'"', 100,
'&', 100,
'(', 100,
')', 100,
'<', 100,
'>', 100,
'|', 100,
);
if (lookahead == '$' ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(101);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(98);
END_STATE();
case 237:
ACCEPT_TOKEN(sym_integer);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(237);
END_STATE();
default:
return false;
}
}
static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (lookahead == '\t' ||
lookahead == ' ') SKIP(0);
if (lookahead == 'C' ||
lookahead == 'c') ADVANCE(1);
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(2);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(3);
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(4);
if (lookahead == 'G' ||
lookahead == 'g') ADVANCE(5);
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(6);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(7);
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(8);
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(9);
END_STATE();
case 1:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(10);
END_STATE();
case 2:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(11);
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(12);
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(13);
END_STATE();
case 3:
ADVANCE_MAP(
'C', 14,
'c', 14,
'N', 15,
'n', 15,
'R', 16,
'r', 16,
'X', 17,
'x', 17,
);
END_STATE();
case 4:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(18);
END_STATE();
case 5:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(19);
END_STATE();
case 6:
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(20);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(21);
END_STATE();
case 7:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(22);
END_STATE();
case 8:
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(23);
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(24);
END_STATE();
case 9:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(25);
END_STATE();
case 10:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(26);
END_STATE();
case 11:
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(27);
END_STATE();
case 12:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(28);
END_STATE();
case 13:
ACCEPT_TOKEN(aux_sym_for_stmt_token3);
END_STATE();
case 14:
if (lookahead == 'H' ||
lookahead == 'h') ADVANCE(29);
END_STATE();
case 15:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(30);
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(31);
END_STATE();
case 16:
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(32);
END_STATE();
case 17:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(33);
END_STATE();
case 18:
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(34);
END_STATE();
case 19:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(35);
END_STATE();
case 20:
ACCEPT_TOKEN(aux_sym_if_stmt_token1);
END_STATE();
case 21:
ACCEPT_TOKEN(aux_sym_for_stmt_token2);
END_STATE();
case 22:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(36);
END_STATE();
case 23:
if (lookahead == 'F' ||
lookahead == 'f') ADVANCE(37);
END_STATE();
case 24:
ACCEPT_TOKEN(aux_sym_echo_off_token3);
END_STATE();
case 25:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(38);
END_STATE();
case 26:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(39);
END_STATE();
case 27:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(40);
END_STATE();
case 28:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(41);
END_STATE();
case 29:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(42);
END_STATE();
case 30:
if (lookahead == 'B' ||
lookahead == 'b') ADVANCE(43);
END_STATE();
case 31:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(44);
END_STATE();
case 32:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(45);
END_STATE();
case 33:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(46);
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(47);
END_STATE();
case 34:
ACCEPT_TOKEN(aux_sym_for_stmt_token1);
END_STATE();
case 35:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(48);
END_STATE();
case 36:
ACCEPT_TOKEN(aux_sym_if_stmt_token3);
END_STATE();
case 37:
ACCEPT_TOKEN(aux_sym_echo_off_token2);
END_STATE();
case 38:
ACCEPT_TOKEN(aux_sym_variable_assignment_token1);
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(49);
END_STATE();
case 39:
ACCEPT_TOKEN(aux_sym_call_stmt_token1);
END_STATE();
case 40:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(50);
END_STATE();
case 41:
if (lookahead == 'B' ||
lookahead == 'b') ADVANCE(51);
END_STATE();
case 42:
ACCEPT_TOKEN(aux_sym_echo_off_token1);
END_STATE();
case 43:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(52);
END_STATE();
case 44:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(53);
END_STATE();
case 45:
if (lookahead == 'R' ||
lookahead == 'r') ADVANCE(54);
END_STATE();
case 46:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(55);
END_STATE();
case 47:
ACCEPT_TOKEN(aux_sym_exit_stmt_token1);
END_STATE();
case 48:
ACCEPT_TOKEN(aux_sym_goto_stmt_token1);
END_STATE();
case 49:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(56);
END_STATE();
case 50:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(57);
END_STATE();
case 51:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(58);
END_STATE();
case 52:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(59);
END_STATE();
case 53:
if (lookahead == 'C' ||
lookahead == 'c') ADVANCE(60);
END_STATE();
case 54:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(61);
END_STATE();
case 55:
ACCEPT_TOKEN(aux_sym_if_stmt_token4);
END_STATE();
case 56:
if (lookahead == 'C' ||
lookahead == 'c') ADVANCE(62);
END_STATE();
case 57:
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(63);
END_STATE();
case 58:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(64);
END_STATE();
case 59:
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(65);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(66);
END_STATE();
case 60:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(67);
END_STATE();
case 61:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(68);
END_STATE();
case 62:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(69);
END_STATE();
case 63:
ACCEPT_TOKEN(aux_sym_if_stmt_token5);
END_STATE();
case 64:
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(70);
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(71);
END_STATE();
case 65:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(72);
END_STATE();
case 66:
if (lookahead == 'X' ||
lookahead == 'x') ADVANCE(73);
END_STATE();
case 67:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(74);
END_STATE();
case 68:
if (lookahead == 'V' ||
lookahead == 'v') ADVANCE(75);
END_STATE();
case 69:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(76);
END_STATE();
case 70:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(77);
END_STATE();
case 71:
if (lookahead == 'X' ||
lookahead == 'x') ADVANCE(78);
END_STATE();
case 72:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(79);
END_STATE();
case 73:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(80);
END_STATE();
case 74:
ACCEPT_TOKEN(aux_sym_endlocal_stmt_token1);
END_STATE();
case 75:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(81);
END_STATE();
case 76:
ACCEPT_TOKEN(aux_sym_setlocal_stmt_token1);
END_STATE();
case 77:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(82);
END_STATE();
case 78:
if (lookahead == 'T' ||
lookahead == 't') ADVANCE(83);
END_STATE();
case 79:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(84);
END_STATE();
case 80:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(85);
END_STATE();
case 81:
if (lookahead == 'L' ||
lookahead == 'l') ADVANCE(86);
END_STATE();
case 82:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(87);
END_STATE();
case 83:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(88);
END_STATE();
case 84:
if (lookahead == 'Y' ||
lookahead == 'y') ADVANCE(89);
END_STATE();
case 85:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(90);
END_STATE();
case 86:
ACCEPT_TOKEN(aux_sym_if_stmt_token7);
END_STATE();
case 87:
if (lookahead == 'Y' ||
lookahead == 'y') ADVANCE(91);
END_STATE();
case 88:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(92);
END_STATE();
case 89:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(93);
END_STATE();
case 90:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(94);
END_STATE();
case 91:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(95);
END_STATE();
case 92:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(96);
END_STATE();
case 93:
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(97);
END_STATE();
case 94:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(98);
END_STATE();
case 95:
if (lookahead == 'D' ||
lookahead == 'd') ADVANCE(99);
END_STATE();
case 96:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(100);
END_STATE();
case 97:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(101);
END_STATE();
case 98:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(102);
END_STATE();
case 99:
if (lookahead == 'E' ||
lookahead == 'e') ADVANCE(103);
END_STATE();
case 100:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(104);
END_STATE();
case 101:
if (lookahead == 'X' ||
lookahead == 'x') ADVANCE(105);
END_STATE();
case 102:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(106);
END_STATE();
case 103:
if (lookahead == 'X' ||
lookahead == 'x') ADVANCE(107);
END_STATE();
case 104:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(108);
END_STATE();
case 105:
if (lookahead == 'P' ||
lookahead == 'p') ADVANCE(109);
END_STATE();
case 106:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(110);
END_STATE();
case 107:
if (lookahead == 'P' ||
lookahead == 'p') ADVANCE(111);
END_STATE();
case 108:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(112);
END_STATE();
case 109:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(113);
END_STATE();
case 110:
ACCEPT_TOKEN(aux_sym_setlocal_stmt_token4);
END_STATE();
case 111:
if (lookahead == 'A' ||
lookahead == 'a') ADVANCE(114);
END_STATE();
case 112:
ACCEPT_TOKEN(aux_sym_setlocal_stmt_token5);
END_STATE();
case 113:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(115);
END_STATE();
case 114:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(116);
END_STATE();
case 115:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(117);
END_STATE();
case 116:
if (lookahead == 'S' ||
lookahead == 's') ADVANCE(118);
END_STATE();
case 117:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(119);
END_STATE();
case 118:
if (lookahead == 'I' ||
lookahead == 'i') ADVANCE(120);
END_STATE();
case 119:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(121);
END_STATE();
case 120:
if (lookahead == 'O' ||
lookahead == 'o') ADVANCE(122);
END_STATE();
case 121:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(123);
END_STATE();
case 122:
if (lookahead == 'N' ||
lookahead == 'n') ADVANCE(124);
END_STATE();
case 123:
ACCEPT_TOKEN(aux_sym_setlocal_stmt_token2);
END_STATE();
case 124:
ACCEPT_TOKEN(aux_sym_setlocal_stmt_token3);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
[1] = {.lex_state = 90},
[2] = {.lex_state = 2},
[3] = {.lex_state = 2},
[4] = {.lex_state = 90},
[5] = {.lex_state = 90},
[6] = {.lex_state = 90},
[7] = {.lex_state = 90},
[8] = {.lex_state = 90},
[9] = {.lex_state = 90},
[10] = {.lex_state = 90},
[11] = {.lex_state = 90},
[12] = {.lex_state = 90},
[13] = {.lex_state = 90},
[14] = {.lex_state = 90},
[15] = {.lex_state = 90},
[16] = {.lex_state = 90},
[17] = {.lex_state = 90},
[18] = {.lex_state = 90},
[19] = {.lex_state = 90},
[20] = {.lex_state = 90},
[21] = {.lex_state = 90},
[22] = {.lex_state = 90},
[23] = {.lex_state = 90},
[24] = {.lex_state = 90},
[25] = {.lex_state = 90},
[26] = {.lex_state = 90},
[27] = {.lex_state = 90},
[28] = {.lex_state = 90},
[29] = {.lex_state = 90},
[30] = {.lex_state = 90},
[31] = {.lex_state = 3},
[32] = {.lex_state = 3},
[33] = {.lex_state = 3},
[34] = {.lex_state = 3},
[35] = {.lex_state = 5},
[36] = {.lex_state = 5},
[37] = {.lex_state = 5},
[38] = {.lex_state = 5},
[39] = {.lex_state = 3},
[40] = {.lex_state = 5},
[41] = {.lex_state = 5},
[42] = {.lex_state = 90},
[43] = {.lex_state = 90},
[44] = {.lex_state = 7},
[45] = {.lex_state = 7},
[46] = {.lex_state = 6},
[47] = {.lex_state = 6},
[48] = {.lex_state = 6},
[49] = {.lex_state = 6},
[50] = {.lex_state = 4},
[51] = {.lex_state = 7},
[52] = {.lex_state = 6},
[53] = {.lex_state = 9},
[54] = {.lex_state = 6},
[55] = {.lex_state = 5},
[56] = {.lex_state = 9},
[57] = {.lex_state = 6},
[58] = {.lex_state = 7},
[59] = {.lex_state = 7},
[60] = {.lex_state = 6},
[61] = {.lex_state = 5},
[62] = {.lex_state = 5},
[63] = {.lex_state = 6},
[64] = {.lex_state = 7},
[65] = {.lex_state = 9},
[66] = {.lex_state = 11},
[67] = {.lex_state = 11},
[68] = {.lex_state = 9},
[69] = {.lex_state = 10},
[70] = {.lex_state = 11},
[71] = {.lex_state = 10},
[72] = {.lex_state = 14},
[73] = {.lex_state = 14},
[74] = {.lex_state = 11},
[75] = {.lex_state = 11},
[76] = {.lex_state = 14},
[77] = {.lex_state = 14},
[78] = {.lex_state = 14},
[79] = {.lex_state = 8},
[80] = {.lex_state = 11},
[81] = {.lex_state = 10},
[82] = {.lex_state = 14},
[83] = {.lex_state = 10},
[84] = {.lex_state = 11},
[85] = {.lex_state = 14},
[86] = {.lex_state = 14},
[87] = {.lex_state = 14},
[88] = {.lex_state = 8},
[89] = {.lex_state = 8},
[90] = {.lex_state = 14},
[91] = {.lex_state = 8},
[92] = {.lex_state = 21},
[93] = {.lex_state = 90},
[94] = {.lex_state = 21},
[95] = {.lex_state = 90},
[96] = {.lex_state = 90},
[97] = {.lex_state = 90},
[98] = {.lex_state = 6},
[99] = {.lex_state = 6},
[100] = {.lex_state = 90},
[101] = {.lex_state = 90},
[102] = {.lex_state = 90},
[103] = {.lex_state = 90},
[104] = {.lex_state = 7},
[105] = {.lex_state = 90},
[106] = {.lex_state = 90},
[107] = {.lex_state = 7},
[108] = {.lex_state = 21},
[109] = {.lex_state = 21},
[110] = {.lex_state = 7},
[111] = {.lex_state = 7},
[112] = {.lex_state = 21},
[113] = {.lex_state = 7},
[114] = {.lex_state = 90},
[115] = {.lex_state = 7},
[116] = {.lex_state = 21},
[117] = {.lex_state = 7},
[118] = {.lex_state = 7},
[119] = {.lex_state = 14},
[120] = {.lex_state = 11},
[121] = {.lex_state = 12},
[122] = {.lex_state = 7},
[123] = {.lex_state = 12},
[124] = {.lex_state = 14},
[125] = {.lex_state = 21},
[126] = {.lex_state = 12},
[127] = {.lex_state = 11},
[128] = {.lex_state = 21},
[129] = {.lex_state = 21},
[130] = {.lex_state = 21},
[131] = {.lex_state = 12},
[132] = {.lex_state = 12},
[133] = {.lex_state = 12},
[134] = {.lex_state = 14},
[135] = {.lex_state = 90},
[136] = {.lex_state = 12},
[137] = {.lex_state = 6},
[138] = {.lex_state = 12},
[139] = {.lex_state = 6},
[140] = {.lex_state = 12},
[141] = {.lex_state = 12},
[142] = {.lex_state = 6},
[143] = {.lex_state = 90},
[144] = {.lex_state = 12},
[145] = {.lex_state = 12},
[146] = {.lex_state = 90},
[147] = {.lex_state = 90},
[148] = {.lex_state = 12},
[149] = {.lex_state = 6},
[150] = {.lex_state = 13},
[151] = {.lex_state = 13},
[152] = {.lex_state = 12},
[153] = {.lex_state = 7},
[154] = {.lex_state = 12},
[155] = {.lex_state = 12},
[156] = {.lex_state = 24},
[157] = {.lex_state = 22},
[158] = {.lex_state = 13},
[159] = {.lex_state = 22},
[160] = {.lex_state = 90},
[161] = {.lex_state = 4},
[162] = {.lex_state = 22},
[163] = {.lex_state = 22},
[164] = {.lex_state = 22},
[165] = {.lex_state = 22},
[166] = {.lex_state = 12},
[167] = {.lex_state = 24},
[168] = {.lex_state = 22},
[169] = {.lex_state = 12},
[170] = {.lex_state = 90},
[171] = {.lex_state = 12},
[172] = {.lex_state = 12},
[173] = {.lex_state = 8},
[174] = {.lex_state = 8},
[175] = {.lex_state = 12},
[176] = {.lex_state = 13},
[177] = {.lex_state = 22},
[178] = {.lex_state = 17},
[179] = {.lex_state = 90},
[180] = {.lex_state = 24},
[181] = {.lex_state = 90},
[182] = {.lex_state = 12},
[183] = {.lex_state = 90},
[184] = {.lex_state = 24},
[185] = {.lex_state = 90},
[186] = {.lex_state = 0},
[187] = {.lex_state = 0},
[188] = {.lex_state = 4},
[189] = {.lex_state = 0},
[190] = {.lex_state = 90},
[191] = {.lex_state = 17},
[192] = {.lex_state = 17},
[193] = {.lex_state = 0},
[194] = {.lex_state = 0},
[195] = {.lex_state = 0},
[196] = {.lex_state = 17},
[197] = {.lex_state = 0},
[198] = {.lex_state = 0},
[199] = {.lex_state = 51},
[200] = {.lex_state = 0},
[201] = {.lex_state = 0},
[202] = {.lex_state = 0},
[203] = {.lex_state = 51},
[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},
[213] = {.lex_state = 0},
[214] = {.lex_state = 0},
[215] = {.lex_state = 0},
[216] = {.lex_state = 0},
[217] = {.lex_state = 0},
[218] = {.lex_state = 0},
[219] = {.lex_state = 0},
[220] = {.lex_state = 0},
[221] = {.lex_state = 51},
[222] = {.lex_state = 51},
[223] = {.lex_state = 0},
[224] = {.lex_state = 0},
[225] = {.lex_state = 0},
[226] = {.lex_state = 0},
[227] = {.lex_state = 0},
[228] = {.lex_state = 0},
[229] = {.lex_state = 0},
[230] = {.lex_state = 0},
[231] = {.lex_state = 0},
[232] = {.lex_state = 0},
[233] = {.lex_state = 0},
[234] = {.lex_state = 0},
[235] = {.lex_state = 0},
[236] = {.lex_state = 0},
[237] = {.lex_state = 0},
[238] = {.lex_state = 23},
[239] = {.lex_state = 23},
[240] = {.lex_state = 23},
[241] = {.lex_state = 0},
[242] = {.lex_state = 23},
[243] = {.lex_state = 23},
[244] = {.lex_state = 23},
[245] = {.lex_state = 20},
[246] = {.lex_state = 20},
[247] = {.lex_state = 20},
[248] = {.lex_state = 20},
[249] = {.lex_state = 20},
[250] = {.lex_state = 23},
[251] = {.lex_state = 19},
[252] = {.lex_state = 19},
[253] = {.lex_state = 23},
[254] = {.lex_state = 23},
[255] = {.lex_state = 18},
[256] = {.lex_state = 19},
[257] = {.lex_state = 23},
[258] = {.lex_state = 7},
[259] = {.lex_state = 7},
[260] = {.lex_state = 7},
[261] = {.lex_state = 23},
[262] = {.lex_state = 0},
[263] = {.lex_state = 18},
[264] = {.lex_state = 19},
[265] = {.lex_state = 18},
[266] = {.lex_state = 18},
[267] = {.lex_state = 19},
[268] = {.lex_state = 18},
[269] = {.lex_state = 19},
[270] = {.lex_state = 7},
[271] = {.lex_state = 18},
[272] = {.lex_state = 0},
[273] = {.lex_state = 23},
[274] = {.lex_state = 18},
[275] = {.lex_state = 19},
[276] = {.lex_state = 23},
[277] = {.lex_state = 18},
[278] = {.lex_state = 7},
[279] = {.lex_state = 19},
[280] = {.lex_state = 7},
[281] = {.lex_state = 0},
[282] = {.lex_state = 7},
[283] = {.lex_state = 51},
[284] = {.lex_state = 0},
[285] = {.lex_state = 14},
[286] = {.lex_state = 0},
[287] = {.lex_state = 36},
[288] = {.lex_state = 0},
[289] = {.lex_state = 36},
[290] = {.lex_state = 14},
[291] = {.lex_state = 51},
[292] = {.lex_state = 14},
[293] = {.lex_state = 14},
[294] = {.lex_state = 0},
[295] = {.lex_state = 0},
[296] = {.lex_state = 8},
[297] = {.lex_state = 0},
[298] = {.lex_state = 8},
[299] = {.lex_state = 14},
[300] = {.lex_state = 14},
[301] = {.lex_state = 0},
[302] = {.lex_state = 0},
[303] = {.lex_state = 14},
[304] = {.lex_state = 0},
[305] = {.lex_state = 3},
[306] = {.lex_state = 7},
[307] = {.lex_state = 0},
[308] = {.lex_state = 7},
[309] = {.lex_state = 8},
[310] = {.lex_state = 7},
[311] = {.lex_state = 7},
[312] = {.lex_state = 0},
[313] = {.lex_state = 8},
[314] = {.lex_state = 57},
[315] = {.lex_state = 7},
[316] = {.lex_state = 0},
[317] = {.lex_state = 8},
[318] = {.lex_state = 14},
[319] = {.lex_state = 7},
[320] = {.lex_state = 0},
[321] = {.lex_state = 8},
[322] = {.lex_state = 0},
[323] = {.lex_state = 7},
[324] = {.lex_state = 37},
[325] = {.lex_state = 7},
[326] = {.lex_state = 7},
[327] = {.lex_state = 7},
[328] = {.lex_state = 90},
[329] = {.lex_state = 8},
[330] = {.lex_state = 14},
[331] = {.lex_state = 0},
[332] = {.lex_state = 57},
[333] = {.lex_state = 14},
[334] = {.lex_state = 58},
[335] = {.lex_state = 37},
[336] = {.lex_state = 14},
[337] = {.lex_state = 3},
[338] = {.lex_state = 14},
[339] = {.lex_state = 0},
[340] = {.lex_state = 14},
[341] = {.lex_state = 58},
[342] = {.lex_state = 0},
[343] = {.lex_state = 8},
[344] = {.lex_state = 0},
[345] = {.lex_state = 0},
[346] = {.lex_state = 14},
[347] = {.lex_state = 0},
[348] = {.lex_state = 0},
[349] = {.lex_state = 7},
[350] = {.lex_state = 7},
[351] = {.lex_state = 7},
[352] = {.lex_state = 0},
[353] = {.lex_state = 7},
[354] = {.lex_state = 0},
[355] = {.lex_state = 3},
[356] = {.lex_state = 3},
[357] = {.lex_state = 0},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[sym_command_name] = ACTIONS(1),
[aux_sym_program_token1] = ACTIONS(1),
[anon_sym_AT] = ACTIONS(1),
[aux_sym_echo_off_token1] = ACTIONS(1),
[aux_sym_echo_off_token2] = ACTIONS(1),
[aux_sym_echo_off_token3] = ACTIONS(1),
[sym_label] = ACTIONS(1),
[aux_sym_variable_assignment_token1] = ACTIONS(1),
[anon_sym_DQUOTE] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_CARET_DQUOTE] = ACTIONS(1),
[anon_sym_PERCENT] = ACTIONS(1),
[anon_sym_BANG] = ACTIONS(1),
[anon_sym_CARET_CARET] = ACTIONS(1),
[anon_sym_CARET] = ACTIONS(1),
[aux_sym_arithmetic_assignment_token1] = ACTIONS(1),
[aux_sym_prompt_assignment_token1] = ACTIONS(1),
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
[aux_sym_if_stmt_token1] = ACTIONS(1),
[aux_sym_if_stmt_token2] = ACTIONS(1),
[aux_sym_if_stmt_token3] = ACTIONS(1),
[aux_sym_if_stmt_token4] = ACTIONS(1),
[aux_sym_if_stmt_token5] = ACTIONS(1),
[aux_sym_if_stmt_token6] = ACTIONS(1),
[aux_sym_if_stmt_token7] = ACTIONS(1),
[aux_sym_else_clause_token1] = ACTIONS(1),
[sym__if_word] = ACTIONS(1),
[aux_sym_goto_stmt_token1] = ACTIONS(1),
[aux_sym_goto_stmt_token2] = ACTIONS(1),
[aux_sym_goto_stmt_token3] = ACTIONS(1),
[aux_sym_call_stmt_token1] = ACTIONS(1),
[aux_sym_call_stmt_token2] = ACTIONS(1),
[aux_sym_exit_stmt_token1] = ACTIONS(1),
[aux_sym_exit_stmt_token2] = ACTIONS(1),
[aux_sym_setlocal_stmt_token1] = ACTIONS(1),
[aux_sym_setlocal_stmt_token2] = ACTIONS(1),
[aux_sym_setlocal_stmt_token3] = ACTIONS(1),
[aux_sym_setlocal_stmt_token4] = ACTIONS(1),
[aux_sym_setlocal_stmt_token5] = ACTIONS(1),
[aux_sym_endlocal_stmt_token1] = ACTIONS(1),
[aux_sym_for_stmt_token1] = ACTIONS(1),
[aux_sym_for_stmt_token2] = ACTIONS(1),
[aux_sym_for_stmt_token3] = ACTIONS(1),
[aux_sym_redirection_token1] = ACTIONS(1),
[anon_sym_PIPE] = ACTIONS(1),
[anon_sym_AMP_AMP] = ACTIONS(1),
[anon_sym_PIPE_PIPE] = ACTIONS(1),
[anon_sym_AMP] = ACTIONS(1),
[sym_variable_reference] = ACTIONS(1),
[anon_sym_LBRACK] = ACTIONS(1),
[anon_sym_RBRACK] = ACTIONS(1),
},
[STATE(1)] = {
[sym_program] = STATE(295),
[sym__stmt] = STATE(301),
[sym_echo_off] = STATE(301),
[sym_variable_assignment] = STATE(241),
[sym_if_stmt] = STATE(241),
[sym_goto_stmt] = STATE(241),
[sym_call_stmt] = STATE(114),
[sym_exit_stmt] = STATE(241),
[sym_setlocal_stmt] = STATE(241),
[sym_endlocal_stmt] = STATE(241),
[sym_for_stmt] = STATE(241),
[sym_parenthesized] = STATE(114),
[sym_redirect_stmt] = STATE(234),
[sym_redirection] = STATE(153),
[sym_pipe_stmt] = STATE(234),
[sym_cond_exec] = STATE(241),
[sym_command_sep] = STATE(284),
[sym_cmd] = STATE(114),
[sym_macro_invocation] = STATE(241),
[aux_sym_program_repeat1] = STATE(7),
[aux_sym_redirection_repeat1] = STATE(51),
[ts_builtin_sym_end] = ACTIONS(3),
[sym_command_name] = ACTIONS(5),
[aux_sym_program_token1] = ACTIONS(7),
[anon_sym_AT] = ACTIONS(9),
[sym_comment] = ACTIONS(11),
[sym_label] = ACTIONS(11),
[aux_sym_variable_assignment_token1] = ACTIONS(13),
[anon_sym_LPAREN] = ACTIONS(15),
[aux_sym_if_stmt_token1] = ACTIONS(17),
[aux_sym_goto_stmt_token1] = ACTIONS(19),
[aux_sym_call_stmt_token1] = ACTIONS(21),
[aux_sym_exit_stmt_token1] = ACTIONS(23),
[aux_sym_setlocal_stmt_token1] = ACTIONS(25),
[aux_sym_endlocal_stmt_token1] = ACTIONS(27),
[aux_sym_for_stmt_token1] = ACTIONS(29),
[aux_sym_redirection_token1] = ACTIONS(31),
[sym_fd_redirect] = ACTIONS(33),
[sym_redirect_op] = ACTIONS(35),
[sym_variable_reference] = ACTIONS(37),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 30,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(39), 1,
aux_sym_program_token1,
ACTIONS(41), 1,
anon_sym_AT,
ACTIONS(43), 1,
sym_comment,
ACTIONS(45), 1,
sym_label,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(49), 1,
anon_sym_LPAREN,
ACTIONS(51), 1,
anon_sym_RPAREN,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(57), 1,
sym_variable_reference,
ACTIONS(59), 1,
sym_string,
STATE(6), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(262), 1,
sym_command_sep,
ACTIONS(61), 2,
sym_command_option,
sym_argument_value,
STATE(195), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(286), 2,
sym__stmt,
sym_echo_off,
STATE(105), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(137), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
STATE(228), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[106] = 30,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(39), 1,
aux_sym_program_token1,
ACTIONS(41), 1,
anon_sym_AT,
ACTIONS(43), 1,
sym_comment,
ACTIONS(45), 1,
sym_label,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(49), 1,
anon_sym_LPAREN,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(57), 1,
sym_variable_reference,
ACTIONS(63), 1,
anon_sym_RPAREN,
ACTIONS(65), 1,
sym_string,
STATE(6), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(262), 1,
sym_command_sep,
ACTIONS(67), 2,
sym_command_option,
sym_argument_value,
STATE(195), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(286), 2,
sym__stmt,
sym_echo_off,
STATE(105), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(142), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
STATE(228), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[212] = 26,
ACTIONS(71), 1,
sym_command_name,
ACTIONS(74), 1,
aux_sym_program_token1,
ACTIONS(77), 1,
anon_sym_AT,
ACTIONS(83), 1,
aux_sym_variable_assignment_token1,
ACTIONS(86), 1,
anon_sym_LPAREN,
ACTIONS(89), 1,
aux_sym_if_stmt_token1,
ACTIONS(92), 1,
aux_sym_goto_stmt_token1,
ACTIONS(95), 1,
aux_sym_call_stmt_token1,
ACTIONS(98), 1,
aux_sym_exit_stmt_token1,
ACTIONS(101), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(104), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(107), 1,
aux_sym_for_stmt_token1,
ACTIONS(110), 1,
aux_sym_redirection_token1,
ACTIONS(113), 1,
sym_fd_redirect,
ACTIONS(116), 1,
sym_redirect_op,
ACTIONS(119), 1,
sym_variable_reference,
STATE(4), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(284), 1,
sym_command_sep,
ACTIONS(69), 2,
ts_builtin_sym_end,
anon_sym_RPAREN,
ACTIONS(80), 2,
sym_comment,
sym_label,
STATE(234), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(301), 2,
sym__stmt,
sym_echo_off,
STATE(114), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(241), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[305] = 26,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(39), 1,
aux_sym_program_token1,
ACTIONS(41), 1,
anon_sym_AT,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(122), 1,
anon_sym_RPAREN,
ACTIONS(124), 1,
sym_variable_reference,
STATE(6), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(262), 1,
sym_command_sep,
ACTIONS(43), 2,
sym_comment,
sym_label,
STATE(195), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(286), 2,
sym__stmt,
sym_echo_off,
STATE(105), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(228), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[397] = 26,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(41), 1,
anon_sym_AT,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(124), 1,
sym_variable_reference,
ACTIONS(126), 1,
aux_sym_program_token1,
ACTIONS(130), 1,
anon_sym_RPAREN,
STATE(4), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(262), 1,
sym_command_sep,
ACTIONS(128), 2,
sym_comment,
sym_label,
STATE(195), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(288), 2,
sym__stmt,
sym_echo_off,
STATE(105), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(228), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[489] = 26,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(9), 1,
anon_sym_AT,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(37), 1,
sym_variable_reference,
ACTIONS(126), 1,
aux_sym_program_token1,
ACTIONS(132), 1,
ts_builtin_sym_end,
STATE(4), 1,
aux_sym_program_repeat1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(284), 1,
sym_command_sep,
ACTIONS(11), 2,
sym_comment,
sym_label,
STATE(234), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(301), 2,
sym__stmt,
sym_echo_off,
STATE(114), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(241), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[581] = 21,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(37), 1,
sym_variable_reference,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(136), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(187), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(106), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(212), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[656] = 21,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(124), 1,
sym_variable_reference,
ACTIONS(136), 1,
sym_comment,
ACTIONS(138), 1,
anon_sym_AT,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(187), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(106), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
STATE(212), 9,
sym_variable_assignment,
sym_if_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
sym_cond_exec,
sym_macro_invocation,
[731] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(140), 1,
sym_comment,
ACTIONS(142), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(102), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(229), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[807] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(144), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(97), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(211), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[883] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(146), 1,
sym_comment,
ACTIONS(148), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(87), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(226), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[959] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(140), 1,
sym_comment,
ACTIONS(148), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(102), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(229), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1035] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(150), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(90), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(235), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1111] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(152), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(82), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(231), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1187] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(154), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(85), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(225), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1263] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(156), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(93), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(200), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1339] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(158), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(86), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(204), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1415] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(160), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(95), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(206), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1491] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(144), 1,
sym_comment,
ACTIONS(148), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(97), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(211), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1567] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(146), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(72), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(226), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1643] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(150), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(76), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(235), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1719] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(152), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(73), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(231), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1795] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(154), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(78), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(225), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1871] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(156), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(93), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(200), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[1947] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(158), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(77), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(204), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[2023] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(160), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(95), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(206), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[2099] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(47), 1,
aux_sym_variable_assignment_token1,
ACTIONS(53), 1,
aux_sym_if_stmt_token1,
ACTIONS(55), 1,
aux_sym_for_stmt_token1,
ACTIONS(138), 1,
anon_sym_AT,
ACTIONS(142), 1,
sym_variable_reference,
ACTIONS(162), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(96), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(209), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[2175] = 22,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(13), 1,
aux_sym_variable_assignment_token1,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(17), 1,
aux_sym_if_stmt_token1,
ACTIONS(19), 1,
aux_sym_goto_stmt_token1,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(23), 1,
aux_sym_exit_stmt_token1,
ACTIONS(25), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(27), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(29), 1,
aux_sym_for_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(134), 1,
anon_sym_AT,
ACTIONS(148), 1,
sym_variable_reference,
ACTIONS(162), 1,
sym_comment,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(96), 1,
sym_parenthesized,
STATE(153), 1,
sym_redirection,
STATE(103), 2,
sym_call_stmt,
sym_cmd,
STATE(194), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(209), 8,
sym_variable_assignment,
sym_if_stmt,
sym__body_stmt,
sym_goto_stmt,
sym_exit_stmt,
sym_setlocal_stmt,
sym_endlocal_stmt,
sym_for_stmt,
[2251] = 2,
ACTIONS(164), 6,
anon_sym_AT,
aux_sym_variable_assignment_token1,
aux_sym_redirection_token1,
sym_redirect_op,
sym_variable_reference,
sym_command_name,
ACTIONS(69), 14,
ts_builtin_sym_end,
aux_sym_program_token1,
sym_comment,
sym_label,
anon_sym_LPAREN,
anon_sym_RPAREN,
aux_sym_if_stmt_token1,
aux_sym_goto_stmt_token1,
aux_sym_call_stmt_token1,
aux_sym_exit_stmt_token1,
aux_sym_setlocal_stmt_token1,
aux_sym_endlocal_stmt_token1,
aux_sym_for_stmt_token1,
sym_fd_redirect,
[2276] = 9,
ACTIONS(168), 1,
anon_sym_LPAREN,
ACTIONS(170), 1,
sym_for_variable,
ACTIONS(176), 1,
sym_string,
STATE(135), 1,
sym_argument_list,
STATE(161), 1,
sym_parenthesized,
ACTIONS(174), 3,
sym_variable_reference,
sym_command_option,
sym_argument_value,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(166), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2315] = 9,
ACTIONS(168), 1,
anon_sym_LPAREN,
ACTIONS(170), 1,
sym_for_variable,
ACTIONS(176), 1,
sym_string,
STATE(135), 1,
sym_argument_list,
STATE(161), 1,
sym_parenthesized,
ACTIONS(174), 3,
sym_variable_reference,
sym_command_option,
sym_argument_value,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(166), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2354] = 9,
ACTIONS(168), 1,
anon_sym_LPAREN,
ACTIONS(176), 1,
sym_string,
ACTIONS(178), 1,
sym_for_variable,
STATE(135), 1,
sym_argument_list,
STATE(188), 1,
sym_parenthesized,
ACTIONS(174), 3,
sym_variable_reference,
sym_command_option,
sym_argument_value,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(166), 4,
aux_sym_program_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
[2392] = 8,
ACTIONS(170), 1,
sym_for_variable,
ACTIONS(176), 1,
sym_string,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(135), 1,
sym_argument_list,
ACTIONS(174), 3,
sym_variable_reference,
sym_command_option,
sym_argument_value,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(166), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2428] = 7,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(147), 1,
sym_argument_list,
ACTIONS(174), 2,
sym_command_option,
sym_argument_value,
ACTIONS(176), 2,
sym_variable_reference,
sym_string,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(184), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(182), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2461] = 7,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(146), 1,
sym_argument_list,
ACTIONS(174), 2,
sym_command_option,
sym_argument_value,
ACTIONS(176), 2,
sym_variable_reference,
sym_string,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(188), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(186), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2494] = 7,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(135), 1,
sym_argument_list,
ACTIONS(174), 2,
sym_command_option,
sym_argument_value,
ACTIONS(176), 2,
sym_variable_reference,
sym_string,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(166), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2527] = 7,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(143), 1,
sym_argument_list,
ACTIONS(174), 2,
sym_command_option,
sym_argument_value,
ACTIONS(176), 2,
sym_variable_reference,
sym_string,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(192), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(190), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2560] = 8,
ACTIONS(176), 1,
sym_string,
ACTIONS(178), 1,
sym_for_variable,
ACTIONS(180), 1,
anon_sym_LPAREN,
STATE(135), 1,
sym_argument_list,
ACTIONS(174), 3,
sym_variable_reference,
sym_command_option,
sym_argument_value,
STATE(41), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(166), 4,
aux_sym_program_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(172), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
[2595] = 6,
ACTIONS(196), 1,
anon_sym_LPAREN,
ACTIONS(201), 2,
sym_variable_reference,
sym_string,
ACTIONS(204), 2,
sym_command_option,
sym_argument_value,
STATE(40), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(199), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(194), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2625] = 6,
ACTIONS(180), 1,
anon_sym_LPAREN,
ACTIONS(211), 2,
sym_variable_reference,
sym_string,
ACTIONS(213), 2,
sym_command_option,
sym_argument_value,
STATE(40), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(209), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(207), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2655] = 2,
ACTIONS(215), 6,
anon_sym_AT,
aux_sym_variable_assignment_token1,
aux_sym_redirection_token1,
sym_redirect_op,
sym_variable_reference,
sym_command_name,
ACTIONS(217), 10,
sym_comment,
anon_sym_LPAREN,
aux_sym_if_stmt_token1,
aux_sym_goto_stmt_token1,
aux_sym_call_stmt_token1,
aux_sym_exit_stmt_token1,
aux_sym_setlocal_stmt_token1,
aux_sym_endlocal_stmt_token1,
aux_sym_for_stmt_token1,
sym_fd_redirect,
[2676] = 2,
ACTIONS(219), 6,
anon_sym_AT,
aux_sym_variable_assignment_token1,
aux_sym_redirection_token1,
sym_redirect_op,
sym_variable_reference,
sym_command_name,
ACTIONS(221), 10,
sym_comment,
anon_sym_LPAREN,
aux_sym_if_stmt_token1,
aux_sym_goto_stmt_token1,
aux_sym_call_stmt_token1,
aux_sym_exit_stmt_token1,
aux_sym_setlocal_stmt_token1,
aux_sym_endlocal_stmt_token1,
aux_sym_for_stmt_token1,
sym_fd_redirect,
[2697] = 6,
ACTIONS(227), 1,
aux_sym_redirection_token1,
ACTIONS(230), 1,
sym_fd_redirect,
ACTIONS(233), 1,
sym_redirect_op,
STATE(44), 1,
aux_sym_redirection_repeat1,
ACTIONS(223), 3,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_name,
ACTIONS(225), 8,
aux_sym_program_token1,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
aux_sym_call_stmt_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
[2725] = 12,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(236), 1,
anon_sym_AT,
ACTIONS(238), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(186), 2,
sym_redirect_stmt,
sym_pipe_stmt,
STATE(101), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
[2765] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
STATE(135), 1,
sym_argument_list,
ACTIONS(172), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(166), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2795] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
STATE(147), 1,
sym_argument_list,
ACTIONS(184), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(182), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2825] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
STATE(146), 1,
sym_argument_list,
ACTIONS(188), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(186), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2855] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
STATE(143), 1,
sym_argument_list,
ACTIONS(192), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(190), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2885] = 5,
ACTIONS(251), 1,
aux_sym_else_clause_token1,
ACTIONS(255), 1,
anon_sym_AMP,
ACTIONS(246), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(249), 4,
anon_sym_LPAREN,
sym_fd_redirect,
sym_variable_reference,
sym_string,
ACTIONS(253), 5,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
sym_command_option,
sym_argument_value,
[2911] = 6,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(262), 1,
sym_fd_redirect,
STATE(44), 1,
aux_sym_redirection_repeat1,
ACTIONS(258), 3,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_name,
ACTIONS(260), 8,
aux_sym_program_token1,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
aux_sym_call_stmt_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
[2939] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(266), 1,
anon_sym_AMP,
STATE(202), 1,
sym_argument_list,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(264), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[2968] = 5,
ACTIONS(270), 1,
anon_sym_CARET_DQUOTE,
STATE(65), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
STATE(183), 1,
sym_caret_quoted_assignment_value,
ACTIONS(268), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(272), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[2993] = 6,
ACTIONS(274), 1,
anon_sym_LPAREN,
ACTIONS(199), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(277), 2,
sym_variable_reference,
sym_string,
ACTIONS(280), 2,
sym_command_option,
sym_argument_value,
STATE(54), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(194), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3020] = 2,
ACTIONS(285), 6,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_option,
sym_argument_value,
ACTIONS(283), 8,
aux_sym_program_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
sym_string,
[3039] = 5,
ACTIONS(289), 1,
anon_sym_CARET_DQUOTE,
STATE(65), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
STATE(181), 1,
sym_caret_quoted_assignment_value,
ACTIONS(287), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(272), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3064] = 6,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(209), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(291), 2,
sym_variable_reference,
sym_string,
ACTIONS(293), 2,
sym_command_option,
sym_argument_value,
STATE(54), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(207), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3091] = 12,
ACTIONS(5), 1,
sym_command_name,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(21), 1,
aux_sym_call_stmt_token1,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(236), 1,
anon_sym_AT,
ACTIONS(238), 1,
sym_variable_reference,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(153), 1,
sym_redirection,
STATE(189), 1,
sym_redirect_stmt,
STATE(100), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
[3130] = 2,
ACTIONS(295), 5,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_name,
ACTIONS(297), 9,
aux_sym_program_token1,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
aux_sym_call_stmt_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
[3149] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(268), 1,
anon_sym_AMP,
STATE(219), 1,
sym_argument_list,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(299), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3178] = 5,
ACTIONS(246), 1,
anon_sym_RPAREN,
ACTIONS(253), 2,
sym_command_option,
sym_argument_value,
ACTIONS(249), 3,
anon_sym_LPAREN,
sym_variable_reference,
sym_string,
ACTIONS(251), 4,
aux_sym_program_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(301), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
[3203] = 2,
ACTIONS(253), 6,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_option,
sym_argument_value,
ACTIONS(249), 8,
aux_sym_program_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
sym_string,
[3222] = 7,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(305), 1,
anon_sym_AMP,
STATE(207), 1,
sym_argument_list,
ACTIONS(242), 2,
sym_variable_reference,
sym_string,
ACTIONS(244), 2,
sym_command_option,
sym_argument_value,
STATE(57), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
ACTIONS(303), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3251] = 2,
ACTIONS(223), 5,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_name,
ACTIONS(225), 9,
aux_sym_program_token1,
anon_sym_AT,
anon_sym_LPAREN,
anon_sym_RPAREN,
aux_sym_call_stmt_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
[3270] = 3,
STATE(68), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
ACTIONS(307), 6,
aux_sym_program_token1,
anon_sym_CARET_DQUOTE,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(309), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3290] = 5,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(210), 1,
sym_assignment_value,
STATE(80), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(313), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(311), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3314] = 5,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(220), 1,
sym_assignment_value,
STATE(80), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(313), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(287), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3338] = 3,
STATE(68), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
ACTIONS(317), 6,
aux_sym_program_token1,
anon_sym_CARET_DQUOTE,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(319), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3358] = 5,
ACTIONS(289), 1,
anon_sym_CARET_DQUOTE,
STATE(83), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
STATE(181), 1,
sym_caret_quoted_assignment_value,
ACTIONS(287), 4,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(322), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3382] = 5,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(214), 1,
sym_assignment_value,
STATE(80), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(313), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(324), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3406] = 5,
ACTIONS(270), 1,
anon_sym_CARET_DQUOTE,
STATE(83), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
STATE(183), 1,
sym_caret_quoted_assignment_value,
ACTIONS(268), 4,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(322), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3430] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(332), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(235), 1,
sym_else_clause,
ACTIONS(326), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3464] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(336), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(225), 1,
sym_else_clause,
ACTIONS(334), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3498] = 5,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(198), 1,
sym_assignment_value,
STATE(80), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(313), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(338), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3522] = 5,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(237), 1,
sym_assignment_value,
STATE(80), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(313), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(340), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3546] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(344), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(231), 1,
sym_else_clause,
ACTIONS(342), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3580] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(348), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(208), 1,
sym_else_clause,
ACTIONS(346), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3614] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(352), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(204), 1,
sym_else_clause,
ACTIONS(350), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3648] = 9,
ACTIONS(354), 1,
aux_sym_if_stmt_token2,
ACTIONS(356), 1,
aux_sym_if_stmt_token3,
ACTIONS(358), 1,
aux_sym_if_stmt_token4,
ACTIONS(360), 1,
aux_sym_if_stmt_token5,
ACTIONS(362), 1,
aux_sym_if_stmt_token7,
ACTIONS(364), 1,
sym__if_word,
ACTIONS(368), 1,
anon_sym_LBRACK,
STATE(336), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(366), 3,
sym_variable_reference,
sym_string,
sym_integer,
[3679] = 4,
ACTIONS(315), 1,
anon_sym_LPAREN,
STATE(84), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(372), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(370), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3700] = 3,
STATE(81), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
ACTIONS(317), 5,
aux_sym_program_token1,
anon_sym_CARET_DQUOTE,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(374), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3719] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(336), 1,
anon_sym_AMP,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(225), 1,
sym_else_clause,
ACTIONS(334), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3752] = 3,
STATE(81), 1,
aux_sym_caret_quoted_assignment_value_repeat1,
ACTIONS(307), 5,
aux_sym_program_token1,
anon_sym_CARET_DQUOTE,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
ACTIONS(379), 6,
aux_sym_caret_quoted_assignment_value_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_CARET_CARET,
anon_sym_CARET,
sym_variable_reference,
[3771] = 4,
ACTIONS(386), 1,
anon_sym_LPAREN,
STATE(84), 2,
sym_assignment_paren_group,
aux_sym_assignment_value_repeat1,
ACTIONS(383), 4,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
sym_variable_reference,
ACTIONS(381), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
[3792] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(352), 1,
anon_sym_AMP,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(204), 1,
sym_else_clause,
ACTIONS(350), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3825] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(348), 1,
anon_sym_AMP,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(208), 1,
sym_else_clause,
ACTIONS(346), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3858] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(332), 1,
anon_sym_AMP,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(235), 1,
sym_else_clause,
ACTIONS(326), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3891] = 9,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(389), 1,
aux_sym_if_stmt_token2,
ACTIONS(391), 1,
aux_sym_if_stmt_token3,
ACTIONS(393), 1,
aux_sym_if_stmt_token4,
ACTIONS(395), 1,
aux_sym_if_stmt_token5,
ACTIONS(397), 1,
aux_sym_if_stmt_token7,
ACTIONS(399), 1,
sym__if_word,
STATE(333), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(401), 3,
sym_variable_reference,
sym_string,
sym_integer,
[3922] = 9,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(403), 1,
aux_sym_if_stmt_token2,
ACTIONS(405), 1,
aux_sym_if_stmt_token3,
ACTIONS(407), 1,
aux_sym_if_stmt_token4,
ACTIONS(409), 1,
aux_sym_if_stmt_token5,
ACTIONS(411), 1,
aux_sym_if_stmt_token7,
ACTIONS(413), 1,
sym__if_word,
STATE(346), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(415), 3,
sym_variable_reference,
sym_string,
sym_integer,
[3953] = 10,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(344), 1,
anon_sym_AMP,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
STATE(231), 1,
sym_else_clause,
ACTIONS(342), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[3986] = 9,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(417), 1,
aux_sym_if_stmt_token2,
ACTIONS(419), 1,
aux_sym_if_stmt_token3,
ACTIONS(421), 1,
aux_sym_if_stmt_token4,
ACTIONS(423), 1,
aux_sym_if_stmt_token5,
ACTIONS(425), 1,
aux_sym_if_stmt_token7,
ACTIONS(427), 1,
sym__if_word,
STATE(318), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(429), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4017] = 8,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(431), 1,
aux_sym_if_stmt_token3,
ACTIONS(433), 1,
aux_sym_if_stmt_token4,
ACTIONS(435), 1,
aux_sym_if_stmt_token5,
ACTIONS(437), 1,
aux_sym_if_stmt_token7,
ACTIONS(439), 1,
sym__if_word,
STATE(300), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(441), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4045] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(445), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(443), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4073] = 8,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(405), 1,
aux_sym_if_stmt_token3,
ACTIONS(407), 1,
aux_sym_if_stmt_token4,
ACTIONS(409), 1,
aux_sym_if_stmt_token5,
ACTIONS(411), 1,
aux_sym_if_stmt_token7,
ACTIONS(413), 1,
sym__if_word,
STATE(346), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(415), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4101] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(449), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(447), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4129] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(453), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(451), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4157] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(457), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(455), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4185] = 2,
ACTIONS(253), 4,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_option,
sym_argument_value,
ACTIONS(249), 7,
aux_sym_program_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
sym_string,
[4201] = 2,
ACTIONS(285), 4,
anon_sym_PIPE,
anon_sym_AMP,
sym_command_option,
sym_argument_value,
ACTIONS(283), 7,
aux_sym_program_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
sym_variable_reference,
sym_string,
[4217] = 7,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(461), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(459), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4243] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(465), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(463), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4271] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(469), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(467), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4299] = 8,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(473), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(471), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4327] = 11,
ACTIONS(475), 1,
sym_command_name,
ACTIONS(477), 1,
aux_sym_echo_off_token1,
ACTIONS(479), 1,
aux_sym_variable_assignment_token1,
ACTIONS(481), 1,
aux_sym_if_stmt_token1,
ACTIONS(483), 1,
aux_sym_goto_stmt_token1,
ACTIONS(485), 1,
aux_sym_call_stmt_token1,
ACTIONS(487), 1,
aux_sym_exit_stmt_token1,
ACTIONS(489), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(491), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(493), 1,
aux_sym_for_stmt_token1,
ACTIONS(495), 1,
sym_variable_reference,
[4361] = 9,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(501), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(497), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4391] = 9,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(505), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(503), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
[4421] = 11,
ACTIONS(475), 1,
sym_command_name,
ACTIONS(477), 1,
aux_sym_echo_off_token1,
ACTIONS(483), 1,
aux_sym_goto_stmt_token1,
ACTIONS(485), 1,
aux_sym_call_stmt_token1,
ACTIONS(487), 1,
aux_sym_exit_stmt_token1,
ACTIONS(489), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(491), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(495), 1,
sym_variable_reference,
ACTIONS(507), 1,
aux_sym_variable_assignment_token1,
ACTIONS(509), 1,
aux_sym_if_stmt_token1,
ACTIONS(511), 1,
aux_sym_for_stmt_token1,
[4455] = 8,
ACTIONS(356), 1,
aux_sym_if_stmt_token3,
ACTIONS(358), 1,
aux_sym_if_stmt_token4,
ACTIONS(360), 1,
aux_sym_if_stmt_token5,
ACTIONS(362), 1,
aux_sym_if_stmt_token7,
ACTIONS(364), 1,
sym__if_word,
ACTIONS(368), 1,
anon_sym_LBRACK,
STATE(336), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(366), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4483] = 8,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(513), 1,
aux_sym_if_stmt_token3,
ACTIONS(515), 1,
aux_sym_if_stmt_token4,
ACTIONS(517), 1,
aux_sym_if_stmt_token5,
ACTIONS(519), 1,
aux_sym_if_stmt_token7,
ACTIONS(521), 1,
sym__if_word,
STATE(338), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(523), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4511] = 10,
ACTIONS(475), 1,
sym_command_name,
ACTIONS(483), 1,
aux_sym_goto_stmt_token1,
ACTIONS(485), 1,
aux_sym_call_stmt_token1,
ACTIONS(487), 1,
aux_sym_exit_stmt_token1,
ACTIONS(489), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(491), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(495), 1,
sym_variable_reference,
ACTIONS(507), 1,
aux_sym_variable_assignment_token1,
ACTIONS(509), 1,
aux_sym_if_stmt_token1,
ACTIONS(511), 1,
aux_sym_for_stmt_token1,
[4542] = 4,
ACTIONS(530), 1,
anon_sym_AMP,
STATE(111), 1,
aux_sym_setlocal_stmt_repeat1,
ACTIONS(525), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(527), 4,
aux_sym_setlocal_stmt_token2,
aux_sym_setlocal_stmt_token3,
aux_sym_setlocal_stmt_token4,
aux_sym_setlocal_stmt_token5,
[4561] = 7,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(407), 1,
aux_sym_if_stmt_token4,
ACTIONS(409), 1,
aux_sym_if_stmt_token5,
ACTIONS(411), 1,
aux_sym_if_stmt_token7,
ACTIONS(413), 1,
sym__if_word,
STATE(346), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(415), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4586] = 4,
ACTIONS(536), 1,
anon_sym_AMP,
STATE(111), 1,
aux_sym_setlocal_stmt_repeat1,
ACTIONS(532), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(534), 4,
aux_sym_setlocal_stmt_token2,
aux_sym_setlocal_stmt_token3,
aux_sym_setlocal_stmt_token4,
aux_sym_setlocal_stmt_token5,
[4605] = 9,
ACTIONS(31), 1,
aux_sym_redirection_token1,
ACTIONS(33), 1,
sym_fd_redirect,
ACTIONS(35), 1,
sym_redirect_op,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(497), 1,
aux_sym_program_token1,
ACTIONS(538), 1,
anon_sym_AMP,
STATE(51), 1,
aux_sym_redirection_repeat1,
STATE(193), 1,
sym_redirection,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4634] = 4,
ACTIONS(542), 1,
anon_sym_AMP,
STATE(111), 1,
aux_sym_setlocal_stmt_repeat1,
ACTIONS(534), 4,
aux_sym_setlocal_stmt_token2,
aux_sym_setlocal_stmt_token3,
aux_sym_setlocal_stmt_token4,
aux_sym_setlocal_stmt_token5,
ACTIONS(540), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4653] = 7,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(544), 1,
aux_sym_if_stmt_token4,
ACTIONS(546), 1,
aux_sym_if_stmt_token5,
ACTIONS(548), 1,
aux_sym_if_stmt_token7,
ACTIONS(550), 1,
sym__if_word,
STATE(330), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(552), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4678] = 4,
ACTIONS(558), 1,
anon_sym_AMP,
STATE(113), 1,
aux_sym_setlocal_stmt_repeat1,
ACTIONS(554), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(556), 4,
aux_sym_setlocal_stmt_token2,
aux_sym_setlocal_stmt_token3,
aux_sym_setlocal_stmt_token4,
aux_sym_setlocal_stmt_token5,
[4697] = 10,
ACTIONS(475), 1,
sym_command_name,
ACTIONS(479), 1,
aux_sym_variable_assignment_token1,
ACTIONS(481), 1,
aux_sym_if_stmt_token1,
ACTIONS(483), 1,
aux_sym_goto_stmt_token1,
ACTIONS(485), 1,
aux_sym_call_stmt_token1,
ACTIONS(487), 1,
aux_sym_exit_stmt_token1,
ACTIONS(489), 1,
aux_sym_setlocal_stmt_token1,
ACTIONS(491), 1,
aux_sym_endlocal_stmt_token1,
ACTIONS(493), 1,
aux_sym_for_stmt_token1,
ACTIONS(495), 1,
sym_variable_reference,
[4728] = 2,
ACTIONS(562), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(560), 6,
aux_sym_program_token1,
anon_sym_RPAREN,
aux_sym_else_clause_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4743] = 1,
ACTIONS(564), 10,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
sym_variable_reference,
[4756] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(574), 1,
anon_sym_RPAREN,
STATE(312), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[4781] = 4,
ACTIONS(536), 1,
anon_sym_AMP,
STATE(115), 1,
aux_sym_setlocal_stmt_repeat1,
ACTIONS(532), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(576), 4,
aux_sym_setlocal_stmt_token2,
aux_sym_setlocal_stmt_token3,
aux_sym_setlocal_stmt_token4,
aux_sym_setlocal_stmt_token5,
[4800] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(578), 1,
anon_sym_RPAREN,
STATE(320), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[4825] = 2,
ACTIONS(582), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(580), 6,
aux_sym_program_token1,
anon_sym_RPAREN,
aux_sym_else_clause_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[4840] = 7,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(433), 1,
aux_sym_if_stmt_token4,
ACTIONS(435), 1,
aux_sym_if_stmt_token5,
ACTIONS(437), 1,
aux_sym_if_stmt_token7,
ACTIONS(439), 1,
sym__if_word,
STATE(300), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(441), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4865] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(584), 1,
anon_sym_RPAREN,
STATE(297), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[4890] = 1,
ACTIONS(586), 10,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
aux_sym_assignment_value_token1,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
anon_sym_AMP,
sym_variable_reference,
[4903] = 7,
ACTIONS(358), 1,
aux_sym_if_stmt_token4,
ACTIONS(360), 1,
aux_sym_if_stmt_token5,
ACTIONS(362), 1,
aux_sym_if_stmt_token7,
ACTIONS(364), 1,
sym__if_word,
ACTIONS(368), 1,
anon_sym_LBRACK,
STATE(336), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(366), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4928] = 7,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(515), 1,
aux_sym_if_stmt_token4,
ACTIONS(517), 1,
aux_sym_if_stmt_token5,
ACTIONS(519), 1,
aux_sym_if_stmt_token7,
ACTIONS(521), 1,
sym__if_word,
STATE(338), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(523), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4953] = 7,
ACTIONS(368), 1,
anon_sym_LBRACK,
ACTIONS(588), 1,
aux_sym_if_stmt_token4,
ACTIONS(590), 1,
aux_sym_if_stmt_token5,
ACTIONS(592), 1,
aux_sym_if_stmt_token7,
ACTIONS(594), 1,
sym__if_word,
STATE(340), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(596), 3,
sym_variable_reference,
sym_string,
sym_integer,
[4978] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(598), 1,
anon_sym_RPAREN,
STATE(342), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[5003] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(600), 1,
anon_sym_RPAREN,
STATE(344), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[5028] = 7,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(602), 1,
anon_sym_RPAREN,
STATE(345), 1,
sym_for_set,
ACTIONS(566), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(141), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[5053] = 2,
ACTIONS(301), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(251), 6,
aux_sym_program_token1,
anon_sym_RPAREN,
aux_sym_else_clause_token1,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5068] = 2,
ACTIONS(184), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(182), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5082] = 5,
ACTIONS(607), 1,
aux_sym_assignment_value_token1,
ACTIONS(610), 1,
anon_sym_LPAREN,
ACTIONS(613), 1,
anon_sym_RPAREN,
STATE(136), 2,
sym_assignment_paren_group,
aux_sym_assignment_paren_group_repeat1,
ACTIONS(604), 4,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5102] = 5,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(615), 1,
anon_sym_RPAREN,
ACTIONS(291), 2,
sym_variable_reference,
sym_string,
ACTIONS(293), 2,
sym_command_option,
sym_argument_value,
STATE(54), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
[5122] = 5,
ACTIONS(619), 1,
aux_sym_assignment_value_token1,
ACTIONS(621), 1,
anon_sym_LPAREN,
ACTIONS(623), 1,
anon_sym_RPAREN,
STATE(140), 2,
sym_assignment_paren_group,
aux_sym_assignment_paren_group_repeat1,
ACTIONS(617), 4,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5142] = 5,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(625), 1,
anon_sym_RPAREN,
ACTIONS(59), 2,
sym_variable_reference,
sym_string,
ACTIONS(61), 2,
sym_command_option,
sym_argument_value,
STATE(137), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
[5162] = 5,
ACTIONS(621), 1,
anon_sym_LPAREN,
ACTIONS(629), 1,
aux_sym_assignment_value_token1,
ACTIONS(631), 1,
anon_sym_RPAREN,
STATE(136), 2,
sym_assignment_paren_group,
aux_sym_assignment_paren_group_repeat1,
ACTIONS(627), 4,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5182] = 6,
ACTIONS(570), 1,
aux_sym_assignment_value_token1,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(635), 1,
anon_sym_RPAREN,
ACTIONS(568), 2,
anon_sym_PERCENT,
anon_sym_BANG,
ACTIONS(633), 2,
aux_sym_program_token1,
sym_variable_reference,
STATE(145), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[5204] = 5,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(637), 1,
anon_sym_RPAREN,
ACTIONS(291), 2,
sym_variable_reference,
sym_string,
ACTIONS(293), 2,
sym_command_option,
sym_argument_value,
STATE(54), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
[5224] = 2,
ACTIONS(641), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(639), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5238] = 5,
ACTIONS(621), 1,
anon_sym_LPAREN,
ACTIONS(629), 1,
aux_sym_assignment_value_token1,
ACTIONS(643), 1,
anon_sym_RPAREN,
STATE(136), 2,
sym_assignment_paren_group,
aux_sym_assignment_paren_group_repeat1,
ACTIONS(627), 4,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5258] = 6,
ACTIONS(651), 1,
aux_sym_assignment_value_token1,
ACTIONS(654), 1,
anon_sym_LPAREN,
ACTIONS(657), 1,
anon_sym_RPAREN,
ACTIONS(645), 2,
aux_sym_program_token1,
sym_variable_reference,
ACTIONS(648), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(145), 2,
sym_for_set_group,
aux_sym_for_set_repeat1,
[5280] = 2,
ACTIONS(192), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(190), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5294] = 2,
ACTIONS(661), 4,
aux_sym_redirection_token1,
sym_redirect_op,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(659), 5,
aux_sym_program_token1,
anon_sym_RPAREN,
sym_fd_redirect,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5308] = 5,
ACTIONS(621), 1,
anon_sym_LPAREN,
ACTIONS(665), 1,
aux_sym_assignment_value_token1,
ACTIONS(667), 1,
anon_sym_RPAREN,
STATE(144), 2,
sym_assignment_paren_group,
aux_sym_assignment_paren_group_repeat1,
ACTIONS(663), 4,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5328] = 5,
ACTIONS(240), 1,
anon_sym_LPAREN,
ACTIONS(669), 1,
anon_sym_RPAREN,
ACTIONS(65), 2,
sym_variable_reference,
sym_string,
ACTIONS(67), 2,
sym_command_option,
sym_argument_value,
STATE(142), 3,
sym__arg,
sym_paren_expression,
aux_sym_argument_list_repeat1,
[5348] = 5,
ACTIONS(673), 1,
sym_comment,
ACTIONS(675), 1,
aux_sym_goto_stmt_token2,
ACTIONS(677), 1,
aux_sym_goto_stmt_token3,
ACTIONS(679), 1,
anon_sym_AMP,
ACTIONS(671), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5367] = 5,
ACTIONS(683), 1,
sym_comment,
ACTIONS(685), 1,
aux_sym_goto_stmt_token2,
ACTIONS(687), 1,
aux_sym_goto_stmt_token3,
ACTIONS(689), 1,
anon_sym_AMP,
ACTIONS(681), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5386] = 6,
ACTIONS(694), 1,
aux_sym_assignment_value_token1,
ACTIONS(697), 1,
anon_sym_LPAREN,
ACTIONS(700), 1,
anon_sym_RPAREN,
ACTIONS(702), 1,
sym_variable_reference,
ACTIONS(691), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(152), 2,
sym_for_set_group,
aux_sym_for_set_group_repeat1,
[5407] = 6,
ACTIONS(15), 1,
anon_sym_LPAREN,
ACTIONS(705), 1,
sym_command_name,
ACTIONS(707), 1,
anon_sym_AT,
ACTIONS(709), 1,
aux_sym_call_stmt_token1,
ACTIONS(711), 1,
sym_variable_reference,
STATE(193), 3,
sym_call_stmt,
sym_parenthesized,
sym_cmd,
[5428] = 6,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(715), 1,
aux_sym_assignment_value_token1,
ACTIONS(717), 1,
anon_sym_RPAREN,
ACTIONS(719), 1,
sym_variable_reference,
ACTIONS(713), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(152), 2,
sym_for_set_group,
aux_sym_for_set_group_repeat1,
[5449] = 6,
ACTIONS(572), 1,
anon_sym_LPAREN,
ACTIONS(715), 1,
aux_sym_assignment_value_token1,
ACTIONS(721), 1,
anon_sym_RPAREN,
ACTIONS(723), 1,
sym_variable_reference,
ACTIONS(713), 2,
anon_sym_PERCENT,
anon_sym_BANG,
STATE(154), 2,
sym_for_set_group,
aux_sym_for_set_group_repeat1,
[5470] = 5,
ACTIONS(725), 1,
anon_sym_DQUOTE,
ACTIONS(729), 1,
aux_sym_quoted_assignment_value_token1,
STATE(180), 1,
aux_sym_quoted_assignment_value_repeat1,
STATE(307), 1,
sym_quoted_assignment_value,
ACTIONS(727), 3,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5488] = 4,
ACTIONS(731), 1,
sym__if_word,
ACTIONS(735), 1,
anon_sym_LBRACK,
STATE(16), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(733), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5504] = 4,
ACTIONS(739), 1,
aux_sym_exit_stmt_token2,
ACTIONS(741), 1,
anon_sym_AMP,
ACTIONS(743), 1,
sym_integer,
ACTIONS(737), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5520] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(745), 1,
sym__if_word,
STATE(15), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(747), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5536] = 4,
ACTIONS(751), 1,
sym_comment,
ACTIONS(753), 1,
anon_sym_AMP,
ACTIONS(755), 1,
sym_variable_reference,
ACTIONS(749), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5552] = 4,
ACTIONS(328), 1,
aux_sym_else_clause_token1,
ACTIONS(759), 1,
anon_sym_AMP,
STATE(205), 1,
sym_else_clause,
ACTIONS(757), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5568] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(761), 1,
sym__if_word,
STATE(22), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(763), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5584] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(765), 1,
sym__if_word,
STATE(23), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(767), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5600] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(769), 1,
sym__if_word,
STATE(24), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(771), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5616] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(773), 1,
sym__if_word,
STATE(26), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(775), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5632] = 2,
ACTIONS(779), 1,
aux_sym_assignment_value_token1,
ACTIONS(777), 6,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5644] = 5,
ACTIONS(729), 1,
aux_sym_quoted_assignment_value_token1,
ACTIONS(781), 1,
anon_sym_DQUOTE,
STATE(180), 1,
aux_sym_quoted_assignment_value_repeat1,
STATE(304), 1,
sym_quoted_assignment_value,
ACTIONS(727), 3,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5662] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(783), 1,
sym__if_word,
STATE(18), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(785), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5678] = 2,
ACTIONS(787), 1,
aux_sym_assignment_value_token1,
ACTIONS(586), 6,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5690] = 4,
ACTIONS(683), 1,
sym_comment,
ACTIONS(689), 1,
anon_sym_AMP,
ACTIONS(789), 1,
sym_variable_reference,
ACTIONS(681), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5706] = 2,
ACTIONS(791), 1,
aux_sym_assignment_value_token1,
ACTIONS(564), 6,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5718] = 2,
ACTIONS(795), 1,
aux_sym_assignment_value_token1,
ACTIONS(793), 6,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5730] = 3,
ACTIONS(799), 1,
anon_sym_AMP,
ACTIONS(801), 2,
sym_variable_reference,
sym_integer,
ACTIONS(797), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5744] = 3,
ACTIONS(805), 1,
anon_sym_AMP,
ACTIONS(807), 2,
sym_variable_reference,
sym_integer,
ACTIONS(803), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5758] = 2,
ACTIONS(811), 1,
aux_sym_assignment_value_token1,
ACTIONS(809), 6,
aux_sym_program_token1,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5770] = 4,
ACTIONS(805), 1,
anon_sym_AMP,
ACTIONS(807), 1,
sym_integer,
ACTIONS(813), 1,
aux_sym_exit_stmt_token2,
ACTIONS(803), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5786] = 4,
ACTIONS(735), 1,
anon_sym_LBRACK,
ACTIONS(815), 1,
sym__if_word,
STATE(14), 2,
sym__if_operand,
sym_bracketed_value,
ACTIONS(817), 3,
sym_variable_reference,
sym_string,
sym_integer,
[5802] = 5,
ACTIONS(819), 1,
anon_sym_DQUOTE,
ACTIONS(821), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(825), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(827), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(823), 2,
sym__var_name_pattern,
sym_variable_reference,
[5819] = 3,
ACTIONS(751), 1,
sym_comment,
ACTIONS(753), 1,
anon_sym_AMP,
ACTIONS(749), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5832] = 4,
ACTIONS(829), 1,
anon_sym_DQUOTE,
ACTIONS(833), 1,
aux_sym_quoted_assignment_value_token1,
STATE(184), 1,
aux_sym_quoted_assignment_value_repeat1,
ACTIONS(831), 3,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5847] = 3,
ACTIONS(268), 1,
anon_sym_AMP,
ACTIONS(835), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(299), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5860] = 2,
ACTIONS(839), 1,
aux_sym_assignment_value_token1,
ACTIONS(837), 5,
anon_sym_PERCENT,
anon_sym_BANG,
anon_sym_LPAREN,
anon_sym_RPAREN,
sym_variable_reference,
[5871] = 3,
ACTIONS(266), 1,
anon_sym_AMP,
ACTIONS(841), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(264), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5884] = 4,
ACTIONS(843), 1,
anon_sym_DQUOTE,
ACTIONS(848), 1,
aux_sym_quoted_assignment_value_token1,
STATE(184), 1,
aux_sym_quoted_assignment_value_repeat1,
ACTIONS(845), 3,
anon_sym_PERCENT,
anon_sym_BANG,
sym_variable_reference,
[5899] = 3,
ACTIONS(683), 1,
sym_comment,
ACTIONS(689), 1,
anon_sym_AMP,
ACTIONS(681), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5912] = 3,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(465), 1,
anon_sym_AMP,
ACTIONS(463), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5925] = 4,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(505), 1,
anon_sym_AMP,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(503), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
[5940] = 4,
ACTIONS(377), 1,
aux_sym_else_clause_token1,
ACTIONS(759), 1,
anon_sym_AMP,
STATE(205), 1,
sym_else_clause,
ACTIONS(757), 3,
aux_sym_program_token1,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5955] = 2,
ACTIONS(461), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(459), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5966] = 3,
ACTIONS(853), 1,
sym_comment,
ACTIONS(855), 1,
anon_sym_AMP,
ACTIONS(851), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[5979] = 5,
ACTIONS(819), 1,
anon_sym_DQUOTE,
ACTIONS(825), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(827), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(857), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(823), 2,
sym__var_name_pattern,
sym_variable_reference,
[5996] = 5,
ACTIONS(825), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(827), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(859), 1,
anon_sym_DQUOTE,
ACTIONS(861), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(863), 2,
sym__var_name_pattern,
sym_variable_reference,
[6013] = 2,
ACTIONS(867), 2,
anon_sym_PIPE,
anon_sym_AMP,
ACTIONS(865), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6024] = 3,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(473), 1,
anon_sym_AMP,
ACTIONS(471), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6037] = 4,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(501), 1,
anon_sym_AMP,
ACTIONS(497), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6052] = 5,
ACTIONS(825), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(827), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(859), 1,
anon_sym_DQUOTE,
ACTIONS(869), 1,
anon_sym_CARET_DQUOTE,
ACTIONS(863), 2,
sym__var_name_pattern,
sym_variable_reference,
[6069] = 2,
ACTIONS(873), 1,
anon_sym_AMP,
ACTIONS(871), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6079] = 2,
ACTIONS(877), 1,
anon_sym_AMP,
ACTIONS(875), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6089] = 4,
ACTIONS(879), 1,
aux_sym_variable_assignment_token2,
ACTIONS(881), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(883), 1,
aux_sym_prompt_assignment_token1,
STATE(233), 2,
sym_arithmetic_assignment,
sym_prompt_assignment,
[6103] = 2,
ACTIONS(445), 1,
anon_sym_AMP,
ACTIONS(443), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6113] = 2,
ACTIONS(805), 1,
anon_sym_AMP,
ACTIONS(803), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6123] = 2,
ACTIONS(305), 1,
anon_sym_AMP,
ACTIONS(303), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6133] = 4,
ACTIONS(881), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(883), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(885), 1,
aux_sym_variable_assignment_token2,
STATE(227), 2,
sym_arithmetic_assignment,
sym_prompt_assignment,
[6147] = 2,
ACTIONS(348), 1,
anon_sym_AMP,
ACTIONS(346), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6157] = 2,
ACTIONS(889), 1,
anon_sym_AMP,
ACTIONS(887), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6167] = 2,
ACTIONS(449), 1,
anon_sym_AMP,
ACTIONS(447), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6177] = 2,
ACTIONS(893), 1,
anon_sym_AMP,
ACTIONS(891), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6187] = 2,
ACTIONS(897), 1,
anon_sym_AMP,
ACTIONS(895), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6197] = 2,
ACTIONS(453), 1,
anon_sym_AMP,
ACTIONS(451), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6207] = 2,
ACTIONS(324), 1,
anon_sym_AMP,
ACTIONS(899), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6217] = 2,
ACTIONS(457), 1,
anon_sym_AMP,
ACTIONS(455), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6227] = 3,
ACTIONS(505), 1,
anon_sym_AMP,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
ACTIONS(503), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
[6239] = 2,
ACTIONS(903), 1,
anon_sym_AMP,
ACTIONS(901), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6249] = 2,
ACTIONS(338), 1,
anon_sym_AMP,
ACTIONS(905), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6259] = 2,
ACTIONS(799), 1,
anon_sym_AMP,
ACTIONS(797), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6269] = 2,
ACTIONS(909), 1,
anon_sym_AMP,
ACTIONS(907), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6279] = 2,
ACTIONS(855), 1,
anon_sym_AMP,
ACTIONS(851), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6289] = 2,
ACTIONS(913), 1,
anon_sym_AMP,
ACTIONS(911), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6299] = 2,
ACTIONS(266), 1,
anon_sym_AMP,
ACTIONS(264), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6309] = 2,
ACTIONS(268), 1,
anon_sym_AMP,
ACTIONS(299), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6319] = 4,
ACTIONS(881), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(883), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(915), 1,
aux_sym_variable_assignment_token2,
STATE(227), 2,
sym_arithmetic_assignment,
sym_prompt_assignment,
[6333] = 4,
ACTIONS(881), 1,
aux_sym_arithmetic_assignment_token1,
ACTIONS(883), 1,
aux_sym_prompt_assignment_token1,
ACTIONS(917), 1,
aux_sym_variable_assignment_token2,
STATE(233), 2,
sym_arithmetic_assignment,
sym_prompt_assignment,
[6347] = 2,
ACTIONS(921), 1,
anon_sym_AMP,
ACTIONS(919), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6357] = 2,
ACTIONS(925), 1,
anon_sym_AMP,
ACTIONS(923), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6367] = 2,
ACTIONS(352), 1,
anon_sym_AMP,
ACTIONS(350), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6377] = 2,
ACTIONS(332), 1,
anon_sym_AMP,
ACTIONS(326), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6387] = 2,
ACTIONS(929), 1,
anon_sym_AMP,
ACTIONS(927), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6397] = 3,
ACTIONS(501), 1,
anon_sym_AMP,
ACTIONS(497), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6409] = 2,
ACTIONS(469), 1,
anon_sym_AMP,
ACTIONS(467), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6419] = 2,
ACTIONS(689), 1,
anon_sym_AMP,
ACTIONS(681), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6429] = 2,
ACTIONS(336), 1,
anon_sym_AMP,
ACTIONS(334), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6439] = 2,
ACTIONS(753), 1,
anon_sym_AMP,
ACTIONS(749), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6449] = 2,
ACTIONS(933), 1,
anon_sym_AMP,
ACTIONS(931), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6459] = 4,
ACTIONS(330), 1,
anon_sym_PIPE,
ACTIONS(497), 1,
aux_sym_program_token1,
ACTIONS(538), 1,
anon_sym_AMP,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6473] = 2,
ACTIONS(344), 1,
anon_sym_AMP,
ACTIONS(342), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6483] = 2,
ACTIONS(937), 1,
anon_sym_AMP,
ACTIONS(935), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6493] = 2,
ACTIONS(287), 1,
anon_sym_AMP,
ACTIONS(939), 4,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6503] = 4,
ACTIONS(941), 1,
anon_sym_EQ,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6516] = 4,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
ACTIONS(947), 1,
anon_sym_EQ,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6529] = 4,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
ACTIONS(949), 1,
anon_sym_EQ,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6542] = 3,
ACTIONS(497), 1,
aux_sym_program_token1,
ACTIONS(538), 1,
anon_sym_AMP,
ACTIONS(499), 2,
anon_sym_AMP_AMP,
anon_sym_PIPE_PIPE,
[6553] = 4,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
ACTIONS(951), 1,
anon_sym_EQ,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6566] = 4,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
ACTIONS(953), 1,
anon_sym_EQ,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6579] = 4,
ACTIONS(943), 1,
sym__quoted_var_name_pattern,
ACTIONS(945), 1,
sym_variable_reference,
ACTIONS(955), 1,
anon_sym_EQ,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6592] = 4,
ACTIONS(957), 1,
sym_variable_reference,
ACTIONS(959), 1,
aux_sym_bracketed_value_token1,
ACTIONS(961), 1,
anon_sym_RBRACK,
STATE(248), 1,
aux_sym_bracketed_value_repeat1,
[6605] = 4,
ACTIONS(963), 1,
sym_variable_reference,
ACTIONS(965), 1,
aux_sym_bracketed_value_token1,
ACTIONS(967), 1,
anon_sym_RBRACK,
STATE(249), 1,
aux_sym_bracketed_value_repeat1,
[6618] = 4,
ACTIONS(969), 1,
sym_variable_reference,
ACTIONS(971), 1,
aux_sym_bracketed_value_token1,
ACTIONS(973), 1,
anon_sym_RBRACK,
STATE(246), 1,
aux_sym_bracketed_value_repeat1,
[6631] = 4,
ACTIONS(963), 1,
sym_variable_reference,
ACTIONS(965), 1,
aux_sym_bracketed_value_token1,
ACTIONS(975), 1,
anon_sym_RBRACK,
STATE(249), 1,
aux_sym_bracketed_value_repeat1,
[6644] = 4,
ACTIONS(977), 1,
sym_variable_reference,
ACTIONS(980), 1,
aux_sym_bracketed_value_token1,
ACTIONS(983), 1,
anon_sym_RBRACK,
STATE(249), 1,
aux_sym_bracketed_value_repeat1,
[6657] = 4,
ACTIONS(985), 1,
anon_sym_EQ,
ACTIONS(987), 1,
sym__quoted_var_name_pattern,
ACTIONS(990), 1,
sym_variable_reference,
STATE(250), 1,
aux_sym_variable_assignment_repeat1,
[6670] = 1,
ACTIONS(771), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6676] = 1,
ACTIONS(993), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6682] = 3,
ACTIONS(995), 1,
sym__quoted_var_name_pattern,
ACTIONS(997), 1,
sym_variable_reference,
STATE(243), 1,
aux_sym_variable_assignment_repeat1,
[6692] = 3,
ACTIONS(999), 1,
sym__quoted_var_name_pattern,
ACTIONS(1001), 1,
sym_variable_reference,
STATE(244), 1,
aux_sym_variable_assignment_repeat1,
[6702] = 1,
ACTIONS(747), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6708] = 1,
ACTIONS(747), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6714] = 3,
ACTIONS(1003), 1,
sym__quoted_var_name_pattern,
ACTIONS(1005), 1,
sym_variable_reference,
STATE(239), 1,
aux_sym_variable_assignment_repeat1,
[6724] = 3,
ACTIONS(1007), 1,
sym_command_name,
ACTIONS(1009), 1,
aux_sym_call_stmt_token1,
ACTIONS(1011), 1,
sym_variable_reference,
[6734] = 1,
ACTIONS(1013), 3,
aux_sym_call_stmt_token2,
sym_variable_reference,
sym_command_name,
[6740] = 1,
ACTIONS(1015), 3,
aux_sym_call_stmt_token2,
sym_variable_reference,
sym_command_name,
[6746] = 3,
ACTIONS(1017), 1,
sym__quoted_var_name_pattern,
ACTIONS(1019), 1,
sym_variable_reference,
STATE(240), 1,
aux_sym_variable_assignment_repeat1,
[6756] = 2,
ACTIONS(1021), 1,
anon_sym_AMP,
ACTIONS(497), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
[6764] = 1,
ACTIONS(1023), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6770] = 1,
ACTIONS(1023), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6776] = 1,
ACTIONS(993), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6782] = 1,
ACTIONS(763), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6788] = 1,
ACTIONS(763), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6794] = 1,
ACTIONS(767), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6800] = 1,
ACTIONS(767), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6806] = 1,
ACTIONS(1025), 3,
aux_sym_call_stmt_token2,
sym_variable_reference,
sym_command_name,
[6812] = 1,
ACTIONS(771), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6818] = 1,
ACTIONS(503), 3,
aux_sym_program_token1,
anon_sym_RPAREN,
anon_sym_AMP,
[6824] = 3,
ACTIONS(1027), 1,
sym__quoted_var_name_pattern,
ACTIONS(1029), 1,
sym_variable_reference,
STATE(238), 1,
aux_sym_variable_assignment_repeat1,
[6834] = 1,
ACTIONS(733), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6840] = 1,
ACTIONS(733), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6846] = 3,
ACTIONS(1031), 1,
sym__quoted_var_name_pattern,
ACTIONS(1033), 1,
sym_variable_reference,
STATE(242), 1,
aux_sym_variable_assignment_repeat1,
[6856] = 1,
ACTIONS(817), 3,
sym_variable_reference,
sym_string,
sym_argument_value,
[6862] = 1,
ACTIONS(1035), 3,
aux_sym_call_stmt_token2,
sym_variable_reference,
sym_command_name,
[6868] = 1,
ACTIONS(817), 3,
aux_sym_if_stmt_token6,
sym_variable_reference,
sym_string,
[6874] = 3,
ACTIONS(475), 1,
sym_command_name,
ACTIONS(485), 1,
aux_sym_call_stmt_token1,
ACTIONS(495), 1,
sym_variable_reference,
[6884] = 1,
ACTIONS(1037), 2,
aux_sym_program_token1,
anon_sym_RPAREN,
[6889] = 1,
ACTIONS(1039), 2,
aux_sym_echo_off_token2,
aux_sym_echo_off_token3,
[6894] = 2,
ACTIONS(1041), 1,
aux_sym_variable_assignment_token2,
ACTIONS(1043), 1,
aux_sym_prompt_assignment_token2,
[6901] = 2,
ACTIONS(497), 1,
aux_sym_program_token1,
ACTIONS(1045), 1,
anon_sym_AMP,
[6908] = 2,
ACTIONS(1047), 1,
sym_for_options,
ACTIONS(1049), 1,
sym_for_variable,
[6915] = 2,
ACTIONS(130), 1,
anon_sym_RPAREN,
ACTIONS(1051), 1,
aux_sym_program_token1,
[6922] = 2,
ACTIONS(1053), 1,
aux_sym_variable_assignment_token2,
ACTIONS(1055), 1,
sym_arithmetic_expression,
[6929] = 2,
ACTIONS(1051), 1,
aux_sym_program_token1,
ACTIONS(1057), 1,
anon_sym_RPAREN,
[6936] = 2,
ACTIONS(1059), 1,
aux_sym_variable_assignment_token2,
ACTIONS(1061), 1,
sym_arithmetic_expression,
[6943] = 2,
ACTIONS(178), 1,
sym_for_variable,
ACTIONS(1063), 1,
sym_for_options,
[6950] = 2,
ACTIONS(1065), 1,
aux_sym_variable_assignment_token2,
ACTIONS(1067), 1,
aux_sym_prompt_assignment_token2,
[6957] = 2,
ACTIONS(170), 1,
sym_for_variable,
ACTIONS(1069), 1,
sym_for_options,
[6964] = 2,
ACTIONS(1071), 1,
sym_for_options,
ACTIONS(1073), 1,
sym_for_variable,
[6971] = 1,
ACTIONS(1075), 1,
anon_sym_LPAREN,
[6975] = 1,
ACTIONS(1077), 1,
ts_builtin_sym_end,
[6979] = 1,
ACTIONS(993), 1,
sym_integer,
[6983] = 1,
ACTIONS(1079), 1,
anon_sym_RPAREN,
[6987] = 1,
ACTIONS(747), 1,
sym_integer,
[6991] = 1,
ACTIONS(221), 1,
sym_comparison_op,
[6995] = 1,
ACTIONS(1081), 1,
sym_comparison_op,
[6999] = 1,
ACTIONS(1051), 1,
aux_sym_program_token1,
[7003] = 1,
ACTIONS(1083), 1,
anon_sym_EQ,
[7007] = 1,
ACTIONS(217), 1,
sym_comparison_op,
[7011] = 1,
ACTIONS(1085), 1,
anon_sym_DQUOTE,
[7015] = 1,
ACTIONS(1049), 1,
sym_for_variable,
[7019] = 1,
ACTIONS(1087), 1,
aux_sym_for_stmt_token3,
[7023] = 1,
ACTIONS(1089), 1,
anon_sym_DQUOTE,
[7027] = 1,
ACTIONS(1091), 1,
aux_sym_for_stmt_token2,
[7031] = 1,
ACTIONS(1023), 1,
sym_integer,
[7035] = 1,
ACTIONS(1093), 1,
aux_sym_for_stmt_token3,
[7039] = 1,
ACTIONS(1095), 1,
aux_sym_for_stmt_token2,
[7043] = 1,
ACTIONS(1097), 1,
anon_sym_RPAREN,
[7047] = 1,
ACTIONS(763), 1,
sym_integer,
[7051] = 1,
ACTIONS(1099), 1,
sym_redirect_target,
[7055] = 1,
ACTIONS(1101), 1,
aux_sym_for_stmt_token2,
[7059] = 1,
ACTIONS(1103), 1,
anon_sym_LPAREN,
[7063] = 1,
ACTIONS(767), 1,
sym_integer,
[7067] = 1,
ACTIONS(1105), 1,
sym_comparison_op,
[7071] = 1,
ACTIONS(1107), 1,
aux_sym_for_stmt_token3,
[7075] = 1,
ACTIONS(1109), 1,
anon_sym_RPAREN,
[7079] = 1,
ACTIONS(771), 1,
sym_integer,
[7083] = 1,
ACTIONS(1111), 1,
anon_sym_EQ,
[7087] = 1,
ACTIONS(1113), 1,
aux_sym_for_stmt_token3,
[7091] = 1,
ACTIONS(1115), 1,
sym_arithmetic_expression,
[7095] = 1,
ACTIONS(1117), 1,
aux_sym_for_stmt_token3,
[7099] = 1,
ACTIONS(1119), 1,
aux_sym_for_stmt_token3,
[7103] = 1,
ACTIONS(1121), 1,
aux_sym_for_stmt_token3,
[7107] = 1,
ACTIONS(1123), 1,
sym_redirect_op,
[7111] = 1,
ACTIONS(733), 1,
sym_integer,
[7115] = 1,
ACTIONS(1125), 1,
sym_comparison_op,
[7119] = 1,
ACTIONS(1127), 1,
anon_sym_LPAREN,
[7123] = 1,
ACTIONS(1129), 1,
sym_redirect_target,
[7127] = 1,
ACTIONS(1131), 1,
sym_comparison_op,
[7131] = 1,
ACTIONS(1133), 1,
aux_sym_prompt_assignment_token2,
[7135] = 1,
ACTIONS(1135), 1,
sym_arithmetic_expression,
[7139] = 1,
ACTIONS(1137), 1,
sym_comparison_op,
[7143] = 1,
ACTIONS(1139), 1,
sym_for_variable,
[7147] = 1,
ACTIONS(1141), 1,
sym_comparison_op,
[7151] = 1,
ACTIONS(1143), 1,
anon_sym_LPAREN,
[7155] = 1,
ACTIONS(1145), 1,
sym_comparison_op,
[7159] = 1,
ACTIONS(1147), 1,
aux_sym_prompt_assignment_token2,
[7163] = 1,
ACTIONS(1149), 1,
anon_sym_RPAREN,
[7167] = 1,
ACTIONS(817), 1,
sym_integer,
[7171] = 1,
ACTIONS(1151), 1,
anon_sym_RPAREN,
[7175] = 1,
ACTIONS(1153), 1,
anon_sym_RPAREN,
[7179] = 1,
ACTIONS(1155), 1,
sym_comparison_op,
[7183] = 1,
ACTIONS(1157), 1,
anon_sym_LPAREN,
[7187] = 1,
ACTIONS(1159), 1,
anon_sym_LPAREN,
[7191] = 1,
ACTIONS(1161), 1,
aux_sym_for_stmt_token2,
[7195] = 1,
ACTIONS(1163), 1,
aux_sym_for_stmt_token2,
[7199] = 1,
ACTIONS(1165), 1,
aux_sym_for_stmt_token2,
[7203] = 1,
ACTIONS(1167), 1,
anon_sym_EQ,
[7207] = 1,
ACTIONS(1169), 1,
aux_sym_for_stmt_token3,
[7211] = 1,
ACTIONS(1171), 1,
anon_sym_EQ,
[7215] = 1,
ACTIONS(1073), 1,
sym_for_variable,
[7219] = 1,
ACTIONS(1173), 1,
sym_for_variable,
[7223] = 1,
ACTIONS(1175), 1,
anon_sym_EQ,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 106,
[SMALL_STATE(4)] = 212,
[SMALL_STATE(5)] = 305,
[SMALL_STATE(6)] = 397,
[SMALL_STATE(7)] = 489,
[SMALL_STATE(8)] = 581,
[SMALL_STATE(9)] = 656,
[SMALL_STATE(10)] = 731,
[SMALL_STATE(11)] = 807,
[SMALL_STATE(12)] = 883,
[SMALL_STATE(13)] = 959,
[SMALL_STATE(14)] = 1035,
[SMALL_STATE(15)] = 1111,
[SMALL_STATE(16)] = 1187,
[SMALL_STATE(17)] = 1263,
[SMALL_STATE(18)] = 1339,
[SMALL_STATE(19)] = 1415,
[SMALL_STATE(20)] = 1491,
[SMALL_STATE(21)] = 1567,
[SMALL_STATE(22)] = 1643,
[SMALL_STATE(23)] = 1719,
[SMALL_STATE(24)] = 1795,
[SMALL_STATE(25)] = 1871,
[SMALL_STATE(26)] = 1947,
[SMALL_STATE(27)] = 2023,
[SMALL_STATE(28)] = 2099,
[SMALL_STATE(29)] = 2175,
[SMALL_STATE(30)] = 2251,
[SMALL_STATE(31)] = 2276,
[SMALL_STATE(32)] = 2315,
[SMALL_STATE(33)] = 2354,
[SMALL_STATE(34)] = 2392,
[SMALL_STATE(35)] = 2428,
[SMALL_STATE(36)] = 2461,
[SMALL_STATE(37)] = 2494,
[SMALL_STATE(38)] = 2527,
[SMALL_STATE(39)] = 2560,
[SMALL_STATE(40)] = 2595,
[SMALL_STATE(41)] = 2625,
[SMALL_STATE(42)] = 2655,
[SMALL_STATE(43)] = 2676,
[SMALL_STATE(44)] = 2697,
[SMALL_STATE(45)] = 2725,
[SMALL_STATE(46)] = 2765,
[SMALL_STATE(47)] = 2795,
[SMALL_STATE(48)] = 2825,
[SMALL_STATE(49)] = 2855,
[SMALL_STATE(50)] = 2885,
[SMALL_STATE(51)] = 2911,
[SMALL_STATE(52)] = 2939,
[SMALL_STATE(53)] = 2968,
[SMALL_STATE(54)] = 2993,
[SMALL_STATE(55)] = 3020,
[SMALL_STATE(56)] = 3039,
[SMALL_STATE(57)] = 3064,
[SMALL_STATE(58)] = 3091,
[SMALL_STATE(59)] = 3130,
[SMALL_STATE(60)] = 3149,
[SMALL_STATE(61)] = 3178,
[SMALL_STATE(62)] = 3203,
[SMALL_STATE(63)] = 3222,
[SMALL_STATE(64)] = 3251,
[SMALL_STATE(65)] = 3270,
[SMALL_STATE(66)] = 3290,
[SMALL_STATE(67)] = 3314,
[SMALL_STATE(68)] = 3338,
[SMALL_STATE(69)] = 3358,
[SMALL_STATE(70)] = 3382,
[SMALL_STATE(71)] = 3406,
[SMALL_STATE(72)] = 3430,
[SMALL_STATE(73)] = 3464,
[SMALL_STATE(74)] = 3498,
[SMALL_STATE(75)] = 3522,
[SMALL_STATE(76)] = 3546,
[SMALL_STATE(77)] = 3580,
[SMALL_STATE(78)] = 3614,
[SMALL_STATE(79)] = 3648,
[SMALL_STATE(80)] = 3679,
[SMALL_STATE(81)] = 3700,
[SMALL_STATE(82)] = 3719,
[SMALL_STATE(83)] = 3752,
[SMALL_STATE(84)] = 3771,
[SMALL_STATE(85)] = 3792,
[SMALL_STATE(86)] = 3825,
[SMALL_STATE(87)] = 3858,
[SMALL_STATE(88)] = 3891,
[SMALL_STATE(89)] = 3922,
[SMALL_STATE(90)] = 3953,
[SMALL_STATE(91)] = 3986,
[SMALL_STATE(92)] = 4017,
[SMALL_STATE(93)] = 4045,
[SMALL_STATE(94)] = 4073,
[SMALL_STATE(95)] = 4101,
[SMALL_STATE(96)] = 4129,
[SMALL_STATE(97)] = 4157,
[SMALL_STATE(98)] = 4185,
[SMALL_STATE(99)] = 4201,
[SMALL_STATE(100)] = 4217,
[SMALL_STATE(101)] = 4243,
[SMALL_STATE(102)] = 4271,
[SMALL_STATE(103)] = 4299,
[SMALL_STATE(104)] = 4327,
[SMALL_STATE(105)] = 4361,
[SMALL_STATE(106)] = 4391,
[SMALL_STATE(107)] = 4421,
[SMALL_STATE(108)] = 4455,
[SMALL_STATE(109)] = 4483,
[SMALL_STATE(110)] = 4511,
[SMALL_STATE(111)] = 4542,
[SMALL_STATE(112)] = 4561,
[SMALL_STATE(113)] = 4586,
[SMALL_STATE(114)] = 4605,
[SMALL_STATE(115)] = 4634,
[SMALL_STATE(116)] = 4653,
[SMALL_STATE(117)] = 4678,
[SMALL_STATE(118)] = 4697,
[SMALL_STATE(119)] = 4728,
[SMALL_STATE(120)] = 4743,
[SMALL_STATE(121)] = 4756,
[SMALL_STATE(122)] = 4781,
[SMALL_STATE(123)] = 4800,
[SMALL_STATE(124)] = 4825,
[SMALL_STATE(125)] = 4840,
[SMALL_STATE(126)] = 4865,
[SMALL_STATE(127)] = 4890,
[SMALL_STATE(128)] = 4903,
[SMALL_STATE(129)] = 4928,
[SMALL_STATE(130)] = 4953,
[SMALL_STATE(131)] = 4978,
[SMALL_STATE(132)] = 5003,
[SMALL_STATE(133)] = 5028,
[SMALL_STATE(134)] = 5053,
[SMALL_STATE(135)] = 5068,
[SMALL_STATE(136)] = 5082,
[SMALL_STATE(137)] = 5102,
[SMALL_STATE(138)] = 5122,
[SMALL_STATE(139)] = 5142,
[SMALL_STATE(140)] = 5162,
[SMALL_STATE(141)] = 5182,
[SMALL_STATE(142)] = 5204,
[SMALL_STATE(143)] = 5224,
[SMALL_STATE(144)] = 5238,
[SMALL_STATE(145)] = 5258,
[SMALL_STATE(146)] = 5280,
[SMALL_STATE(147)] = 5294,
[SMALL_STATE(148)] = 5308,
[SMALL_STATE(149)] = 5328,
[SMALL_STATE(150)] = 5348,
[SMALL_STATE(151)] = 5367,
[SMALL_STATE(152)] = 5386,
[SMALL_STATE(153)] = 5407,
[SMALL_STATE(154)] = 5428,
[SMALL_STATE(155)] = 5449,
[SMALL_STATE(156)] = 5470,
[SMALL_STATE(157)] = 5488,
[SMALL_STATE(158)] = 5504,
[SMALL_STATE(159)] = 5520,
[SMALL_STATE(160)] = 5536,
[SMALL_STATE(161)] = 5552,
[SMALL_STATE(162)] = 5568,
[SMALL_STATE(163)] = 5584,
[SMALL_STATE(164)] = 5600,
[SMALL_STATE(165)] = 5616,
[SMALL_STATE(166)] = 5632,
[SMALL_STATE(167)] = 5644,
[SMALL_STATE(168)] = 5662,
[SMALL_STATE(169)] = 5678,
[SMALL_STATE(170)] = 5690,
[SMALL_STATE(171)] = 5706,
[SMALL_STATE(172)] = 5718,
[SMALL_STATE(173)] = 5730,
[SMALL_STATE(174)] = 5744,
[SMALL_STATE(175)] = 5758,
[SMALL_STATE(176)] = 5770,
[SMALL_STATE(177)] = 5786,
[SMALL_STATE(178)] = 5802,
[SMALL_STATE(179)] = 5819,
[SMALL_STATE(180)] = 5832,
[SMALL_STATE(181)] = 5847,
[SMALL_STATE(182)] = 5860,
[SMALL_STATE(183)] = 5871,
[SMALL_STATE(184)] = 5884,
[SMALL_STATE(185)] = 5899,
[SMALL_STATE(186)] = 5912,
[SMALL_STATE(187)] = 5925,
[SMALL_STATE(188)] = 5940,
[SMALL_STATE(189)] = 5955,
[SMALL_STATE(190)] = 5966,
[SMALL_STATE(191)] = 5979,
[SMALL_STATE(192)] = 5996,
[SMALL_STATE(193)] = 6013,
[SMALL_STATE(194)] = 6024,
[SMALL_STATE(195)] = 6037,
[SMALL_STATE(196)] = 6052,
[SMALL_STATE(197)] = 6069,
[SMALL_STATE(198)] = 6079,
[SMALL_STATE(199)] = 6089,
[SMALL_STATE(200)] = 6103,
[SMALL_STATE(201)] = 6113,
[SMALL_STATE(202)] = 6123,
[SMALL_STATE(203)] = 6133,
[SMALL_STATE(204)] = 6147,
[SMALL_STATE(205)] = 6157,
[SMALL_STATE(206)] = 6167,
[SMALL_STATE(207)] = 6177,
[SMALL_STATE(208)] = 6187,
[SMALL_STATE(209)] = 6197,
[SMALL_STATE(210)] = 6207,
[SMALL_STATE(211)] = 6217,
[SMALL_STATE(212)] = 6227,
[SMALL_STATE(213)] = 6239,
[SMALL_STATE(214)] = 6249,
[SMALL_STATE(215)] = 6259,
[SMALL_STATE(216)] = 6269,
[SMALL_STATE(217)] = 6279,
[SMALL_STATE(218)] = 6289,
[SMALL_STATE(219)] = 6299,
[SMALL_STATE(220)] = 6309,
[SMALL_STATE(221)] = 6319,
[SMALL_STATE(222)] = 6333,
[SMALL_STATE(223)] = 6347,
[SMALL_STATE(224)] = 6357,
[SMALL_STATE(225)] = 6367,
[SMALL_STATE(226)] = 6377,
[SMALL_STATE(227)] = 6387,
[SMALL_STATE(228)] = 6397,
[SMALL_STATE(229)] = 6409,
[SMALL_STATE(230)] = 6419,
[SMALL_STATE(231)] = 6429,
[SMALL_STATE(232)] = 6439,
[SMALL_STATE(233)] = 6449,
[SMALL_STATE(234)] = 6459,
[SMALL_STATE(235)] = 6473,
[SMALL_STATE(236)] = 6483,
[SMALL_STATE(237)] = 6493,
[SMALL_STATE(238)] = 6503,
[SMALL_STATE(239)] = 6516,
[SMALL_STATE(240)] = 6529,
[SMALL_STATE(241)] = 6542,
[SMALL_STATE(242)] = 6553,
[SMALL_STATE(243)] = 6566,
[SMALL_STATE(244)] = 6579,
[SMALL_STATE(245)] = 6592,
[SMALL_STATE(246)] = 6605,
[SMALL_STATE(247)] = 6618,
[SMALL_STATE(248)] = 6631,
[SMALL_STATE(249)] = 6644,
[SMALL_STATE(250)] = 6657,
[SMALL_STATE(251)] = 6670,
[SMALL_STATE(252)] = 6676,
[SMALL_STATE(253)] = 6682,
[SMALL_STATE(254)] = 6692,
[SMALL_STATE(255)] = 6702,
[SMALL_STATE(256)] = 6708,
[SMALL_STATE(257)] = 6714,
[SMALL_STATE(258)] = 6724,
[SMALL_STATE(259)] = 6734,
[SMALL_STATE(260)] = 6740,
[SMALL_STATE(261)] = 6746,
[SMALL_STATE(262)] = 6756,
[SMALL_STATE(263)] = 6764,
[SMALL_STATE(264)] = 6770,
[SMALL_STATE(265)] = 6776,
[SMALL_STATE(266)] = 6782,
[SMALL_STATE(267)] = 6788,
[SMALL_STATE(268)] = 6794,
[SMALL_STATE(269)] = 6800,
[SMALL_STATE(270)] = 6806,
[SMALL_STATE(271)] = 6812,
[SMALL_STATE(272)] = 6818,
[SMALL_STATE(273)] = 6824,
[SMALL_STATE(274)] = 6834,
[SMALL_STATE(275)] = 6840,
[SMALL_STATE(276)] = 6846,
[SMALL_STATE(277)] = 6856,
[SMALL_STATE(278)] = 6862,
[SMALL_STATE(279)] = 6868,
[SMALL_STATE(280)] = 6874,
[SMALL_STATE(281)] = 6884,
[SMALL_STATE(282)] = 6889,
[SMALL_STATE(283)] = 6894,
[SMALL_STATE(284)] = 6901,
[SMALL_STATE(285)] = 6908,
[SMALL_STATE(286)] = 6915,
[SMALL_STATE(287)] = 6922,
[SMALL_STATE(288)] = 6929,
[SMALL_STATE(289)] = 6936,
[SMALL_STATE(290)] = 6943,
[SMALL_STATE(291)] = 6950,
[SMALL_STATE(292)] = 6957,
[SMALL_STATE(293)] = 6964,
[SMALL_STATE(294)] = 6971,
[SMALL_STATE(295)] = 6975,
[SMALL_STATE(296)] = 6979,
[SMALL_STATE(297)] = 6983,
[SMALL_STATE(298)] = 6987,
[SMALL_STATE(299)] = 6991,
[SMALL_STATE(300)] = 6995,
[SMALL_STATE(301)] = 6999,
[SMALL_STATE(302)] = 7003,
[SMALL_STATE(303)] = 7007,
[SMALL_STATE(304)] = 7011,
[SMALL_STATE(305)] = 7015,
[SMALL_STATE(306)] = 7019,
[SMALL_STATE(307)] = 7023,
[SMALL_STATE(308)] = 7027,
[SMALL_STATE(309)] = 7031,
[SMALL_STATE(310)] = 7035,
[SMALL_STATE(311)] = 7039,
[SMALL_STATE(312)] = 7043,
[SMALL_STATE(313)] = 7047,
[SMALL_STATE(314)] = 7051,
[SMALL_STATE(315)] = 7055,
[SMALL_STATE(316)] = 7059,
[SMALL_STATE(317)] = 7063,
[SMALL_STATE(318)] = 7067,
[SMALL_STATE(319)] = 7071,
[SMALL_STATE(320)] = 7075,
[SMALL_STATE(321)] = 7079,
[SMALL_STATE(322)] = 7083,
[SMALL_STATE(323)] = 7087,
[SMALL_STATE(324)] = 7091,
[SMALL_STATE(325)] = 7095,
[SMALL_STATE(326)] = 7099,
[SMALL_STATE(327)] = 7103,
[SMALL_STATE(328)] = 7107,
[SMALL_STATE(329)] = 7111,
[SMALL_STATE(330)] = 7115,
[SMALL_STATE(331)] = 7119,
[SMALL_STATE(332)] = 7123,
[SMALL_STATE(333)] = 7127,
[SMALL_STATE(334)] = 7131,
[SMALL_STATE(335)] = 7135,
[SMALL_STATE(336)] = 7139,
[SMALL_STATE(337)] = 7143,
[SMALL_STATE(338)] = 7147,
[SMALL_STATE(339)] = 7151,
[SMALL_STATE(340)] = 7155,
[SMALL_STATE(341)] = 7159,
[SMALL_STATE(342)] = 7163,
[SMALL_STATE(343)] = 7167,
[SMALL_STATE(344)] = 7171,
[SMALL_STATE(345)] = 7175,
[SMALL_STATE(346)] = 7179,
[SMALL_STATE(347)] = 7183,
[SMALL_STATE(348)] = 7187,
[SMALL_STATE(349)] = 7191,
[SMALL_STATE(350)] = 7195,
[SMALL_STATE(351)] = 7199,
[SMALL_STATE(352)] = 7203,
[SMALL_STATE(353)] = 7207,
[SMALL_STATE(354)] = 7211,
[SMALL_STATE(355)] = 7215,
[SMALL_STATE(356)] = 7219,
[SMALL_STATE(357)] = 7223,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
[3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 0, 0, 0),
[5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7),
[9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(107),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(301),
[13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(203),
[15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91),
[19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(150),
[21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(270),
[23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
[25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117),
[27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(224),
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(290),
[31] = {.entry = {.count = 1, .reusable = false}}, SHIFT(328),
[33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51),
[35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(332),
[37] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33),
[39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[41] = {.entry = {.count = 1, .reusable = false}}, SHIFT(104),
[43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(286),
[45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(286),
[47] = {.entry = {.count = 1, .reusable = false}}, SHIFT(221),
[49] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[51] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
[55] = {.entry = {.count = 1, .reusable = true}}, SHIFT(292),
[57] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31),
[59] = {.entry = {.count = 1, .reusable = true}}, SHIFT(137),
[61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(137),
[63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
[67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(142),
[69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0),
[71] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(37),
[74] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(4),
[77] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(107),
[80] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(301),
[83] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(203),
[86] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(5),
[89] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(91),
[92] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(150),
[95] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(270),
[98] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(158),
[101] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(117),
[104] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(224),
[107] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(290),
[110] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(328),
[113] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(51),
[116] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(332),
[119] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0), SHIFT_REPEAT(33),
[122] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[124] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32),
[126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(288),
[130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124),
[132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_program, 1, 0, 0),
[134] = {.entry = {.count = 1, .reusable = false}}, SHIFT(110),
[136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(272),
[138] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118),
[140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(229),
[142] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34),
[144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211),
[146] = {.entry = {.count = 1, .reusable = true}}, SHIFT(226),
[148] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39),
[150] = {.entry = {.count = 1, .reusable = true}}, SHIFT(235),
[152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(231),
[154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(225),
[156] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
[158] = {.entry = {.count = 1, .reusable = true}}, SHIFT(204),
[160] = {.entry = {.count = 1, .reusable = true}}, SHIFT(206),
[162] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
[164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_program_repeat1, 2, 0, 0),
[166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd, 1, 0, 0),
[168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(349),
[172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cmd, 1, 0, 0),
[174] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41),
[176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(308),
[180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(149),
[182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd, 2, 0, 0),
[184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cmd, 2, 0, 0),
[186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call_stmt, 2, 0, 0),
[188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call_stmt, 2, 0, 0),
[190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call_stmt, 3, 0, 0),
[192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call_stmt, 3, 0, 0),
[194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0),
[196] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(149),
[199] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0),
[201] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(40),
[204] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(40),
[207] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_argument_list, 1, 0, 0),
[209] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_argument_list, 1, 0, 0),
[211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[213] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40),
[215] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracketed_value, 2, 0, 0),
[217] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bracketed_value, 2, 0, 0),
[219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_bracketed_value, 3, 0, 0),
[221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_bracketed_value, 3, 0, 0),
[223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_redirection_repeat1, 2, 0, 0),
[225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_redirection_repeat1, 2, 0, 0),
[227] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_redirection_repeat1, 2, 0, 0), SHIFT_REPEAT(328),
[230] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_redirection_repeat1, 2, 0, 0), SHIFT_REPEAT(44),
[233] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_redirection_repeat1, 2, 0, 0), SHIFT_REPEAT(332),
[236] = {.entry = {.count = 1, .reusable = true}}, SHIFT(280),
[238] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37),
[240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[244] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57),
[246] = {.entry = {.count = 2, .reusable = true}}, REDUCE(sym_parenthesized, 2, 0, 0), REDUCE(sym_paren_expression, 2, 0, 0),
[249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_paren_expression, 2, 0, 0),
[251] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized, 2, 0, 0),
[253] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_paren_expression, 2, 0, 0),
[255] = {.entry = {.count = 2, .reusable = false}}, REDUCE(sym_parenthesized, 2, 0, 0), REDUCE(sym_paren_expression, 2, 0, 0),
[258] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_redirection, 1, 0, 0),
[260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_redirection, 1, 0, 0),
[262] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44),
[264] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 7, 0, 0),
[266] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 7, 0, 0),
[268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 6, 0, 0),
[270] = {.entry = {.count = 1, .reusable = false}}, SHIFT(219),
[272] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65),
[274] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(139),
[277] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(54),
[280] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_argument_list_repeat1, 2, 0, 0), SHIFT_REPEAT(54),
[283] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_paren_expression, 3, 0, 0),
[285] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_paren_expression, 3, 0, 0),
[287] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 5, 0, 0),
[289] = {.entry = {.count = 1, .reusable = false}}, SHIFT(220),
[291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[293] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54),
[295] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_redirection_repeat1, 3, 0, 0),
[297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_redirection_repeat1, 3, 0, 0),
[299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 6, 0, 0),
[301] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized, 2, 0, 0),
[303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 8, 0, 0),
[305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 8, 0, 0),
[307] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_caret_quoted_assignment_value, 1, 0, 0),
[309] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68),
[311] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prompt_assignment, 3, 0, 0),
[313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80),
[315] = {.entry = {.count = 1, .reusable = false}}, SHIFT(148),
[317] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_caret_quoted_assignment_value_repeat1, 2, 0, 0),
[319] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_caret_quoted_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(68),
[322] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83),
[324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prompt_assignment, 4, 0, 0),
[326] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 4, 0, 0),
[328] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[330] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58),
[332] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 4, 0, 0),
[334] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 6, 0, 0),
[336] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 6, 0, 0),
[338] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prompt_assignment, 5, 0, 0),
[340] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 4, 0, 0),
[342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 5, 0, 0),
[344] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 5, 0, 0),
[346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 8, 0, 0),
[348] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 8, 0, 0),
[350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 7, 0, 0),
[352] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 7, 0, 0),
[354] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109),
[356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(129),
[358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(266),
[360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(267),
[362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(313),
[364] = {.entry = {.count = 1, .reusable = false}}, SHIFT(336),
[366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(336),
[368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(245),
[370] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_value, 1, 0, 0),
[372] = {.entry = {.count = 1, .reusable = false}}, SHIFT(84),
[374] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_caret_quoted_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(81),
[377] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81),
[381] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_assignment_value_repeat1, 2, 0, 0),
[383] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(84),
[386] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(148),
[389] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
[391] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128),
[393] = {.entry = {.count = 1, .reusable = true}}, SHIFT(263),
[395] = {.entry = {.count = 1, .reusable = true}}, SHIFT(264),
[397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(309),
[399] = {.entry = {.count = 1, .reusable = false}}, SHIFT(333),
[401] = {.entry = {.count = 1, .reusable = true}}, SHIFT(333),
[403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92),
[405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125),
[407] = {.entry = {.count = 1, .reusable = true}}, SHIFT(277),
[409] = {.entry = {.count = 1, .reusable = true}}, SHIFT(279),
[411] = {.entry = {.count = 1, .reusable = true}}, SHIFT(343),
[413] = {.entry = {.count = 1, .reusable = false}}, SHIFT(346),
[415] = {.entry = {.count = 1, .reusable = true}}, SHIFT(346),
[417] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112),
[421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(265),
[423] = {.entry = {.count = 1, .reusable = true}}, SHIFT(252),
[425] = {.entry = {.count = 1, .reusable = true}}, SHIFT(296),
[427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(318),
[429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(318),
[431] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116),
[433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(255),
[435] = {.entry = {.count = 1, .reusable = true}}, SHIFT(256),
[437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(298),
[439] = {.entry = {.count = 1, .reusable = false}}, SHIFT(300),
[441] = {.entry = {.count = 1, .reusable = true}}, SHIFT(300),
[443] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_stmt, 7, 0, 0),
[445] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_stmt, 7, 0, 0),
[447] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_stmt, 8, 0, 0),
[449] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_stmt, 8, 0, 0),
[451] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_stmt, 9, 0, 0),
[453] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_stmt, 9, 0, 0),
[455] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_stmt, 10, 0, 0),
[457] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_stmt, 10, 0, 0),
[459] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pipe_stmt, 3, 0, 0),
[461] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_pipe_stmt, 3, 0, 0),
[463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cond_exec, 3, 0, 0),
[465] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cond_exec, 3, 0, 0),
[467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_else_clause, 2, 0, 0),
[469] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_else_clause, 2, 0, 0),
[471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__body_stmt, 1, 0, 0),
[473] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__body_stmt, 1, 0, 0),
[475] = {.entry = {.count = 1, .reusable = false}}, SHIFT(35),
[477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(282),
[479] = {.entry = {.count = 1, .reusable = false}}, SHIFT(222),
[481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
[483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
[485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(278),
[487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
[489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(216),
[493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(293),
[495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[497] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__stmt, 1, 0, 0),
[499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[501] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9),
[503] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_command_sep, 3, 0, 0),
[505] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_command_sep, 3, 0, 0),
[507] = {.entry = {.count = 1, .reusable = false}}, SHIFT(199),
[509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89),
[511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(285),
[513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(130),
[515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(268),
[517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(269),
[519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(317),
[521] = {.entry = {.count = 1, .reusable = false}}, SHIFT(338),
[523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(338),
[525] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_setlocal_stmt_repeat1, 2, 0, 0),
[527] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_setlocal_stmt_repeat1, 2, 0, 0), SHIFT_REPEAT(111),
[530] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_setlocal_stmt_repeat1, 2, 0, 0),
[532] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setlocal_stmt, 2, 0, 0),
[534] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111),
[536] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setlocal_stmt, 2, 0, 0),
[538] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8),
[540] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setlocal_stmt, 3, 0, 0),
[542] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setlocal_stmt, 3, 0, 0),
[544] = {.entry = {.count = 1, .reusable = true}}, SHIFT(274),
[546] = {.entry = {.count = 1, .reusable = true}}, SHIFT(275),
[548] = {.entry = {.count = 1, .reusable = true}}, SHIFT(329),
[550] = {.entry = {.count = 1, .reusable = false}}, SHIFT(330),
[552] = {.entry = {.count = 1, .reusable = true}}, SHIFT(330),
[554] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_setlocal_stmt, 1, 0, 0),
[556] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113),
[558] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_setlocal_stmt, 1, 0, 0),
[560] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized, 4, 0, 0),
[562] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized, 4, 0, 0),
[564] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_paren_group, 3, 0, 0),
[566] = {.entry = {.count = 1, .reusable = false}}, SHIFT(141),
[568] = {.entry = {.count = 1, .reusable = false}}, SHIFT(172),
[570] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
[572] = {.entry = {.count = 1, .reusable = false}}, SHIFT(155),
[574] = {.entry = {.count = 1, .reusable = false}}, SHIFT(310),
[576] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115),
[578] = {.entry = {.count = 1, .reusable = false}}, SHIFT(319),
[580] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_parenthesized, 3, 0, 0),
[582] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_parenthesized, 3, 0, 0),
[584] = {.entry = {.count = 1, .reusable = false}}, SHIFT(353),
[586] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_assignment_paren_group, 2, 0, 0),
[588] = {.entry = {.count = 1, .reusable = true}}, SHIFT(271),
[590] = {.entry = {.count = 1, .reusable = true}}, SHIFT(251),
[592] = {.entry = {.count = 1, .reusable = true}}, SHIFT(321),
[594] = {.entry = {.count = 1, .reusable = false}}, SHIFT(340),
[596] = {.entry = {.count = 1, .reusable = true}}, SHIFT(340),
[598] = {.entry = {.count = 1, .reusable = false}}, SHIFT(323),
[600] = {.entry = {.count = 1, .reusable = false}}, SHIFT(325),
[602] = {.entry = {.count = 1, .reusable = false}}, SHIFT(326),
[604] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_assignment_paren_group_repeat1, 2, 0, 0), SHIFT_REPEAT(136),
[607] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_assignment_paren_group_repeat1, 2, 0, 0), SHIFT_REPEAT(136),
[610] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_assignment_paren_group_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
[613] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_assignment_paren_group_repeat1, 2, 0, 0),
[615] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99),
[617] = {.entry = {.count = 1, .reusable = false}}, SHIFT(140),
[619] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[621] = {.entry = {.count = 1, .reusable = false}}, SHIFT(138),
[623] = {.entry = {.count = 1, .reusable = false}}, SHIFT(169),
[625] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[627] = {.entry = {.count = 1, .reusable = false}}, SHIFT(136),
[629] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[631] = {.entry = {.count = 1, .reusable = false}}, SHIFT(171),
[633] = {.entry = {.count = 1, .reusable = false}}, SHIFT(145),
[635] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_set, 1, 0, 0),
[637] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[639] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_call_stmt, 4, 0, 0),
[641] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_call_stmt, 4, 0, 0),
[643] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120),
[645] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_repeat1, 2, 0, 0), SHIFT_REPEAT(145),
[648] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_repeat1, 2, 0, 0), SHIFT_REPEAT(172),
[651] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_for_set_repeat1, 2, 0, 0), SHIFT_REPEAT(172),
[654] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_repeat1, 2, 0, 0), SHIFT_REPEAT(155),
[657] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_for_set_repeat1, 2, 0, 0),
[659] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_cmd, 3, 0, 0),
[661] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_cmd, 3, 0, 0),
[663] = {.entry = {.count = 1, .reusable = false}}, SHIFT(144),
[665] = {.entry = {.count = 1, .reusable = true}}, SHIFT(144),
[667] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127),
[669] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[671] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_stmt, 1, 0, 0),
[673] = {.entry = {.count = 1, .reusable = true}}, SHIFT(230),
[675] = {.entry = {.count = 1, .reusable = true}}, SHIFT(185),
[677] = {.entry = {.count = 1, .reusable = false}}, SHIFT(170),
[679] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_stmt, 1, 0, 0),
[681] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_stmt, 2, 0, 0),
[683] = {.entry = {.count = 1, .reusable = true}}, SHIFT(232),
[685] = {.entry = {.count = 1, .reusable = true}}, SHIFT(179),
[687] = {.entry = {.count = 1, .reusable = false}}, SHIFT(160),
[689] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_stmt, 2, 0, 0),
[691] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_group_repeat1, 2, 0, 0), SHIFT_REPEAT(182),
[694] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_for_set_group_repeat1, 2, 0, 0), SHIFT_REPEAT(182),
[697] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_group_repeat1, 2, 0, 0), SHIFT_REPEAT(155),
[700] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_for_set_group_repeat1, 2, 0, 0),
[702] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_for_set_group_repeat1, 2, 0, 0), SHIFT_REPEAT(152),
[705] = {.entry = {.count = 1, .reusable = false}}, SHIFT(46),
[707] = {.entry = {.count = 1, .reusable = true}}, SHIFT(258),
[709] = {.entry = {.count = 1, .reusable = true}}, SHIFT(259),
[711] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[713] = {.entry = {.count = 1, .reusable = false}}, SHIFT(182),
[715] = {.entry = {.count = 1, .reusable = true}}, SHIFT(182),
[717] = {.entry = {.count = 1, .reusable = false}}, SHIFT(175),
[719] = {.entry = {.count = 1, .reusable = false}}, SHIFT(152),
[721] = {.entry = {.count = 1, .reusable = false}}, SHIFT(166),
[723] = {.entry = {.count = 1, .reusable = false}}, SHIFT(154),
[725] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60),
[727] = {.entry = {.count = 1, .reusable = false}}, SHIFT(180),
[729] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
[731] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
[733] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16),
[735] = {.entry = {.count = 1, .reusable = true}}, SHIFT(247),
[737] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_exit_stmt, 1, 0, 0),
[739] = {.entry = {.count = 1, .reusable = true}}, SHIFT(174),
[741] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_exit_stmt, 1, 0, 0),
[743] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
[745] = {.entry = {.count = 1, .reusable = false}}, SHIFT(15),
[747] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15),
[749] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_stmt, 3, 0, 0),
[751] = {.entry = {.count = 1, .reusable = true}}, SHIFT(217),
[753] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_stmt, 3, 0, 0),
[755] = {.entry = {.count = 1, .reusable = false}}, SHIFT(190),
[757] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_invocation, 2, 0, 0),
[759] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_macro_invocation, 2, 0, 0),
[761] = {.entry = {.count = 1, .reusable = false}}, SHIFT(22),
[763] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22),
[765] = {.entry = {.count = 1, .reusable = false}}, SHIFT(23),
[767] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23),
[769] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24),
[771] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24),
[773] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26),
[775] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26),
[777] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_set_group, 2, 0, 0),
[779] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_set_group, 2, 0, 0),
[781] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52),
[783] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18),
[785] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
[787] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_paren_group, 2, 0, 0),
[789] = {.entry = {.count = 1, .reusable = false}}, SHIFT(179),
[791] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_assignment_paren_group, 3, 0, 0),
[793] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_for_set_repeat1, 1, 0, 1),
[795] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_for_set_repeat1, 1, 0, 1),
[797] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_exit_stmt, 3, 0, 0),
[799] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_exit_stmt, 3, 0, 0),
[801] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
[803] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_exit_stmt, 2, 0, 0),
[805] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_exit_stmt, 2, 0, 0),
[807] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215),
[809] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_for_set_group, 3, 0, 0),
[811] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_for_set_group, 3, 0, 0),
[813] = {.entry = {.count = 1, .reusable = true}}, SHIFT(173),
[815] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14),
[817] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[819] = {.entry = {.count = 1, .reusable = true}}, SHIFT(257),
[821] = {.entry = {.count = 1, .reusable = true}}, SHIFT(261),
[823] = {.entry = {.count = 1, .reusable = true}}, SHIFT(302),
[825] = {.entry = {.count = 1, .reusable = false}}, SHIFT(287),
[827] = {.entry = {.count = 1, .reusable = false}}, SHIFT(291),
[829] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_quoted_assignment_value, 1, 0, 0),
[831] = {.entry = {.count = 1, .reusable = false}}, SHIFT(184),
[833] = {.entry = {.count = 1, .reusable = true}}, SHIFT(184),
[835] = {.entry = {.count = 1, .reusable = true}}, SHIFT(219),
[837] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_for_set_group_repeat1, 1, 0, 1),
[839] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_for_set_group_repeat1, 1, 0, 1),
[841] = {.entry = {.count = 1, .reusable = true}}, SHIFT(202),
[843] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_quoted_assignment_value_repeat1, 2, 0, 0),
[845] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_quoted_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(184),
[848] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_quoted_assignment_value_repeat1, 2, 0, 0), SHIFT_REPEAT(184),
[851] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_stmt, 4, 0, 0),
[853] = {.entry = {.count = 1, .reusable = true}}, SHIFT(236),
[855] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_stmt, 4, 0, 0),
[857] = {.entry = {.count = 1, .reusable = true}}, SHIFT(273),
[859] = {.entry = {.count = 1, .reusable = true}}, SHIFT(253),
[861] = {.entry = {.count = 1, .reusable = true}}, SHIFT(276),
[863] = {.entry = {.count = 1, .reusable = true}}, SHIFT(322),
[865] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_redirect_stmt, 2, 0, 0),
[867] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_redirect_stmt, 2, 0, 0),
[869] = {.entry = {.count = 1, .reusable = true}}, SHIFT(254),
[871] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_exit_stmt, 4, 0, 0),
[873] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_exit_stmt, 4, 0, 0),
[875] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prompt_assignment, 6, 0, 0),
[877] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_prompt_assignment, 6, 0, 0),
[879] = {.entry = {.count = 1, .reusable = true}}, SHIFT(196),
[881] = {.entry = {.count = 1, .reusable = false}}, SHIFT(289),
[883] = {.entry = {.count = 1, .reusable = false}}, SHIFT(283),
[885] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
[887] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_invocation, 3, 0, 0),
[889] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_macro_invocation, 3, 0, 0),
[891] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 9, 0, 0),
[893] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 9, 0, 0),
[895] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_if_stmt, 9, 0, 0),
[897] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_if_stmt, 9, 0, 0),
[899] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prompt_assignment, 4, 0, 0),
[901] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arithmetic_assignment, 2, 0, 0),
[903] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arithmetic_assignment, 2, 0, 0),
[905] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_prompt_assignment, 5, 0, 0),
[907] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_endlocal_stmt, 2, 0, 0),
[909] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_endlocal_stmt, 2, 0, 0),
[911] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arithmetic_assignment, 4, 0, 0),
[913] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arithmetic_assignment, 4, 0, 0),
[915] = {.entry = {.count = 1, .reusable = true}}, SHIFT(191),
[917] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
[919] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_arithmetic_assignment, 3, 0, 0),
[921] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_arithmetic_assignment, 3, 0, 0),
[923] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_endlocal_stmt, 1, 0, 0),
[925] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_endlocal_stmt, 1, 0, 0),
[927] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 2, 0, 0),
[929] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 2, 0, 0),
[931] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 3, 0, 0),
[933] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_variable_assignment, 3, 0, 0),
[935] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_goto_stmt, 5, 0, 0),
[937] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_goto_stmt, 5, 0, 0),
[939] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_variable_assignment, 5, 0, 0),
[941] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56),
[943] = {.entry = {.count = 1, .reusable = true}}, SHIFT(250),
[945] = {.entry = {.count = 1, .reusable = false}}, SHIFT(250),
[947] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
[949] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
[951] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[953] = {.entry = {.count = 1, .reusable = true}}, SHIFT(167),
[955] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71),
[957] = {.entry = {.count = 1, .reusable = false}}, SHIFT(248),
[959] = {.entry = {.count = 1, .reusable = true}}, SHIFT(248),
[961] = {.entry = {.count = 1, .reusable = false}}, SHIFT(303),
[963] = {.entry = {.count = 1, .reusable = false}}, SHIFT(249),
[965] = {.entry = {.count = 1, .reusable = true}}, SHIFT(249),
[967] = {.entry = {.count = 1, .reusable = false}}, SHIFT(43),
[969] = {.entry = {.count = 1, .reusable = false}}, SHIFT(246),
[971] = {.entry = {.count = 1, .reusable = true}}, SHIFT(246),
[973] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42),
[975] = {.entry = {.count = 1, .reusable = false}}, SHIFT(299),
[977] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_bracketed_value_repeat1, 2, 0, 0), SHIFT_REPEAT(249),
[980] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_bracketed_value_repeat1, 2, 0, 0), SHIFT_REPEAT(249),
[983] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_bracketed_value_repeat1, 2, 0, 0),
[985] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_variable_assignment_repeat1, 2, 0, 0),
[987] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_variable_assignment_repeat1, 2, 0, 0), SHIFT_REPEAT(250),
[990] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_variable_assignment_repeat1, 2, 0, 0), SHIFT_REPEAT(250),
[993] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12),
[995] = {.entry = {.count = 1, .reusable = true}}, SHIFT(243),
[997] = {.entry = {.count = 1, .reusable = false}}, SHIFT(243),
[999] = {.entry = {.count = 1, .reusable = true}}, SHIFT(244),
[1001] = {.entry = {.count = 1, .reusable = false}}, SHIFT(244),
[1003] = {.entry = {.count = 1, .reusable = true}}, SHIFT(239),
[1005] = {.entry = {.count = 1, .reusable = false}}, SHIFT(239),
[1007] = {.entry = {.count = 1, .reusable = false}}, SHIFT(47),
[1009] = {.entry = {.count = 1, .reusable = true}}, SHIFT(260),
[1011] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[1013] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48),
[1015] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[1017] = {.entry = {.count = 1, .reusable = true}}, SHIFT(240),
[1019] = {.entry = {.count = 1, .reusable = false}}, SHIFT(240),
[1021] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9),
[1023] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[1025] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[1027] = {.entry = {.count = 1, .reusable = true}}, SHIFT(238),
[1029] = {.entry = {.count = 1, .reusable = false}}, SHIFT(238),
[1031] = {.entry = {.count = 1, .reusable = true}}, SHIFT(242),
[1033] = {.entry = {.count = 1, .reusable = false}}, SHIFT(242),
[1035] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[1037] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_echo_off, 3, 0, 0),
[1039] = {.entry = {.count = 1, .reusable = true}}, SHIFT(281),
[1041] = {.entry = {.count = 1, .reusable = true}}, SHIFT(334),
[1043] = {.entry = {.count = 1, .reusable = false}}, SHIFT(354),
[1045] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8),
[1047] = {.entry = {.count = 1, .reusable = true}}, SHIFT(337),
[1049] = {.entry = {.count = 1, .reusable = true}}, SHIFT(311),
[1051] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[1053] = {.entry = {.count = 1, .reusable = false}}, SHIFT(335),
[1055] = {.entry = {.count = 1, .reusable = false}}, SHIFT(223),
[1057] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119),
[1059] = {.entry = {.count = 1, .reusable = false}}, SHIFT(324),
[1061] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213),
[1063] = {.entry = {.count = 1, .reusable = true}}, SHIFT(305),
[1065] = {.entry = {.count = 1, .reusable = true}}, SHIFT(341),
[1067] = {.entry = {.count = 1, .reusable = false}}, SHIFT(352),
[1069] = {.entry = {.count = 1, .reusable = true}}, SHIFT(355),
[1071] = {.entry = {.count = 1, .reusable = true}}, SHIFT(356),
[1073] = {.entry = {.count = 1, .reusable = true}}, SHIFT(350),
[1075] = {.entry = {.count = 1, .reusable = true}}, SHIFT(131),
[1077] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[1079] = {.entry = {.count = 1, .reusable = true}}, SHIFT(319),
[1081] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
[1083] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
[1085] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[1087] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20),
[1089] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[1091] = {.entry = {.count = 1, .reusable = true}}, SHIFT(331),
[1093] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17),
[1095] = {.entry = {.count = 1, .reusable = true}}, SHIFT(316),
[1097] = {.entry = {.count = 1, .reusable = true}}, SHIFT(353),
[1099] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[1101] = {.entry = {.count = 1, .reusable = true}}, SHIFT(339),
[1103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[1105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(177),
[1107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29),
[1109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(306),
[1111] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
[1113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[1115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(223),
[1117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[1119] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
[1121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[1123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(314),
[1125] = {.entry = {.count = 1, .reusable = true}}, SHIFT(168),
[1127] = {.entry = {.count = 1, .reusable = true}}, SHIFT(121),
[1129] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64),
[1131] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
[1133] = {.entry = {.count = 1, .reusable = true}}, SHIFT(352),
[1135] = {.entry = {.count = 1, .reusable = true}}, SHIFT(218),
[1137] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
[1139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(315),
[1141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
[1143] = {.entry = {.count = 1, .reusable = true}}, SHIFT(123),
[1145] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
[1147] = {.entry = {.count = 1, .reusable = true}}, SHIFT(357),
[1149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(325),
[1151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(326),
[1153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(327),
[1155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(159),
[1157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
[1159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(133),
[1161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(294),
[1163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(347),
[1165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(348),
[1167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
[1169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
[1171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
[1173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(351),
[1175] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
};
#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif
TS_PUBLIC const TSLanguage *tree_sitter_batch(void) {
static const TSLanguage language = {
.abi_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,
.supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
.lex_modes = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.keyword_lex_fn = ts_lex_keywords,
.keyword_capture_token = sym_command_name,
.primary_state_ids = ts_primary_state_ids,
.name = "batch",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 0,
.minor_version = 8,
.patch_version = 0,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif