#include <tree_sitter/parser.h>

#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif

#define LANGUAGE_VERSION 9
#define STATE_COUNT 3289
#define SYMBOL_COUNT 147
#define ALIAS_COUNT 5
#define TOKEN_COUNT 92
#define EXTERNAL_TOKEN_COUNT 12
#define MAX_ALIAS_SEQUENCE_LENGTH 8

enum {
  sym_heredoc_start = 1,
  sym__simple_heredoc_body = 2,
  sym__heredoc_body_beginning = 3,
  sym__heredoc_body_middle = 4,
  sym__heredoc_body_end = 5,
  sym_file_descriptor = 6,
  sym__empty_value = 7,
  sym__concat = 8,
  sym_variable_name = 9,
  anon_sym_for = 10,
  anon_sym_in = 11,
  anon_sym_LPAREN_LPAREN = 12,
  anon_sym_RPAREN_RPAREN = 13,
  anon_sym_while = 14,
  anon_sym_do = 15,
  anon_sym_done = 16,
  anon_sym_if = 17,
  anon_sym_then = 18,
  anon_sym_fi = 19,
  anon_sym_elif = 20,
  anon_sym_else = 21,
  anon_sym_case = 22,
  anon_sym_esac = 23,
  anon_sym_PIPE = 24,
  anon_sym_RPAREN = 25,
  anon_sym_SEMI_SEMI = 26,
  anon_sym_function = 27,
  anon_sym_LPAREN = 28,
  anon_sym_LBRACE = 29,
  anon_sym_RBRACE = 30,
  anon_sym_PIPE_AMP = 31,
  anon_sym_AMP_AMP = 32,
  anon_sym_PIPE_PIPE = 33,
  anon_sym_BANG = 34,
  anon_sym_LBRACK = 35,
  anon_sym_RBRACK = 36,
  anon_sym_LBRACK_LBRACK = 37,
  anon_sym_RBRACK_RBRACK = 38,
  anon_sym_declare = 39,
  anon_sym_typeset = 40,
  anon_sym_export = 41,
  anon_sym_readonly = 42,
  anon_sym_local = 43,
  anon_sym_unset = 44,
  anon_sym_unsetenv = 45,
  anon_sym_EQ_TILDE = 46,
  anon_sym_EQ_EQ = 47,
  anon_sym_EQ = 48,
  anon_sym_PLUS_EQ = 49,
  anon_sym_LT = 50,
  anon_sym_GT = 51,
  anon_sym_GT_GT = 52,
  anon_sym_AMP_GT = 53,
  anon_sym_AMP_GT_GT = 54,
  anon_sym_LT_AMP = 55,
  anon_sym_GT_AMP = 56,
  anon_sym_LT_LT = 57,
  anon_sym_LT_LT_DASH = 58,
  anon_sym_LT_LT_LT = 59,
  anon_sym_BANG_EQ = 60,
  sym__special_characters = 61,
  anon_sym_DQUOTE = 62,
  anon_sym_DOLLAR = 63,
  sym__string_content = 64,
  sym_raw_string = 65,
  anon_sym_POUND = 66,
  anon_sym_DOLLAR_LBRACE = 67,
  anon_sym_SLASH = 68,
  anon_sym_COLON = 69,
  anon_sym_COLON_QMARK = 70,
  anon_sym_COLON_DASH = 71,
  anon_sym_PERCENT = 72,
  anon_sym_DASH = 73,
  anon_sym_DOLLAR_LPAREN = 74,
  anon_sym_BQUOTE = 75,
  anon_sym_LT_LPAREN = 76,
  anon_sym_GT_LPAREN = 77,
  sym_comment = 78,
  aux_sym_SLASH_BSLASHw_PLUS_SLASH = 79,
  anon_sym_STAR = 80,
  anon_sym_AT = 81,
  anon_sym_QMARK = 82,
  anon_sym_0 = 83,
  anon_sym__ = 84,
  sym_word = 85,
  sym_test_operator = 86,
  sym_regex = 87,
  sym_regex_without_right_brace = 88,
  anon_sym_SEMI = 89,
  anon_sym_LF = 90,
  anon_sym_AMP = 91,
  sym_program = 92,
  sym__terminated_statement = 93,
  sym_for_statement = 94,
  sym_c_style_for_statement = 95,
  sym_while_statement = 96,
  sym_do_group = 97,
  sym_if_statement = 98,
  sym_elif_clause = 99,
  sym_else_clause = 100,
  sym_case_statement = 101,
  sym_case_item = 102,
  sym_last_case_item = 103,
  sym_function_definition = 104,
  sym_compound_statement = 105,
  sym_subshell = 106,
  sym_pipeline = 107,
  sym_list = 108,
  sym_negated_command = 109,
  sym_test_command = 110,
  sym_declaration_command = 111,
  sym_unset_command = 112,
  sym_command = 113,
  sym_command_name = 114,
  sym_variable_assignment = 115,
  sym_subscript = 116,
  sym_file_redirect = 117,
  sym_heredoc_redirect = 118,
  sym_heredoc_body = 119,
  sym_herestring_redirect = 120,
  sym__expression = 121,
  sym_binary_expression = 122,
  sym_unary_expression = 123,
  sym_parenthesized_expression = 124,
  sym_concatenation = 125,
  sym_string = 126,
  sym_array = 127,
  sym_simple_expansion = 128,
  sym_string_expansion = 129,
  sym_expansion = 130,
  sym_command_substitution = 131,
  sym_process_substitution = 132,
  aux_sym__statements_repeat1 = 133,
  aux_sym_for_statement_repeat1 = 134,
  aux_sym_while_statement_repeat1 = 135,
  aux_sym_if_statement_repeat1 = 136,
  aux_sym_case_statement_repeat1 = 137,
  aux_sym_case_item_repeat1 = 138,
  aux_sym_declaration_command_repeat1 = 139,
  aux_sym_unset_command_repeat1 = 140,
  aux_sym_command_repeat1 = 141,
  aux_sym_command_repeat2 = 142,
  aux_sym_heredoc_body_repeat1 = 143,
  aux_sym_concatenation_repeat1 = 144,
  aux_sym_string_repeat1 = 145,
  aux_sym_expansion_repeat1 = 146,
  alias_sym_case_item = 147,
  alias_sym_regex = 148,
  alias_sym_special_variable_name = 149,
  alias_sym_variable_name = 150,
  alias_sym_word = 151,
};

static const char *ts_symbol_names[] = {
  [sym_heredoc_start] = "heredoc_start",
  [sym__simple_heredoc_body] = "_simple_heredoc_body",
  [sym__heredoc_body_beginning] = "_heredoc_body_beginning",
  [sym__heredoc_body_middle] = "_heredoc_body_middle",
  [sym__heredoc_body_end] = "_heredoc_body_end",
  [sym_file_descriptor] = "file_descriptor",
  [sym__empty_value] = "_empty_value",
  [sym__concat] = "_concat",
  [sym_variable_name] = "variable_name",
  [ts_builtin_sym_end] = "END",
  [anon_sym_for] = "for",
  [anon_sym_in] = "in",
  [anon_sym_LPAREN_LPAREN] = "((",
  [anon_sym_RPAREN_RPAREN] = "))",
  [anon_sym_while] = "while",
  [anon_sym_do] = "do",
  [anon_sym_done] = "done",
  [anon_sym_if] = "if",
  [anon_sym_then] = "then",
  [anon_sym_fi] = "fi",
  [anon_sym_elif] = "elif",
  [anon_sym_else] = "else",
  [anon_sym_case] = "case",
  [anon_sym_esac] = "esac",
  [anon_sym_PIPE] = "|",
  [anon_sym_RPAREN] = ")",
  [anon_sym_SEMI_SEMI] = ";;",
  [anon_sym_function] = "function",
  [anon_sym_LPAREN] = "(",
  [anon_sym_LBRACE] = "{",
  [anon_sym_RBRACE] = "}",
  [anon_sym_PIPE_AMP] = "|&",
  [anon_sym_AMP_AMP] = "&&",
  [anon_sym_PIPE_PIPE] = "||",
  [anon_sym_BANG] = "!",
  [anon_sym_LBRACK] = "[",
  [anon_sym_RBRACK] = "]",
  [anon_sym_LBRACK_LBRACK] = "[[",
  [anon_sym_RBRACK_RBRACK] = "]]",
  [anon_sym_declare] = "declare",
  [anon_sym_typeset] = "typeset",
  [anon_sym_export] = "export",
  [anon_sym_readonly] = "readonly",
  [anon_sym_local] = "local",
  [anon_sym_unset] = "unset",
  [anon_sym_unsetenv] = "unsetenv",
  [anon_sym_EQ_TILDE] = "=~",
  [anon_sym_EQ_EQ] = "==",
  [anon_sym_EQ] = "=",
  [anon_sym_PLUS_EQ] = "+=",
  [anon_sym_LT] = "<",
  [anon_sym_GT] = ">",
  [anon_sym_GT_GT] = ">>",
  [anon_sym_AMP_GT] = "&>",
  [anon_sym_AMP_GT_GT] = "&>>",
  [anon_sym_LT_AMP] = "<&",
  [anon_sym_GT_AMP] = ">&",
  [anon_sym_LT_LT] = "<<",
  [anon_sym_LT_LT_DASH] = "<<-",
  [anon_sym_LT_LT_LT] = "<<<",
  [anon_sym_BANG_EQ] = "!=",
  [sym__special_characters] = "_special_characters",
  [anon_sym_DQUOTE] = "\"",
  [anon_sym_DOLLAR] = "$",
  [sym__string_content] = "_string_content",
  [sym_raw_string] = "raw_string",
  [anon_sym_POUND] = "#",
  [anon_sym_DOLLAR_LBRACE] = "${",
  [anon_sym_SLASH] = "/",
  [anon_sym_COLON] = ":",
  [anon_sym_COLON_QMARK] = ":?",
  [anon_sym_COLON_DASH] = ":-",
  [anon_sym_PERCENT] = "%",
  [anon_sym_DASH] = "-",
  [anon_sym_DOLLAR_LPAREN] = "$(",
  [anon_sym_BQUOTE] = "`",
  [anon_sym_LT_LPAREN] = "<(",
  [anon_sym_GT_LPAREN] = ">(",
  [sym_comment] = "comment",
  [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = "/\\w+/",
  [anon_sym_STAR] = "*",
  [anon_sym_AT] = "@",
  [anon_sym_QMARK] = "?",
  [anon_sym_0] = "0",
  [anon_sym__] = "_",
  [sym_word] = "word",
  [sym_test_operator] = "test_operator",
  [sym_regex] = "regex",
  [sym_regex_without_right_brace] = "regex_without_right_brace",
  [anon_sym_SEMI] = ";",
  [anon_sym_LF] = "\n",
  [anon_sym_AMP] = "&",
  [sym_program] = "program",
  [sym__terminated_statement] = "_terminated_statement",
  [sym_for_statement] = "for_statement",
  [sym_c_style_for_statement] = "c_style_for_statement",
  [sym_while_statement] = "while_statement",
  [sym_do_group] = "do_group",
  [sym_if_statement] = "if_statement",
  [sym_elif_clause] = "elif_clause",
  [sym_else_clause] = "else_clause",
  [sym_case_statement] = "case_statement",
  [sym_case_item] = "case_item",
  [sym_last_case_item] = "last_case_item",
  [sym_function_definition] = "function_definition",
  [sym_compound_statement] = "compound_statement",
  [sym_subshell] = "subshell",
  [sym_pipeline] = "pipeline",
  [sym_list] = "list",
  [sym_negated_command] = "negated_command",
  [sym_test_command] = "test_command",
  [sym_declaration_command] = "declaration_command",
  [sym_unset_command] = "unset_command",
  [sym_command] = "command",
  [sym_command_name] = "command_name",
  [sym_variable_assignment] = "variable_assignment",
  [sym_subscript] = "subscript",
  [sym_file_redirect] = "file_redirect",
  [sym_heredoc_redirect] = "heredoc_redirect",
  [sym_heredoc_body] = "heredoc_body",
  [sym_herestring_redirect] = "herestring_redirect",
  [sym__expression] = "_expression",
  [sym_binary_expression] = "binary_expression",
  [sym_unary_expression] = "unary_expression",
  [sym_parenthesized_expression] = "parenthesized_expression",
  [sym_concatenation] = "concatenation",
  [sym_string] = "string",
  [sym_array] = "array",
  [sym_simple_expansion] = "simple_expansion",
  [sym_string_expansion] = "string_expansion",
  [sym_expansion] = "expansion",
  [sym_command_substitution] = "command_substitution",
  [sym_process_substitution] = "process_substitution",
  [aux_sym__statements_repeat1] = "_statements_repeat1",
  [aux_sym_for_statement_repeat1] = "for_statement_repeat1",
  [aux_sym_while_statement_repeat1] = "while_statement_repeat1",
  [aux_sym_if_statement_repeat1] = "if_statement_repeat1",
  [aux_sym_case_statement_repeat1] = "case_statement_repeat1",
  [aux_sym_case_item_repeat1] = "case_item_repeat1",
  [aux_sym_declaration_command_repeat1] = "declaration_command_repeat1",
  [aux_sym_unset_command_repeat1] = "unset_command_repeat1",
  [aux_sym_command_repeat1] = "command_repeat1",
  [aux_sym_command_repeat2] = "command_repeat2",
  [aux_sym_heredoc_body_repeat1] = "heredoc_body_repeat1",
  [aux_sym_concatenation_repeat1] = "concatenation_repeat1",
  [aux_sym_string_repeat1] = "string_repeat1",
  [aux_sym_expansion_repeat1] = "expansion_repeat1",
  [alias_sym_case_item] = "case_item",
  [alias_sym_regex] = "regex",
  [alias_sym_special_variable_name] = "special_variable_name",
  [alias_sym_variable_name] = "variable_name",
  [alias_sym_word] = "word",
};

static const TSSymbolMetadata ts_symbol_metadata[] = {
  [sym_heredoc_start] = {
    .visible = true,
    .named = true,
  },
  [sym__simple_heredoc_body] = {
    .visible = false,
    .named = true,
  },
  [sym__heredoc_body_beginning] = {
    .visible = false,
    .named = true,
  },
  [sym__heredoc_body_middle] = {
    .visible = false,
    .named = true,
  },
  [sym__heredoc_body_end] = {
    .visible = false,
    .named = true,
  },
  [sym_file_descriptor] = {
    .visible = true,
    .named = true,
  },
  [sym__empty_value] = {
    .visible = false,
    .named = true,
  },
  [sym__concat] = {
    .visible = false,
    .named = true,
  },
  [sym_variable_name] = {
    .visible = true,
    .named = true,
  },
  [ts_builtin_sym_end] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_for] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_in] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_while] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_do] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_done] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_if] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_then] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_fi] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_elif] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_else] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_case] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_esac] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SEMI_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_function] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PIPE_PIPE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LBRACK_LBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_RBRACK_RBRACK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_declare] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_typeset] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_export] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_readonly] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_local] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_unset] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_unsetenv] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_TILDE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PLUS_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP_GT_GT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_AMP] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_LT_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_LT_LT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BANG_EQ] = {
    .visible = true,
    .named = false,
  },
  [sym__special_characters] = {
    .visible = false,
    .named = true,
  },
  [anon_sym_DQUOTE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOLLAR] = {
    .visible = true,
    .named = false,
  },
  [sym__string_content] = {
    .visible = false,
    .named = true,
  },
  [sym_raw_string] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_POUND] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOLLAR_LBRACE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_SLASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_QMARK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_COLON_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PERCENT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DOLLAR_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_BQUOTE] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_LPAREN] = {
    .visible = true,
    .named = false,
  },
  [sym_comment] = {
    .visible = true,
    .named = true,
  },
  [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = {
    .visible = false,
    .named = false,
  },
  [anon_sym_STAR] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AT] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_QMARK] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_0] = {
    .visible = true,
    .named = false,
  },
  [anon_sym__] = {
    .visible = true,
    .named = false,
  },
  [sym_word] = {
    .visible = true,
    .named = true,
  },
  [sym_test_operator] = {
    .visible = true,
    .named = true,
  },
  [sym_regex] = {
    .visible = true,
    .named = true,
  },
  [sym_regex_without_right_brace] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_SEMI] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LF] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_AMP] = {
    .visible = true,
    .named = false,
  },
  [sym_program] = {
    .visible = true,
    .named = true,
  },
  [sym__terminated_statement] = {
    .visible = false,
    .named = true,
  },
  [sym_for_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_c_style_for_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_while_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_do_group] = {
    .visible = true,
    .named = true,
  },
  [sym_if_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_elif_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_else_clause] = {
    .visible = true,
    .named = true,
  },
  [sym_case_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_case_item] = {
    .visible = true,
    .named = true,
  },
  [sym_last_case_item] = {
    .visible = true,
    .named = true,
  },
  [sym_function_definition] = {
    .visible = true,
    .named = true,
  },
  [sym_compound_statement] = {
    .visible = true,
    .named = true,
  },
  [sym_subshell] = {
    .visible = true,
    .named = true,
  },
  [sym_pipeline] = {
    .visible = true,
    .named = true,
  },
  [sym_list] = {
    .visible = true,
    .named = true,
  },
  [sym_negated_command] = {
    .visible = true,
    .named = true,
  },
  [sym_test_command] = {
    .visible = true,
    .named = true,
  },
  [sym_declaration_command] = {
    .visible = true,
    .named = true,
  },
  [sym_unset_command] = {
    .visible = true,
    .named = true,
  },
  [sym_command] = {
    .visible = true,
    .named = true,
  },
  [sym_command_name] = {
    .visible = true,
    .named = true,
  },
  [sym_variable_assignment] = {
    .visible = true,
    .named = true,
  },
  [sym_subscript] = {
    .visible = true,
    .named = true,
  },
  [sym_file_redirect] = {
    .visible = true,
    .named = true,
  },
  [sym_heredoc_redirect] = {
    .visible = true,
    .named = true,
  },
  [sym_heredoc_body] = {
    .visible = true,
    .named = true,
  },
  [sym_herestring_redirect] = {
    .visible = true,
    .named = true,
  },
  [sym__expression] = {
    .visible = false,
    .named = true,
  },
  [sym_binary_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_unary_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_parenthesized_expression] = {
    .visible = true,
    .named = true,
  },
  [sym_concatenation] = {
    .visible = true,
    .named = true,
  },
  [sym_string] = {
    .visible = true,
    .named = true,
  },
  [sym_array] = {
    .visible = true,
    .named = true,
  },
  [sym_simple_expansion] = {
    .visible = true,
    .named = true,
  },
  [sym_string_expansion] = {
    .visible = true,
    .named = true,
  },
  [sym_expansion] = {
    .visible = true,
    .named = true,
  },
  [sym_command_substitution] = {
    .visible = true,
    .named = true,
  },
  [sym_process_substitution] = {
    .visible = true,
    .named = true,
  },
  [aux_sym__statements_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_for_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_while_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_if_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_case_statement_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_case_item_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_declaration_command_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_unset_command_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_command_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_command_repeat2] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_heredoc_body_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_concatenation_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_string_repeat1] = {
    .visible = false,
    .named = false,
  },
  [aux_sym_expansion_repeat1] = {
    .visible = false,
    .named = false,
  },
  [alias_sym_case_item] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_regex] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_special_variable_name] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_variable_name] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_word] = {
    .visible = true,
    .named = true,
  },
};

static TSSymbol ts_alias_sequences[23][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [1] = {
    [0] = alias_sym_word,
  },
  [2] = {
    [0] = alias_sym_variable_name,
  },
  [3] = {
    [1] = alias_sym_word,
  },
  [4] = {
    [1] = alias_sym_special_variable_name,
  },
  [5] = {
    [1] = alias_sym_variable_name,
  },
  [6] = {
    [2] = alias_sym_word,
  },
  [7] = {
    [2] = alias_sym_special_variable_name,
  },
  [8] = {
    [2] = alias_sym_variable_name,
  },
  [9] = {
    [3] = alias_sym_word,
  },
  [10] = {
    [1] = alias_sym_special_variable_name,
    [3] = alias_sym_regex,
  },
  [11] = {
    [1] = alias_sym_variable_name,
    [3] = alias_sym_regex,
  },
  [12] = {
    [3] = alias_sym_regex,
  },
  [13] = {
    [1] = alias_sym_word,
    [4] = alias_sym_case_item,
  },
  [14] = {
    [4] = alias_sym_case_item,
  },
  [15] = {
    [4] = alias_sym_word,
  },
  [16] = {
    [2] = alias_sym_special_variable_name,
    [4] = alias_sym_regex,
  },
  [17] = {
    [2] = alias_sym_variable_name,
    [4] = alias_sym_regex,
  },
  [18] = {
    [4] = alias_sym_regex,
  },
  [19] = {
    [1] = alias_sym_word,
    [5] = alias_sym_case_item,
  },
  [20] = {
    [5] = alias_sym_case_item,
  },
  [21] = {
    [1] = alias_sym_word,
    [6] = alias_sym_case_item,
  },
  [22] = {
    [6] = alias_sym_case_item,
  },
};

static bool ts_lex(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  switch (state) {
    case 0:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '%')
        ADVANCE(11);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '*')
        ADVANCE(20);
      if (lookahead == '+')
        ADVANCE(21);
      if (lookahead == '-')
        ADVANCE(23);
      if (lookahead == '/')
        ADVANCE(24);
      if (lookahead == '0')
        ADVANCE(25);
      if (lookahead == ':')
        ADVANCE(26);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(37);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '?')
        ADVANCE(44);
      if (lookahead == '@')
        ADVANCE(45);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(48);
      if (lookahead == ']')
        ADVANCE(49);
      if (lookahead == '_')
        ADVANCE(50);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == 'i')
        ADVANCE(56);
      if (lookahead == '{')
        ADVANCE(58);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(62);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(0);
      ADVANCE(5);
      END_STATE();
    case 1:
      ACCEPT_TOKEN(ts_builtin_sym_end);
      END_STATE();
    case 2:
      ACCEPT_TOKEN(anon_sym_LF);
      END_STATE();
    case 3:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 4:
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(5);
      END_STATE();
    case 5:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 6:
      ACCEPT_TOKEN(anon_sym_DQUOTE);
      END_STATE();
    case 7:
      ACCEPT_TOKEN(anon_sym_POUND);
      END_STATE();
    case 8:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      if (lookahead == '(')
        ADVANCE(9);
      if (lookahead == '{')
        ADVANCE(10);
      END_STATE();
    case 9:
      ACCEPT_TOKEN(anon_sym_DOLLAR_LPAREN);
      END_STATE();
    case 10:
      ACCEPT_TOKEN(anon_sym_DOLLAR_LBRACE);
      END_STATE();
    case 11:
      ACCEPT_TOKEN(anon_sym_PERCENT);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 12:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (lookahead == '&')
        ADVANCE(13);
      if (lookahead == '>')
        ADVANCE(14);
      END_STATE();
    case 13:
      ACCEPT_TOKEN(anon_sym_AMP_AMP);
      END_STATE();
    case 14:
      ACCEPT_TOKEN(anon_sym_AMP_GT);
      if (lookahead == '>')
        ADVANCE(15);
      END_STATE();
    case 15:
      ACCEPT_TOKEN(anon_sym_AMP_GT_GT);
      END_STATE();
    case 16:
      if (lookahead == '\'')
        ADVANCE(17);
      if (lookahead != 0)
        ADVANCE(16);
      END_STATE();
    case 17:
      ACCEPT_TOKEN(sym_raw_string);
      END_STATE();
    case 18:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 19:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 20:
      ACCEPT_TOKEN(anon_sym_STAR);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 21:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '=')
        ADVANCE(22);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < ';' || lookahead > '>') &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 22:
      ACCEPT_TOKEN(anon_sym_PLUS_EQ);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 23:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 24:
      ACCEPT_TOKEN(anon_sym_SLASH);
      END_STATE();
    case 25:
      ACCEPT_TOKEN(anon_sym_0);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 26:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead == '-')
        ADVANCE(27);
      if (lookahead == '?')
        ADVANCE(28);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          lookahead != '?' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 27:
      ACCEPT_TOKEN(anon_sym_COLON_DASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 28:
      ACCEPT_TOKEN(anon_sym_COLON_QMARK);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 29:
      ACCEPT_TOKEN(anon_sym_SEMI);
      if (lookahead == ';')
        ADVANCE(30);
      END_STATE();
    case 30:
      ACCEPT_TOKEN(anon_sym_SEMI_SEMI);
      END_STATE();
    case 31:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(32);
      if (lookahead == '(')
        ADVANCE(33);
      if (lookahead == '<')
        ADVANCE(34);
      END_STATE();
    case 32:
      ACCEPT_TOKEN(anon_sym_LT_AMP);
      END_STATE();
    case 33:
      ACCEPT_TOKEN(anon_sym_LT_LPAREN);
      END_STATE();
    case 34:
      ACCEPT_TOKEN(anon_sym_LT_LT);
      if (lookahead == '-')
        ADVANCE(35);
      if (lookahead == '<')
        ADVANCE(36);
      END_STATE();
    case 35:
      ACCEPT_TOKEN(anon_sym_LT_LT_DASH);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_LT_LT_LT);
      END_STATE();
    case 37:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=')
        ADVANCE(38);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == '~')
        ADVANCE(39);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < ';' || lookahead > '>') &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '~'))
        ADVANCE(5);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(anon_sym_EQ_EQ);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 39:
      ACCEPT_TOKEN(anon_sym_EQ_TILDE);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 40:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '&')
        ADVANCE(41);
      if (lookahead == '(')
        ADVANCE(42);
      if (lookahead == '>')
        ADVANCE(43);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(anon_sym_GT_AMP);
      END_STATE();
    case 42:
      ACCEPT_TOKEN(anon_sym_GT_LPAREN);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_GT_GT);
      END_STATE();
    case 44:
      ACCEPT_TOKEN(anon_sym_QMARK);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 45:
      ACCEPT_TOKEN(anon_sym_AT);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 46:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      if (lookahead == '[')
        ADVANCE(47);
      END_STATE();
    case 47:
      ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK);
      END_STATE();
    case 48:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(0);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 49:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 50:
      ACCEPT_TOKEN(anon_sym__);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 51:
      ACCEPT_TOKEN(anon_sym_BQUOTE);
      END_STATE();
    case 52:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 's')
        ADVANCE(53);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 53:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'a')
        ADVANCE(54);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          lookahead != 'a' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 54:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'c')
        ADVANCE(55);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 55:
      ACCEPT_TOKEN(anon_sym_esac);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'n')
        ADVANCE(57);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 57:
      ACCEPT_TOKEN(anon_sym_in);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 58:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 59:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '&')
        ADVANCE(60);
      if (lookahead == '|')
        ADVANCE(61);
      END_STATE();
    case 60:
      ACCEPT_TOKEN(anon_sym_PIPE_AMP);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 62:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 63:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(67);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(63);
      if ((lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 64:
      ACCEPT_TOKEN(sym_comment);
      if (lookahead != 0 &&
          lookahead != '\n')
        ADVANCE(64);
      END_STATE();
    case 65:
      if (lookahead == '>')
        ADVANCE(14);
      END_STATE();
    case 66:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(32);
      if (lookahead == '(')
        ADVANCE(33);
      END_STATE();
    case 67:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(63);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 68:
      ACCEPT_TOKEN(sym__special_characters);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      END_STATE();
    case 69:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '+')
        ADVANCE(70);
      if (lookahead == '=')
        ADVANCE(72);
      if (lookahead == '[')
        ADVANCE(73);
      if (lookahead == '\\')
        SKIP(74);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(69);
      END_STATE();
    case 70:
      if (lookahead == '=')
        ADVANCE(71);
      END_STATE();
    case 71:
      ACCEPT_TOKEN(anon_sym_PLUS_EQ);
      END_STATE();
    case 72:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 73:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 74:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(69);
      END_STATE();
    case 75:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '(')
        ADVANCE(76);
      if (lookahead == '\\')
        SKIP(78);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(75);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 76:
      if (lookahead == '(')
        ADVANCE(77);
      END_STATE();
    case 77:
      ACCEPT_TOKEN(anon_sym_LPAREN_LPAREN);
      END_STATE();
    case 78:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(75);
      END_STATE();
    case 79:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 80:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(81);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(80);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 81:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(80);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 82:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(83);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(82);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 83:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(82);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 84:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '-')
        ADVANCE(85);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(89);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(84);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 85:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(86);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '`' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 86:
      ACCEPT_TOKEN(sym_test_operator);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(86);
      END_STATE();
    case 87:
      if (lookahead == '(')
        ADVANCE(33);
      END_STATE();
    case 88:
      if (lookahead == '(')
        ADVANCE(42);
      END_STATE();
    case 89:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(84);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 90:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(92);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(90);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 91:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (lookahead == '&')
        ADVANCE(13);
      END_STATE();
    case 92:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(90);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 93:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '_' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 94:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(96);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(94);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 95:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '=')
        ADVANCE(38);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == '~')
        ADVANCE(39);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < ';' || lookahead > '>') &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '~'))
        ADVANCE(5);
      END_STATE();
    case 96:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(94);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 97:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(98);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\\')
        ADVANCE(102);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(103);
      if (lookahead != 0)
        ADVANCE(99);
      END_STATE();
    case 98:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(99);
      if (lookahead == '\\')
        ADVANCE(101);
      if (lookahead != 0 &&
          lookahead != '\"' &&
          lookahead != '$' &&
          lookahead != '`')
        ADVANCE(98);
      END_STATE();
    case 99:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\\')
        ADVANCE(100);
      if (lookahead != 0 &&
          lookahead != '\"' &&
          lookahead != '$' &&
          lookahead != '`')
        ADVANCE(99);
      END_STATE();
    case 100:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(99);
      if (lookahead == '\\')
        ADVANCE(100);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(99);
      if (lookahead != 0)
        ADVANCE(99);
      END_STATE();
    case 101:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(99);
      if (lookahead == '\\')
        ADVANCE(101);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(98);
      if (lookahead != 0)
        ADVANCE(98);
      END_STATE();
    case 102:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(103);
      if (lookahead == '\\')
        ADVANCE(100);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(103);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(99);
      if (lookahead != 0)
        ADVANCE(99);
      END_STATE();
    case 103:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '#')
        ADVANCE(98);
      if (lookahead == '\\')
        ADVANCE(102);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(103);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          lookahead != '`')
        ADVANCE(99);
      END_STATE();
    case 104:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(105);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '*')
        ADVANCE(106);
      if (lookahead == '-')
        ADVANCE(107);
      if (lookahead == '0')
        ADVANCE(108);
      if (lookahead == '?')
        ADVANCE(109);
      if (lookahead == '@')
        ADVANCE(110);
      if (lookahead == '\\')
        SKIP(111);
      if (lookahead == '_')
        ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(104);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 105:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      END_STATE();
    case 106:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 107:
      ACCEPT_TOKEN(anon_sym_DASH);
      END_STATE();
    case 108:
      ACCEPT_TOKEN(anon_sym_0);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 109:
      ACCEPT_TOKEN(anon_sym_QMARK);
      END_STATE();
    case 110:
      ACCEPT_TOKEN(anon_sym_AT);
      END_STATE();
    case 111:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(104);
      END_STATE();
    case 112:
      ACCEPT_TOKEN(anon_sym__);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 113:
      if (lookahead == '!')
        ADVANCE(114);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(105);
      if (lookahead == '*')
        ADVANCE(106);
      if (lookahead == '-')
        ADVANCE(107);
      if (lookahead == '0')
        ADVANCE(108);
      if (lookahead == '?')
        ADVANCE(109);
      if (lookahead == '@')
        ADVANCE(110);
      if (lookahead == '\\')
        SKIP(115);
      if (lookahead == '_')
        ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(113);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 114:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 115:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(113);
      END_STATE();
    case 116:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(117);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(116);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 117:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(116);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 118:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '\\')
        SKIP(119);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(118);
      END_STATE();
    case 119:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(118);
      END_STATE();
    case 120:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '\\')
        SKIP(121);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(120);
      END_STATE();
    case 121:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(120);
      END_STATE();
    case 122:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(123);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(122);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 123:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(122);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 124:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(125);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(124);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 125:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(124);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 126:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(127);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(126);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 127:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(126);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 128:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(129);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '-')
        ADVANCE(85);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(130);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(128);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 129:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 130:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(128);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 131:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(129);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '\\')
        SKIP(132);
      if (lookahead == 'i')
        ADVANCE(133);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(131);
      END_STATE();
    case 132:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(131);
      END_STATE();
    case 133:
      if (lookahead == 'n')
        ADVANCE(134);
      END_STATE();
    case 134:
      ACCEPT_TOKEN(anon_sym_in);
      END_STATE();
    case 135:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '\\')
        SKIP(136);
      if (lookahead == '{')
        ADVANCE(58);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(135);
      END_STATE();
    case 136:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(135);
      END_STATE();
    case 137:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(138);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(137);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 138:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(137);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 139:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(140);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(139);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 140:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(139);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 141:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(142);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(141);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 142:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(141);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 143:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '\\')
        SKIP(144);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(143);
      END_STATE();
    case 144:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(143);
      END_STATE();
    case 145:
      if (lookahead == 's')
        ADVANCE(146);
      END_STATE();
    case 146:
      if (lookahead == 'a')
        ADVANCE(147);
      END_STATE();
    case 147:
      if (lookahead == 'c')
        ADVANCE(148);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_esac);
      END_STATE();
    case 149:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(160);
      if (lookahead == ']')
        ADVANCE(49);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(149);
      END_STATE();
    case 150:
      if (lookahead == '=')
        ADVANCE(151);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 152:
      if (lookahead == '&')
        ADVANCE(13);
      END_STATE();
    case 153:
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(154);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(sym_test_operator);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(154);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_LT);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=')
        ADVANCE(157);
      if (lookahead == '~')
        ADVANCE(158);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(anon_sym_EQ_EQ);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_EQ_TILDE);
      END_STATE();
    case 159:
      ACCEPT_TOKEN(anon_sym_GT);
      END_STATE();
    case 160:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(149);
      END_STATE();
    case 161:
      if (lookahead == '|')
        ADVANCE(61);
      END_STATE();
    case 162:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(163);
      if (lookahead == ']')
        ADVANCE(164);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(162);
      END_STATE();
    case 163:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(162);
      END_STATE();
    case 164:
      if (lookahead == ']')
        ADVANCE(165);
      END_STATE();
    case 165:
      ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK);
      END_STATE();
    case 166:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(105);
      if (lookahead == '*')
        ADVANCE(106);
      if (lookahead == '-')
        ADVANCE(107);
      if (lookahead == '0')
        ADVANCE(167);
      if (lookahead == '?')
        ADVANCE(109);
      if (lookahead == '@')
        ADVANCE(110);
      if (lookahead == '\\')
        ADVANCE(169);
      if (lookahead == '_')
        ADVANCE(171);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(170);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(168);
      if (lookahead != 0 &&
          (lookahead < '_' || lookahead > 'z'))
        ADVANCE(99);
      END_STATE();
    case 167:
      ACCEPT_TOKEN(anon_sym_0);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(168);
      END_STATE();
    case 168:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(168);
      END_STATE();
    case 169:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(170);
      if (lookahead == '\\')
        ADVANCE(100);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(170);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(99);
      if (lookahead != 0)
        ADVANCE(99);
      END_STATE();
    case 170:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '*')
        ADVANCE(106);
      if (lookahead == '-')
        ADVANCE(107);
      if (lookahead == '0')
        ADVANCE(167);
      if (lookahead == '?')
        ADVANCE(109);
      if (lookahead == '@')
        ADVANCE(110);
      if (lookahead == '\\')
        ADVANCE(169);
      if (lookahead == '_')
        ADVANCE(171);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(170);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(168);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '_' || lookahead > 'z'))
        ADVANCE(99);
      END_STATE();
    case 171:
      ACCEPT_TOKEN(anon_sym__);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(168);
      END_STATE();
    case 172:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(105);
      if (lookahead == '*')
        ADVANCE(106);
      if (lookahead == '-')
        ADVANCE(107);
      if (lookahead == '0')
        ADVANCE(108);
      if (lookahead == '?')
        ADVANCE(109);
      if (lookahead == '@')
        ADVANCE(110);
      if (lookahead == '\\')
        SKIP(173);
      if (lookahead == '_')
        ADVANCE(112);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(172);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(79);
      END_STATE();
    case 173:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(172);
      END_STATE();
    case 174:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '%')
        ADVANCE(11);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '-')
        ADVANCE(23);
      if (lookahead == '/')
        ADVANCE(24);
      if (lookahead == ':')
        ADVANCE(26);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '=')
        ADVANCE(175);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(176);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(62);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(174);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > ')') &&
          (lookahead < ':' || lookahead > '>') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 175:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 176:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(174);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 177:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(178);
      if (lookahead == '\\')
        SKIP(179);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(177);
      END_STATE();
    case 178:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      if (lookahead == '{')
        ADVANCE(10);
      END_STATE();
    case 179:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(177);
      END_STATE();
    case 180:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(181);
      if (lookahead == '$')
        ADVANCE(183);
      if (lookahead == '\'')
        ADVANCE(188);
      if (lookahead == '<')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(193);
      if (lookahead == '[')
        ADVANCE(195);
      if (lookahead == '\\')
        ADVANCE(196);
      if (lookahead == ']')
        ADVANCE(195);
      if (lookahead == '`')
        ADVANCE(202);
      if (lookahead == '{')
        ADVANCE(195);
      if (lookahead == '}')
        ADVANCE(195);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(180);
      if (('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '|')
        ADVANCE(186);
      if (lookahead != 0)
        ADVANCE(199);
      END_STATE();
    case 181:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(182);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(181);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(182);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(181);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(181);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      if (lookahead == '(')
        ADVANCE(184);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead == '{')
        ADVANCE(187);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(anon_sym_DOLLAR_LPAREN);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(186);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 187:
      ACCEPT_TOKEN(anon_sym_DOLLAR_LBRACE);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 188:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\'')
        ADVANCE(189);
      if (lookahead == '\\')
        ADVANCE(190);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(16);
      if (lookahead != 0)
        ADVANCE(188);
      END_STATE();
    case 189:
      ACCEPT_TOKEN(sym_raw_string);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 190:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\n')
        ADVANCE(16);
      if (lookahead == '\'')
        ADVANCE(189);
      if (lookahead == '\\')
        ADVANCE(190);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(188);
      if (lookahead != 0)
        ADVANCE(188);
      END_STATE();
    case 191:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '(')
        ADVANCE(192);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 192:
      ACCEPT_TOKEN(anon_sym_LT_LPAREN);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 193:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '(')
        ADVANCE(194);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(anon_sym_GT_LPAREN);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 195:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '[')
        ADVANCE(195);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead == ']')
        ADVANCE(195);
      if (lookahead == '{')
        ADVANCE(195);
      if (lookahead == '}')
        ADVANCE(195);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 196:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(197);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(200);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(199);
      END_STATE();
    case 197:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(198);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(186);
      if (('\"' <= lookahead && lookahead <= '$') ||
          ('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '<' ||
          lookahead == '>' ||
          ('[' <= lookahead && lookahead <= ']') ||
          lookahead == '`' ||
          ('{' <= lookahead && lookahead <= '}'))
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(199);
      END_STATE();
    case 198:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(197);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(199);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(198);
      if (('\"' <= lookahead && lookahead <= '$') ||
          ('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '<' ||
          lookahead == '>' ||
          ('[' <= lookahead && lookahead <= ']') ||
          lookahead == '`' ||
          ('{' <= lookahead && lookahead <= '}'))
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(199);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\"')
        ADVANCE(201);
      if (lookahead == '#')
        ADVANCE(181);
      if (lookahead == '$')
        ADVANCE(183);
      if (lookahead == '\'')
        ADVANCE(188);
      if (lookahead == '<')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(193);
      if (lookahead == '[')
        ADVANCE(195);
      if (lookahead == '\\')
        ADVANCE(196);
      if (lookahead == ']')
        ADVANCE(195);
      if (lookahead == '`')
        ADVANCE(202);
      if (lookahead == '{')
        ADVANCE(195);
      if (lookahead == '}')
        ADVANCE(195);
      if (('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '|')
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(199);
      END_STATE();
    case 201:
      ACCEPT_TOKEN(anon_sym_DQUOTE);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 202:
      ACCEPT_TOKEN(anon_sym_BQUOTE);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 203:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(204);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(206);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(203);
      END_STATE();
    case 204:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(32);
      if (lookahead == '<')
        ADVANCE(34);
      END_STATE();
    case 205:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '&')
        ADVANCE(41);
      if (lookahead == '>')
        ADVANCE(43);
      END_STATE();
    case 206:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(203);
      END_STATE();
    case 207:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(208);
      if (lookahead == ']')
        ADVANCE(49);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(207);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 208:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(207);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 209:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(210);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(209);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 210:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(209);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 211:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(212);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(211);
      END_STATE();
    case 212:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(211);
      END_STATE();
    case 213:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(214);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(62);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(213);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 214:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(213);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 215:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(216);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(217);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(215);
      END_STATE();
    case 216:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(32);
      END_STATE();
    case 217:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(215);
      END_STATE();
    case 218:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(219);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(218);
      if (lookahead != 0 &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 219:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(218);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 220:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(204);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(221);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(220);
      END_STATE();
    case 221:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(220);
      END_STATE();
    case 222:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(223);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(222);
      END_STATE();
    case 223:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(222);
      END_STATE();
    case 224:
      if (lookahead == '!')
        ADVANCE(225);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(181);
      if (lookahead == '$')
        ADVANCE(183);
      if (lookahead == '\'')
        ADVANCE(188);
      if (lookahead == '(')
        ADVANCE(226);
      if (lookahead == '-')
        ADVANCE(227);
      if (lookahead == '<')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(193);
      if (lookahead == '[')
        ADVANCE(195);
      if (lookahead == '\\')
        ADVANCE(229);
      if (lookahead == ']')
        ADVANCE(195);
      if (lookahead == '`')
        ADVANCE(202);
      if (lookahead == '{')
        ADVANCE(195);
      if (lookahead == '}')
        ADVANCE(195);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(224);
      if (('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '|')
        ADVANCE(186);
      if (lookahead != 0)
        ADVANCE(199);
      END_STATE();
    case 225:
      ACCEPT_TOKEN(anon_sym_BANG);
      if (lookahead == '\\')
        ADVANCE(198);
      if (('\"' <= lookahead && lookahead <= '$') ||
          ('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '<' ||
          lookahead == '>' ||
          ('[' <= lookahead && lookahead <= ']') ||
          lookahead == '`' ||
          ('{' <= lookahead && lookahead <= '}'))
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(199);
      END_STATE();
    case 226:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      if (lookahead == '\\')
        ADVANCE(185);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(186);
      END_STATE();
    case 227:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(198);
      if (('\"' <= lookahead && lookahead <= '$') ||
          ('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '<' ||
          lookahead == '>' ||
          ('[' <= lookahead && lookahead <= ']') ||
          lookahead == '`' ||
          ('{' <= lookahead && lookahead <= '}'))
        ADVANCE(186);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(228);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ')
        ADVANCE(199);
      END_STATE();
    case 228:
      ACCEPT_TOKEN(sym_test_operator);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(228);
      END_STATE();
    case 229:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '\\')
        ADVANCE(197);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(230);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(199);
      END_STATE();
    case 230:
      ACCEPT_TOKEN(sym_regex);
      if (lookahead == '!')
        ADVANCE(225);
      if (lookahead == '\"')
        ADVANCE(201);
      if (lookahead == '#')
        ADVANCE(181);
      if (lookahead == '$')
        ADVANCE(183);
      if (lookahead == '\'')
        ADVANCE(188);
      if (lookahead == '(')
        ADVANCE(226);
      if (lookahead == '-')
        ADVANCE(227);
      if (lookahead == '<')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(193);
      if (lookahead == '[')
        ADVANCE(195);
      if (lookahead == '\\')
        ADVANCE(229);
      if (lookahead == ']')
        ADVANCE(195);
      if (lookahead == '`')
        ADVANCE(202);
      if (lookahead == '{')
        ADVANCE(195);
      if (lookahead == '}')
        ADVANCE(195);
      if (('&' <= lookahead && lookahead <= ')') ||
          lookahead == ';' ||
          lookahead == '|')
        ADVANCE(186);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          (lookahead < ' ' || lookahead > '$'))
        ADVANCE(199);
      END_STATE();
    case 231:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(232);
      if (lookahead == ']')
        ADVANCE(164);
      if (lookahead == '|')
        ADVANCE(233);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(231);
      END_STATE();
    case 232:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(231);
      END_STATE();
    case 233:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '|')
        ADVANCE(61);
      END_STATE();
    case 234:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(235);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(62);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(234);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 235:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(234);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 236:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '%')
        ADVANCE(11);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '-')
        ADVANCE(23);
      if (lookahead == ':')
        ADVANCE(26);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '=')
        ADVANCE(175);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(237);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(62);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(236);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > ')') &&
          (lookahead < ':' || lookahead > '>') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 237:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(236);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 238:
      if (lookahead == '#')
        ADVANCE(239);
      if (lookahead == '\\')
        ADVANCE(241);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(238);
      if (lookahead != 0 &&
          lookahead != '\"' &&
          lookahead != '#' &&
          lookahead != '}')
        ADVANCE(243);
      END_STATE();
    case 239:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\\')
        ADVANCE(240);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          lookahead != '}')
        ADVANCE(239);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\\')
        ADVANCE(240);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ' ||
          lookahead == '}')
        ADVANCE(239);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(239);
      END_STATE();
    case 241:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\\')
        ADVANCE(242);
      if (lookahead == '}')
        ADVANCE(243);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(244);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(243);
      END_STATE();
    case 242:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\\')
        ADVANCE(242);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ' ||
          lookahead == '}')
        ADVANCE(243);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n')
        ADVANCE(243);
      END_STATE();
    case 243:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\\')
        ADVANCE(242);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          lookahead != '}')
        ADVANCE(243);
      END_STATE();
    case 244:
      ACCEPT_TOKEN(sym_regex_without_right_brace);
      if (lookahead == '\"')
        ADVANCE(243);
      if (lookahead == '#')
        ADVANCE(239);
      if (lookahead == '\\')
        ADVANCE(241);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          lookahead != '}')
        ADVANCE(243);
      END_STATE();
    case 245:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(204);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(246);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(245);
      END_STATE();
    case 246:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(245);
      END_STATE();
    case 247:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(204);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(248);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(247);
      END_STATE();
    case 248:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(247);
      END_STATE();
    case 249:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(250);
      if (lookahead == '-')
        ADVANCE(85);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(252);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(249);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 250:
      if (lookahead == ')')
        ADVANCE(251);
      END_STATE();
    case 251:
      ACCEPT_TOKEN(anon_sym_RPAREN_RPAREN);
      END_STATE();
    case 252:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(249);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 253:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(254);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(253);
      END_STATE();
    case 254:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(253);
      END_STATE();
    case 255:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(129);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(256);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(255);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 256:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(255);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 257:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(258);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(257);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 258:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(257);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 259:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(216);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(260);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(259);
      END_STATE();
    case 260:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(259);
      END_STATE();
    case 261:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(216);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(262);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(261);
      END_STATE();
    case 262:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(261);
      END_STATE();
    case 263:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(264);
      if (lookahead == ']')
        ADVANCE(164);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(263);
      END_STATE();
    case 264:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(263);
      END_STATE();
    case 265:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(216);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(266);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(265);
      END_STATE();
    case 266:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(265);
      END_STATE();
    case 267:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ';')
        ADVANCE(268);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(269);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(267);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 268:
      if (lookahead == ';')
        ADVANCE(30);
      END_STATE();
    case 269:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(267);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 270:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '\\')
        ADVANCE(271);
      if (lookahead == '{')
        ADVANCE(58);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(270);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 271:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(270);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 272:
      if (lookahead == '!')
        ADVANCE(150);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(152);
      if (lookahead == ')')
        ADVANCE(250);
      if (lookahead == '-')
        ADVANCE(153);
      if (lookahead == '<')
        ADVANCE(155);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '>')
        ADVANCE(159);
      if (lookahead == '\\')
        SKIP(273);
      if (lookahead == '|')
        ADVANCE(161);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(272);
      END_STATE();
    case 273:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(272);
      END_STATE();
    case 274:
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == '\\')
        SKIP(275);
      if (lookahead == '|')
        ADVANCE(276);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(274);
      END_STATE();
    case 275:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(274);
      END_STATE();
    case 276:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 277:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '\\')
        SKIP(278);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(277);
      END_STATE();
    case 278:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(277);
      END_STATE();
    case 279:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(65);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ';')
        ADVANCE(268);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(46);
      if (lookahead == '\\')
        ADVANCE(280);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(279);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 280:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(279);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 281:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == ')')
        ADVANCE(19);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '\\')
        SKIP(282);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(281);
      END_STATE();
    case 282:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(281);
      END_STATE();
    case 283:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(91);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(87);
      if (lookahead == '>')
        ADVANCE(88);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(284);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(285);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(283);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 284:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(283);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 285:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 's')
        ADVANCE(286);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '_' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 286:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'a')
        ADVANCE(287);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '_' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 287:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'c')
        ADVANCE(288);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '_' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 288:
      ACCEPT_TOKEN(anon_sym_esac);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(93);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '_' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 289:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(290);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(289);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 290:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(289);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 291:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(31);
      if (lookahead == '=')
        ADVANCE(95);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(292);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(291);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 292:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(291);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 293:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(66);
      if (lookahead == '>')
        ADVANCE(40);
      if (lookahead == '[')
        ADVANCE(68);
      if (lookahead == '\\')
        ADVANCE(294);
      if (lookahead == ']')
        ADVANCE(68);
      if (lookahead == '`')
        ADVANCE(51);
      if (lookahead == 'e')
        ADVANCE(52);
      if (lookahead == '{')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '}')
        ADVANCE(68);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(293);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 294:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(293);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 295:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(204);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(296);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(295);
      END_STATE();
    case 296:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(295);
      END_STATE();
    case 297:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(64);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(29);
      if (lookahead == '<')
        ADVANCE(216);
      if (lookahead == '>')
        ADVANCE(205);
      if (lookahead == '\\')
        SKIP(298);
      if (lookahead == 'e')
        ADVANCE(145);
      if (lookahead == '|')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(297);
      END_STATE();
    case 298:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(297);
      END_STATE();
    default:
      return false;
  }
}

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
  START_LEXER();
  switch (state) {
    case 0:
      if (lookahead == 'c')
        ADVANCE(1);
      if (lookahead == 'd')
        ADVANCE(5);
      if (lookahead == 'e')
        ADVANCE(15);
      if (lookahead == 'f')
        ADVANCE(26);
      if (lookahead == 'i')
        ADVANCE(37);
      if (lookahead == 'l')
        ADVANCE(39);
      if (lookahead == 'r')
        ADVANCE(44);
      if (lookahead == 't')
        ADVANCE(52);
      if (lookahead == 'u')
        ADVANCE(62);
      if (lookahead == 'w')
        ADVANCE(70);
      END_STATE();
    case 1:
      if (lookahead == 'a')
        ADVANCE(2);
      END_STATE();
    case 2:
      if (lookahead == 's')
        ADVANCE(3);
      END_STATE();
    case 3:
      if (lookahead == 'e')
        ADVANCE(4);
      END_STATE();
    case 4:
      ACCEPT_TOKEN(anon_sym_case);
      END_STATE();
    case 5:
      if (lookahead == 'e')
        ADVANCE(6);
      if (lookahead == 'o')
        ADVANCE(12);
      END_STATE();
    case 6:
      if (lookahead == 'c')
        ADVANCE(7);
      END_STATE();
    case 7:
      if (lookahead == 'l')
        ADVANCE(8);
      END_STATE();
    case 8:
      if (lookahead == 'a')
        ADVANCE(9);
      END_STATE();
    case 9:
      if (lookahead == 'r')
        ADVANCE(10);
      END_STATE();
    case 10:
      if (lookahead == 'e')
        ADVANCE(11);
      END_STATE();
    case 11:
      ACCEPT_TOKEN(anon_sym_declare);
      END_STATE();
    case 12:
      ACCEPT_TOKEN(anon_sym_do);
      if (lookahead == 'n')
        ADVANCE(13);
      END_STATE();
    case 13:
      if (lookahead == 'e')
        ADVANCE(14);
      END_STATE();
    case 14:
      ACCEPT_TOKEN(anon_sym_done);
      END_STATE();
    case 15:
      if (lookahead == 'l')
        ADVANCE(16);
      if (lookahead == 'x')
        ADVANCE(21);
      END_STATE();
    case 16:
      if (lookahead == 'i')
        ADVANCE(17);
      if (lookahead == 's')
        ADVANCE(19);
      END_STATE();
    case 17:
      if (lookahead == 'f')
        ADVANCE(18);
      END_STATE();
    case 18:
      ACCEPT_TOKEN(anon_sym_elif);
      END_STATE();
    case 19:
      if (lookahead == 'e')
        ADVANCE(20);
      END_STATE();
    case 20:
      ACCEPT_TOKEN(anon_sym_else);
      END_STATE();
    case 21:
      if (lookahead == 'p')
        ADVANCE(22);
      END_STATE();
    case 22:
      if (lookahead == 'o')
        ADVANCE(23);
      END_STATE();
    case 23:
      if (lookahead == 'r')
        ADVANCE(24);
      END_STATE();
    case 24:
      if (lookahead == 't')
        ADVANCE(25);
      END_STATE();
    case 25:
      ACCEPT_TOKEN(anon_sym_export);
      END_STATE();
    case 26:
      if (lookahead == 'i')
        ADVANCE(27);
      if (lookahead == 'o')
        ADVANCE(28);
      if (lookahead == 'u')
        ADVANCE(30);
      END_STATE();
    case 27:
      ACCEPT_TOKEN(anon_sym_fi);
      END_STATE();
    case 28:
      if (lookahead == 'r')
        ADVANCE(29);
      END_STATE();
    case 29:
      ACCEPT_TOKEN(anon_sym_for);
      END_STATE();
    case 30:
      if (lookahead == 'n')
        ADVANCE(31);
      END_STATE();
    case 31:
      if (lookahead == 'c')
        ADVANCE(32);
      END_STATE();
    case 32:
      if (lookahead == 't')
        ADVANCE(33);
      END_STATE();
    case 33:
      if (lookahead == 'i')
        ADVANCE(34);
      END_STATE();
    case 34:
      if (lookahead == 'o')
        ADVANCE(35);
      END_STATE();
    case 35:
      if (lookahead == 'n')
        ADVANCE(36);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_function);
      END_STATE();
    case 37:
      if (lookahead == 'f')
        ADVANCE(38);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(anon_sym_if);
      END_STATE();
    case 39:
      if (lookahead == 'o')
        ADVANCE(40);
      END_STATE();
    case 40:
      if (lookahead == 'c')
        ADVANCE(41);
      END_STATE();
    case 41:
      if (lookahead == 'a')
        ADVANCE(42);
      END_STATE();
    case 42:
      if (lookahead == 'l')
        ADVANCE(43);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_local);
      END_STATE();
    case 44:
      if (lookahead == 'e')
        ADVANCE(45);
      END_STATE();
    case 45:
      if (lookahead == 'a')
        ADVANCE(46);
      END_STATE();
    case 46:
      if (lookahead == 'd')
        ADVANCE(47);
      END_STATE();
    case 47:
      if (lookahead == 'o')
        ADVANCE(48);
      END_STATE();
    case 48:
      if (lookahead == 'n')
        ADVANCE(49);
      END_STATE();
    case 49:
      if (lookahead == 'l')
        ADVANCE(50);
      END_STATE();
    case 50:
      if (lookahead == 'y')
        ADVANCE(51);
      END_STATE();
    case 51:
      ACCEPT_TOKEN(anon_sym_readonly);
      END_STATE();
    case 52:
      if (lookahead == 'h')
        ADVANCE(53);
      if (lookahead == 'y')
        ADVANCE(56);
      END_STATE();
    case 53:
      if (lookahead == 'e')
        ADVANCE(54);
      END_STATE();
    case 54:
      if (lookahead == 'n')
        ADVANCE(55);
      END_STATE();
    case 55:
      ACCEPT_TOKEN(anon_sym_then);
      END_STATE();
    case 56:
      if (lookahead == 'p')
        ADVANCE(57);
      END_STATE();
    case 57:
      if (lookahead == 'e')
        ADVANCE(58);
      END_STATE();
    case 58:
      if (lookahead == 's')
        ADVANCE(59);
      END_STATE();
    case 59:
      if (lookahead == 'e')
        ADVANCE(60);
      END_STATE();
    case 60:
      if (lookahead == 't')
        ADVANCE(61);
      END_STATE();
    case 61:
      ACCEPT_TOKEN(anon_sym_typeset);
      END_STATE();
    case 62:
      if (lookahead == 'n')
        ADVANCE(63);
      END_STATE();
    case 63:
      if (lookahead == 's')
        ADVANCE(64);
      END_STATE();
    case 64:
      if (lookahead == 'e')
        ADVANCE(65);
      END_STATE();
    case 65:
      if (lookahead == 't')
        ADVANCE(66);
      END_STATE();
    case 66:
      ACCEPT_TOKEN(anon_sym_unset);
      if (lookahead == 'e')
        ADVANCE(67);
      END_STATE();
    case 67:
      if (lookahead == 'n')
        ADVANCE(68);
      END_STATE();
    case 68:
      if (lookahead == 'v')
        ADVANCE(69);
      END_STATE();
    case 69:
      ACCEPT_TOKEN(anon_sym_unsetenv);
      END_STATE();
    case 70:
      if (lookahead == 'h')
        ADVANCE(71);
      END_STATE();
    case 71:
      if (lookahead == 'i')
        ADVANCE(72);
      END_STATE();
    case 72:
      if (lookahead == 'l')
        ADVANCE(73);
      END_STATE();
    case 73:
      if (lookahead == 'e')
        ADVANCE(74);
      END_STATE();
    case 74:
      ACCEPT_TOKEN(anon_sym_while);
      END_STATE();
    default:
      return false;
  }
}

static TSLexMode ts_lex_modes[STATE_COUNT] = {
  [0] = {.lex_state = 0, .external_lex_state = 1},
  [1] = {.lex_state = 63, .external_lex_state = 2},
  [2] = {.lex_state = 63},
  [3] = {.lex_state = 69},
  [4] = {.lex_state = 75},
  [5] = {.lex_state = 63, .external_lex_state = 2},
  [6] = {.lex_state = 63, .external_lex_state = 2},
  [7] = {.lex_state = 80},
  [8] = {.lex_state = 80},
  [9] = {.lex_state = 63, .external_lex_state = 2},
  [10] = {.lex_state = 82, .external_lex_state = 2},
  [11] = {.lex_state = 84},
  [12] = {.lex_state = 84},
  [13] = {.lex_state = 90, .external_lex_state = 3},
  [14] = {.lex_state = 90, .external_lex_state = 4},
  [15] = {.lex_state = 80},
  [16] = {.lex_state = 94, .external_lex_state = 5},
  [17] = {.lex_state = 97},
  [18] = {.lex_state = 104},
  [19] = {.lex_state = 94, .external_lex_state = 5},
  [20] = {.lex_state = 113, .external_lex_state = 6},
  [21] = {.lex_state = 63, .external_lex_state = 2},
  [22] = {.lex_state = 63, .external_lex_state = 2},
  [23] = {.lex_state = 63, .external_lex_state = 2},
  [24] = {.lex_state = 116, .external_lex_state = 5},
  [25] = {.lex_state = 118},
  [26] = {.lex_state = 120, .external_lex_state = 4},
  [27] = {.lex_state = 94, .external_lex_state = 7},
  [28] = {.lex_state = 122, .external_lex_state = 8},
  [29] = {.lex_state = 69},
  [30] = {.lex_state = 80, .external_lex_state = 2},
  [31] = {.lex_state = 124, .external_lex_state = 7},
  [32] = {.lex_state = 63, .external_lex_state = 2},
  [33] = {.lex_state = 80, .external_lex_state = 2},
  [34] = {.lex_state = 80},
  [35] = {.lex_state = 80},
  [36] = {.lex_state = 126, .external_lex_state = 9},
  [37] = {.lex_state = 128, .external_lex_state = 4},
  [38] = {.lex_state = 131, .external_lex_state = 4},
  [39] = {.lex_state = 69},
  [40] = {.lex_state = 63, .external_lex_state = 2},
  [41] = {.lex_state = 80},
  [42] = {.lex_state = 82, .external_lex_state = 2},
  [43] = {.lex_state = 84},
  [44] = {.lex_state = 84},
  [45] = {.lex_state = 90, .external_lex_state = 3},
  [46] = {.lex_state = 90, .external_lex_state = 4},
  [47] = {.lex_state = 94, .external_lex_state = 5},
  [48] = {.lex_state = 94, .external_lex_state = 5},
  [49] = {.lex_state = 116, .external_lex_state = 5},
  [50] = {.lex_state = 80},
  [51] = {.lex_state = 90, .external_lex_state = 4},
  [52] = {.lex_state = 94, .external_lex_state = 7},
  [53] = {.lex_state = 122, .external_lex_state = 8},
  [54] = {.lex_state = 69},
  [55] = {.lex_state = 80, .external_lex_state = 2},
  [56] = {.lex_state = 80},
  [57] = {.lex_state = 131, .external_lex_state = 10},
  [58] = {.lex_state = 97},
  [59] = {.lex_state = 104},
  [60] = {.lex_state = 131, .external_lex_state = 10},
  [61] = {.lex_state = 113, .external_lex_state = 6},
  [62] = {.lex_state = 63, .external_lex_state = 2},
  [63] = {.lex_state = 63, .external_lex_state = 2},
  [64] = {.lex_state = 63, .external_lex_state = 2},
  [65] = {.lex_state = 131, .external_lex_state = 4},
  [66] = {.lex_state = 135},
  [67] = {.lex_state = 69},
  [68] = {.lex_state = 63, .external_lex_state = 2},
  [69] = {.lex_state = 80},
  [70] = {.lex_state = 82, .external_lex_state = 2},
  [71] = {.lex_state = 84},
  [72] = {.lex_state = 84},
  [73] = {.lex_state = 137, .external_lex_state = 3},
  [74] = {.lex_state = 137, .external_lex_state = 4},
  [75] = {.lex_state = 124, .external_lex_state = 5},
  [76] = {.lex_state = 124, .external_lex_state = 5},
  [77] = {.lex_state = 139, .external_lex_state = 5},
  [78] = {.lex_state = 137, .external_lex_state = 4},
  [79] = {.lex_state = 124, .external_lex_state = 7},
  [80] = {.lex_state = 141, .external_lex_state = 8},
  [81] = {.lex_state = 69},
  [82] = {.lex_state = 63, .external_lex_state = 2},
  [83] = {.lex_state = 80, .external_lex_state = 2},
  [84] = {.lex_state = 69},
  [85] = {.lex_state = 143, .external_lex_state = 4},
  [86] = {.lex_state = 69},
  [87] = {.lex_state = 84},
  [88] = {.lex_state = 84},
  [89] = {.lex_state = 149, .external_lex_state = 11},
  [90] = {.lex_state = 97},
  [91] = {.lex_state = 104},
  [92] = {.lex_state = 149, .external_lex_state = 11},
  [93] = {.lex_state = 113, .external_lex_state = 6},
  [94] = {.lex_state = 63, .external_lex_state = 2},
  [95] = {.lex_state = 63, .external_lex_state = 2},
  [96] = {.lex_state = 63, .external_lex_state = 2},
  [97] = {.lex_state = 149, .external_lex_state = 12},
  [98] = {.lex_state = 84},
  [99] = {.lex_state = 84},
  [100] = {.lex_state = 162, .external_lex_state = 13},
  [101] = {.lex_state = 97},
  [102] = {.lex_state = 104},
  [103] = {.lex_state = 162, .external_lex_state = 13},
  [104] = {.lex_state = 113, .external_lex_state = 6},
  [105] = {.lex_state = 63, .external_lex_state = 2},
  [106] = {.lex_state = 63, .external_lex_state = 2},
  [107] = {.lex_state = 63, .external_lex_state = 2},
  [108] = {.lex_state = 162},
  [109] = {.lex_state = 69},
  [110] = {.lex_state = 90, .external_lex_state = 14},
  [111] = {.lex_state = 97},
  [112] = {.lex_state = 104},
  [113] = {.lex_state = 90, .external_lex_state = 14},
  [114] = {.lex_state = 113, .external_lex_state = 6},
  [115] = {.lex_state = 63, .external_lex_state = 2},
  [116] = {.lex_state = 63, .external_lex_state = 2},
  [117] = {.lex_state = 63, .external_lex_state = 2},
  [118] = {.lex_state = 137, .external_lex_state = 3},
  [119] = {.lex_state = 69},
  [120] = {.lex_state = 90, .external_lex_state = 3},
  [121] = {.lex_state = 90, .external_lex_state = 10},
  [122] = {.lex_state = 97},
  [123] = {.lex_state = 104},
  [124] = {.lex_state = 90, .external_lex_state = 10},
  [125] = {.lex_state = 113, .external_lex_state = 6},
  [126] = {.lex_state = 63, .external_lex_state = 2},
  [127] = {.lex_state = 63, .external_lex_state = 2},
  [128] = {.lex_state = 63, .external_lex_state = 2},
  [129] = {.lex_state = 137, .external_lex_state = 4},
  [130] = {.lex_state = 90, .external_lex_state = 4},
  [131] = {.lex_state = 80, .external_lex_state = 15},
  [132] = {.lex_state = 97},
  [133] = {.lex_state = 104},
  [134] = {.lex_state = 80, .external_lex_state = 15},
  [135] = {.lex_state = 113, .external_lex_state = 6},
  [136] = {.lex_state = 63, .external_lex_state = 2},
  [137] = {.lex_state = 63, .external_lex_state = 2},
  [138] = {.lex_state = 63, .external_lex_state = 2},
  [139] = {.lex_state = 80, .external_lex_state = 2},
  [140] = {.lex_state = 80},
  [141] = {.lex_state = 94, .external_lex_state = 5},
  [142] = {.lex_state = 124, .external_lex_state = 5},
  [143] = {.lex_state = 166},
  [144] = {.lex_state = 97, .external_lex_state = 13},
  [145] = {.lex_state = 113, .external_lex_state = 6},
  [146] = {.lex_state = 63, .external_lex_state = 2},
  [147] = {.lex_state = 63, .external_lex_state = 2},
  [148] = {.lex_state = 97},
  [149] = {.lex_state = 124, .external_lex_state = 5},
  [150] = {.lex_state = 124, .external_lex_state = 5},
  [151] = {.lex_state = 124, .external_lex_state = 5},
  [152] = {.lex_state = 69},
  [153] = {.lex_state = 172, .external_lex_state = 6},
  [154] = {.lex_state = 174, .external_lex_state = 16},
  [155] = {.lex_state = 174, .external_lex_state = 16},
  [156] = {.lex_state = 174, .external_lex_state = 16},
  [157] = {.lex_state = 137, .external_lex_state = 4},
  [158] = {.lex_state = 141, .external_lex_state = 8},
  [159] = {.lex_state = 63, .external_lex_state = 2},
  [160] = {.lex_state = 63, .external_lex_state = 2},
  [161] = {.lex_state = 80},
  [162] = {.lex_state = 82, .external_lex_state = 2},
  [163] = {.lex_state = 84},
  [164] = {.lex_state = 84},
  [165] = {.lex_state = 90, .external_lex_state = 3},
  [166] = {.lex_state = 90, .external_lex_state = 4},
  [167] = {.lex_state = 116, .external_lex_state = 5},
  [168] = {.lex_state = 90, .external_lex_state = 4},
  [169] = {.lex_state = 94, .external_lex_state = 7},
  [170] = {.lex_state = 122, .external_lex_state = 8},
  [171] = {.lex_state = 63, .external_lex_state = 2},
  [172] = {.lex_state = 80, .external_lex_state = 2},
  [173] = {.lex_state = 137, .external_lex_state = 4},
  [174] = {.lex_state = 141, .external_lex_state = 8},
  [175] = {.lex_state = 63, .external_lex_state = 2},
  [176] = {.lex_state = 84},
  [177] = {.lex_state = 63, .external_lex_state = 2},
  [178] = {.lex_state = 63, .external_lex_state = 2},
  [179] = {.lex_state = 63, .external_lex_state = 2},
  [180] = {.lex_state = 143, .external_lex_state = 4},
  [181] = {.lex_state = 177, .external_lex_state = 17},
  [182] = {.lex_state = 63},
  [183] = {.lex_state = 180},
  [184] = {.lex_state = 80},
  [185] = {.lex_state = 63, .external_lex_state = 18},
  [186] = {.lex_state = 80},
  [187] = {.lex_state = 94, .external_lex_state = 5},
  [188] = {.lex_state = 94, .external_lex_state = 5},
  [189] = {.lex_state = 143, .external_lex_state = 4},
  [190] = {.lex_state = 203, .external_lex_state = 7},
  [191] = {.lex_state = 94, .external_lex_state = 7},
  [192] = {.lex_state = 120, .external_lex_state = 4},
  [193] = {.lex_state = 122, .external_lex_state = 8},
  [194] = {.lex_state = 63, .external_lex_state = 2},
  [195] = {.lex_state = 94, .external_lex_state = 7},
  [196] = {.lex_state = 80, .external_lex_state = 2},
  [197] = {.lex_state = 80, .external_lex_state = 15},
  [198] = {.lex_state = 80, .external_lex_state = 15},
  [199] = {.lex_state = 80, .external_lex_state = 2},
  [200] = {.lex_state = 207, .external_lex_state = 11},
  [201] = {.lex_state = 207, .external_lex_state = 11},
  [202] = {.lex_state = 207, .external_lex_state = 11},
  [203] = {.lex_state = 141, .external_lex_state = 8},
  [204] = {.lex_state = 209},
  [205] = {.lex_state = 122, .external_lex_state = 19},
  [206] = {.lex_state = 97},
  [207] = {.lex_state = 104},
  [208] = {.lex_state = 122, .external_lex_state = 19},
  [209] = {.lex_state = 113, .external_lex_state = 6},
  [210] = {.lex_state = 63, .external_lex_state = 2},
  [211] = {.lex_state = 63, .external_lex_state = 2},
  [212] = {.lex_state = 63, .external_lex_state = 2},
  [213] = {.lex_state = 128, .external_lex_state = 4},
  [214] = {.lex_state = 84},
  [215] = {.lex_state = 84},
  [216] = {.lex_state = 211, .external_lex_state = 10},
  [217] = {.lex_state = 97},
  [218] = {.lex_state = 104},
  [219] = {.lex_state = 211, .external_lex_state = 10},
  [220] = {.lex_state = 113, .external_lex_state = 6},
  [221] = {.lex_state = 63, .external_lex_state = 2},
  [222] = {.lex_state = 63, .external_lex_state = 2},
  [223] = {.lex_state = 63, .external_lex_state = 2},
  [224] = {.lex_state = 211, .external_lex_state = 4},
  [225] = {.lex_state = 80},
  [226] = {.lex_state = 80},
  [227] = {.lex_state = 126, .external_lex_state = 9},
  [228] = {.lex_state = 80},
  [229] = {.lex_state = 135},
  [230] = {.lex_state = 149, .external_lex_state = 12},
  [231] = {.lex_state = 162},
  [232] = {.lex_state = 69},
  [233] = {.lex_state = 90, .external_lex_state = 14},
  [234] = {.lex_state = 90, .external_lex_state = 14},
  [235] = {.lex_state = 69},
  [236] = {.lex_state = 90, .external_lex_state = 3},
  [237] = {.lex_state = 90, .external_lex_state = 10},
  [238] = {.lex_state = 90, .external_lex_state = 10},
  [239] = {.lex_state = 90, .external_lex_state = 4},
  [240] = {.lex_state = 94, .external_lex_state = 5},
  [241] = {.lex_state = 84},
  [242] = {.lex_state = 63, .external_lex_state = 2},
  [243] = {.lex_state = 203, .external_lex_state = 7},
  [244] = {.lex_state = 63, .external_lex_state = 2},
  [245] = {.lex_state = 80},
  [246] = {.lex_state = 63, .external_lex_state = 2},
  [247] = {.lex_state = 63},
  [248] = {.lex_state = 180},
  [249] = {.lex_state = 80},
  [250] = {.lex_state = 80},
  [251] = {.lex_state = 94, .external_lex_state = 5},
  [252] = {.lex_state = 94, .external_lex_state = 5},
  [253] = {.lex_state = 203, .external_lex_state = 7},
  [254] = {.lex_state = 94, .external_lex_state = 7},
  [255] = {.lex_state = 94, .external_lex_state = 7},
  [256] = {.lex_state = 63, .external_lex_state = 2},
  [257] = {.lex_state = 80},
  [258] = {.lex_state = 128, .external_lex_state = 4},
  [259] = {.lex_state = 131},
  [260] = {.lex_state = 131, .external_lex_state = 10},
  [261] = {.lex_state = 131, .external_lex_state = 10},
  [262] = {.lex_state = 166},
  [263] = {.lex_state = 97},
  [264] = {.lex_state = 131, .external_lex_state = 10},
  [265] = {.lex_state = 131, .external_lex_state = 10},
  [266] = {.lex_state = 131, .external_lex_state = 10},
  [267] = {.lex_state = 128, .external_lex_state = 4},
  [268] = {.lex_state = 131},
  [269] = {.lex_state = 69},
  [270] = {.lex_state = 172, .external_lex_state = 6},
  [271] = {.lex_state = 174, .external_lex_state = 16},
  [272] = {.lex_state = 174, .external_lex_state = 16},
  [273] = {.lex_state = 174, .external_lex_state = 16},
  [274] = {.lex_state = 137, .external_lex_state = 4},
  [275] = {.lex_state = 141, .external_lex_state = 8},
  [276] = {.lex_state = 63, .external_lex_state = 2},
  [277] = {.lex_state = 90, .external_lex_state = 4},
  [278] = {.lex_state = 122, .external_lex_state = 8},
  [279] = {.lex_state = 63, .external_lex_state = 2},
  [280] = {.lex_state = 137, .external_lex_state = 4},
  [281] = {.lex_state = 141, .external_lex_state = 8},
  [282] = {.lex_state = 63, .external_lex_state = 2},
  [283] = {.lex_state = 84},
  [284] = {.lex_state = 213, .external_lex_state = 20},
  [285] = {.lex_state = 215, .external_lex_state = 21},
  [286] = {.lex_state = 126, .external_lex_state = 9},
  [287] = {.lex_state = 80},
  [288] = {.lex_state = 135},
  [289] = {.lex_state = 149, .external_lex_state = 12},
  [290] = {.lex_state = 162},
  [291] = {.lex_state = 69},
  [292] = {.lex_state = 137, .external_lex_state = 14},
  [293] = {.lex_state = 137, .external_lex_state = 14},
  [294] = {.lex_state = 69},
  [295] = {.lex_state = 137, .external_lex_state = 3},
  [296] = {.lex_state = 137, .external_lex_state = 10},
  [297] = {.lex_state = 137, .external_lex_state = 10},
  [298] = {.lex_state = 137, .external_lex_state = 4},
  [299] = {.lex_state = 124, .external_lex_state = 5},
  [300] = {.lex_state = 84},
  [301] = {.lex_state = 63, .external_lex_state = 2},
  [302] = {.lex_state = 143, .external_lex_state = 4},
  [303] = {.lex_state = 218, .external_lex_state = 2},
  [304] = {.lex_state = 63, .external_lex_state = 2},
  [305] = {.lex_state = 63},
  [306] = {.lex_state = 180},
  [307] = {.lex_state = 80},
  [308] = {.lex_state = 80},
  [309] = {.lex_state = 124, .external_lex_state = 5},
  [310] = {.lex_state = 124, .external_lex_state = 5},
  [311] = {.lex_state = 220, .external_lex_state = 7},
  [312] = {.lex_state = 124, .external_lex_state = 7},
  [313] = {.lex_state = 137, .external_lex_state = 4},
  [314] = {.lex_state = 141, .external_lex_state = 8},
  [315] = {.lex_state = 124, .external_lex_state = 7},
  [316] = {.lex_state = 126, .external_lex_state = 9},
  [317] = {.lex_state = 84},
  [318] = {.lex_state = 222, .external_lex_state = 13},
  [319] = {.lex_state = 222, .external_lex_state = 13},
  [320] = {.lex_state = 211},
  [321] = {.lex_state = 149, .external_lex_state = 12},
  [322] = {.lex_state = 80},
  [323] = {.lex_state = 149, .external_lex_state = 11},
  [324] = {.lex_state = 149, .external_lex_state = 11},
  [325] = {.lex_state = 166},
  [326] = {.lex_state = 97},
  [327] = {.lex_state = 149, .external_lex_state = 11},
  [328] = {.lex_state = 149, .external_lex_state = 11},
  [329] = {.lex_state = 149, .external_lex_state = 11},
  [330] = {.lex_state = 69},
  [331] = {.lex_state = 172, .external_lex_state = 6},
  [332] = {.lex_state = 174, .external_lex_state = 16},
  [333] = {.lex_state = 174, .external_lex_state = 16},
  [334] = {.lex_state = 174, .external_lex_state = 16},
  [335] = {.lex_state = 137, .external_lex_state = 4},
  [336] = {.lex_state = 141, .external_lex_state = 8},
  [337] = {.lex_state = 63, .external_lex_state = 2},
  [338] = {.lex_state = 90, .external_lex_state = 4},
  [339] = {.lex_state = 122, .external_lex_state = 8},
  [340] = {.lex_state = 63, .external_lex_state = 2},
  [341] = {.lex_state = 137, .external_lex_state = 4},
  [342] = {.lex_state = 141, .external_lex_state = 8},
  [343] = {.lex_state = 63, .external_lex_state = 2},
  [344] = {.lex_state = 84},
  [345] = {.lex_state = 203, .external_lex_state = 21},
  [346] = {.lex_state = 224},
  [347] = {.lex_state = 211},
  [348] = {.lex_state = 162},
  [349] = {.lex_state = 80},
  [350] = {.lex_state = 162, .external_lex_state = 13},
  [351] = {.lex_state = 231, .external_lex_state = 13},
  [352] = {.lex_state = 166},
  [353] = {.lex_state = 97},
  [354] = {.lex_state = 231, .external_lex_state = 13},
  [355] = {.lex_state = 231, .external_lex_state = 13},
  [356] = {.lex_state = 231, .external_lex_state = 13},
  [357] = {.lex_state = 69},
  [358] = {.lex_state = 172, .external_lex_state = 6},
  [359] = {.lex_state = 174, .external_lex_state = 16},
  [360] = {.lex_state = 174, .external_lex_state = 16},
  [361] = {.lex_state = 174, .external_lex_state = 16},
  [362] = {.lex_state = 137, .external_lex_state = 4},
  [363] = {.lex_state = 141, .external_lex_state = 8},
  [364] = {.lex_state = 63, .external_lex_state = 2},
  [365] = {.lex_state = 90, .external_lex_state = 4},
  [366] = {.lex_state = 122, .external_lex_state = 8},
  [367] = {.lex_state = 63, .external_lex_state = 2},
  [368] = {.lex_state = 137, .external_lex_state = 4},
  [369] = {.lex_state = 141, .external_lex_state = 8},
  [370] = {.lex_state = 63, .external_lex_state = 2},
  [371] = {.lex_state = 84},
  [372] = {.lex_state = 224},
  [373] = {.lex_state = 126, .external_lex_state = 9},
  [374] = {.lex_state = 80},
  [375] = {.lex_state = 90, .external_lex_state = 14},
  [376] = {.lex_state = 137, .external_lex_state = 14},
  [377] = {.lex_state = 166},
  [378] = {.lex_state = 97},
  [379] = {.lex_state = 137, .external_lex_state = 14},
  [380] = {.lex_state = 137, .external_lex_state = 14},
  [381] = {.lex_state = 137, .external_lex_state = 14},
  [382] = {.lex_state = 69},
  [383] = {.lex_state = 172, .external_lex_state = 6},
  [384] = {.lex_state = 174, .external_lex_state = 16},
  [385] = {.lex_state = 174, .external_lex_state = 16},
  [386] = {.lex_state = 174, .external_lex_state = 16},
  [387] = {.lex_state = 137, .external_lex_state = 4},
  [388] = {.lex_state = 141, .external_lex_state = 8},
  [389] = {.lex_state = 63, .external_lex_state = 2},
  [390] = {.lex_state = 90, .external_lex_state = 4},
  [391] = {.lex_state = 122, .external_lex_state = 8},
  [392] = {.lex_state = 63, .external_lex_state = 2},
  [393] = {.lex_state = 137, .external_lex_state = 4},
  [394] = {.lex_state = 141, .external_lex_state = 8},
  [395] = {.lex_state = 63, .external_lex_state = 2},
  [396] = {.lex_state = 90, .external_lex_state = 3},
  [397] = {.lex_state = 80},
  [398] = {.lex_state = 90, .external_lex_state = 10},
  [399] = {.lex_state = 137, .external_lex_state = 10},
  [400] = {.lex_state = 166},
  [401] = {.lex_state = 97},
  [402] = {.lex_state = 137, .external_lex_state = 10},
  [403] = {.lex_state = 137, .external_lex_state = 10},
  [404] = {.lex_state = 137, .external_lex_state = 10},
  [405] = {.lex_state = 69},
  [406] = {.lex_state = 172, .external_lex_state = 6},
  [407] = {.lex_state = 174, .external_lex_state = 16},
  [408] = {.lex_state = 174, .external_lex_state = 16},
  [409] = {.lex_state = 174, .external_lex_state = 16},
  [410] = {.lex_state = 137, .external_lex_state = 4},
  [411] = {.lex_state = 141, .external_lex_state = 8},
  [412] = {.lex_state = 63, .external_lex_state = 2},
  [413] = {.lex_state = 90, .external_lex_state = 4},
  [414] = {.lex_state = 122, .external_lex_state = 8},
  [415] = {.lex_state = 63, .external_lex_state = 2},
  [416] = {.lex_state = 137, .external_lex_state = 4},
  [417] = {.lex_state = 141, .external_lex_state = 8},
  [418] = {.lex_state = 63, .external_lex_state = 2},
  [419] = {.lex_state = 90, .external_lex_state = 4},
  [420] = {.lex_state = 80},
  [421] = {.lex_state = 80, .external_lex_state = 15},
  [422] = {.lex_state = 80, .external_lex_state = 15},
  [423] = {.lex_state = 166},
  [424] = {.lex_state = 97},
  [425] = {.lex_state = 80, .external_lex_state = 15},
  [426] = {.lex_state = 80, .external_lex_state = 15},
  [427] = {.lex_state = 80, .external_lex_state = 15},
  [428] = {.lex_state = 69},
  [429] = {.lex_state = 172, .external_lex_state = 6},
  [430] = {.lex_state = 174, .external_lex_state = 16},
  [431] = {.lex_state = 174, .external_lex_state = 16},
  [432] = {.lex_state = 174, .external_lex_state = 16},
  [433] = {.lex_state = 137, .external_lex_state = 4},
  [434] = {.lex_state = 141, .external_lex_state = 8},
  [435] = {.lex_state = 63, .external_lex_state = 2},
  [436] = {.lex_state = 90, .external_lex_state = 4},
  [437] = {.lex_state = 122, .external_lex_state = 8},
  [438] = {.lex_state = 63, .external_lex_state = 2},
  [439] = {.lex_state = 137, .external_lex_state = 4},
  [440] = {.lex_state = 141, .external_lex_state = 8},
  [441] = {.lex_state = 63, .external_lex_state = 2},
  [442] = {.lex_state = 124, .external_lex_state = 5},
  [443] = {.lex_state = 94, .external_lex_state = 5},
  [444] = {.lex_state = 124, .external_lex_state = 5},
  [445] = {.lex_state = 97, .external_lex_state = 13},
  [446] = {.lex_state = 97, .external_lex_state = 13},
  [447] = {.lex_state = 97, .external_lex_state = 13},
  [448] = {.lex_state = 97},
  [449] = {.lex_state = 69},
  [450] = {.lex_state = 172, .external_lex_state = 6},
  [451] = {.lex_state = 174, .external_lex_state = 16},
  [452] = {.lex_state = 174, .external_lex_state = 16},
  [453] = {.lex_state = 174, .external_lex_state = 16},
  [454] = {.lex_state = 137, .external_lex_state = 4},
  [455] = {.lex_state = 141, .external_lex_state = 8},
  [456] = {.lex_state = 63, .external_lex_state = 2},
  [457] = {.lex_state = 90, .external_lex_state = 4},
  [458] = {.lex_state = 122, .external_lex_state = 8},
  [459] = {.lex_state = 63, .external_lex_state = 2},
  [460] = {.lex_state = 166},
  [461] = {.lex_state = 97},
  [462] = {.lex_state = 80},
  [463] = {.lex_state = 234, .external_lex_state = 16},
  [464] = {.lex_state = 69},
  [465] = {.lex_state = 174, .external_lex_state = 16},
  [466] = {.lex_state = 174, .external_lex_state = 16},
  [467] = {.lex_state = 174, .external_lex_state = 16},
  [468] = {.lex_state = 124, .external_lex_state = 5},
  [469] = {.lex_state = 236, .external_lex_state = 22},
  [470] = {.lex_state = 97},
  [471] = {.lex_state = 104},
  [472] = {.lex_state = 236, .external_lex_state = 22},
  [473] = {.lex_state = 113, .external_lex_state = 6},
  [474] = {.lex_state = 238},
  [475] = {.lex_state = 63, .external_lex_state = 2},
  [476] = {.lex_state = 63, .external_lex_state = 2},
  [477] = {.lex_state = 63, .external_lex_state = 2},
  [478] = {.lex_state = 236, .external_lex_state = 16},
  [479] = {.lex_state = 124, .external_lex_state = 5},
  [480] = {.lex_state = 238},
  [481] = {.lex_state = 236, .external_lex_state = 16},
  [482] = {.lex_state = 124, .external_lex_state = 5},
  [483] = {.lex_state = 238},
  [484] = {.lex_state = 236, .external_lex_state = 16},
  [485] = {.lex_state = 124, .external_lex_state = 5},
  [486] = {.lex_state = 218, .external_lex_state = 2},
  [487] = {.lex_state = 137, .external_lex_state = 4},
  [488] = {.lex_state = 141, .external_lex_state = 8},
  [489] = {.lex_state = 80},
  [490] = {.lex_state = 135},
  [491] = {.lex_state = 149, .external_lex_state = 12},
  [492] = {.lex_state = 162},
  [493] = {.lex_state = 90, .external_lex_state = 3},
  [494] = {.lex_state = 90, .external_lex_state = 4},
  [495] = {.lex_state = 84},
  [496] = {.lex_state = 63, .external_lex_state = 2},
  [497] = {.lex_state = 63, .external_lex_state = 2},
  [498] = {.lex_state = 63, .external_lex_state = 2},
  [499] = {.lex_state = 63},
  [500] = {.lex_state = 80},
  [501] = {.lex_state = 80},
  [502] = {.lex_state = 245, .external_lex_state = 7},
  [503] = {.lex_state = 94, .external_lex_state = 7},
  [504] = {.lex_state = 90, .external_lex_state = 4},
  [505] = {.lex_state = 122, .external_lex_state = 8},
  [506] = {.lex_state = 94, .external_lex_state = 7},
  [507] = {.lex_state = 124, .external_lex_state = 5},
  [508] = {.lex_state = 218, .external_lex_state = 2},
  [509] = {.lex_state = 137, .external_lex_state = 4},
  [510] = {.lex_state = 141, .external_lex_state = 8},
  [511] = {.lex_state = 135},
  [512] = {.lex_state = 143, .external_lex_state = 4},
  [513] = {.lex_state = 141, .external_lex_state = 8},
  [514] = {.lex_state = 120, .external_lex_state = 4},
  [515] = {.lex_state = 122, .external_lex_state = 8},
  [516] = {.lex_state = 143, .external_lex_state = 4},
  [517] = {.lex_state = 104},
  [518] = {.lex_state = 113, .external_lex_state = 6},
  [519] = {.lex_state = 177, .external_lex_state = 17},
  [520] = {.lex_state = 80},
  [521] = {.lex_state = 94, .external_lex_state = 5},
  [522] = {.lex_state = 94, .external_lex_state = 5},
  [523] = {.lex_state = 124, .external_lex_state = 7},
  [524] = {.lex_state = 203, .external_lex_state = 5},
  [525] = {.lex_state = 203, .external_lex_state = 5},
  [526] = {.lex_state = 247, .external_lex_state = 7},
  [527] = {.lex_state = 247, .external_lex_state = 7},
  [528] = {.lex_state = 203, .external_lex_state = 5},
  [529] = {.lex_state = 203, .external_lex_state = 5},
  [530] = {.lex_state = 247, .external_lex_state = 7},
  [531] = {.lex_state = 143, .external_lex_state = 4},
  [532] = {.lex_state = 203, .external_lex_state = 7},
  [533] = {.lex_state = 203, .external_lex_state = 7},
  [534] = {.lex_state = 94, .external_lex_state = 7},
  [535] = {.lex_state = 63, .external_lex_state = 2},
  [536] = {.lex_state = 90, .external_lex_state = 4},
  [537] = {.lex_state = 122, .external_lex_state = 8},
  [538] = {.lex_state = 94, .external_lex_state = 7},
  [539] = {.lex_state = 207, .external_lex_state = 12},
  [540] = {.lex_state = 69, .external_lex_state = 13},
  [541] = {.lex_state = 207, .external_lex_state = 11},
  [542] = {.lex_state = 207, .external_lex_state = 12},
  [543] = {.lex_state = 69, .external_lex_state = 13},
  [544] = {.lex_state = 149, .external_lex_state = 12},
  [545] = {.lex_state = 141, .external_lex_state = 8},
  [546] = {.lex_state = 209, .external_lex_state = 13},
  [547] = {.lex_state = 97},
  [548] = {.lex_state = 104},
  [549] = {.lex_state = 209, .external_lex_state = 13},
  [550] = {.lex_state = 113, .external_lex_state = 6},
  [551] = {.lex_state = 63, .external_lex_state = 2},
  [552] = {.lex_state = 63, .external_lex_state = 2},
  [553] = {.lex_state = 63, .external_lex_state = 2},
  [554] = {.lex_state = 209},
  [555] = {.lex_state = 80},
  [556] = {.lex_state = 122, .external_lex_state = 19},
  [557] = {.lex_state = 141, .external_lex_state = 19},
  [558] = {.lex_state = 166},
  [559] = {.lex_state = 97},
  [560] = {.lex_state = 141, .external_lex_state = 19},
  [561] = {.lex_state = 141, .external_lex_state = 19},
  [562] = {.lex_state = 141, .external_lex_state = 19},
  [563] = {.lex_state = 69},
  [564] = {.lex_state = 172, .external_lex_state = 6},
  [565] = {.lex_state = 174, .external_lex_state = 16},
  [566] = {.lex_state = 174, .external_lex_state = 16},
  [567] = {.lex_state = 174, .external_lex_state = 16},
  [568] = {.lex_state = 137, .external_lex_state = 4},
  [569] = {.lex_state = 141, .external_lex_state = 8},
  [570] = {.lex_state = 63, .external_lex_state = 2},
  [571] = {.lex_state = 90, .external_lex_state = 4},
  [572] = {.lex_state = 122, .external_lex_state = 8},
  [573] = {.lex_state = 63, .external_lex_state = 2},
  [574] = {.lex_state = 137, .external_lex_state = 4},
  [575] = {.lex_state = 141, .external_lex_state = 8},
  [576] = {.lex_state = 63, .external_lex_state = 2},
  [577] = {.lex_state = 249},
  [578] = {.lex_state = 211, .external_lex_state = 4},
  [579] = {.lex_state = 211},
  [580] = {.lex_state = 211, .external_lex_state = 4},
  [581] = {.lex_state = 80},
  [582] = {.lex_state = 211, .external_lex_state = 10},
  [583] = {.lex_state = 253, .external_lex_state = 10},
  [584] = {.lex_state = 166},
  [585] = {.lex_state = 97},
  [586] = {.lex_state = 253, .external_lex_state = 10},
  [587] = {.lex_state = 253, .external_lex_state = 10},
  [588] = {.lex_state = 253, .external_lex_state = 10},
  [589] = {.lex_state = 69},
  [590] = {.lex_state = 172, .external_lex_state = 6},
  [591] = {.lex_state = 174, .external_lex_state = 16},
  [592] = {.lex_state = 174, .external_lex_state = 16},
  [593] = {.lex_state = 174, .external_lex_state = 16},
  [594] = {.lex_state = 137, .external_lex_state = 4},
  [595] = {.lex_state = 141, .external_lex_state = 8},
  [596] = {.lex_state = 63, .external_lex_state = 2},
  [597] = {.lex_state = 90, .external_lex_state = 4},
  [598] = {.lex_state = 122, .external_lex_state = 8},
  [599] = {.lex_state = 63, .external_lex_state = 2},
  [600] = {.lex_state = 137, .external_lex_state = 4},
  [601] = {.lex_state = 141, .external_lex_state = 8},
  [602] = {.lex_state = 63, .external_lex_state = 2},
  [603] = {.lex_state = 128, .external_lex_state = 4},
  [604] = {.lex_state = 84},
  [605] = {.lex_state = 224},
  [606] = {.lex_state = 255, .external_lex_state = 10},
  [607] = {.lex_state = 97},
  [608] = {.lex_state = 104},
  [609] = {.lex_state = 255, .external_lex_state = 10},
  [610] = {.lex_state = 113, .external_lex_state = 6},
  [611] = {.lex_state = 63, .external_lex_state = 2},
  [612] = {.lex_state = 63, .external_lex_state = 2},
  [613] = {.lex_state = 63, .external_lex_state = 2},
  [614] = {.lex_state = 255, .external_lex_state = 4},
  [615] = {.lex_state = 63, .external_lex_state = 2},
  [616] = {.lex_state = 143, .external_lex_state = 4},
  [617] = {.lex_state = 122, .external_lex_state = 19},
  [618] = {.lex_state = 122, .external_lex_state = 19},
  [619] = {.lex_state = 203, .external_lex_state = 7},
  [620] = {.lex_state = 84},
  [621] = {.lex_state = 215, .external_lex_state = 21},
  [622] = {.lex_state = 203, .external_lex_state = 21},
  [623] = {.lex_state = 126, .external_lex_state = 9},
  [624] = {.lex_state = 90, .external_lex_state = 14},
  [625] = {.lex_state = 90, .external_lex_state = 3},
  [626] = {.lex_state = 90, .external_lex_state = 10},
  [627] = {.lex_state = 90, .external_lex_state = 4},
  [628] = {.lex_state = 94, .external_lex_state = 5},
  [629] = {.lex_state = 135},
  [630] = {.lex_state = 247, .external_lex_state = 7},
  [631] = {.lex_state = 63, .external_lex_state = 2},
  [632] = {.lex_state = 143, .external_lex_state = 4},
  [633] = {.lex_state = 203, .external_lex_state = 7},
  [634] = {.lex_state = 90, .external_lex_state = 4},
  [635] = {.lex_state = 122, .external_lex_state = 8},
  [636] = {.lex_state = 80},
  [637] = {.lex_state = 94, .external_lex_state = 5},
  [638] = {.lex_state = 94, .external_lex_state = 5},
  [639] = {.lex_state = 203, .external_lex_state = 5},
  [640] = {.lex_state = 203, .external_lex_state = 5},
  [641] = {.lex_state = 203, .external_lex_state = 5},
  [642] = {.lex_state = 203, .external_lex_state = 5},
  [643] = {.lex_state = 203, .external_lex_state = 7},
  [644] = {.lex_state = 203, .external_lex_state = 7},
  [645] = {.lex_state = 94, .external_lex_state = 7},
  [646] = {.lex_state = 94, .external_lex_state = 7},
  [647] = {.lex_state = 143, .external_lex_state = 4},
  [648] = {.lex_state = 63, .external_lex_state = 2},
  [649] = {.lex_state = 63, .external_lex_state = 2},
  [650] = {.lex_state = 80},
  [651] = {.lex_state = 80},
  [652] = {.lex_state = 63, .external_lex_state = 2},
  [653] = {.lex_state = 80},
  [654] = {.lex_state = 131, .external_lex_state = 10},
  [655] = {.lex_state = 257},
  [656] = {.lex_state = 128, .external_lex_state = 4},
  [657] = {.lex_state = 131, .external_lex_state = 10},
  [658] = {.lex_state = 131, .external_lex_state = 10},
  [659] = {.lex_state = 166},
  [660] = {.lex_state = 257},
  [661] = {.lex_state = 128, .external_lex_state = 4},
  [662] = {.lex_state = 234, .external_lex_state = 16},
  [663] = {.lex_state = 69},
  [664] = {.lex_state = 174, .external_lex_state = 16},
  [665] = {.lex_state = 174, .external_lex_state = 16},
  [666] = {.lex_state = 174, .external_lex_state = 16},
  [667] = {.lex_state = 131, .external_lex_state = 10},
  [668] = {.lex_state = 238},
  [669] = {.lex_state = 236, .external_lex_state = 16},
  [670] = {.lex_state = 131, .external_lex_state = 10},
  [671] = {.lex_state = 238},
  [672] = {.lex_state = 236, .external_lex_state = 16},
  [673] = {.lex_state = 131, .external_lex_state = 10},
  [674] = {.lex_state = 238},
  [675] = {.lex_state = 236, .external_lex_state = 16},
  [676] = {.lex_state = 131, .external_lex_state = 10},
  [677] = {.lex_state = 218, .external_lex_state = 2},
  [678] = {.lex_state = 137, .external_lex_state = 4},
  [679] = {.lex_state = 141, .external_lex_state = 8},
  [680] = {.lex_state = 63, .external_lex_state = 2},
  [681] = {.lex_state = 90, .external_lex_state = 4},
  [682] = {.lex_state = 122, .external_lex_state = 8},
  [683] = {.lex_state = 131, .external_lex_state = 10},
  [684] = {.lex_state = 218, .external_lex_state = 2},
  [685] = {.lex_state = 137, .external_lex_state = 4},
  [686] = {.lex_state = 141, .external_lex_state = 8},
  [687] = {.lex_state = 135},
  [688] = {.lex_state = 259, .external_lex_state = 21},
  [689] = {.lex_state = 90, .external_lex_state = 4},
  [690] = {.lex_state = 122, .external_lex_state = 8},
  [691] = {.lex_state = 213, .external_lex_state = 20},
  [692] = {.lex_state = 63},
  [693] = {.lex_state = 80},
  [694] = {.lex_state = 143, .external_lex_state = 4},
  [695] = {.lex_state = 141, .external_lex_state = 19},
  [696] = {.lex_state = 141, .external_lex_state = 19},
  [697] = {.lex_state = 220, .external_lex_state = 7},
  [698] = {.lex_state = 84},
  [699] = {.lex_state = 261, .external_lex_state = 21},
  [700] = {.lex_state = 220, .external_lex_state = 21},
  [701] = {.lex_state = 126, .external_lex_state = 9},
  [702] = {.lex_state = 137, .external_lex_state = 14},
  [703] = {.lex_state = 137, .external_lex_state = 3},
  [704] = {.lex_state = 137, .external_lex_state = 10},
  [705] = {.lex_state = 137, .external_lex_state = 4},
  [706] = {.lex_state = 124, .external_lex_state = 5},
  [707] = {.lex_state = 135},
  [708] = {.lex_state = 143, .external_lex_state = 4},
  [709] = {.lex_state = 137, .external_lex_state = 4},
  [710] = {.lex_state = 141, .external_lex_state = 8},
  [711] = {.lex_state = 80},
  [712] = {.lex_state = 124, .external_lex_state = 5},
  [713] = {.lex_state = 124, .external_lex_state = 5},
  [714] = {.lex_state = 220, .external_lex_state = 5},
  [715] = {.lex_state = 220, .external_lex_state = 5},
  [716] = {.lex_state = 220, .external_lex_state = 5},
  [717] = {.lex_state = 220, .external_lex_state = 5},
  [718] = {.lex_state = 220, .external_lex_state = 7},
  [719] = {.lex_state = 220, .external_lex_state = 7},
  [720] = {.lex_state = 124, .external_lex_state = 7},
  [721] = {.lex_state = 218, .external_lex_state = 2},
  [722] = {.lex_state = 124, .external_lex_state = 7},
  [723] = {.lex_state = 80, .external_lex_state = 2},
  [724] = {.lex_state = 209},
  [725] = {.lex_state = 80, .external_lex_state = 15},
  [726] = {.lex_state = 80, .external_lex_state = 15},
  [727] = {.lex_state = 211},
  [728] = {.lex_state = 222, .external_lex_state = 13},
  [729] = {.lex_state = 149, .external_lex_state = 12},
  [730] = {.lex_state = 84},
  [731] = {.lex_state = 224},
  [732] = {.lex_state = 149, .external_lex_state = 11},
  [733] = {.lex_state = 149, .external_lex_state = 11},
  [734] = {.lex_state = 149, .external_lex_state = 11},
  [735] = {.lex_state = 166},
  [736] = {.lex_state = 234, .external_lex_state = 16},
  [737] = {.lex_state = 69},
  [738] = {.lex_state = 174, .external_lex_state = 16},
  [739] = {.lex_state = 174, .external_lex_state = 16},
  [740] = {.lex_state = 174, .external_lex_state = 16},
  [741] = {.lex_state = 149, .external_lex_state = 11},
  [742] = {.lex_state = 238},
  [743] = {.lex_state = 236, .external_lex_state = 16},
  [744] = {.lex_state = 149, .external_lex_state = 11},
  [745] = {.lex_state = 238},
  [746] = {.lex_state = 236, .external_lex_state = 16},
  [747] = {.lex_state = 149, .external_lex_state = 11},
  [748] = {.lex_state = 238},
  [749] = {.lex_state = 236, .external_lex_state = 16},
  [750] = {.lex_state = 149, .external_lex_state = 11},
  [751] = {.lex_state = 218, .external_lex_state = 2},
  [752] = {.lex_state = 137, .external_lex_state = 4},
  [753] = {.lex_state = 141, .external_lex_state = 8},
  [754] = {.lex_state = 63, .external_lex_state = 2},
  [755] = {.lex_state = 90, .external_lex_state = 4},
  [756] = {.lex_state = 122, .external_lex_state = 8},
  [757] = {.lex_state = 149, .external_lex_state = 11},
  [758] = {.lex_state = 218, .external_lex_state = 2},
  [759] = {.lex_state = 137, .external_lex_state = 4},
  [760] = {.lex_state = 141, .external_lex_state = 8},
  [761] = {.lex_state = 149, .external_lex_state = 12},
  [762] = {.lex_state = 63},
  [763] = {.lex_state = 80},
  [764] = {.lex_state = 63, .external_lex_state = 18},
  [765] = {.lex_state = 80},
  [766] = {.lex_state = 203, .external_lex_state = 21},
  [767] = {.lex_state = 149, .external_lex_state = 12},
  [768] = {.lex_state = 263},
  [769] = {.lex_state = 231, .external_lex_state = 13},
  [770] = {.lex_state = 162, .external_lex_state = 13},
  [771] = {.lex_state = 231, .external_lex_state = 13},
  [772] = {.lex_state = 166},
  [773] = {.lex_state = 234, .external_lex_state = 16},
  [774] = {.lex_state = 69},
  [775] = {.lex_state = 174, .external_lex_state = 16},
  [776] = {.lex_state = 174, .external_lex_state = 16},
  [777] = {.lex_state = 174, .external_lex_state = 16},
  [778] = {.lex_state = 231, .external_lex_state = 13},
  [779] = {.lex_state = 238},
  [780] = {.lex_state = 236, .external_lex_state = 16},
  [781] = {.lex_state = 231, .external_lex_state = 13},
  [782] = {.lex_state = 238},
  [783] = {.lex_state = 236, .external_lex_state = 16},
  [784] = {.lex_state = 231, .external_lex_state = 13},
  [785] = {.lex_state = 238},
  [786] = {.lex_state = 236, .external_lex_state = 16},
  [787] = {.lex_state = 231, .external_lex_state = 13},
  [788] = {.lex_state = 218, .external_lex_state = 2},
  [789] = {.lex_state = 137, .external_lex_state = 4},
  [790] = {.lex_state = 141, .external_lex_state = 8},
  [791] = {.lex_state = 63, .external_lex_state = 2},
  [792] = {.lex_state = 90, .external_lex_state = 4},
  [793] = {.lex_state = 122, .external_lex_state = 8},
  [794] = {.lex_state = 231, .external_lex_state = 13},
  [795] = {.lex_state = 218, .external_lex_state = 2},
  [796] = {.lex_state = 137, .external_lex_state = 4},
  [797] = {.lex_state = 141, .external_lex_state = 8},
  [798] = {.lex_state = 263},
  [799] = {.lex_state = 263},
  [800] = {.lex_state = 137, .external_lex_state = 3},
  [801] = {.lex_state = 209},
  [802] = {.lex_state = 90, .external_lex_state = 14},
  [803] = {.lex_state = 90, .external_lex_state = 14},
  [804] = {.lex_state = 137, .external_lex_state = 14},
  [805] = {.lex_state = 90, .external_lex_state = 14},
  [806] = {.lex_state = 137, .external_lex_state = 14},
  [807] = {.lex_state = 166},
  [808] = {.lex_state = 234, .external_lex_state = 16},
  [809] = {.lex_state = 69},
  [810] = {.lex_state = 174, .external_lex_state = 16},
  [811] = {.lex_state = 174, .external_lex_state = 16},
  [812] = {.lex_state = 174, .external_lex_state = 16},
  [813] = {.lex_state = 137, .external_lex_state = 14},
  [814] = {.lex_state = 238},
  [815] = {.lex_state = 236, .external_lex_state = 16},
  [816] = {.lex_state = 137, .external_lex_state = 14},
  [817] = {.lex_state = 238},
  [818] = {.lex_state = 236, .external_lex_state = 16},
  [819] = {.lex_state = 137, .external_lex_state = 14},
  [820] = {.lex_state = 238},
  [821] = {.lex_state = 236, .external_lex_state = 16},
  [822] = {.lex_state = 137, .external_lex_state = 14},
  [823] = {.lex_state = 218, .external_lex_state = 2},
  [824] = {.lex_state = 137, .external_lex_state = 4},
  [825] = {.lex_state = 141, .external_lex_state = 8},
  [826] = {.lex_state = 63, .external_lex_state = 2},
  [827] = {.lex_state = 90, .external_lex_state = 4},
  [828] = {.lex_state = 122, .external_lex_state = 8},
  [829] = {.lex_state = 137, .external_lex_state = 14},
  [830] = {.lex_state = 218, .external_lex_state = 2},
  [831] = {.lex_state = 137, .external_lex_state = 4},
  [832] = {.lex_state = 141, .external_lex_state = 8},
  [833] = {.lex_state = 137, .external_lex_state = 10},
  [834] = {.lex_state = 90, .external_lex_state = 10},
  [835] = {.lex_state = 137, .external_lex_state = 10},
  [836] = {.lex_state = 166},
  [837] = {.lex_state = 234, .external_lex_state = 16},
  [838] = {.lex_state = 69},
  [839] = {.lex_state = 174, .external_lex_state = 16},
  [840] = {.lex_state = 174, .external_lex_state = 16},
  [841] = {.lex_state = 174, .external_lex_state = 16},
  [842] = {.lex_state = 137, .external_lex_state = 10},
  [843] = {.lex_state = 238},
  [844] = {.lex_state = 236, .external_lex_state = 16},
  [845] = {.lex_state = 137, .external_lex_state = 10},
  [846] = {.lex_state = 238},
  [847] = {.lex_state = 236, .external_lex_state = 16},
  [848] = {.lex_state = 137, .external_lex_state = 10},
  [849] = {.lex_state = 238},
  [850] = {.lex_state = 236, .external_lex_state = 16},
  [851] = {.lex_state = 137, .external_lex_state = 10},
  [852] = {.lex_state = 218, .external_lex_state = 2},
  [853] = {.lex_state = 137, .external_lex_state = 4},
  [854] = {.lex_state = 141, .external_lex_state = 8},
  [855] = {.lex_state = 63, .external_lex_state = 2},
  [856] = {.lex_state = 90, .external_lex_state = 4},
  [857] = {.lex_state = 122, .external_lex_state = 8},
  [858] = {.lex_state = 137, .external_lex_state = 10},
  [859] = {.lex_state = 218, .external_lex_state = 2},
  [860] = {.lex_state = 137, .external_lex_state = 4},
  [861] = {.lex_state = 141, .external_lex_state = 8},
  [862] = {.lex_state = 80, .external_lex_state = 15},
  [863] = {.lex_state = 80, .external_lex_state = 15},
  [864] = {.lex_state = 80, .external_lex_state = 15},
  [865] = {.lex_state = 166},
  [866] = {.lex_state = 234, .external_lex_state = 16},
  [867] = {.lex_state = 69},
  [868] = {.lex_state = 174, .external_lex_state = 16},
  [869] = {.lex_state = 174, .external_lex_state = 16},
  [870] = {.lex_state = 174, .external_lex_state = 16},
  [871] = {.lex_state = 80, .external_lex_state = 15},
  [872] = {.lex_state = 238},
  [873] = {.lex_state = 236, .external_lex_state = 16},
  [874] = {.lex_state = 80, .external_lex_state = 15},
  [875] = {.lex_state = 238},
  [876] = {.lex_state = 236, .external_lex_state = 16},
  [877] = {.lex_state = 80, .external_lex_state = 15},
  [878] = {.lex_state = 238},
  [879] = {.lex_state = 236, .external_lex_state = 16},
  [880] = {.lex_state = 80, .external_lex_state = 15},
  [881] = {.lex_state = 218, .external_lex_state = 2},
  [882] = {.lex_state = 137, .external_lex_state = 4},
  [883] = {.lex_state = 141, .external_lex_state = 8},
  [884] = {.lex_state = 63, .external_lex_state = 2},
  [885] = {.lex_state = 90, .external_lex_state = 4},
  [886] = {.lex_state = 122, .external_lex_state = 8},
  [887] = {.lex_state = 80, .external_lex_state = 15},
  [888] = {.lex_state = 218, .external_lex_state = 2},
  [889] = {.lex_state = 137, .external_lex_state = 4},
  [890] = {.lex_state = 141, .external_lex_state = 8},
  [891] = {.lex_state = 97},
  [892] = {.lex_state = 234, .external_lex_state = 16},
  [893] = {.lex_state = 69},
  [894] = {.lex_state = 174, .external_lex_state = 16},
  [895] = {.lex_state = 174, .external_lex_state = 16},
  [896] = {.lex_state = 174, .external_lex_state = 16},
  [897] = {.lex_state = 97, .external_lex_state = 13},
  [898] = {.lex_state = 238},
  [899] = {.lex_state = 236, .external_lex_state = 16},
  [900] = {.lex_state = 97, .external_lex_state = 13},
  [901] = {.lex_state = 238},
  [902] = {.lex_state = 236, .external_lex_state = 16},
  [903] = {.lex_state = 97, .external_lex_state = 13},
  [904] = {.lex_state = 238},
  [905] = {.lex_state = 236, .external_lex_state = 16},
  [906] = {.lex_state = 97, .external_lex_state = 13},
  [907] = {.lex_state = 218, .external_lex_state = 2},
  [908] = {.lex_state = 137, .external_lex_state = 4},
  [909] = {.lex_state = 141, .external_lex_state = 8},
  [910] = {.lex_state = 63, .external_lex_state = 2},
  [911] = {.lex_state = 90, .external_lex_state = 4},
  [912] = {.lex_state = 122, .external_lex_state = 8},
  [913] = {.lex_state = 124, .external_lex_state = 5},
  [914] = {.lex_state = 166},
  [915] = {.lex_state = 207, .external_lex_state = 11},
  [916] = {.lex_state = 207, .external_lex_state = 11},
  [917] = {.lex_state = 207, .external_lex_state = 11},
  [918] = {.lex_state = 124, .external_lex_state = 5},
  [919] = {.lex_state = 213, .external_lex_state = 22},
  [920] = {.lex_state = 97},
  [921] = {.lex_state = 104},
  [922] = {.lex_state = 213, .external_lex_state = 22},
  [923] = {.lex_state = 113, .external_lex_state = 6},
  [924] = {.lex_state = 63, .external_lex_state = 2},
  [925] = {.lex_state = 63, .external_lex_state = 2},
  [926] = {.lex_state = 63, .external_lex_state = 2},
  [927] = {.lex_state = 213, .external_lex_state = 16},
  [928] = {.lex_state = 234, .external_lex_state = 16},
  [929] = {.lex_state = 124, .external_lex_state = 5},
  [930] = {.lex_state = 238},
  [931] = {.lex_state = 236, .external_lex_state = 16},
  [932] = {.lex_state = 124, .external_lex_state = 5},
  [933] = {.lex_state = 238},
  [934] = {.lex_state = 236, .external_lex_state = 16},
  [935] = {.lex_state = 238},
  [936] = {.lex_state = 236, .external_lex_state = 16},
  [937] = {.lex_state = 80},
  [938] = {.lex_state = 236, .external_lex_state = 22},
  [939] = {.lex_state = 236, .external_lex_state = 22},
  [940] = {.lex_state = 166},
  [941] = {.lex_state = 97},
  [942] = {.lex_state = 236, .external_lex_state = 22},
  [943] = {.lex_state = 236, .external_lex_state = 22},
  [944] = {.lex_state = 236, .external_lex_state = 22},
  [945] = {.lex_state = 69},
  [946] = {.lex_state = 172, .external_lex_state = 6},
  [947] = {.lex_state = 174, .external_lex_state = 16},
  [948] = {.lex_state = 174, .external_lex_state = 16},
  [949] = {.lex_state = 174, .external_lex_state = 16},
  [950] = {.lex_state = 236, .external_lex_state = 16},
  [951] = {.lex_state = 137, .external_lex_state = 4},
  [952] = {.lex_state = 141, .external_lex_state = 8},
  [953] = {.lex_state = 63, .external_lex_state = 2},
  [954] = {.lex_state = 90, .external_lex_state = 4},
  [955] = {.lex_state = 122, .external_lex_state = 8},
  [956] = {.lex_state = 63, .external_lex_state = 2},
  [957] = {.lex_state = 137, .external_lex_state = 4},
  [958] = {.lex_state = 141, .external_lex_state = 8},
  [959] = {.lex_state = 63, .external_lex_state = 2},
  [960] = {.lex_state = 124, .external_lex_state = 5},
  [961] = {.lex_state = 236, .external_lex_state = 16},
  [962] = {.lex_state = 236, .external_lex_state = 16},
  [963] = {.lex_state = 124, .external_lex_state = 5},
  [964] = {.lex_state = 236, .external_lex_state = 16},
  [965] = {.lex_state = 124, .external_lex_state = 5},
  [966] = {.lex_state = 218, .external_lex_state = 2},
  [967] = {.lex_state = 245, .external_lex_state = 7},
  [968] = {.lex_state = 84},
  [969] = {.lex_state = 265, .external_lex_state = 21},
  [970] = {.lex_state = 245, .external_lex_state = 21},
  [971] = {.lex_state = 135},
  [972] = {.lex_state = 122, .external_lex_state = 8},
  [973] = {.lex_state = 90, .external_lex_state = 4},
  [974] = {.lex_state = 122, .external_lex_state = 8},
  [975] = {.lex_state = 80},
  [976] = {.lex_state = 245, .external_lex_state = 5},
  [977] = {.lex_state = 245, .external_lex_state = 5},
  [978] = {.lex_state = 245, .external_lex_state = 5},
  [979] = {.lex_state = 245, .external_lex_state = 5},
  [980] = {.lex_state = 245, .external_lex_state = 7},
  [981] = {.lex_state = 245, .external_lex_state = 7},
  [982] = {.lex_state = 63, .external_lex_state = 2},
  [983] = {.lex_state = 94, .external_lex_state = 7},
  [984] = {.lex_state = 124, .external_lex_state = 5},
  [985] = {.lex_state = 218, .external_lex_state = 2},
  [986] = {.lex_state = 215, .external_lex_state = 21},
  [987] = {.lex_state = 177, .external_lex_state = 17},
  [988] = {.lex_state = 177, .external_lex_state = 17},
  [989] = {.lex_state = 69},
  [990] = {.lex_state = 172, .external_lex_state = 6},
  [991] = {.lex_state = 174, .external_lex_state = 16},
  [992] = {.lex_state = 174, .external_lex_state = 16},
  [993] = {.lex_state = 174, .external_lex_state = 16},
  [994] = {.lex_state = 143, .external_lex_state = 4},
  [995] = {.lex_state = 177, .external_lex_state = 17},
  [996] = {.lex_state = 203, .external_lex_state = 5},
  [997] = {.lex_state = 203, .external_lex_state = 5},
  [998] = {.lex_state = 247, .external_lex_state = 7},
  [999] = {.lex_state = 203, .external_lex_state = 5},
  [1000] = {.lex_state = 143, .external_lex_state = 4},
  [1001] = {.lex_state = 267, .external_lex_state = 2},
  [1002] = {.lex_state = 203, .external_lex_state = 7},
  [1003] = {.lex_state = 69, .external_lex_state = 13},
  [1004] = {.lex_state = 69},
  [1005] = {.lex_state = 207, .external_lex_state = 11},
  [1006] = {.lex_state = 69, .external_lex_state = 13},
  [1007] = {.lex_state = 69},
  [1008] = {.lex_state = 80},
  [1009] = {.lex_state = 209, .external_lex_state = 13},
  [1010] = {.lex_state = 209, .external_lex_state = 13},
  [1011] = {.lex_state = 166},
  [1012] = {.lex_state = 97},
  [1013] = {.lex_state = 209, .external_lex_state = 13},
  [1014] = {.lex_state = 209, .external_lex_state = 13},
  [1015] = {.lex_state = 209, .external_lex_state = 13},
  [1016] = {.lex_state = 69},
  [1017] = {.lex_state = 172, .external_lex_state = 6},
  [1018] = {.lex_state = 174, .external_lex_state = 16},
  [1019] = {.lex_state = 174, .external_lex_state = 16},
  [1020] = {.lex_state = 174, .external_lex_state = 16},
  [1021] = {.lex_state = 137, .external_lex_state = 4},
  [1022] = {.lex_state = 141, .external_lex_state = 8},
  [1023] = {.lex_state = 63, .external_lex_state = 2},
  [1024] = {.lex_state = 90, .external_lex_state = 4},
  [1025] = {.lex_state = 122, .external_lex_state = 8},
  [1026] = {.lex_state = 63, .external_lex_state = 2},
  [1027] = {.lex_state = 137, .external_lex_state = 4},
  [1028] = {.lex_state = 141, .external_lex_state = 8},
  [1029] = {.lex_state = 63, .external_lex_state = 2},
  [1030] = {.lex_state = 141, .external_lex_state = 8},
  [1031] = {.lex_state = 209},
  [1032] = {.lex_state = 141, .external_lex_state = 19},
  [1033] = {.lex_state = 122, .external_lex_state = 19},
  [1034] = {.lex_state = 141, .external_lex_state = 19},
  [1035] = {.lex_state = 166},
  [1036] = {.lex_state = 234, .external_lex_state = 16},
  [1037] = {.lex_state = 69},
  [1038] = {.lex_state = 174, .external_lex_state = 16},
  [1039] = {.lex_state = 174, .external_lex_state = 16},
  [1040] = {.lex_state = 174, .external_lex_state = 16},
  [1041] = {.lex_state = 141, .external_lex_state = 19},
  [1042] = {.lex_state = 238},
  [1043] = {.lex_state = 236, .external_lex_state = 16},
  [1044] = {.lex_state = 141, .external_lex_state = 19},
  [1045] = {.lex_state = 238},
  [1046] = {.lex_state = 236, .external_lex_state = 16},
  [1047] = {.lex_state = 141, .external_lex_state = 19},
  [1048] = {.lex_state = 238},
  [1049] = {.lex_state = 236, .external_lex_state = 16},
  [1050] = {.lex_state = 141, .external_lex_state = 19},
  [1051] = {.lex_state = 218, .external_lex_state = 2},
  [1052] = {.lex_state = 137, .external_lex_state = 4},
  [1053] = {.lex_state = 141, .external_lex_state = 8},
  [1054] = {.lex_state = 63, .external_lex_state = 2},
  [1055] = {.lex_state = 90, .external_lex_state = 4},
  [1056] = {.lex_state = 122, .external_lex_state = 8},
  [1057] = {.lex_state = 141, .external_lex_state = 19},
  [1058] = {.lex_state = 218, .external_lex_state = 2},
  [1059] = {.lex_state = 137, .external_lex_state = 4},
  [1060] = {.lex_state = 141, .external_lex_state = 8},
  [1061] = {.lex_state = 270},
  [1062] = {.lex_state = 84},
  [1063] = {.lex_state = 84},
  [1064] = {.lex_state = 272, .external_lex_state = 13},
  [1065] = {.lex_state = 97},
  [1066] = {.lex_state = 104},
  [1067] = {.lex_state = 272, .external_lex_state = 13},
  [1068] = {.lex_state = 113, .external_lex_state = 6},
  [1069] = {.lex_state = 63, .external_lex_state = 2},
  [1070] = {.lex_state = 63, .external_lex_state = 2},
  [1071] = {.lex_state = 63, .external_lex_state = 2},
  [1072] = {.lex_state = 272},
  [1073] = {.lex_state = 249},
  [1074] = {.lex_state = 211, .external_lex_state = 4},
  [1075] = {.lex_state = 253, .external_lex_state = 10},
  [1076] = {.lex_state = 211, .external_lex_state = 10},
  [1077] = {.lex_state = 253, .external_lex_state = 10},
  [1078] = {.lex_state = 166},
  [1079] = {.lex_state = 234, .external_lex_state = 16},
  [1080] = {.lex_state = 69},
  [1081] = {.lex_state = 174, .external_lex_state = 16},
  [1082] = {.lex_state = 174, .external_lex_state = 16},
  [1083] = {.lex_state = 174, .external_lex_state = 16},
  [1084] = {.lex_state = 253, .external_lex_state = 10},
  [1085] = {.lex_state = 238},
  [1086] = {.lex_state = 236, .external_lex_state = 16},
  [1087] = {.lex_state = 253, .external_lex_state = 10},
  [1088] = {.lex_state = 238},
  [1089] = {.lex_state = 236, .external_lex_state = 16},
  [1090] = {.lex_state = 253, .external_lex_state = 10},
  [1091] = {.lex_state = 238},
  [1092] = {.lex_state = 236, .external_lex_state = 16},
  [1093] = {.lex_state = 253, .external_lex_state = 10},
  [1094] = {.lex_state = 218, .external_lex_state = 2},
  [1095] = {.lex_state = 137, .external_lex_state = 4},
  [1096] = {.lex_state = 141, .external_lex_state = 8},
  [1097] = {.lex_state = 63, .external_lex_state = 2},
  [1098] = {.lex_state = 90, .external_lex_state = 4},
  [1099] = {.lex_state = 122, .external_lex_state = 8},
  [1100] = {.lex_state = 253, .external_lex_state = 10},
  [1101] = {.lex_state = 218, .external_lex_state = 2},
  [1102] = {.lex_state = 137, .external_lex_state = 4},
  [1103] = {.lex_state = 141, .external_lex_state = 8},
  [1104] = {.lex_state = 211, .external_lex_state = 4},
  [1105] = {.lex_state = 211, .external_lex_state = 4},
  [1106] = {.lex_state = 211, .external_lex_state = 4},
  [1107] = {.lex_state = 80},
  [1108] = {.lex_state = 255, .external_lex_state = 10},
  [1109] = {.lex_state = 255, .external_lex_state = 10},
  [1110] = {.lex_state = 166},
  [1111] = {.lex_state = 97},
  [1112] = {.lex_state = 255, .external_lex_state = 10},
  [1113] = {.lex_state = 255, .external_lex_state = 10},
  [1114] = {.lex_state = 255, .external_lex_state = 10},
  [1115] = {.lex_state = 69},
  [1116] = {.lex_state = 172, .external_lex_state = 6},
  [1117] = {.lex_state = 174, .external_lex_state = 16},
  [1118] = {.lex_state = 174, .external_lex_state = 16},
  [1119] = {.lex_state = 174, .external_lex_state = 16},
  [1120] = {.lex_state = 137, .external_lex_state = 4},
  [1121] = {.lex_state = 141, .external_lex_state = 8},
  [1122] = {.lex_state = 63, .external_lex_state = 2},
  [1123] = {.lex_state = 90, .external_lex_state = 4},
  [1124] = {.lex_state = 122, .external_lex_state = 8},
  [1125] = {.lex_state = 63, .external_lex_state = 2},
  [1126] = {.lex_state = 137, .external_lex_state = 4},
  [1127] = {.lex_state = 141, .external_lex_state = 8},
  [1128] = {.lex_state = 63, .external_lex_state = 2},
  [1129] = {.lex_state = 80},
  [1130] = {.lex_state = 255, .external_lex_state = 4},
  [1131] = {.lex_state = 143, .external_lex_state = 4},
  [1132] = {.lex_state = 63, .external_lex_state = 2},
  [1133] = {.lex_state = 122, .external_lex_state = 19},
  [1134] = {.lex_state = 203, .external_lex_state = 7},
  [1135] = {.lex_state = 135},
  [1136] = {.lex_state = 63},
  [1137] = {.lex_state = 80},
  [1138] = {.lex_state = 63},
  [1139] = {.lex_state = 80},
  [1140] = {.lex_state = 80},
  [1141] = {.lex_state = 203, .external_lex_state = 21},
  [1142] = {.lex_state = 90, .external_lex_state = 14},
  [1143] = {.lex_state = 90, .external_lex_state = 14},
  [1144] = {.lex_state = 90, .external_lex_state = 14},
  [1145] = {.lex_state = 90, .external_lex_state = 10},
  [1146] = {.lex_state = 215, .external_lex_state = 21},
  [1147] = {.lex_state = 247, .external_lex_state = 7},
  [1148] = {.lex_state = 63, .external_lex_state = 2},
  [1149] = {.lex_state = 143, .external_lex_state = 4},
  [1150] = {.lex_state = 203, .external_lex_state = 5},
  [1151] = {.lex_state = 203, .external_lex_state = 5},
  [1152] = {.lex_state = 203, .external_lex_state = 5},
  [1153] = {.lex_state = 203, .external_lex_state = 7},
  [1154] = {.lex_state = 80},
  [1155] = {.lex_state = 63, .external_lex_state = 2},
  [1156] = {.lex_state = 143, .external_lex_state = 4},
  [1157] = {.lex_state = 80},
  [1158] = {.lex_state = 63, .external_lex_state = 2},
  [1159] = {.lex_state = 80},
  [1160] = {.lex_state = 80},
  [1161] = {.lex_state = 143, .external_lex_state = 4},
  [1162] = {.lex_state = 274, .external_lex_state = 13},
  [1163] = {.lex_state = 274, .external_lex_state = 13},
  [1164] = {.lex_state = 277},
  [1165] = {.lex_state = 274},
  [1166] = {.lex_state = 80},
  [1167] = {.lex_state = 257},
  [1168] = {.lex_state = 131, .external_lex_state = 10},
  [1169] = {.lex_state = 143, .external_lex_state = 4},
  [1170] = {.lex_state = 277},
  [1171] = {.lex_state = 80},
  [1172] = {.lex_state = 257},
  [1173] = {.lex_state = 131, .external_lex_state = 10},
  [1174] = {.lex_state = 213, .external_lex_state = 22},
  [1175] = {.lex_state = 213, .external_lex_state = 22},
  [1176] = {.lex_state = 213, .external_lex_state = 16},
  [1177] = {.lex_state = 234, .external_lex_state = 16},
  [1178] = {.lex_state = 131, .external_lex_state = 10},
  [1179] = {.lex_state = 238},
  [1180] = {.lex_state = 236, .external_lex_state = 16},
  [1181] = {.lex_state = 131, .external_lex_state = 10},
  [1182] = {.lex_state = 238},
  [1183] = {.lex_state = 236, .external_lex_state = 16},
  [1184] = {.lex_state = 238},
  [1185] = {.lex_state = 236, .external_lex_state = 16},
  [1186] = {.lex_state = 236, .external_lex_state = 16},
  [1187] = {.lex_state = 131, .external_lex_state = 10},
  [1188] = {.lex_state = 236, .external_lex_state = 16},
  [1189] = {.lex_state = 131, .external_lex_state = 10},
  [1190] = {.lex_state = 236, .external_lex_state = 16},
  [1191] = {.lex_state = 131, .external_lex_state = 10},
  [1192] = {.lex_state = 218, .external_lex_state = 2},
  [1193] = {.lex_state = 63, .external_lex_state = 2},
  [1194] = {.lex_state = 131, .external_lex_state = 10},
  [1195] = {.lex_state = 218, .external_lex_state = 2},
  [1196] = {.lex_state = 215, .external_lex_state = 21},
  [1197] = {.lex_state = 213, .external_lex_state = 20},
  [1198] = {.lex_state = 259, .external_lex_state = 21},
  [1199] = {.lex_state = 213, .external_lex_state = 20},
  [1200] = {.lex_state = 80},
  [1201] = {.lex_state = 120, .external_lex_state = 10},
  [1202] = {.lex_state = 120, .external_lex_state = 10},
  [1203] = {.lex_state = 143, .external_lex_state = 4},
  [1204] = {.lex_state = 141, .external_lex_state = 19},
  [1205] = {.lex_state = 220, .external_lex_state = 7},
  [1206] = {.lex_state = 135},
  [1207] = {.lex_state = 63},
  [1208] = {.lex_state = 80},
  [1209] = {.lex_state = 63},
  [1210] = {.lex_state = 80},
  [1211] = {.lex_state = 80},
  [1212] = {.lex_state = 220, .external_lex_state = 21},
  [1213] = {.lex_state = 137, .external_lex_state = 14},
  [1214] = {.lex_state = 137, .external_lex_state = 14},
  [1215] = {.lex_state = 137, .external_lex_state = 14},
  [1216] = {.lex_state = 137, .external_lex_state = 10},
  [1217] = {.lex_state = 261, .external_lex_state = 21},
  [1218] = {.lex_state = 220, .external_lex_state = 5},
  [1219] = {.lex_state = 220, .external_lex_state = 5},
  [1220] = {.lex_state = 220, .external_lex_state = 5},
  [1221] = {.lex_state = 143, .external_lex_state = 4},
  [1222] = {.lex_state = 220, .external_lex_state = 7},
  [1223] = {.lex_state = 80, .external_lex_state = 2},
  [1224] = {.lex_state = 209},
  [1225] = {.lex_state = 222, .external_lex_state = 13},
  [1226] = {.lex_state = 149, .external_lex_state = 11},
  [1227] = {.lex_state = 149, .external_lex_state = 11},
  [1228] = {.lex_state = 213, .external_lex_state = 22},
  [1229] = {.lex_state = 213, .external_lex_state = 22},
  [1230] = {.lex_state = 213, .external_lex_state = 16},
  [1231] = {.lex_state = 234, .external_lex_state = 16},
  [1232] = {.lex_state = 149, .external_lex_state = 11},
  [1233] = {.lex_state = 238},
  [1234] = {.lex_state = 236, .external_lex_state = 16},
  [1235] = {.lex_state = 149, .external_lex_state = 11},
  [1236] = {.lex_state = 238},
  [1237] = {.lex_state = 236, .external_lex_state = 16},
  [1238] = {.lex_state = 238},
  [1239] = {.lex_state = 236, .external_lex_state = 16},
  [1240] = {.lex_state = 236, .external_lex_state = 16},
  [1241] = {.lex_state = 149, .external_lex_state = 11},
  [1242] = {.lex_state = 236, .external_lex_state = 16},
  [1243] = {.lex_state = 149, .external_lex_state = 11},
  [1244] = {.lex_state = 236, .external_lex_state = 16},
  [1245] = {.lex_state = 149, .external_lex_state = 11},
  [1246] = {.lex_state = 218, .external_lex_state = 2},
  [1247] = {.lex_state = 63, .external_lex_state = 2},
  [1248] = {.lex_state = 149, .external_lex_state = 11},
  [1249] = {.lex_state = 218, .external_lex_state = 2},
  [1250] = {.lex_state = 80},
  [1251] = {.lex_state = 203, .external_lex_state = 23},
  [1252] = {.lex_state = 97},
  [1253] = {.lex_state = 104},
  [1254] = {.lex_state = 203, .external_lex_state = 23},
  [1255] = {.lex_state = 113, .external_lex_state = 6},
  [1256] = {.lex_state = 63, .external_lex_state = 2},
  [1257] = {.lex_state = 63, .external_lex_state = 2},
  [1258] = {.lex_state = 63, .external_lex_state = 2},
  [1259] = {.lex_state = 247, .external_lex_state = 21},
  [1260] = {.lex_state = 247, .external_lex_state = 21},
  [1261] = {.lex_state = 203, .external_lex_state = 23},
  [1262] = {.lex_state = 203, .external_lex_state = 23},
  [1263] = {.lex_state = 247, .external_lex_state = 21},
  [1264] = {.lex_state = 203, .external_lex_state = 21},
  [1265] = {.lex_state = 231, .external_lex_state = 13},
  [1266] = {.lex_state = 231, .external_lex_state = 13},
  [1267] = {.lex_state = 213, .external_lex_state = 22},
  [1268] = {.lex_state = 213, .external_lex_state = 22},
  [1269] = {.lex_state = 213, .external_lex_state = 16},
  [1270] = {.lex_state = 234, .external_lex_state = 16},
  [1271] = {.lex_state = 231, .external_lex_state = 13},
  [1272] = {.lex_state = 238},
  [1273] = {.lex_state = 236, .external_lex_state = 16},
  [1274] = {.lex_state = 231, .external_lex_state = 13},
  [1275] = {.lex_state = 238},
  [1276] = {.lex_state = 236, .external_lex_state = 16},
  [1277] = {.lex_state = 238},
  [1278] = {.lex_state = 236, .external_lex_state = 16},
  [1279] = {.lex_state = 236, .external_lex_state = 16},
  [1280] = {.lex_state = 231, .external_lex_state = 13},
  [1281] = {.lex_state = 236, .external_lex_state = 16},
  [1282] = {.lex_state = 231, .external_lex_state = 13},
  [1283] = {.lex_state = 236, .external_lex_state = 16},
  [1284] = {.lex_state = 231, .external_lex_state = 13},
  [1285] = {.lex_state = 218, .external_lex_state = 2},
  [1286] = {.lex_state = 63, .external_lex_state = 2},
  [1287] = {.lex_state = 231, .external_lex_state = 13},
  [1288] = {.lex_state = 218, .external_lex_state = 2},
  [1289] = {.lex_state = 137, .external_lex_state = 3},
  [1290] = {.lex_state = 209},
  [1291] = {.lex_state = 137, .external_lex_state = 14},
  [1292] = {.lex_state = 137, .external_lex_state = 14},
  [1293] = {.lex_state = 213, .external_lex_state = 22},
  [1294] = {.lex_state = 213, .external_lex_state = 22},
  [1295] = {.lex_state = 213, .external_lex_state = 16},
  [1296] = {.lex_state = 234, .external_lex_state = 16},
  [1297] = {.lex_state = 137, .external_lex_state = 14},
  [1298] = {.lex_state = 238},
  [1299] = {.lex_state = 236, .external_lex_state = 16},
  [1300] = {.lex_state = 137, .external_lex_state = 14},
  [1301] = {.lex_state = 238},
  [1302] = {.lex_state = 236, .external_lex_state = 16},
  [1303] = {.lex_state = 238},
  [1304] = {.lex_state = 236, .external_lex_state = 16},
  [1305] = {.lex_state = 236, .external_lex_state = 16},
  [1306] = {.lex_state = 137, .external_lex_state = 14},
  [1307] = {.lex_state = 236, .external_lex_state = 16},
  [1308] = {.lex_state = 137, .external_lex_state = 14},
  [1309] = {.lex_state = 236, .external_lex_state = 16},
  [1310] = {.lex_state = 137, .external_lex_state = 14},
  [1311] = {.lex_state = 218, .external_lex_state = 2},
  [1312] = {.lex_state = 63, .external_lex_state = 2},
  [1313] = {.lex_state = 137, .external_lex_state = 14},
  [1314] = {.lex_state = 218, .external_lex_state = 2},
  [1315] = {.lex_state = 137, .external_lex_state = 10},
  [1316] = {.lex_state = 137, .external_lex_state = 10},
  [1317] = {.lex_state = 213, .external_lex_state = 22},
  [1318] = {.lex_state = 213, .external_lex_state = 22},
  [1319] = {.lex_state = 213, .external_lex_state = 16},
  [1320] = {.lex_state = 234, .external_lex_state = 16},
  [1321] = {.lex_state = 137, .external_lex_state = 10},
  [1322] = {.lex_state = 238},
  [1323] = {.lex_state = 236, .external_lex_state = 16},
  [1324] = {.lex_state = 137, .external_lex_state = 10},
  [1325] = {.lex_state = 238},
  [1326] = {.lex_state = 236, .external_lex_state = 16},
  [1327] = {.lex_state = 238},
  [1328] = {.lex_state = 236, .external_lex_state = 16},
  [1329] = {.lex_state = 236, .external_lex_state = 16},
  [1330] = {.lex_state = 137, .external_lex_state = 10},
  [1331] = {.lex_state = 236, .external_lex_state = 16},
  [1332] = {.lex_state = 137, .external_lex_state = 10},
  [1333] = {.lex_state = 236, .external_lex_state = 16},
  [1334] = {.lex_state = 137, .external_lex_state = 10},
  [1335] = {.lex_state = 218, .external_lex_state = 2},
  [1336] = {.lex_state = 63, .external_lex_state = 2},
  [1337] = {.lex_state = 137, .external_lex_state = 10},
  [1338] = {.lex_state = 218, .external_lex_state = 2},
  [1339] = {.lex_state = 80, .external_lex_state = 15},
  [1340] = {.lex_state = 80, .external_lex_state = 15},
  [1341] = {.lex_state = 213, .external_lex_state = 22},
  [1342] = {.lex_state = 213, .external_lex_state = 22},
  [1343] = {.lex_state = 213, .external_lex_state = 16},
  [1344] = {.lex_state = 234, .external_lex_state = 16},
  [1345] = {.lex_state = 80, .external_lex_state = 15},
  [1346] = {.lex_state = 238},
  [1347] = {.lex_state = 236, .external_lex_state = 16},
  [1348] = {.lex_state = 80, .external_lex_state = 15},
  [1349] = {.lex_state = 238},
  [1350] = {.lex_state = 236, .external_lex_state = 16},
  [1351] = {.lex_state = 238},
  [1352] = {.lex_state = 236, .external_lex_state = 16},
  [1353] = {.lex_state = 236, .external_lex_state = 16},
  [1354] = {.lex_state = 80, .external_lex_state = 15},
  [1355] = {.lex_state = 236, .external_lex_state = 16},
  [1356] = {.lex_state = 80, .external_lex_state = 15},
  [1357] = {.lex_state = 236, .external_lex_state = 16},
  [1358] = {.lex_state = 80, .external_lex_state = 15},
  [1359] = {.lex_state = 218, .external_lex_state = 2},
  [1360] = {.lex_state = 63, .external_lex_state = 2},
  [1361] = {.lex_state = 80, .external_lex_state = 15},
  [1362] = {.lex_state = 218, .external_lex_state = 2},
  [1363] = {.lex_state = 97, .external_lex_state = 13},
  [1364] = {.lex_state = 213, .external_lex_state = 22},
  [1365] = {.lex_state = 213, .external_lex_state = 22},
  [1366] = {.lex_state = 213, .external_lex_state = 16},
  [1367] = {.lex_state = 234, .external_lex_state = 16},
  [1368] = {.lex_state = 97, .external_lex_state = 13},
  [1369] = {.lex_state = 238},
  [1370] = {.lex_state = 236, .external_lex_state = 16},
  [1371] = {.lex_state = 97, .external_lex_state = 13},
  [1372] = {.lex_state = 238},
  [1373] = {.lex_state = 236, .external_lex_state = 16},
  [1374] = {.lex_state = 238},
  [1375] = {.lex_state = 236, .external_lex_state = 16},
  [1376] = {.lex_state = 236, .external_lex_state = 16},
  [1377] = {.lex_state = 97, .external_lex_state = 13},
  [1378] = {.lex_state = 236, .external_lex_state = 16},
  [1379] = {.lex_state = 97, .external_lex_state = 13},
  [1380] = {.lex_state = 236, .external_lex_state = 16},
  [1381] = {.lex_state = 97, .external_lex_state = 13},
  [1382] = {.lex_state = 218, .external_lex_state = 2},
  [1383] = {.lex_state = 63, .external_lex_state = 2},
  [1384] = {.lex_state = 207, .external_lex_state = 12},
  [1385] = {.lex_state = 174, .external_lex_state = 22},
  [1386] = {.lex_state = 207, .external_lex_state = 12},
  [1387] = {.lex_state = 174, .external_lex_state = 22},
  [1388] = {.lex_state = 149, .external_lex_state = 12},
  [1389] = {.lex_state = 80},
  [1390] = {.lex_state = 124, .external_lex_state = 5},
  [1391] = {.lex_state = 213, .external_lex_state = 22},
  [1392] = {.lex_state = 213, .external_lex_state = 22},
  [1393] = {.lex_state = 166},
  [1394] = {.lex_state = 97},
  [1395] = {.lex_state = 213, .external_lex_state = 22},
  [1396] = {.lex_state = 213, .external_lex_state = 22},
  [1397] = {.lex_state = 213, .external_lex_state = 22},
  [1398] = {.lex_state = 124, .external_lex_state = 5},
  [1399] = {.lex_state = 69},
  [1400] = {.lex_state = 172, .external_lex_state = 6},
  [1401] = {.lex_state = 174, .external_lex_state = 16},
  [1402] = {.lex_state = 174, .external_lex_state = 16},
  [1403] = {.lex_state = 174, .external_lex_state = 16},
  [1404] = {.lex_state = 137, .external_lex_state = 4},
  [1405] = {.lex_state = 141, .external_lex_state = 8},
  [1406] = {.lex_state = 63, .external_lex_state = 2},
  [1407] = {.lex_state = 90, .external_lex_state = 4},
  [1408] = {.lex_state = 122, .external_lex_state = 8},
  [1409] = {.lex_state = 63, .external_lex_state = 2},
  [1410] = {.lex_state = 137, .external_lex_state = 4},
  [1411] = {.lex_state = 141, .external_lex_state = 8},
  [1412] = {.lex_state = 63, .external_lex_state = 2},
  [1413] = {.lex_state = 213, .external_lex_state = 22},
  [1414] = {.lex_state = 213, .external_lex_state = 22},
  [1415] = {.lex_state = 213, .external_lex_state = 16},
  [1416] = {.lex_state = 236, .external_lex_state = 16},
  [1417] = {.lex_state = 124, .external_lex_state = 5},
  [1418] = {.lex_state = 236, .external_lex_state = 16},
  [1419] = {.lex_state = 124, .external_lex_state = 5},
  [1420] = {.lex_state = 236, .external_lex_state = 16},
  [1421] = {.lex_state = 236, .external_lex_state = 22},
  [1422] = {.lex_state = 236, .external_lex_state = 22},
  [1423] = {.lex_state = 236, .external_lex_state = 22},
  [1424] = {.lex_state = 166},
  [1425] = {.lex_state = 234, .external_lex_state = 16},
  [1426] = {.lex_state = 69},
  [1427] = {.lex_state = 174, .external_lex_state = 16},
  [1428] = {.lex_state = 174, .external_lex_state = 16},
  [1429] = {.lex_state = 174, .external_lex_state = 16},
  [1430] = {.lex_state = 236, .external_lex_state = 22},
  [1431] = {.lex_state = 238},
  [1432] = {.lex_state = 236, .external_lex_state = 16},
  [1433] = {.lex_state = 236, .external_lex_state = 22},
  [1434] = {.lex_state = 238},
  [1435] = {.lex_state = 236, .external_lex_state = 16},
  [1436] = {.lex_state = 236, .external_lex_state = 22},
  [1437] = {.lex_state = 238},
  [1438] = {.lex_state = 236, .external_lex_state = 16},
  [1439] = {.lex_state = 124, .external_lex_state = 5},
  [1440] = {.lex_state = 236, .external_lex_state = 16},
  [1441] = {.lex_state = 236, .external_lex_state = 22},
  [1442] = {.lex_state = 218, .external_lex_state = 2},
  [1443] = {.lex_state = 137, .external_lex_state = 4},
  [1444] = {.lex_state = 141, .external_lex_state = 8},
  [1445] = {.lex_state = 63, .external_lex_state = 2},
  [1446] = {.lex_state = 90, .external_lex_state = 4},
  [1447] = {.lex_state = 122, .external_lex_state = 8},
  [1448] = {.lex_state = 236, .external_lex_state = 22},
  [1449] = {.lex_state = 218, .external_lex_state = 2},
  [1450] = {.lex_state = 137, .external_lex_state = 4},
  [1451] = {.lex_state = 141, .external_lex_state = 8},
  [1452] = {.lex_state = 124, .external_lex_state = 5},
  [1453] = {.lex_state = 236, .external_lex_state = 16},
  [1454] = {.lex_state = 124, .external_lex_state = 5},
  [1455] = {.lex_state = 236, .external_lex_state = 16},
  [1456] = {.lex_state = 124, .external_lex_state = 5},
  [1457] = {.lex_state = 245, .external_lex_state = 7},
  [1458] = {.lex_state = 135},
  [1459] = {.lex_state = 63},
  [1460] = {.lex_state = 80},
  [1461] = {.lex_state = 63},
  [1462] = {.lex_state = 80},
  [1463] = {.lex_state = 80},
  [1464] = {.lex_state = 245, .external_lex_state = 21},
  [1465] = {.lex_state = 265, .external_lex_state = 21},
  [1466] = {.lex_state = 245, .external_lex_state = 5},
  [1467] = {.lex_state = 245, .external_lex_state = 5},
  [1468] = {.lex_state = 245, .external_lex_state = 5},
  [1469] = {.lex_state = 245, .external_lex_state = 7},
  [1470] = {.lex_state = 124, .external_lex_state = 5},
  [1471] = {.lex_state = 143, .external_lex_state = 4},
  [1472] = {.lex_state = 234, .external_lex_state = 16},
  [1473] = {.lex_state = 69},
  [1474] = {.lex_state = 174, .external_lex_state = 16},
  [1475] = {.lex_state = 174, .external_lex_state = 16},
  [1476] = {.lex_state = 174, .external_lex_state = 16},
  [1477] = {.lex_state = 177, .external_lex_state = 17},
  [1478] = {.lex_state = 238},
  [1479] = {.lex_state = 236, .external_lex_state = 16},
  [1480] = {.lex_state = 177, .external_lex_state = 17},
  [1481] = {.lex_state = 238},
  [1482] = {.lex_state = 236, .external_lex_state = 16},
  [1483] = {.lex_state = 177, .external_lex_state = 17},
  [1484] = {.lex_state = 238},
  [1485] = {.lex_state = 236, .external_lex_state = 16},
  [1486] = {.lex_state = 203, .external_lex_state = 5},
  [1487] = {.lex_state = 143, .external_lex_state = 4},
  [1488] = {.lex_state = 69},
  [1489] = {.lex_state = 69},
  [1490] = {.lex_state = 209, .external_lex_state = 13},
  [1491] = {.lex_state = 209, .external_lex_state = 13},
  [1492] = {.lex_state = 209, .external_lex_state = 13},
  [1493] = {.lex_state = 166},
  [1494] = {.lex_state = 234, .external_lex_state = 16},
  [1495] = {.lex_state = 69},
  [1496] = {.lex_state = 174, .external_lex_state = 16},
  [1497] = {.lex_state = 174, .external_lex_state = 16},
  [1498] = {.lex_state = 174, .external_lex_state = 16},
  [1499] = {.lex_state = 209, .external_lex_state = 13},
  [1500] = {.lex_state = 238},
  [1501] = {.lex_state = 236, .external_lex_state = 16},
  [1502] = {.lex_state = 209, .external_lex_state = 13},
  [1503] = {.lex_state = 238},
  [1504] = {.lex_state = 236, .external_lex_state = 16},
  [1505] = {.lex_state = 209, .external_lex_state = 13},
  [1506] = {.lex_state = 238},
  [1507] = {.lex_state = 236, .external_lex_state = 16},
  [1508] = {.lex_state = 209, .external_lex_state = 13},
  [1509] = {.lex_state = 218, .external_lex_state = 2},
  [1510] = {.lex_state = 137, .external_lex_state = 4},
  [1511] = {.lex_state = 141, .external_lex_state = 8},
  [1512] = {.lex_state = 63, .external_lex_state = 2},
  [1513] = {.lex_state = 90, .external_lex_state = 4},
  [1514] = {.lex_state = 122, .external_lex_state = 8},
  [1515] = {.lex_state = 209, .external_lex_state = 13},
  [1516] = {.lex_state = 218, .external_lex_state = 2},
  [1517] = {.lex_state = 137, .external_lex_state = 4},
  [1518] = {.lex_state = 141, .external_lex_state = 8},
  [1519] = {.lex_state = 141, .external_lex_state = 19},
  [1520] = {.lex_state = 141, .external_lex_state = 19},
  [1521] = {.lex_state = 213, .external_lex_state = 22},
  [1522] = {.lex_state = 213, .external_lex_state = 22},
  [1523] = {.lex_state = 213, .external_lex_state = 16},
  [1524] = {.lex_state = 234, .external_lex_state = 16},
  [1525] = {.lex_state = 141, .external_lex_state = 19},
  [1526] = {.lex_state = 238},
  [1527] = {.lex_state = 236, .external_lex_state = 16},
  [1528] = {.lex_state = 141, .external_lex_state = 19},
  [1529] = {.lex_state = 238},
  [1530] = {.lex_state = 236, .external_lex_state = 16},
  [1531] = {.lex_state = 238},
  [1532] = {.lex_state = 236, .external_lex_state = 16},
  [1533] = {.lex_state = 236, .external_lex_state = 16},
  [1534] = {.lex_state = 141, .external_lex_state = 19},
  [1535] = {.lex_state = 236, .external_lex_state = 16},
  [1536] = {.lex_state = 141, .external_lex_state = 19},
  [1537] = {.lex_state = 236, .external_lex_state = 16},
  [1538] = {.lex_state = 141, .external_lex_state = 19},
  [1539] = {.lex_state = 218, .external_lex_state = 2},
  [1540] = {.lex_state = 63, .external_lex_state = 2},
  [1541] = {.lex_state = 141, .external_lex_state = 19},
  [1542] = {.lex_state = 218, .external_lex_state = 2},
  [1543] = {.lex_state = 213, .external_lex_state = 20},
  [1544] = {.lex_state = 143, .external_lex_state = 4},
  [1545] = {.lex_state = 211},
  [1546] = {.lex_state = 272},
  [1547] = {.lex_state = 80},
  [1548] = {.lex_state = 272, .external_lex_state = 13},
  [1549] = {.lex_state = 272, .external_lex_state = 13},
  [1550] = {.lex_state = 166},
  [1551] = {.lex_state = 97},
  [1552] = {.lex_state = 272, .external_lex_state = 13},
  [1553] = {.lex_state = 272, .external_lex_state = 13},
  [1554] = {.lex_state = 272, .external_lex_state = 13},
  [1555] = {.lex_state = 69},
  [1556] = {.lex_state = 172, .external_lex_state = 6},
  [1557] = {.lex_state = 174, .external_lex_state = 16},
  [1558] = {.lex_state = 174, .external_lex_state = 16},
  [1559] = {.lex_state = 174, .external_lex_state = 16},
  [1560] = {.lex_state = 137, .external_lex_state = 4},
  [1561] = {.lex_state = 141, .external_lex_state = 8},
  [1562] = {.lex_state = 63, .external_lex_state = 2},
  [1563] = {.lex_state = 90, .external_lex_state = 4},
  [1564] = {.lex_state = 122, .external_lex_state = 8},
  [1565] = {.lex_state = 63, .external_lex_state = 2},
  [1566] = {.lex_state = 137, .external_lex_state = 4},
  [1567] = {.lex_state = 141, .external_lex_state = 8},
  [1568] = {.lex_state = 63, .external_lex_state = 2},
  [1569] = {.lex_state = 270},
  [1570] = {.lex_state = 84},
  [1571] = {.lex_state = 224},
  [1572] = {.lex_state = 272},
  [1573] = {.lex_state = 253, .external_lex_state = 10},
  [1574] = {.lex_state = 253, .external_lex_state = 10},
  [1575] = {.lex_state = 213, .external_lex_state = 22},
  [1576] = {.lex_state = 213, .external_lex_state = 22},
  [1577] = {.lex_state = 213, .external_lex_state = 16},
  [1578] = {.lex_state = 234, .external_lex_state = 16},
  [1579] = {.lex_state = 253, .external_lex_state = 10},
  [1580] = {.lex_state = 238},
  [1581] = {.lex_state = 236, .external_lex_state = 16},
  [1582] = {.lex_state = 253, .external_lex_state = 10},
  [1583] = {.lex_state = 238},
  [1584] = {.lex_state = 236, .external_lex_state = 16},
  [1585] = {.lex_state = 238},
  [1586] = {.lex_state = 236, .external_lex_state = 16},
  [1587] = {.lex_state = 236, .external_lex_state = 16},
  [1588] = {.lex_state = 253, .external_lex_state = 10},
  [1589] = {.lex_state = 236, .external_lex_state = 16},
  [1590] = {.lex_state = 253, .external_lex_state = 10},
  [1591] = {.lex_state = 236, .external_lex_state = 16},
  [1592] = {.lex_state = 253, .external_lex_state = 10},
  [1593] = {.lex_state = 218, .external_lex_state = 2},
  [1594] = {.lex_state = 63, .external_lex_state = 2},
  [1595] = {.lex_state = 253, .external_lex_state = 10},
  [1596] = {.lex_state = 218, .external_lex_state = 2},
  [1597] = {.lex_state = 249},
  [1598] = {.lex_state = 255, .external_lex_state = 10},
  [1599] = {.lex_state = 255, .external_lex_state = 10},
  [1600] = {.lex_state = 255, .external_lex_state = 10},
  [1601] = {.lex_state = 166},
  [1602] = {.lex_state = 234, .external_lex_state = 16},
  [1603] = {.lex_state = 69},
  [1604] = {.lex_state = 174, .external_lex_state = 16},
  [1605] = {.lex_state = 174, .external_lex_state = 16},
  [1606] = {.lex_state = 174, .external_lex_state = 16},
  [1607] = {.lex_state = 255, .external_lex_state = 10},
  [1608] = {.lex_state = 238},
  [1609] = {.lex_state = 236, .external_lex_state = 16},
  [1610] = {.lex_state = 255, .external_lex_state = 10},
  [1611] = {.lex_state = 238},
  [1612] = {.lex_state = 236, .external_lex_state = 16},
  [1613] = {.lex_state = 255, .external_lex_state = 10},
  [1614] = {.lex_state = 238},
  [1615] = {.lex_state = 236, .external_lex_state = 16},
  [1616] = {.lex_state = 255, .external_lex_state = 10},
  [1617] = {.lex_state = 218, .external_lex_state = 2},
  [1618] = {.lex_state = 137, .external_lex_state = 4},
  [1619] = {.lex_state = 141, .external_lex_state = 8},
  [1620] = {.lex_state = 63, .external_lex_state = 2},
  [1621] = {.lex_state = 90, .external_lex_state = 4},
  [1622] = {.lex_state = 122, .external_lex_state = 8},
  [1623] = {.lex_state = 255, .external_lex_state = 10},
  [1624] = {.lex_state = 218, .external_lex_state = 2},
  [1625] = {.lex_state = 137, .external_lex_state = 4},
  [1626] = {.lex_state = 141, .external_lex_state = 8},
  [1627] = {.lex_state = 143, .external_lex_state = 4},
  [1628] = {.lex_state = 143, .external_lex_state = 4},
  [1629] = {.lex_state = 122, .external_lex_state = 19},
  [1630] = {.lex_state = 215, .external_lex_state = 21},
  [1631] = {.lex_state = 80},
  [1632] = {.lex_state = 120, .external_lex_state = 10},
  [1633] = {.lex_state = 120, .external_lex_state = 10},
  [1634] = {.lex_state = 80},
  [1635] = {.lex_state = 203, .external_lex_state = 23},
  [1636] = {.lex_state = 203, .external_lex_state = 23},
  [1637] = {.lex_state = 203, .external_lex_state = 23},
  [1638] = {.lex_state = 203, .external_lex_state = 23},
  [1639] = {.lex_state = 203, .external_lex_state = 21},
  [1640] = {.lex_state = 203, .external_lex_state = 5},
  [1641] = {.lex_state = 63, .external_lex_state = 2},
  [1642] = {.lex_state = 63, .external_lex_state = 2},
  [1643] = {.lex_state = 143, .external_lex_state = 4},
  [1644] = {.lex_state = 80},
  [1645] = {.lex_state = 80},
  [1646] = {.lex_state = 279, .external_lex_state = 2},
  [1647] = {.lex_state = 274},
  [1648] = {.lex_state = 274, .external_lex_state = 13},
  [1649] = {.lex_state = 279, .external_lex_state = 2},
  [1650] = {.lex_state = 274},
  [1651] = {.lex_state = 143, .external_lex_state = 4},
  [1652] = {.lex_state = 277},
  [1653] = {.lex_state = 80},
  [1654] = {.lex_state = 143, .external_lex_state = 4},
  [1655] = {.lex_state = 80},
  [1656] = {.lex_state = 143, .external_lex_state = 4},
  [1657] = {.lex_state = 277},
  [1658] = {.lex_state = 143, .external_lex_state = 4},
  [1659] = {.lex_state = 80},
  [1660] = {.lex_state = 131, .external_lex_state = 10},
  [1661] = {.lex_state = 131, .external_lex_state = 10},
  [1662] = {.lex_state = 213, .external_lex_state = 22},
  [1663] = {.lex_state = 213, .external_lex_state = 22},
  [1664] = {.lex_state = 213, .external_lex_state = 16},
  [1665] = {.lex_state = 236, .external_lex_state = 16},
  [1666] = {.lex_state = 131, .external_lex_state = 10},
  [1667] = {.lex_state = 236, .external_lex_state = 16},
  [1668] = {.lex_state = 131, .external_lex_state = 10},
  [1669] = {.lex_state = 236, .external_lex_state = 16},
  [1670] = {.lex_state = 131, .external_lex_state = 10},
  [1671] = {.lex_state = 236, .external_lex_state = 16},
  [1672] = {.lex_state = 131, .external_lex_state = 10},
  [1673] = {.lex_state = 236, .external_lex_state = 16},
  [1674] = {.lex_state = 131, .external_lex_state = 10},
  [1675] = {.lex_state = 236, .external_lex_state = 16},
  [1676] = {.lex_state = 131, .external_lex_state = 10},
  [1677] = {.lex_state = 131, .external_lex_state = 10},
  [1678] = {.lex_state = 143, .external_lex_state = 4},
  [1679] = {.lex_state = 120, .external_lex_state = 10},
  [1680] = {.lex_state = 120, .external_lex_state = 10},
  [1681] = {.lex_state = 143, .external_lex_state = 4},
  [1682] = {.lex_state = 120, .external_lex_state = 10},
  [1683] = {.lex_state = 141, .external_lex_state = 19},
  [1684] = {.lex_state = 261, .external_lex_state = 21},
  [1685] = {.lex_state = 80},
  [1686] = {.lex_state = 281, .external_lex_state = 10},
  [1687] = {.lex_state = 281, .external_lex_state = 10},
  [1688] = {.lex_state = 80},
  [1689] = {.lex_state = 220, .external_lex_state = 23},
  [1690] = {.lex_state = 220, .external_lex_state = 23},
  [1691] = {.lex_state = 220, .external_lex_state = 23},
  [1692] = {.lex_state = 220, .external_lex_state = 23},
  [1693] = {.lex_state = 220, .external_lex_state = 21},
  [1694] = {.lex_state = 220, .external_lex_state = 5},
  [1695] = {.lex_state = 80, .external_lex_state = 2},
  [1696] = {.lex_state = 149, .external_lex_state = 11},
  [1697] = {.lex_state = 149, .external_lex_state = 11},
  [1698] = {.lex_state = 213, .external_lex_state = 22},
  [1699] = {.lex_state = 213, .external_lex_state = 22},
  [1700] = {.lex_state = 213, .external_lex_state = 16},
  [1701] = {.lex_state = 236, .external_lex_state = 16},
  [1702] = {.lex_state = 149, .external_lex_state = 11},
  [1703] = {.lex_state = 236, .external_lex_state = 16},
  [1704] = {.lex_state = 149, .external_lex_state = 11},
  [1705] = {.lex_state = 236, .external_lex_state = 16},
  [1706] = {.lex_state = 149, .external_lex_state = 11},
  [1707] = {.lex_state = 236, .external_lex_state = 16},
  [1708] = {.lex_state = 149, .external_lex_state = 11},
  [1709] = {.lex_state = 236, .external_lex_state = 16},
  [1710] = {.lex_state = 149, .external_lex_state = 11},
  [1711] = {.lex_state = 236, .external_lex_state = 16},
  [1712] = {.lex_state = 149, .external_lex_state = 11},
  [1713] = {.lex_state = 149, .external_lex_state = 11},
  [1714] = {.lex_state = 203, .external_lex_state = 23},
  [1715] = {.lex_state = 203, .external_lex_state = 23},
  [1716] = {.lex_state = 247, .external_lex_state = 21},
  [1717] = {.lex_state = 80},
  [1718] = {.lex_state = 203, .external_lex_state = 23},
  [1719] = {.lex_state = 247, .external_lex_state = 23},
  [1720] = {.lex_state = 166},
  [1721] = {.lex_state = 97},
  [1722] = {.lex_state = 247, .external_lex_state = 23},
  [1723] = {.lex_state = 247, .external_lex_state = 23},
  [1724] = {.lex_state = 247, .external_lex_state = 23},
  [1725] = {.lex_state = 69},
  [1726] = {.lex_state = 172, .external_lex_state = 6},
  [1727] = {.lex_state = 174, .external_lex_state = 16},
  [1728] = {.lex_state = 174, .external_lex_state = 16},
  [1729] = {.lex_state = 174, .external_lex_state = 16},
  [1730] = {.lex_state = 137, .external_lex_state = 4},
  [1731] = {.lex_state = 141, .external_lex_state = 8},
  [1732] = {.lex_state = 63, .external_lex_state = 2},
  [1733] = {.lex_state = 90, .external_lex_state = 4},
  [1734] = {.lex_state = 122, .external_lex_state = 8},
  [1735] = {.lex_state = 63, .external_lex_state = 2},
  [1736] = {.lex_state = 137, .external_lex_state = 4},
  [1737] = {.lex_state = 141, .external_lex_state = 8},
  [1738] = {.lex_state = 63, .external_lex_state = 2},
  [1739] = {.lex_state = 231, .external_lex_state = 13},
  [1740] = {.lex_state = 231, .external_lex_state = 13},
  [1741] = {.lex_state = 213, .external_lex_state = 22},
  [1742] = {.lex_state = 213, .external_lex_state = 22},
  [1743] = {.lex_state = 213, .external_lex_state = 16},
  [1744] = {.lex_state = 236, .external_lex_state = 16},
  [1745] = {.lex_state = 231, .external_lex_state = 13},
  [1746] = {.lex_state = 236, .external_lex_state = 16},
  [1747] = {.lex_state = 231, .external_lex_state = 13},
  [1748] = {.lex_state = 236, .external_lex_state = 16},
  [1749] = {.lex_state = 231, .external_lex_state = 13},
  [1750] = {.lex_state = 236, .external_lex_state = 16},
  [1751] = {.lex_state = 231, .external_lex_state = 13},
  [1752] = {.lex_state = 236, .external_lex_state = 16},
  [1753] = {.lex_state = 231, .external_lex_state = 13},
  [1754] = {.lex_state = 236, .external_lex_state = 16},
  [1755] = {.lex_state = 231, .external_lex_state = 13},
  [1756] = {.lex_state = 231, .external_lex_state = 13},
  [1757] = {.lex_state = 137, .external_lex_state = 3},
  [1758] = {.lex_state = 137, .external_lex_state = 14},
  [1759] = {.lex_state = 137, .external_lex_state = 14},
  [1760] = {.lex_state = 213, .external_lex_state = 22},
  [1761] = {.lex_state = 213, .external_lex_state = 22},
  [1762] = {.lex_state = 213, .external_lex_state = 16},
  [1763] = {.lex_state = 236, .external_lex_state = 16},
  [1764] = {.lex_state = 137, .external_lex_state = 14},
  [1765] = {.lex_state = 236, .external_lex_state = 16},
  [1766] = {.lex_state = 137, .external_lex_state = 14},
  [1767] = {.lex_state = 236, .external_lex_state = 16},
  [1768] = {.lex_state = 137, .external_lex_state = 14},
  [1769] = {.lex_state = 236, .external_lex_state = 16},
  [1770] = {.lex_state = 137, .external_lex_state = 14},
  [1771] = {.lex_state = 236, .external_lex_state = 16},
  [1772] = {.lex_state = 137, .external_lex_state = 14},
  [1773] = {.lex_state = 236, .external_lex_state = 16},
  [1774] = {.lex_state = 137, .external_lex_state = 14},
  [1775] = {.lex_state = 137, .external_lex_state = 14},
  [1776] = {.lex_state = 137, .external_lex_state = 10},
  [1777] = {.lex_state = 137, .external_lex_state = 10},
  [1778] = {.lex_state = 213, .external_lex_state = 22},
  [1779] = {.lex_state = 213, .external_lex_state = 22},
  [1780] = {.lex_state = 213, .external_lex_state = 16},
  [1781] = {.lex_state = 236, .external_lex_state = 16},
  [1782] = {.lex_state = 137, .external_lex_state = 10},
  [1783] = {.lex_state = 236, .external_lex_state = 16},
  [1784] = {.lex_state = 137, .external_lex_state = 10},
  [1785] = {.lex_state = 236, .external_lex_state = 16},
  [1786] = {.lex_state = 137, .external_lex_state = 10},
  [1787] = {.lex_state = 236, .external_lex_state = 16},
  [1788] = {.lex_state = 137, .external_lex_state = 10},
  [1789] = {.lex_state = 236, .external_lex_state = 16},
  [1790] = {.lex_state = 137, .external_lex_state = 10},
  [1791] = {.lex_state = 236, .external_lex_state = 16},
  [1792] = {.lex_state = 137, .external_lex_state = 10},
  [1793] = {.lex_state = 137, .external_lex_state = 10},
  [1794] = {.lex_state = 80, .external_lex_state = 15},
  [1795] = {.lex_state = 80, .external_lex_state = 15},
  [1796] = {.lex_state = 213, .external_lex_state = 22},
  [1797] = {.lex_state = 213, .external_lex_state = 22},
  [1798] = {.lex_state = 213, .external_lex_state = 16},
  [1799] = {.lex_state = 236, .external_lex_state = 16},
  [1800] = {.lex_state = 80, .external_lex_state = 15},
  [1801] = {.lex_state = 236, .external_lex_state = 16},
  [1802] = {.lex_state = 80, .external_lex_state = 15},
  [1803] = {.lex_state = 236, .external_lex_state = 16},
  [1804] = {.lex_state = 80, .external_lex_state = 15},
  [1805] = {.lex_state = 236, .external_lex_state = 16},
  [1806] = {.lex_state = 80, .external_lex_state = 15},
  [1807] = {.lex_state = 236, .external_lex_state = 16},
  [1808] = {.lex_state = 80, .external_lex_state = 15},
  [1809] = {.lex_state = 236, .external_lex_state = 16},
  [1810] = {.lex_state = 80, .external_lex_state = 15},
  [1811] = {.lex_state = 80, .external_lex_state = 15},
  [1812] = {.lex_state = 97, .external_lex_state = 13},
  [1813] = {.lex_state = 97, .external_lex_state = 13},
  [1814] = {.lex_state = 213, .external_lex_state = 22},
  [1815] = {.lex_state = 213, .external_lex_state = 22},
  [1816] = {.lex_state = 213, .external_lex_state = 16},
  [1817] = {.lex_state = 236, .external_lex_state = 16},
  [1818] = {.lex_state = 97, .external_lex_state = 13},
  [1819] = {.lex_state = 236, .external_lex_state = 16},
  [1820] = {.lex_state = 97, .external_lex_state = 13},
  [1821] = {.lex_state = 236, .external_lex_state = 16},
  [1822] = {.lex_state = 97, .external_lex_state = 13},
  [1823] = {.lex_state = 236, .external_lex_state = 16},
  [1824] = {.lex_state = 97, .external_lex_state = 13},
  [1825] = {.lex_state = 236, .external_lex_state = 16},
  [1826] = {.lex_state = 97, .external_lex_state = 13},
  [1827] = {.lex_state = 236, .external_lex_state = 16},
  [1828] = {.lex_state = 97, .external_lex_state = 13},
  [1829] = {.lex_state = 174, .external_lex_state = 22},
  [1830] = {.lex_state = 174, .external_lex_state = 16},
  [1831] = {.lex_state = 174, .external_lex_state = 22},
  [1832] = {.lex_state = 174, .external_lex_state = 16},
  [1833] = {.lex_state = 213, .external_lex_state = 22},
  [1834] = {.lex_state = 213, .external_lex_state = 22},
  [1835] = {.lex_state = 213, .external_lex_state = 22},
  [1836] = {.lex_state = 166},
  [1837] = {.lex_state = 234, .external_lex_state = 16},
  [1838] = {.lex_state = 69},
  [1839] = {.lex_state = 174, .external_lex_state = 16},
  [1840] = {.lex_state = 174, .external_lex_state = 16},
  [1841] = {.lex_state = 174, .external_lex_state = 16},
  [1842] = {.lex_state = 213, .external_lex_state = 22},
  [1843] = {.lex_state = 238},
  [1844] = {.lex_state = 236, .external_lex_state = 16},
  [1845] = {.lex_state = 213, .external_lex_state = 22},
  [1846] = {.lex_state = 238},
  [1847] = {.lex_state = 236, .external_lex_state = 16},
  [1848] = {.lex_state = 213, .external_lex_state = 22},
  [1849] = {.lex_state = 238},
  [1850] = {.lex_state = 236, .external_lex_state = 16},
  [1851] = {.lex_state = 213, .external_lex_state = 22},
  [1852] = {.lex_state = 218, .external_lex_state = 2},
  [1853] = {.lex_state = 137, .external_lex_state = 4},
  [1854] = {.lex_state = 141, .external_lex_state = 8},
  [1855] = {.lex_state = 63, .external_lex_state = 2},
  [1856] = {.lex_state = 90, .external_lex_state = 4},
  [1857] = {.lex_state = 122, .external_lex_state = 8},
  [1858] = {.lex_state = 213, .external_lex_state = 22},
  [1859] = {.lex_state = 218, .external_lex_state = 2},
  [1860] = {.lex_state = 137, .external_lex_state = 4},
  [1861] = {.lex_state = 141, .external_lex_state = 8},
  [1862] = {.lex_state = 124, .external_lex_state = 5},
  [1863] = {.lex_state = 124, .external_lex_state = 5},
  [1864] = {.lex_state = 124, .external_lex_state = 5},
  [1865] = {.lex_state = 236, .external_lex_state = 16},
  [1866] = {.lex_state = 124, .external_lex_state = 5},
  [1867] = {.lex_state = 236, .external_lex_state = 16},
  [1868] = {.lex_state = 124, .external_lex_state = 5},
  [1869] = {.lex_state = 236, .external_lex_state = 16},
  [1870] = {.lex_state = 236, .external_lex_state = 22},
  [1871] = {.lex_state = 236, .external_lex_state = 22},
  [1872] = {.lex_state = 213, .external_lex_state = 22},
  [1873] = {.lex_state = 213, .external_lex_state = 22},
  [1874] = {.lex_state = 213, .external_lex_state = 16},
  [1875] = {.lex_state = 234, .external_lex_state = 16},
  [1876] = {.lex_state = 236, .external_lex_state = 22},
  [1877] = {.lex_state = 238},
  [1878] = {.lex_state = 236, .external_lex_state = 16},
  [1879] = {.lex_state = 236, .external_lex_state = 22},
  [1880] = {.lex_state = 238},
  [1881] = {.lex_state = 236, .external_lex_state = 16},
  [1882] = {.lex_state = 238},
  [1883] = {.lex_state = 236, .external_lex_state = 16},
  [1884] = {.lex_state = 236, .external_lex_state = 16},
  [1885] = {.lex_state = 236, .external_lex_state = 22},
  [1886] = {.lex_state = 236, .external_lex_state = 16},
  [1887] = {.lex_state = 236, .external_lex_state = 22},
  [1888] = {.lex_state = 236, .external_lex_state = 16},
  [1889] = {.lex_state = 124, .external_lex_state = 5},
  [1890] = {.lex_state = 236, .external_lex_state = 22},
  [1891] = {.lex_state = 218, .external_lex_state = 2},
  [1892] = {.lex_state = 63, .external_lex_state = 2},
  [1893] = {.lex_state = 236, .external_lex_state = 22},
  [1894] = {.lex_state = 218, .external_lex_state = 2},
  [1895] = {.lex_state = 124, .external_lex_state = 5},
  [1896] = {.lex_state = 124, .external_lex_state = 5},
  [1897] = {.lex_state = 265, .external_lex_state = 21},
  [1898] = {.lex_state = 80},
  [1899] = {.lex_state = 143, .external_lex_state = 10},
  [1900] = {.lex_state = 143, .external_lex_state = 10},
  [1901] = {.lex_state = 80},
  [1902] = {.lex_state = 245, .external_lex_state = 23},
  [1903] = {.lex_state = 245, .external_lex_state = 23},
  [1904] = {.lex_state = 245, .external_lex_state = 23},
  [1905] = {.lex_state = 245, .external_lex_state = 23},
  [1906] = {.lex_state = 245, .external_lex_state = 21},
  [1907] = {.lex_state = 245, .external_lex_state = 5},
  [1908] = {.lex_state = 177, .external_lex_state = 17},
  [1909] = {.lex_state = 213, .external_lex_state = 22},
  [1910] = {.lex_state = 213, .external_lex_state = 22},
  [1911] = {.lex_state = 213, .external_lex_state = 16},
  [1912] = {.lex_state = 234, .external_lex_state = 16},
  [1913] = {.lex_state = 177, .external_lex_state = 17},
  [1914] = {.lex_state = 238},
  [1915] = {.lex_state = 236, .external_lex_state = 16},
  [1916] = {.lex_state = 177, .external_lex_state = 17},
  [1917] = {.lex_state = 238},
  [1918] = {.lex_state = 236, .external_lex_state = 16},
  [1919] = {.lex_state = 238},
  [1920] = {.lex_state = 236, .external_lex_state = 16},
  [1921] = {.lex_state = 236, .external_lex_state = 16},
  [1922] = {.lex_state = 177, .external_lex_state = 17},
  [1923] = {.lex_state = 236, .external_lex_state = 16},
  [1924] = {.lex_state = 177, .external_lex_state = 17},
  [1925] = {.lex_state = 236, .external_lex_state = 16},
  [1926] = {.lex_state = 209, .external_lex_state = 13},
  [1927] = {.lex_state = 209, .external_lex_state = 13},
  [1928] = {.lex_state = 213, .external_lex_state = 22},
  [1929] = {.lex_state = 213, .external_lex_state = 22},
  [1930] = {.lex_state = 213, .external_lex_state = 16},
  [1931] = {.lex_state = 234, .external_lex_state = 16},
  [1932] = {.lex_state = 209, .external_lex_state = 13},
  [1933] = {.lex_state = 238},
  [1934] = {.lex_state = 236, .external_lex_state = 16},
  [1935] = {.lex_state = 209, .external_lex_state = 13},
  [1936] = {.lex_state = 238},
  [1937] = {.lex_state = 236, .external_lex_state = 16},
  [1938] = {.lex_state = 238},
  [1939] = {.lex_state = 236, .external_lex_state = 16},
  [1940] = {.lex_state = 236, .external_lex_state = 16},
  [1941] = {.lex_state = 209, .external_lex_state = 13},
  [1942] = {.lex_state = 236, .external_lex_state = 16},
  [1943] = {.lex_state = 209, .external_lex_state = 13},
  [1944] = {.lex_state = 236, .external_lex_state = 16},
  [1945] = {.lex_state = 209, .external_lex_state = 13},
  [1946] = {.lex_state = 218, .external_lex_state = 2},
  [1947] = {.lex_state = 63, .external_lex_state = 2},
  [1948] = {.lex_state = 209, .external_lex_state = 13},
  [1949] = {.lex_state = 218, .external_lex_state = 2},
  [1950] = {.lex_state = 141, .external_lex_state = 19},
  [1951] = {.lex_state = 141, .external_lex_state = 19},
  [1952] = {.lex_state = 213, .external_lex_state = 22},
  [1953] = {.lex_state = 213, .external_lex_state = 22},
  [1954] = {.lex_state = 213, .external_lex_state = 16},
  [1955] = {.lex_state = 236, .external_lex_state = 16},
  [1956] = {.lex_state = 141, .external_lex_state = 19},
  [1957] = {.lex_state = 236, .external_lex_state = 16},
  [1958] = {.lex_state = 141, .external_lex_state = 19},
  [1959] = {.lex_state = 236, .external_lex_state = 16},
  [1960] = {.lex_state = 141, .external_lex_state = 19},
  [1961] = {.lex_state = 236, .external_lex_state = 16},
  [1962] = {.lex_state = 141, .external_lex_state = 19},
  [1963] = {.lex_state = 236, .external_lex_state = 16},
  [1964] = {.lex_state = 141, .external_lex_state = 19},
  [1965] = {.lex_state = 236, .external_lex_state = 16},
  [1966] = {.lex_state = 141, .external_lex_state = 19},
  [1967] = {.lex_state = 141, .external_lex_state = 19},
  [1968] = {.lex_state = 143, .external_lex_state = 4},
  [1969] = {.lex_state = 213, .external_lex_state = 20},
  [1970] = {.lex_state = 272},
  [1971] = {.lex_state = 272, .external_lex_state = 13},
  [1972] = {.lex_state = 272, .external_lex_state = 13},
  [1973] = {.lex_state = 272, .external_lex_state = 13},
  [1974] = {.lex_state = 166},
  [1975] = {.lex_state = 234, .external_lex_state = 16},
  [1976] = {.lex_state = 69},
  [1977] = {.lex_state = 174, .external_lex_state = 16},
  [1978] = {.lex_state = 174, .external_lex_state = 16},
  [1979] = {.lex_state = 174, .external_lex_state = 16},
  [1980] = {.lex_state = 272, .external_lex_state = 13},
  [1981] = {.lex_state = 238},
  [1982] = {.lex_state = 236, .external_lex_state = 16},
  [1983] = {.lex_state = 272, .external_lex_state = 13},
  [1984] = {.lex_state = 238},
  [1985] = {.lex_state = 236, .external_lex_state = 16},
  [1986] = {.lex_state = 272, .external_lex_state = 13},
  [1987] = {.lex_state = 238},
  [1988] = {.lex_state = 236, .external_lex_state = 16},
  [1989] = {.lex_state = 272, .external_lex_state = 13},
  [1990] = {.lex_state = 218, .external_lex_state = 2},
  [1991] = {.lex_state = 137, .external_lex_state = 4},
  [1992] = {.lex_state = 141, .external_lex_state = 8},
  [1993] = {.lex_state = 63, .external_lex_state = 2},
  [1994] = {.lex_state = 90, .external_lex_state = 4},
  [1995] = {.lex_state = 122, .external_lex_state = 8},
  [1996] = {.lex_state = 272, .external_lex_state = 13},
  [1997] = {.lex_state = 218, .external_lex_state = 2},
  [1998] = {.lex_state = 137, .external_lex_state = 4},
  [1999] = {.lex_state = 141, .external_lex_state = 8},
  [2000] = {.lex_state = 143, .external_lex_state = 4},
  [2001] = {.lex_state = 272},
  [2002] = {.lex_state = 272},
  [2003] = {.lex_state = 270},
  [2004] = {.lex_state = 253, .external_lex_state = 10},
  [2005] = {.lex_state = 253, .external_lex_state = 10},
  [2006] = {.lex_state = 213, .external_lex_state = 22},
  [2007] = {.lex_state = 213, .external_lex_state = 22},
  [2008] = {.lex_state = 213, .external_lex_state = 16},
  [2009] = {.lex_state = 236, .external_lex_state = 16},
  [2010] = {.lex_state = 253, .external_lex_state = 10},
  [2011] = {.lex_state = 236, .external_lex_state = 16},
  [2012] = {.lex_state = 253, .external_lex_state = 10},
  [2013] = {.lex_state = 236, .external_lex_state = 16},
  [2014] = {.lex_state = 253, .external_lex_state = 10},
  [2015] = {.lex_state = 236, .external_lex_state = 16},
  [2016] = {.lex_state = 253, .external_lex_state = 10},
  [2017] = {.lex_state = 236, .external_lex_state = 16},
  [2018] = {.lex_state = 253, .external_lex_state = 10},
  [2019] = {.lex_state = 236, .external_lex_state = 16},
  [2020] = {.lex_state = 253, .external_lex_state = 10},
  [2021] = {.lex_state = 253, .external_lex_state = 10},
  [2022] = {.lex_state = 272},
  [2023] = {.lex_state = 255, .external_lex_state = 10},
  [2024] = {.lex_state = 255, .external_lex_state = 10},
  [2025] = {.lex_state = 213, .external_lex_state = 22},
  [2026] = {.lex_state = 213, .external_lex_state = 22},
  [2027] = {.lex_state = 213, .external_lex_state = 16},
  [2028] = {.lex_state = 234, .external_lex_state = 16},
  [2029] = {.lex_state = 255, .external_lex_state = 10},
  [2030] = {.lex_state = 238},
  [2031] = {.lex_state = 236, .external_lex_state = 16},
  [2032] = {.lex_state = 255, .external_lex_state = 10},
  [2033] = {.lex_state = 238},
  [2034] = {.lex_state = 236, .external_lex_state = 16},
  [2035] = {.lex_state = 238},
  [2036] = {.lex_state = 236, .external_lex_state = 16},
  [2037] = {.lex_state = 236, .external_lex_state = 16},
  [2038] = {.lex_state = 255, .external_lex_state = 10},
  [2039] = {.lex_state = 236, .external_lex_state = 16},
  [2040] = {.lex_state = 255, .external_lex_state = 10},
  [2041] = {.lex_state = 236, .external_lex_state = 16},
  [2042] = {.lex_state = 255, .external_lex_state = 10},
  [2043] = {.lex_state = 218, .external_lex_state = 2},
  [2044] = {.lex_state = 63, .external_lex_state = 2},
  [2045] = {.lex_state = 255, .external_lex_state = 10},
  [2046] = {.lex_state = 218, .external_lex_state = 2},
  [2047] = {.lex_state = 120, .external_lex_state = 10},
  [2048] = {.lex_state = 120, .external_lex_state = 10},
  [2049] = {.lex_state = 120, .external_lex_state = 10},
  [2050] = {.lex_state = 203, .external_lex_state = 23},
  [2051] = {.lex_state = 203, .external_lex_state = 23},
  [2052] = {.lex_state = 203, .external_lex_state = 23},
  [2053] = {.lex_state = 63, .external_lex_state = 2},
  [2054] = {.lex_state = 143, .external_lex_state = 4},
  [2055] = {.lex_state = 274, .external_lex_state = 13},
  [2056] = {.lex_state = 274, .external_lex_state = 13},
  [2057] = {.lex_state = 274},
  [2058] = {.lex_state = 69},
  [2059] = {.lex_state = 63, .external_lex_state = 2},
  [2060] = {.lex_state = 257},
  [2061] = {.lex_state = 80},
  [2062] = {.lex_state = 82, .external_lex_state = 2},
  [2063] = {.lex_state = 84},
  [2064] = {.lex_state = 84},
  [2065] = {.lex_state = 283, .external_lex_state = 3},
  [2066] = {.lex_state = 283, .external_lex_state = 4},
  [2067] = {.lex_state = 289, .external_lex_state = 5},
  [2068] = {.lex_state = 97},
  [2069] = {.lex_state = 104},
  [2070] = {.lex_state = 289, .external_lex_state = 5},
  [2071] = {.lex_state = 113, .external_lex_state = 6},
  [2072] = {.lex_state = 63, .external_lex_state = 2},
  [2073] = {.lex_state = 63, .external_lex_state = 2},
  [2074] = {.lex_state = 63, .external_lex_state = 2},
  [2075] = {.lex_state = 291, .external_lex_state = 5},
  [2076] = {.lex_state = 277, .external_lex_state = 4},
  [2077] = {.lex_state = 289, .external_lex_state = 7},
  [2078] = {.lex_state = 293, .external_lex_state = 8},
  [2079] = {.lex_state = 69},
  [2080] = {.lex_state = 289, .external_lex_state = 7},
  [2081] = {.lex_state = 279, .external_lex_state = 2},
  [2082] = {.lex_state = 80, .external_lex_state = 2},
  [2083] = {.lex_state = 279, .external_lex_state = 2},
  [2084] = {.lex_state = 274},
  [2085] = {.lex_state = 274, .external_lex_state = 13},
  [2086] = {.lex_state = 257},
  [2087] = {.lex_state = 277, .external_lex_state = 4},
  [2088] = {.lex_state = 293, .external_lex_state = 8},
  [2089] = {.lex_state = 279, .external_lex_state = 2},
  [2090] = {.lex_state = 279, .external_lex_state = 2},
  [2091] = {.lex_state = 143, .external_lex_state = 4},
  [2092] = {.lex_state = 274, .external_lex_state = 13},
  [2093] = {.lex_state = 274, .external_lex_state = 13},
  [2094] = {.lex_state = 274},
  [2095] = {.lex_state = 277},
  [2096] = {.lex_state = 143, .external_lex_state = 4},
  [2097] = {.lex_state = 277},
  [2098] = {.lex_state = 131, .external_lex_state = 10},
  [2099] = {.lex_state = 131, .external_lex_state = 10},
  [2100] = {.lex_state = 131, .external_lex_state = 10},
  [2101] = {.lex_state = 236, .external_lex_state = 16},
  [2102] = {.lex_state = 131, .external_lex_state = 10},
  [2103] = {.lex_state = 236, .external_lex_state = 16},
  [2104] = {.lex_state = 131, .external_lex_state = 10},
  [2105] = {.lex_state = 236, .external_lex_state = 16},
  [2106] = {.lex_state = 131, .external_lex_state = 10},
  [2107] = {.lex_state = 131, .external_lex_state = 10},
  [2108] = {.lex_state = 131, .external_lex_state = 10},
  [2109] = {.lex_state = 120, .external_lex_state = 10},
  [2110] = {.lex_state = 281, .external_lex_state = 10},
  [2111] = {.lex_state = 281, .external_lex_state = 10},
  [2112] = {.lex_state = 281, .external_lex_state = 10},
  [2113] = {.lex_state = 220, .external_lex_state = 23},
  [2114] = {.lex_state = 220, .external_lex_state = 23},
  [2115] = {.lex_state = 220, .external_lex_state = 23},
  [2116] = {.lex_state = 149, .external_lex_state = 11},
  [2117] = {.lex_state = 149, .external_lex_state = 11},
  [2118] = {.lex_state = 149, .external_lex_state = 11},
  [2119] = {.lex_state = 236, .external_lex_state = 16},
  [2120] = {.lex_state = 149, .external_lex_state = 11},
  [2121] = {.lex_state = 236, .external_lex_state = 16},
  [2122] = {.lex_state = 149, .external_lex_state = 11},
  [2123] = {.lex_state = 236, .external_lex_state = 16},
  [2124] = {.lex_state = 149, .external_lex_state = 11},
  [2125] = {.lex_state = 149, .external_lex_state = 11},
  [2126] = {.lex_state = 149, .external_lex_state = 11},
  [2127] = {.lex_state = 247, .external_lex_state = 23},
  [2128] = {.lex_state = 203, .external_lex_state = 23},
  [2129] = {.lex_state = 247, .external_lex_state = 23},
  [2130] = {.lex_state = 166},
  [2131] = {.lex_state = 234, .external_lex_state = 16},
  [2132] = {.lex_state = 69},
  [2133] = {.lex_state = 174, .external_lex_state = 16},
  [2134] = {.lex_state = 174, .external_lex_state = 16},
  [2135] = {.lex_state = 174, .external_lex_state = 16},
  [2136] = {.lex_state = 247, .external_lex_state = 23},
  [2137] = {.lex_state = 238},
  [2138] = {.lex_state = 236, .external_lex_state = 16},
  [2139] = {.lex_state = 247, .external_lex_state = 23},
  [2140] = {.lex_state = 238},
  [2141] = {.lex_state = 236, .external_lex_state = 16},
  [2142] = {.lex_state = 247, .external_lex_state = 23},
  [2143] = {.lex_state = 238},
  [2144] = {.lex_state = 236, .external_lex_state = 16},
  [2145] = {.lex_state = 247, .external_lex_state = 23},
  [2146] = {.lex_state = 218, .external_lex_state = 2},
  [2147] = {.lex_state = 137, .external_lex_state = 4},
  [2148] = {.lex_state = 141, .external_lex_state = 8},
  [2149] = {.lex_state = 63, .external_lex_state = 2},
  [2150] = {.lex_state = 90, .external_lex_state = 4},
  [2151] = {.lex_state = 122, .external_lex_state = 8},
  [2152] = {.lex_state = 247, .external_lex_state = 23},
  [2153] = {.lex_state = 218, .external_lex_state = 2},
  [2154] = {.lex_state = 137, .external_lex_state = 4},
  [2155] = {.lex_state = 141, .external_lex_state = 8},
  [2156] = {.lex_state = 231, .external_lex_state = 13},
  [2157] = {.lex_state = 231, .external_lex_state = 13},
  [2158] = {.lex_state = 231, .external_lex_state = 13},
  [2159] = {.lex_state = 236, .external_lex_state = 16},
  [2160] = {.lex_state = 231, .external_lex_state = 13},
  [2161] = {.lex_state = 236, .external_lex_state = 16},
  [2162] = {.lex_state = 231, .external_lex_state = 13},
  [2163] = {.lex_state = 236, .external_lex_state = 16},
  [2164] = {.lex_state = 231, .external_lex_state = 13},
  [2165] = {.lex_state = 231, .external_lex_state = 13},
  [2166] = {.lex_state = 231, .external_lex_state = 13},
  [2167] = {.lex_state = 137, .external_lex_state = 14},
  [2168] = {.lex_state = 137, .external_lex_state = 14},
  [2169] = {.lex_state = 137, .external_lex_state = 14},
  [2170] = {.lex_state = 236, .external_lex_state = 16},
  [2171] = {.lex_state = 137, .external_lex_state = 14},
  [2172] = {.lex_state = 236, .external_lex_state = 16},
  [2173] = {.lex_state = 137, .external_lex_state = 14},
  [2174] = {.lex_state = 236, .external_lex_state = 16},
  [2175] = {.lex_state = 137, .external_lex_state = 14},
  [2176] = {.lex_state = 137, .external_lex_state = 14},
  [2177] = {.lex_state = 137, .external_lex_state = 14},
  [2178] = {.lex_state = 137, .external_lex_state = 10},
  [2179] = {.lex_state = 137, .external_lex_state = 10},
  [2180] = {.lex_state = 137, .external_lex_state = 10},
  [2181] = {.lex_state = 236, .external_lex_state = 16},
  [2182] = {.lex_state = 137, .external_lex_state = 10},
  [2183] = {.lex_state = 236, .external_lex_state = 16},
  [2184] = {.lex_state = 137, .external_lex_state = 10},
  [2185] = {.lex_state = 236, .external_lex_state = 16},
  [2186] = {.lex_state = 137, .external_lex_state = 10},
  [2187] = {.lex_state = 137, .external_lex_state = 10},
  [2188] = {.lex_state = 137, .external_lex_state = 10},
  [2189] = {.lex_state = 80, .external_lex_state = 15},
  [2190] = {.lex_state = 80, .external_lex_state = 15},
  [2191] = {.lex_state = 80, .external_lex_state = 15},
  [2192] = {.lex_state = 236, .external_lex_state = 16},
  [2193] = {.lex_state = 80, .external_lex_state = 15},
  [2194] = {.lex_state = 236, .external_lex_state = 16},
  [2195] = {.lex_state = 80, .external_lex_state = 15},
  [2196] = {.lex_state = 236, .external_lex_state = 16},
  [2197] = {.lex_state = 80, .external_lex_state = 15},
  [2198] = {.lex_state = 80, .external_lex_state = 15},
  [2199] = {.lex_state = 80, .external_lex_state = 15},
  [2200] = {.lex_state = 97, .external_lex_state = 13},
  [2201] = {.lex_state = 97, .external_lex_state = 13},
  [2202] = {.lex_state = 97, .external_lex_state = 13},
  [2203] = {.lex_state = 236, .external_lex_state = 16},
  [2204] = {.lex_state = 97, .external_lex_state = 13},
  [2205] = {.lex_state = 236, .external_lex_state = 16},
  [2206] = {.lex_state = 97, .external_lex_state = 13},
  [2207] = {.lex_state = 236, .external_lex_state = 16},
  [2208] = {.lex_state = 97, .external_lex_state = 13},
  [2209] = {.lex_state = 97, .external_lex_state = 13},
  [2210] = {.lex_state = 97, .external_lex_state = 13},
  [2211] = {.lex_state = 174, .external_lex_state = 16},
  [2212] = {.lex_state = 174, .external_lex_state = 16},
  [2213] = {.lex_state = 213, .external_lex_state = 22},
  [2214] = {.lex_state = 213, .external_lex_state = 22},
  [2215] = {.lex_state = 213, .external_lex_state = 22},
  [2216] = {.lex_state = 213, .external_lex_state = 22},
  [2217] = {.lex_state = 213, .external_lex_state = 16},
  [2218] = {.lex_state = 234, .external_lex_state = 16},
  [2219] = {.lex_state = 213, .external_lex_state = 22},
  [2220] = {.lex_state = 238},
  [2221] = {.lex_state = 236, .external_lex_state = 16},
  [2222] = {.lex_state = 213, .external_lex_state = 22},
  [2223] = {.lex_state = 238},
  [2224] = {.lex_state = 236, .external_lex_state = 16},
  [2225] = {.lex_state = 238},
  [2226] = {.lex_state = 236, .external_lex_state = 16},
  [2227] = {.lex_state = 236, .external_lex_state = 16},
  [2228] = {.lex_state = 213, .external_lex_state = 22},
  [2229] = {.lex_state = 236, .external_lex_state = 16},
  [2230] = {.lex_state = 213, .external_lex_state = 22},
  [2231] = {.lex_state = 236, .external_lex_state = 16},
  [2232] = {.lex_state = 213, .external_lex_state = 22},
  [2233] = {.lex_state = 218, .external_lex_state = 2},
  [2234] = {.lex_state = 63, .external_lex_state = 2},
  [2235] = {.lex_state = 213, .external_lex_state = 22},
  [2236] = {.lex_state = 218, .external_lex_state = 2},
  [2237] = {.lex_state = 124, .external_lex_state = 5},
  [2238] = {.lex_state = 124, .external_lex_state = 5},
  [2239] = {.lex_state = 124, .external_lex_state = 5},
  [2240] = {.lex_state = 236, .external_lex_state = 22},
  [2241] = {.lex_state = 236, .external_lex_state = 22},
  [2242] = {.lex_state = 213, .external_lex_state = 22},
  [2243] = {.lex_state = 213, .external_lex_state = 22},
  [2244] = {.lex_state = 213, .external_lex_state = 16},
  [2245] = {.lex_state = 236, .external_lex_state = 16},
  [2246] = {.lex_state = 236, .external_lex_state = 22},
  [2247] = {.lex_state = 236, .external_lex_state = 16},
  [2248] = {.lex_state = 236, .external_lex_state = 22},
  [2249] = {.lex_state = 236, .external_lex_state = 16},
  [2250] = {.lex_state = 236, .external_lex_state = 22},
  [2251] = {.lex_state = 236, .external_lex_state = 16},
  [2252] = {.lex_state = 236, .external_lex_state = 22},
  [2253] = {.lex_state = 236, .external_lex_state = 16},
  [2254] = {.lex_state = 236, .external_lex_state = 22},
  [2255] = {.lex_state = 236, .external_lex_state = 16},
  [2256] = {.lex_state = 236, .external_lex_state = 22},
  [2257] = {.lex_state = 236, .external_lex_state = 22},
  [2258] = {.lex_state = 143, .external_lex_state = 10},
  [2259] = {.lex_state = 143, .external_lex_state = 10},
  [2260] = {.lex_state = 143, .external_lex_state = 10},
  [2261] = {.lex_state = 245, .external_lex_state = 23},
  [2262] = {.lex_state = 245, .external_lex_state = 23},
  [2263] = {.lex_state = 245, .external_lex_state = 23},
  [2264] = {.lex_state = 177, .external_lex_state = 17},
  [2265] = {.lex_state = 177, .external_lex_state = 17},
  [2266] = {.lex_state = 213, .external_lex_state = 22},
  [2267] = {.lex_state = 213, .external_lex_state = 22},
  [2268] = {.lex_state = 213, .external_lex_state = 16},
  [2269] = {.lex_state = 236, .external_lex_state = 16},
  [2270] = {.lex_state = 177, .external_lex_state = 17},
  [2271] = {.lex_state = 236, .external_lex_state = 16},
  [2272] = {.lex_state = 177, .external_lex_state = 17},
  [2273] = {.lex_state = 236, .external_lex_state = 16},
  [2274] = {.lex_state = 177, .external_lex_state = 17},
  [2275] = {.lex_state = 236, .external_lex_state = 16},
  [2276] = {.lex_state = 177, .external_lex_state = 17},
  [2277] = {.lex_state = 236, .external_lex_state = 16},
  [2278] = {.lex_state = 177, .external_lex_state = 17},
  [2279] = {.lex_state = 236, .external_lex_state = 16},
  [2280] = {.lex_state = 209, .external_lex_state = 13},
  [2281] = {.lex_state = 209, .external_lex_state = 13},
  [2282] = {.lex_state = 213, .external_lex_state = 22},
  [2283] = {.lex_state = 213, .external_lex_state = 22},
  [2284] = {.lex_state = 213, .external_lex_state = 16},
  [2285] = {.lex_state = 236, .external_lex_state = 16},
  [2286] = {.lex_state = 209, .external_lex_state = 13},
  [2287] = {.lex_state = 236, .external_lex_state = 16},
  [2288] = {.lex_state = 209, .external_lex_state = 13},
  [2289] = {.lex_state = 236, .external_lex_state = 16},
  [2290] = {.lex_state = 209, .external_lex_state = 13},
  [2291] = {.lex_state = 236, .external_lex_state = 16},
  [2292] = {.lex_state = 209, .external_lex_state = 13},
  [2293] = {.lex_state = 236, .external_lex_state = 16},
  [2294] = {.lex_state = 209, .external_lex_state = 13},
  [2295] = {.lex_state = 236, .external_lex_state = 16},
  [2296] = {.lex_state = 209, .external_lex_state = 13},
  [2297] = {.lex_state = 209, .external_lex_state = 13},
  [2298] = {.lex_state = 141, .external_lex_state = 19},
  [2299] = {.lex_state = 141, .external_lex_state = 19},
  [2300] = {.lex_state = 141, .external_lex_state = 19},
  [2301] = {.lex_state = 236, .external_lex_state = 16},
  [2302] = {.lex_state = 141, .external_lex_state = 19},
  [2303] = {.lex_state = 236, .external_lex_state = 16},
  [2304] = {.lex_state = 141, .external_lex_state = 19},
  [2305] = {.lex_state = 236, .external_lex_state = 16},
  [2306] = {.lex_state = 141, .external_lex_state = 19},
  [2307] = {.lex_state = 141, .external_lex_state = 19},
  [2308] = {.lex_state = 141, .external_lex_state = 19},
  [2309] = {.lex_state = 143, .external_lex_state = 4},
  [2310] = {.lex_state = 272, .external_lex_state = 13},
  [2311] = {.lex_state = 272, .external_lex_state = 13},
  [2312] = {.lex_state = 213, .external_lex_state = 22},
  [2313] = {.lex_state = 213, .external_lex_state = 22},
  [2314] = {.lex_state = 213, .external_lex_state = 16},
  [2315] = {.lex_state = 234, .external_lex_state = 16},
  [2316] = {.lex_state = 272, .external_lex_state = 13},
  [2317] = {.lex_state = 238},
  [2318] = {.lex_state = 236, .external_lex_state = 16},
  [2319] = {.lex_state = 272, .external_lex_state = 13},
  [2320] = {.lex_state = 238},
  [2321] = {.lex_state = 236, .external_lex_state = 16},
  [2322] = {.lex_state = 238},
  [2323] = {.lex_state = 236, .external_lex_state = 16},
  [2324] = {.lex_state = 236, .external_lex_state = 16},
  [2325] = {.lex_state = 272, .external_lex_state = 13},
  [2326] = {.lex_state = 236, .external_lex_state = 16},
  [2327] = {.lex_state = 272, .external_lex_state = 13},
  [2328] = {.lex_state = 236, .external_lex_state = 16},
  [2329] = {.lex_state = 272, .external_lex_state = 13},
  [2330] = {.lex_state = 218, .external_lex_state = 2},
  [2331] = {.lex_state = 63, .external_lex_state = 2},
  [2332] = {.lex_state = 272, .external_lex_state = 13},
  [2333] = {.lex_state = 218, .external_lex_state = 2},
  [2334] = {.lex_state = 143, .external_lex_state = 4},
  [2335] = {.lex_state = 253, .external_lex_state = 10},
  [2336] = {.lex_state = 253, .external_lex_state = 10},
  [2337] = {.lex_state = 253, .external_lex_state = 10},
  [2338] = {.lex_state = 236, .external_lex_state = 16},
  [2339] = {.lex_state = 253, .external_lex_state = 10},
  [2340] = {.lex_state = 236, .external_lex_state = 16},
  [2341] = {.lex_state = 253, .external_lex_state = 10},
  [2342] = {.lex_state = 236, .external_lex_state = 16},
  [2343] = {.lex_state = 253, .external_lex_state = 10},
  [2344] = {.lex_state = 253, .external_lex_state = 10},
  [2345] = {.lex_state = 253, .external_lex_state = 10},
  [2346] = {.lex_state = 270},
  [2347] = {.lex_state = 255, .external_lex_state = 10},
  [2348] = {.lex_state = 255, .external_lex_state = 10},
  [2349] = {.lex_state = 213, .external_lex_state = 22},
  [2350] = {.lex_state = 213, .external_lex_state = 22},
  [2351] = {.lex_state = 213, .external_lex_state = 16},
  [2352] = {.lex_state = 236, .external_lex_state = 16},
  [2353] = {.lex_state = 255, .external_lex_state = 10},
  [2354] = {.lex_state = 236, .external_lex_state = 16},
  [2355] = {.lex_state = 255, .external_lex_state = 10},
  [2356] = {.lex_state = 236, .external_lex_state = 16},
  [2357] = {.lex_state = 255, .external_lex_state = 10},
  [2358] = {.lex_state = 236, .external_lex_state = 16},
  [2359] = {.lex_state = 255, .external_lex_state = 10},
  [2360] = {.lex_state = 236, .external_lex_state = 16},
  [2361] = {.lex_state = 255, .external_lex_state = 10},
  [2362] = {.lex_state = 236, .external_lex_state = 16},
  [2363] = {.lex_state = 255, .external_lex_state = 10},
  [2364] = {.lex_state = 255, .external_lex_state = 10},
  [2365] = {.lex_state = 120, .external_lex_state = 10},
  [2366] = {.lex_state = 203, .external_lex_state = 23},
  [2367] = {.lex_state = 126, .external_lex_state = 9},
  [2368] = {.lex_state = 80},
  [2369] = {.lex_state = 135},
  [2370] = {.lex_state = 149, .external_lex_state = 12},
  [2371] = {.lex_state = 162},
  [2372] = {.lex_state = 69},
  [2373] = {.lex_state = 283, .external_lex_state = 14},
  [2374] = {.lex_state = 97},
  [2375] = {.lex_state = 104},
  [2376] = {.lex_state = 283, .external_lex_state = 14},
  [2377] = {.lex_state = 113, .external_lex_state = 6},
  [2378] = {.lex_state = 63, .external_lex_state = 2},
  [2379] = {.lex_state = 63, .external_lex_state = 2},
  [2380] = {.lex_state = 63, .external_lex_state = 2},
  [2381] = {.lex_state = 283, .external_lex_state = 3},
  [2382] = {.lex_state = 69},
  [2383] = {.lex_state = 283, .external_lex_state = 3},
  [2384] = {.lex_state = 283, .external_lex_state = 10},
  [2385] = {.lex_state = 97},
  [2386] = {.lex_state = 104},
  [2387] = {.lex_state = 283, .external_lex_state = 10},
  [2388] = {.lex_state = 113, .external_lex_state = 6},
  [2389] = {.lex_state = 63, .external_lex_state = 2},
  [2390] = {.lex_state = 63, .external_lex_state = 2},
  [2391] = {.lex_state = 63, .external_lex_state = 2},
  [2392] = {.lex_state = 283, .external_lex_state = 4},
  [2393] = {.lex_state = 283, .external_lex_state = 4},
  [2394] = {.lex_state = 80},
  [2395] = {.lex_state = 289, .external_lex_state = 5},
  [2396] = {.lex_state = 289, .external_lex_state = 5},
  [2397] = {.lex_state = 166},
  [2398] = {.lex_state = 97},
  [2399] = {.lex_state = 289, .external_lex_state = 5},
  [2400] = {.lex_state = 289, .external_lex_state = 5},
  [2401] = {.lex_state = 289, .external_lex_state = 5},
  [2402] = {.lex_state = 69},
  [2403] = {.lex_state = 172, .external_lex_state = 6},
  [2404] = {.lex_state = 174, .external_lex_state = 16},
  [2405] = {.lex_state = 174, .external_lex_state = 16},
  [2406] = {.lex_state = 174, .external_lex_state = 16},
  [2407] = {.lex_state = 137, .external_lex_state = 4},
  [2408] = {.lex_state = 141, .external_lex_state = 8},
  [2409] = {.lex_state = 63, .external_lex_state = 2},
  [2410] = {.lex_state = 90, .external_lex_state = 4},
  [2411] = {.lex_state = 122, .external_lex_state = 8},
  [2412] = {.lex_state = 63, .external_lex_state = 2},
  [2413] = {.lex_state = 137, .external_lex_state = 4},
  [2414] = {.lex_state = 141, .external_lex_state = 8},
  [2415] = {.lex_state = 63, .external_lex_state = 2},
  [2416] = {.lex_state = 84},
  [2417] = {.lex_state = 63, .external_lex_state = 2},
  [2418] = {.lex_state = 279, .external_lex_state = 2},
  [2419] = {.lex_state = 63, .external_lex_state = 2},
  [2420] = {.lex_state = 279, .external_lex_state = 2},
  [2421] = {.lex_state = 63},
  [2422] = {.lex_state = 180},
  [2423] = {.lex_state = 80},
  [2424] = {.lex_state = 80},
  [2425] = {.lex_state = 289, .external_lex_state = 5},
  [2426] = {.lex_state = 289, .external_lex_state = 5},
  [2427] = {.lex_state = 295, .external_lex_state = 7},
  [2428] = {.lex_state = 289, .external_lex_state = 7},
  [2429] = {.lex_state = 257},
  [2430] = {.lex_state = 277, .external_lex_state = 4},
  [2431] = {.lex_state = 293, .external_lex_state = 8},
  [2432] = {.lex_state = 279, .external_lex_state = 2},
  [2433] = {.lex_state = 289, .external_lex_state = 7},
  [2434] = {.lex_state = 279, .external_lex_state = 2},
  [2435] = {.lex_state = 279, .external_lex_state = 2},
  [2436] = {.lex_state = 257},
  [2437] = {.lex_state = 277, .external_lex_state = 4},
  [2438] = {.lex_state = 293, .external_lex_state = 8},
  [2439] = {.lex_state = 279, .external_lex_state = 2},
  [2440] = {.lex_state = 267, .external_lex_state = 2},
  [2441] = {.lex_state = 274},
  [2442] = {.lex_state = 267, .external_lex_state = 2},
  [2443] = {.lex_state = 274},
  [2444] = {.lex_state = 143, .external_lex_state = 4},
  [2445] = {.lex_state = 143, .external_lex_state = 4},
  [2446] = {.lex_state = 131, .external_lex_state = 10},
  [2447] = {.lex_state = 131, .external_lex_state = 10},
  [2448] = {.lex_state = 131, .external_lex_state = 10},
  [2449] = {.lex_state = 281, .external_lex_state = 10},
  [2450] = {.lex_state = 220, .external_lex_state = 23},
  [2451] = {.lex_state = 149, .external_lex_state = 11},
  [2452] = {.lex_state = 149, .external_lex_state = 11},
  [2453] = {.lex_state = 149, .external_lex_state = 11},
  [2454] = {.lex_state = 247, .external_lex_state = 23},
  [2455] = {.lex_state = 247, .external_lex_state = 23},
  [2456] = {.lex_state = 213, .external_lex_state = 22},
  [2457] = {.lex_state = 213, .external_lex_state = 22},
  [2458] = {.lex_state = 213, .external_lex_state = 16},
  [2459] = {.lex_state = 234, .external_lex_state = 16},
  [2460] = {.lex_state = 247, .external_lex_state = 23},
  [2461] = {.lex_state = 238},
  [2462] = {.lex_state = 236, .external_lex_state = 16},
  [2463] = {.lex_state = 247, .external_lex_state = 23},
  [2464] = {.lex_state = 238},
  [2465] = {.lex_state = 236, .external_lex_state = 16},
  [2466] = {.lex_state = 238},
  [2467] = {.lex_state = 236, .external_lex_state = 16},
  [2468] = {.lex_state = 236, .external_lex_state = 16},
  [2469] = {.lex_state = 247, .external_lex_state = 23},
  [2470] = {.lex_state = 236, .external_lex_state = 16},
  [2471] = {.lex_state = 247, .external_lex_state = 23},
  [2472] = {.lex_state = 236, .external_lex_state = 16},
  [2473] = {.lex_state = 247, .external_lex_state = 23},
  [2474] = {.lex_state = 218, .external_lex_state = 2},
  [2475] = {.lex_state = 63, .external_lex_state = 2},
  [2476] = {.lex_state = 247, .external_lex_state = 23},
  [2477] = {.lex_state = 218, .external_lex_state = 2},
  [2478] = {.lex_state = 231, .external_lex_state = 13},
  [2479] = {.lex_state = 231, .external_lex_state = 13},
  [2480] = {.lex_state = 231, .external_lex_state = 13},
  [2481] = {.lex_state = 137, .external_lex_state = 14},
  [2482] = {.lex_state = 137, .external_lex_state = 14},
  [2483] = {.lex_state = 137, .external_lex_state = 14},
  [2484] = {.lex_state = 137, .external_lex_state = 10},
  [2485] = {.lex_state = 137, .external_lex_state = 10},
  [2486] = {.lex_state = 137, .external_lex_state = 10},
  [2487] = {.lex_state = 80, .external_lex_state = 15},
  [2488] = {.lex_state = 80, .external_lex_state = 15},
  [2489] = {.lex_state = 80, .external_lex_state = 15},
  [2490] = {.lex_state = 97, .external_lex_state = 13},
  [2491] = {.lex_state = 97, .external_lex_state = 13},
  [2492] = {.lex_state = 97, .external_lex_state = 13},
  [2493] = {.lex_state = 213, .external_lex_state = 22},
  [2494] = {.lex_state = 213, .external_lex_state = 22},
  [2495] = {.lex_state = 213, .external_lex_state = 22},
  [2496] = {.lex_state = 213, .external_lex_state = 22},
  [2497] = {.lex_state = 213, .external_lex_state = 16},
  [2498] = {.lex_state = 236, .external_lex_state = 16},
  [2499] = {.lex_state = 213, .external_lex_state = 22},
  [2500] = {.lex_state = 236, .external_lex_state = 16},
  [2501] = {.lex_state = 213, .external_lex_state = 22},
  [2502] = {.lex_state = 236, .external_lex_state = 16},
  [2503] = {.lex_state = 213, .external_lex_state = 22},
  [2504] = {.lex_state = 236, .external_lex_state = 16},
  [2505] = {.lex_state = 213, .external_lex_state = 22},
  [2506] = {.lex_state = 236, .external_lex_state = 16},
  [2507] = {.lex_state = 213, .external_lex_state = 22},
  [2508] = {.lex_state = 236, .external_lex_state = 16},
  [2509] = {.lex_state = 213, .external_lex_state = 22},
  [2510] = {.lex_state = 213, .external_lex_state = 22},
  [2511] = {.lex_state = 236, .external_lex_state = 22},
  [2512] = {.lex_state = 236, .external_lex_state = 22},
  [2513] = {.lex_state = 236, .external_lex_state = 22},
  [2514] = {.lex_state = 236, .external_lex_state = 16},
  [2515] = {.lex_state = 236, .external_lex_state = 22},
  [2516] = {.lex_state = 236, .external_lex_state = 16},
  [2517] = {.lex_state = 236, .external_lex_state = 22},
  [2518] = {.lex_state = 236, .external_lex_state = 16},
  [2519] = {.lex_state = 236, .external_lex_state = 22},
  [2520] = {.lex_state = 236, .external_lex_state = 22},
  [2521] = {.lex_state = 236, .external_lex_state = 22},
  [2522] = {.lex_state = 143, .external_lex_state = 10},
  [2523] = {.lex_state = 245, .external_lex_state = 23},
  [2524] = {.lex_state = 177, .external_lex_state = 17},
  [2525] = {.lex_state = 177, .external_lex_state = 17},
  [2526] = {.lex_state = 177, .external_lex_state = 17},
  [2527] = {.lex_state = 236, .external_lex_state = 16},
  [2528] = {.lex_state = 177, .external_lex_state = 17},
  [2529] = {.lex_state = 236, .external_lex_state = 16},
  [2530] = {.lex_state = 177, .external_lex_state = 17},
  [2531] = {.lex_state = 236, .external_lex_state = 16},
  [2532] = {.lex_state = 177, .external_lex_state = 17},
  [2533] = {.lex_state = 177, .external_lex_state = 17},
  [2534] = {.lex_state = 177, .external_lex_state = 17},
  [2535] = {.lex_state = 209, .external_lex_state = 13},
  [2536] = {.lex_state = 209, .external_lex_state = 13},
  [2537] = {.lex_state = 209, .external_lex_state = 13},
  [2538] = {.lex_state = 236, .external_lex_state = 16},
  [2539] = {.lex_state = 209, .external_lex_state = 13},
  [2540] = {.lex_state = 236, .external_lex_state = 16},
  [2541] = {.lex_state = 209, .external_lex_state = 13},
  [2542] = {.lex_state = 236, .external_lex_state = 16},
  [2543] = {.lex_state = 209, .external_lex_state = 13},
  [2544] = {.lex_state = 209, .external_lex_state = 13},
  [2545] = {.lex_state = 209, .external_lex_state = 13},
  [2546] = {.lex_state = 141, .external_lex_state = 19},
  [2547] = {.lex_state = 141, .external_lex_state = 19},
  [2548] = {.lex_state = 141, .external_lex_state = 19},
  [2549] = {.lex_state = 272, .external_lex_state = 13},
  [2550] = {.lex_state = 272, .external_lex_state = 13},
  [2551] = {.lex_state = 213, .external_lex_state = 22},
  [2552] = {.lex_state = 213, .external_lex_state = 22},
  [2553] = {.lex_state = 213, .external_lex_state = 16},
  [2554] = {.lex_state = 236, .external_lex_state = 16},
  [2555] = {.lex_state = 272, .external_lex_state = 13},
  [2556] = {.lex_state = 236, .external_lex_state = 16},
  [2557] = {.lex_state = 272, .external_lex_state = 13},
  [2558] = {.lex_state = 236, .external_lex_state = 16},
  [2559] = {.lex_state = 272, .external_lex_state = 13},
  [2560] = {.lex_state = 236, .external_lex_state = 16},
  [2561] = {.lex_state = 272, .external_lex_state = 13},
  [2562] = {.lex_state = 236, .external_lex_state = 16},
  [2563] = {.lex_state = 272, .external_lex_state = 13},
  [2564] = {.lex_state = 236, .external_lex_state = 16},
  [2565] = {.lex_state = 272, .external_lex_state = 13},
  [2566] = {.lex_state = 272, .external_lex_state = 13},
  [2567] = {.lex_state = 253, .external_lex_state = 10},
  [2568] = {.lex_state = 253, .external_lex_state = 10},
  [2569] = {.lex_state = 253, .external_lex_state = 10},
  [2570] = {.lex_state = 143, .external_lex_state = 4},
  [2571] = {.lex_state = 255, .external_lex_state = 10},
  [2572] = {.lex_state = 255, .external_lex_state = 10},
  [2573] = {.lex_state = 255, .external_lex_state = 10},
  [2574] = {.lex_state = 236, .external_lex_state = 16},
  [2575] = {.lex_state = 255, .external_lex_state = 10},
  [2576] = {.lex_state = 236, .external_lex_state = 16},
  [2577] = {.lex_state = 255, .external_lex_state = 10},
  [2578] = {.lex_state = 236, .external_lex_state = 16},
  [2579] = {.lex_state = 255, .external_lex_state = 10},
  [2580] = {.lex_state = 255, .external_lex_state = 10},
  [2581] = {.lex_state = 255, .external_lex_state = 10},
  [2582] = {.lex_state = 293, .external_lex_state = 8},
  [2583] = {.lex_state = 209},
  [2584] = {.lex_state = 293, .external_lex_state = 19},
  [2585] = {.lex_state = 97},
  [2586] = {.lex_state = 104},
  [2587] = {.lex_state = 293, .external_lex_state = 19},
  [2588] = {.lex_state = 113, .external_lex_state = 6},
  [2589] = {.lex_state = 63, .external_lex_state = 2},
  [2590] = {.lex_state = 63, .external_lex_state = 2},
  [2591] = {.lex_state = 63, .external_lex_state = 2},
  [2592] = {.lex_state = 295, .external_lex_state = 7},
  [2593] = {.lex_state = 84},
  [2594] = {.lex_state = 297, .external_lex_state = 21},
  [2595] = {.lex_state = 295, .external_lex_state = 21},
  [2596] = {.lex_state = 126, .external_lex_state = 9},
  [2597] = {.lex_state = 80},
  [2598] = {.lex_state = 283, .external_lex_state = 14},
  [2599] = {.lex_state = 283, .external_lex_state = 14},
  [2600] = {.lex_state = 166},
  [2601] = {.lex_state = 97},
  [2602] = {.lex_state = 283, .external_lex_state = 14},
  [2603] = {.lex_state = 283, .external_lex_state = 14},
  [2604] = {.lex_state = 283, .external_lex_state = 14},
  [2605] = {.lex_state = 69},
  [2606] = {.lex_state = 172, .external_lex_state = 6},
  [2607] = {.lex_state = 174, .external_lex_state = 16},
  [2608] = {.lex_state = 174, .external_lex_state = 16},
  [2609] = {.lex_state = 174, .external_lex_state = 16},
  [2610] = {.lex_state = 137, .external_lex_state = 4},
  [2611] = {.lex_state = 141, .external_lex_state = 8},
  [2612] = {.lex_state = 63, .external_lex_state = 2},
  [2613] = {.lex_state = 90, .external_lex_state = 4},
  [2614] = {.lex_state = 122, .external_lex_state = 8},
  [2615] = {.lex_state = 63, .external_lex_state = 2},
  [2616] = {.lex_state = 137, .external_lex_state = 4},
  [2617] = {.lex_state = 141, .external_lex_state = 8},
  [2618] = {.lex_state = 63, .external_lex_state = 2},
  [2619] = {.lex_state = 283, .external_lex_state = 3},
  [2620] = {.lex_state = 80},
  [2621] = {.lex_state = 283, .external_lex_state = 10},
  [2622] = {.lex_state = 283, .external_lex_state = 10},
  [2623] = {.lex_state = 166},
  [2624] = {.lex_state = 97},
  [2625] = {.lex_state = 283, .external_lex_state = 10},
  [2626] = {.lex_state = 283, .external_lex_state = 10},
  [2627] = {.lex_state = 283, .external_lex_state = 10},
  [2628] = {.lex_state = 69},
  [2629] = {.lex_state = 172, .external_lex_state = 6},
  [2630] = {.lex_state = 174, .external_lex_state = 16},
  [2631] = {.lex_state = 174, .external_lex_state = 16},
  [2632] = {.lex_state = 174, .external_lex_state = 16},
  [2633] = {.lex_state = 137, .external_lex_state = 4},
  [2634] = {.lex_state = 141, .external_lex_state = 8},
  [2635] = {.lex_state = 63, .external_lex_state = 2},
  [2636] = {.lex_state = 90, .external_lex_state = 4},
  [2637] = {.lex_state = 122, .external_lex_state = 8},
  [2638] = {.lex_state = 63, .external_lex_state = 2},
  [2639] = {.lex_state = 137, .external_lex_state = 4},
  [2640] = {.lex_state = 141, .external_lex_state = 8},
  [2641] = {.lex_state = 63, .external_lex_state = 2},
  [2642] = {.lex_state = 283, .external_lex_state = 4},
  [2643] = {.lex_state = 289, .external_lex_state = 5},
  [2644] = {.lex_state = 289, .external_lex_state = 5},
  [2645] = {.lex_state = 289, .external_lex_state = 5},
  [2646] = {.lex_state = 166},
  [2647] = {.lex_state = 234, .external_lex_state = 16},
  [2648] = {.lex_state = 69},
  [2649] = {.lex_state = 174, .external_lex_state = 16},
  [2650] = {.lex_state = 174, .external_lex_state = 16},
  [2651] = {.lex_state = 174, .external_lex_state = 16},
  [2652] = {.lex_state = 289, .external_lex_state = 5},
  [2653] = {.lex_state = 238},
  [2654] = {.lex_state = 236, .external_lex_state = 16},
  [2655] = {.lex_state = 289, .external_lex_state = 5},
  [2656] = {.lex_state = 238},
  [2657] = {.lex_state = 236, .external_lex_state = 16},
  [2658] = {.lex_state = 289, .external_lex_state = 5},
  [2659] = {.lex_state = 238},
  [2660] = {.lex_state = 236, .external_lex_state = 16},
  [2661] = {.lex_state = 289, .external_lex_state = 5},
  [2662] = {.lex_state = 218, .external_lex_state = 2},
  [2663] = {.lex_state = 137, .external_lex_state = 4},
  [2664] = {.lex_state = 141, .external_lex_state = 8},
  [2665] = {.lex_state = 63, .external_lex_state = 2},
  [2666] = {.lex_state = 90, .external_lex_state = 4},
  [2667] = {.lex_state = 122, .external_lex_state = 8},
  [2668] = {.lex_state = 289, .external_lex_state = 5},
  [2669] = {.lex_state = 218, .external_lex_state = 2},
  [2670] = {.lex_state = 137, .external_lex_state = 4},
  [2671] = {.lex_state = 141, .external_lex_state = 8},
  [2672] = {.lex_state = 135},
  [2673] = {.lex_state = 293, .external_lex_state = 8},
  [2674] = {.lex_state = 277, .external_lex_state = 4},
  [2675] = {.lex_state = 293, .external_lex_state = 8},
  [2676] = {.lex_state = 80},
  [2677] = {.lex_state = 289, .external_lex_state = 5},
  [2678] = {.lex_state = 289, .external_lex_state = 5},
  [2679] = {.lex_state = 289, .external_lex_state = 7},
  [2680] = {.lex_state = 295, .external_lex_state = 5},
  [2681] = {.lex_state = 97},
  [2682] = {.lex_state = 104},
  [2683] = {.lex_state = 295, .external_lex_state = 5},
  [2684] = {.lex_state = 113, .external_lex_state = 6},
  [2685] = {.lex_state = 63, .external_lex_state = 2},
  [2686] = {.lex_state = 63, .external_lex_state = 2},
  [2687] = {.lex_state = 63, .external_lex_state = 2},
  [2688] = {.lex_state = 295, .external_lex_state = 5},
  [2689] = {.lex_state = 295, .external_lex_state = 5},
  [2690] = {.lex_state = 295, .external_lex_state = 7},
  [2691] = {.lex_state = 295, .external_lex_state = 7},
  [2692] = {.lex_state = 289, .external_lex_state = 7},
  [2693] = {.lex_state = 279, .external_lex_state = 2},
  [2694] = {.lex_state = 90, .external_lex_state = 4},
  [2695] = {.lex_state = 122, .external_lex_state = 8},
  [2696] = {.lex_state = 289, .external_lex_state = 7},
  [2697] = {.lex_state = 257},
  [2698] = {.lex_state = 277, .external_lex_state = 4},
  [2699] = {.lex_state = 293, .external_lex_state = 8},
  [2700] = {.lex_state = 279, .external_lex_state = 2},
  [2701] = {.lex_state = 257},
  [2702] = {.lex_state = 277, .external_lex_state = 4},
  [2703] = {.lex_state = 293, .external_lex_state = 8},
  [2704] = {.lex_state = 80},
  [2705] = {.lex_state = 90, .external_lex_state = 4},
  [2706] = {.lex_state = 122, .external_lex_state = 8},
  [2707] = {.lex_state = 267, .external_lex_state = 2},
  [2708] = {.lex_state = 267, .external_lex_state = 2},
  [2709] = {.lex_state = 80},
  [2710] = {.lex_state = 90, .external_lex_state = 4},
  [2711] = {.lex_state = 122, .external_lex_state = 8},
  [2712] = {.lex_state = 267, .external_lex_state = 2},
  [2713] = {.lex_state = 267, .external_lex_state = 2},
  [2714] = {.lex_state = 247, .external_lex_state = 23},
  [2715] = {.lex_state = 247, .external_lex_state = 23},
  [2716] = {.lex_state = 213, .external_lex_state = 22},
  [2717] = {.lex_state = 213, .external_lex_state = 22},
  [2718] = {.lex_state = 213, .external_lex_state = 16},
  [2719] = {.lex_state = 236, .external_lex_state = 16},
  [2720] = {.lex_state = 247, .external_lex_state = 23},
  [2721] = {.lex_state = 236, .external_lex_state = 16},
  [2722] = {.lex_state = 247, .external_lex_state = 23},
  [2723] = {.lex_state = 236, .external_lex_state = 16},
  [2724] = {.lex_state = 247, .external_lex_state = 23},
  [2725] = {.lex_state = 236, .external_lex_state = 16},
  [2726] = {.lex_state = 247, .external_lex_state = 23},
  [2727] = {.lex_state = 236, .external_lex_state = 16},
  [2728] = {.lex_state = 247, .external_lex_state = 23},
  [2729] = {.lex_state = 236, .external_lex_state = 16},
  [2730] = {.lex_state = 247, .external_lex_state = 23},
  [2731] = {.lex_state = 247, .external_lex_state = 23},
  [2732] = {.lex_state = 213, .external_lex_state = 22},
  [2733] = {.lex_state = 213, .external_lex_state = 22},
  [2734] = {.lex_state = 213, .external_lex_state = 22},
  [2735] = {.lex_state = 236, .external_lex_state = 16},
  [2736] = {.lex_state = 213, .external_lex_state = 22},
  [2737] = {.lex_state = 236, .external_lex_state = 16},
  [2738] = {.lex_state = 213, .external_lex_state = 22},
  [2739] = {.lex_state = 236, .external_lex_state = 16},
  [2740] = {.lex_state = 213, .external_lex_state = 22},
  [2741] = {.lex_state = 213, .external_lex_state = 22},
  [2742] = {.lex_state = 213, .external_lex_state = 22},
  [2743] = {.lex_state = 236, .external_lex_state = 22},
  [2744] = {.lex_state = 236, .external_lex_state = 22},
  [2745] = {.lex_state = 236, .external_lex_state = 22},
  [2746] = {.lex_state = 177, .external_lex_state = 17},
  [2747] = {.lex_state = 177, .external_lex_state = 17},
  [2748] = {.lex_state = 177, .external_lex_state = 17},
  [2749] = {.lex_state = 209, .external_lex_state = 13},
  [2750] = {.lex_state = 209, .external_lex_state = 13},
  [2751] = {.lex_state = 209, .external_lex_state = 13},
  [2752] = {.lex_state = 272, .external_lex_state = 13},
  [2753] = {.lex_state = 272, .external_lex_state = 13},
  [2754] = {.lex_state = 272, .external_lex_state = 13},
  [2755] = {.lex_state = 236, .external_lex_state = 16},
  [2756] = {.lex_state = 272, .external_lex_state = 13},
  [2757] = {.lex_state = 236, .external_lex_state = 16},
  [2758] = {.lex_state = 272, .external_lex_state = 13},
  [2759] = {.lex_state = 236, .external_lex_state = 16},
  [2760] = {.lex_state = 272, .external_lex_state = 13},
  [2761] = {.lex_state = 272, .external_lex_state = 13},
  [2762] = {.lex_state = 272, .external_lex_state = 13},
  [2763] = {.lex_state = 255, .external_lex_state = 10},
  [2764] = {.lex_state = 255, .external_lex_state = 10},
  [2765] = {.lex_state = 255, .external_lex_state = 10},
  [2766] = {.lex_state = 293, .external_lex_state = 8},
  [2767] = {.lex_state = 209},
  [2768] = {.lex_state = 80},
  [2769] = {.lex_state = 293, .external_lex_state = 19},
  [2770] = {.lex_state = 293, .external_lex_state = 19},
  [2771] = {.lex_state = 166},
  [2772] = {.lex_state = 97},
  [2773] = {.lex_state = 293, .external_lex_state = 19},
  [2774] = {.lex_state = 293, .external_lex_state = 19},
  [2775] = {.lex_state = 293, .external_lex_state = 19},
  [2776] = {.lex_state = 69},
  [2777] = {.lex_state = 172, .external_lex_state = 6},
  [2778] = {.lex_state = 174, .external_lex_state = 16},
  [2779] = {.lex_state = 174, .external_lex_state = 16},
  [2780] = {.lex_state = 174, .external_lex_state = 16},
  [2781] = {.lex_state = 137, .external_lex_state = 4},
  [2782] = {.lex_state = 141, .external_lex_state = 8},
  [2783] = {.lex_state = 63, .external_lex_state = 2},
  [2784] = {.lex_state = 90, .external_lex_state = 4},
  [2785] = {.lex_state = 122, .external_lex_state = 8},
  [2786] = {.lex_state = 63, .external_lex_state = 2},
  [2787] = {.lex_state = 137, .external_lex_state = 4},
  [2788] = {.lex_state = 141, .external_lex_state = 8},
  [2789] = {.lex_state = 63, .external_lex_state = 2},
  [2790] = {.lex_state = 295, .external_lex_state = 7},
  [2791] = {.lex_state = 135},
  [2792] = {.lex_state = 63},
  [2793] = {.lex_state = 80},
  [2794] = {.lex_state = 63},
  [2795] = {.lex_state = 80},
  [2796] = {.lex_state = 80},
  [2797] = {.lex_state = 295, .external_lex_state = 21},
  [2798] = {.lex_state = 283, .external_lex_state = 3},
  [2799] = {.lex_state = 209},
  [2800] = {.lex_state = 283, .external_lex_state = 14},
  [2801] = {.lex_state = 283, .external_lex_state = 14},
  [2802] = {.lex_state = 283, .external_lex_state = 14},
  [2803] = {.lex_state = 283, .external_lex_state = 14},
  [2804] = {.lex_state = 283, .external_lex_state = 14},
  [2805] = {.lex_state = 166},
  [2806] = {.lex_state = 234, .external_lex_state = 16},
  [2807] = {.lex_state = 69},
  [2808] = {.lex_state = 174, .external_lex_state = 16},
  [2809] = {.lex_state = 174, .external_lex_state = 16},
  [2810] = {.lex_state = 174, .external_lex_state = 16},
  [2811] = {.lex_state = 283, .external_lex_state = 14},
  [2812] = {.lex_state = 238},
  [2813] = {.lex_state = 236, .external_lex_state = 16},
  [2814] = {.lex_state = 283, .external_lex_state = 14},
  [2815] = {.lex_state = 238},
  [2816] = {.lex_state = 236, .external_lex_state = 16},
  [2817] = {.lex_state = 283, .external_lex_state = 14},
  [2818] = {.lex_state = 238},
  [2819] = {.lex_state = 236, .external_lex_state = 16},
  [2820] = {.lex_state = 283, .external_lex_state = 14},
  [2821] = {.lex_state = 218, .external_lex_state = 2},
  [2822] = {.lex_state = 137, .external_lex_state = 4},
  [2823] = {.lex_state = 141, .external_lex_state = 8},
  [2824] = {.lex_state = 63, .external_lex_state = 2},
  [2825] = {.lex_state = 90, .external_lex_state = 4},
  [2826] = {.lex_state = 122, .external_lex_state = 8},
  [2827] = {.lex_state = 283, .external_lex_state = 14},
  [2828] = {.lex_state = 218, .external_lex_state = 2},
  [2829] = {.lex_state = 137, .external_lex_state = 4},
  [2830] = {.lex_state = 141, .external_lex_state = 8},
  [2831] = {.lex_state = 283, .external_lex_state = 10},
  [2832] = {.lex_state = 283, .external_lex_state = 10},
  [2833] = {.lex_state = 283, .external_lex_state = 10},
  [2834] = {.lex_state = 166},
  [2835] = {.lex_state = 234, .external_lex_state = 16},
  [2836] = {.lex_state = 69},
  [2837] = {.lex_state = 174, .external_lex_state = 16},
  [2838] = {.lex_state = 174, .external_lex_state = 16},
  [2839] = {.lex_state = 174, .external_lex_state = 16},
  [2840] = {.lex_state = 283, .external_lex_state = 10},
  [2841] = {.lex_state = 238},
  [2842] = {.lex_state = 236, .external_lex_state = 16},
  [2843] = {.lex_state = 283, .external_lex_state = 10},
  [2844] = {.lex_state = 238},
  [2845] = {.lex_state = 236, .external_lex_state = 16},
  [2846] = {.lex_state = 283, .external_lex_state = 10},
  [2847] = {.lex_state = 238},
  [2848] = {.lex_state = 236, .external_lex_state = 16},
  [2849] = {.lex_state = 283, .external_lex_state = 10},
  [2850] = {.lex_state = 218, .external_lex_state = 2},
  [2851] = {.lex_state = 137, .external_lex_state = 4},
  [2852] = {.lex_state = 141, .external_lex_state = 8},
  [2853] = {.lex_state = 63, .external_lex_state = 2},
  [2854] = {.lex_state = 90, .external_lex_state = 4},
  [2855] = {.lex_state = 122, .external_lex_state = 8},
  [2856] = {.lex_state = 283, .external_lex_state = 10},
  [2857] = {.lex_state = 218, .external_lex_state = 2},
  [2858] = {.lex_state = 137, .external_lex_state = 4},
  [2859] = {.lex_state = 141, .external_lex_state = 8},
  [2860] = {.lex_state = 289, .external_lex_state = 5},
  [2861] = {.lex_state = 289, .external_lex_state = 5},
  [2862] = {.lex_state = 213, .external_lex_state = 22},
  [2863] = {.lex_state = 213, .external_lex_state = 22},
  [2864] = {.lex_state = 213, .external_lex_state = 16},
  [2865] = {.lex_state = 234, .external_lex_state = 16},
  [2866] = {.lex_state = 289, .external_lex_state = 5},
  [2867] = {.lex_state = 238},
  [2868] = {.lex_state = 236, .external_lex_state = 16},
  [2869] = {.lex_state = 289, .external_lex_state = 5},
  [2870] = {.lex_state = 238},
  [2871] = {.lex_state = 236, .external_lex_state = 16},
  [2872] = {.lex_state = 238},
  [2873] = {.lex_state = 236, .external_lex_state = 16},
  [2874] = {.lex_state = 236, .external_lex_state = 16},
  [2875] = {.lex_state = 289, .external_lex_state = 5},
  [2876] = {.lex_state = 236, .external_lex_state = 16},
  [2877] = {.lex_state = 289, .external_lex_state = 5},
  [2878] = {.lex_state = 236, .external_lex_state = 16},
  [2879] = {.lex_state = 289, .external_lex_state = 5},
  [2880] = {.lex_state = 218, .external_lex_state = 2},
  [2881] = {.lex_state = 63, .external_lex_state = 2},
  [2882] = {.lex_state = 289, .external_lex_state = 5},
  [2883] = {.lex_state = 218, .external_lex_state = 2},
  [2884] = {.lex_state = 297, .external_lex_state = 21},
  [2885] = {.lex_state = 295, .external_lex_state = 5},
  [2886] = {.lex_state = 295, .external_lex_state = 5},
  [2887] = {.lex_state = 80},
  [2888] = {.lex_state = 295, .external_lex_state = 5},
  [2889] = {.lex_state = 295, .external_lex_state = 5},
  [2890] = {.lex_state = 166},
  [2891] = {.lex_state = 97},
  [2892] = {.lex_state = 295, .external_lex_state = 5},
  [2893] = {.lex_state = 295, .external_lex_state = 5},
  [2894] = {.lex_state = 295, .external_lex_state = 5},
  [2895] = {.lex_state = 69},
  [2896] = {.lex_state = 172, .external_lex_state = 6},
  [2897] = {.lex_state = 174, .external_lex_state = 16},
  [2898] = {.lex_state = 174, .external_lex_state = 16},
  [2899] = {.lex_state = 174, .external_lex_state = 16},
  [2900] = {.lex_state = 137, .external_lex_state = 4},
  [2901] = {.lex_state = 141, .external_lex_state = 8},
  [2902] = {.lex_state = 63, .external_lex_state = 2},
  [2903] = {.lex_state = 90, .external_lex_state = 4},
  [2904] = {.lex_state = 122, .external_lex_state = 8},
  [2905] = {.lex_state = 63, .external_lex_state = 2},
  [2906] = {.lex_state = 137, .external_lex_state = 4},
  [2907] = {.lex_state = 141, .external_lex_state = 8},
  [2908] = {.lex_state = 63, .external_lex_state = 2},
  [2909] = {.lex_state = 295, .external_lex_state = 7},
  [2910] = {.lex_state = 279, .external_lex_state = 2},
  [2911] = {.lex_state = 279, .external_lex_state = 2},
  [2912] = {.lex_state = 267, .external_lex_state = 2},
  [2913] = {.lex_state = 80},
  [2914] = {.lex_state = 90, .external_lex_state = 4},
  [2915] = {.lex_state = 122, .external_lex_state = 8},
  [2916] = {.lex_state = 267, .external_lex_state = 2},
  [2917] = {.lex_state = 267, .external_lex_state = 2},
  [2918] = {.lex_state = 267, .external_lex_state = 2},
  [2919] = {.lex_state = 80},
  [2920] = {.lex_state = 90, .external_lex_state = 4},
  [2921] = {.lex_state = 122, .external_lex_state = 8},
  [2922] = {.lex_state = 267, .external_lex_state = 2},
  [2923] = {.lex_state = 247, .external_lex_state = 23},
  [2924] = {.lex_state = 247, .external_lex_state = 23},
  [2925] = {.lex_state = 247, .external_lex_state = 23},
  [2926] = {.lex_state = 236, .external_lex_state = 16},
  [2927] = {.lex_state = 247, .external_lex_state = 23},
  [2928] = {.lex_state = 236, .external_lex_state = 16},
  [2929] = {.lex_state = 247, .external_lex_state = 23},
  [2930] = {.lex_state = 236, .external_lex_state = 16},
  [2931] = {.lex_state = 247, .external_lex_state = 23},
  [2932] = {.lex_state = 247, .external_lex_state = 23},
  [2933] = {.lex_state = 247, .external_lex_state = 23},
  [2934] = {.lex_state = 213, .external_lex_state = 22},
  [2935] = {.lex_state = 213, .external_lex_state = 22},
  [2936] = {.lex_state = 213, .external_lex_state = 22},
  [2937] = {.lex_state = 272, .external_lex_state = 13},
  [2938] = {.lex_state = 272, .external_lex_state = 13},
  [2939] = {.lex_state = 272, .external_lex_state = 13},
  [2940] = {.lex_state = 293, .external_lex_state = 8},
  [2941] = {.lex_state = 293, .external_lex_state = 19},
  [2942] = {.lex_state = 293, .external_lex_state = 19},
  [2943] = {.lex_state = 293, .external_lex_state = 19},
  [2944] = {.lex_state = 166},
  [2945] = {.lex_state = 234, .external_lex_state = 16},
  [2946] = {.lex_state = 69},
  [2947] = {.lex_state = 174, .external_lex_state = 16},
  [2948] = {.lex_state = 174, .external_lex_state = 16},
  [2949] = {.lex_state = 174, .external_lex_state = 16},
  [2950] = {.lex_state = 293, .external_lex_state = 19},
  [2951] = {.lex_state = 238},
  [2952] = {.lex_state = 236, .external_lex_state = 16},
  [2953] = {.lex_state = 293, .external_lex_state = 19},
  [2954] = {.lex_state = 238},
  [2955] = {.lex_state = 236, .external_lex_state = 16},
  [2956] = {.lex_state = 293, .external_lex_state = 19},
  [2957] = {.lex_state = 238},
  [2958] = {.lex_state = 236, .external_lex_state = 16},
  [2959] = {.lex_state = 293, .external_lex_state = 19},
  [2960] = {.lex_state = 218, .external_lex_state = 2},
  [2961] = {.lex_state = 137, .external_lex_state = 4},
  [2962] = {.lex_state = 141, .external_lex_state = 8},
  [2963] = {.lex_state = 63, .external_lex_state = 2},
  [2964] = {.lex_state = 90, .external_lex_state = 4},
  [2965] = {.lex_state = 122, .external_lex_state = 8},
  [2966] = {.lex_state = 293, .external_lex_state = 19},
  [2967] = {.lex_state = 218, .external_lex_state = 2},
  [2968] = {.lex_state = 137, .external_lex_state = 4},
  [2969] = {.lex_state = 141, .external_lex_state = 8},
  [2970] = {.lex_state = 297, .external_lex_state = 21},
  [2971] = {.lex_state = 80},
  [2972] = {.lex_state = 277, .external_lex_state = 10},
  [2973] = {.lex_state = 277, .external_lex_state = 10},
  [2974] = {.lex_state = 80},
  [2975] = {.lex_state = 295, .external_lex_state = 23},
  [2976] = {.lex_state = 295, .external_lex_state = 23},
  [2977] = {.lex_state = 295, .external_lex_state = 23},
  [2978] = {.lex_state = 295, .external_lex_state = 23},
  [2979] = {.lex_state = 295, .external_lex_state = 21},
  [2980] = {.lex_state = 283, .external_lex_state = 3},
  [2981] = {.lex_state = 209},
  [2982] = {.lex_state = 283, .external_lex_state = 14},
  [2983] = {.lex_state = 283, .external_lex_state = 14},
  [2984] = {.lex_state = 213, .external_lex_state = 22},
  [2985] = {.lex_state = 213, .external_lex_state = 22},
  [2986] = {.lex_state = 213, .external_lex_state = 16},
  [2987] = {.lex_state = 234, .external_lex_state = 16},
  [2988] = {.lex_state = 283, .external_lex_state = 14},
  [2989] = {.lex_state = 238},
  [2990] = {.lex_state = 236, .external_lex_state = 16},
  [2991] = {.lex_state = 283, .external_lex_state = 14},
  [2992] = {.lex_state = 238},
  [2993] = {.lex_state = 236, .external_lex_state = 16},
  [2994] = {.lex_state = 238},
  [2995] = {.lex_state = 236, .external_lex_state = 16},
  [2996] = {.lex_state = 236, .external_lex_state = 16},
  [2997] = {.lex_state = 283, .external_lex_state = 14},
  [2998] = {.lex_state = 236, .external_lex_state = 16},
  [2999] = {.lex_state = 283, .external_lex_state = 14},
  [3000] = {.lex_state = 236, .external_lex_state = 16},
  [3001] = {.lex_state = 283, .external_lex_state = 14},
  [3002] = {.lex_state = 218, .external_lex_state = 2},
  [3003] = {.lex_state = 63, .external_lex_state = 2},
  [3004] = {.lex_state = 283, .external_lex_state = 14},
  [3005] = {.lex_state = 218, .external_lex_state = 2},
  [3006] = {.lex_state = 283, .external_lex_state = 10},
  [3007] = {.lex_state = 283, .external_lex_state = 10},
  [3008] = {.lex_state = 213, .external_lex_state = 22},
  [3009] = {.lex_state = 213, .external_lex_state = 22},
  [3010] = {.lex_state = 213, .external_lex_state = 16},
  [3011] = {.lex_state = 234, .external_lex_state = 16},
  [3012] = {.lex_state = 283, .external_lex_state = 10},
  [3013] = {.lex_state = 238},
  [3014] = {.lex_state = 236, .external_lex_state = 16},
  [3015] = {.lex_state = 283, .external_lex_state = 10},
  [3016] = {.lex_state = 238},
  [3017] = {.lex_state = 236, .external_lex_state = 16},
  [3018] = {.lex_state = 238},
  [3019] = {.lex_state = 236, .external_lex_state = 16},
  [3020] = {.lex_state = 236, .external_lex_state = 16},
  [3021] = {.lex_state = 283, .external_lex_state = 10},
  [3022] = {.lex_state = 236, .external_lex_state = 16},
  [3023] = {.lex_state = 283, .external_lex_state = 10},
  [3024] = {.lex_state = 236, .external_lex_state = 16},
  [3025] = {.lex_state = 283, .external_lex_state = 10},
  [3026] = {.lex_state = 218, .external_lex_state = 2},
  [3027] = {.lex_state = 63, .external_lex_state = 2},
  [3028] = {.lex_state = 283, .external_lex_state = 10},
  [3029] = {.lex_state = 218, .external_lex_state = 2},
  [3030] = {.lex_state = 289, .external_lex_state = 5},
  [3031] = {.lex_state = 289, .external_lex_state = 5},
  [3032] = {.lex_state = 213, .external_lex_state = 22},
  [3033] = {.lex_state = 213, .external_lex_state = 22},
  [3034] = {.lex_state = 213, .external_lex_state = 16},
  [3035] = {.lex_state = 236, .external_lex_state = 16},
  [3036] = {.lex_state = 289, .external_lex_state = 5},
  [3037] = {.lex_state = 236, .external_lex_state = 16},
  [3038] = {.lex_state = 289, .external_lex_state = 5},
  [3039] = {.lex_state = 236, .external_lex_state = 16},
  [3040] = {.lex_state = 289, .external_lex_state = 5},
  [3041] = {.lex_state = 236, .external_lex_state = 16},
  [3042] = {.lex_state = 289, .external_lex_state = 5},
  [3043] = {.lex_state = 236, .external_lex_state = 16},
  [3044] = {.lex_state = 289, .external_lex_state = 5},
  [3045] = {.lex_state = 236, .external_lex_state = 16},
  [3046] = {.lex_state = 289, .external_lex_state = 5},
  [3047] = {.lex_state = 289, .external_lex_state = 5},
  [3048] = {.lex_state = 295, .external_lex_state = 5},
  [3049] = {.lex_state = 295, .external_lex_state = 5},
  [3050] = {.lex_state = 295, .external_lex_state = 5},
  [3051] = {.lex_state = 166},
  [3052] = {.lex_state = 234, .external_lex_state = 16},
  [3053] = {.lex_state = 69},
  [3054] = {.lex_state = 174, .external_lex_state = 16},
  [3055] = {.lex_state = 174, .external_lex_state = 16},
  [3056] = {.lex_state = 174, .external_lex_state = 16},
  [3057] = {.lex_state = 295, .external_lex_state = 5},
  [3058] = {.lex_state = 238},
  [3059] = {.lex_state = 236, .external_lex_state = 16},
  [3060] = {.lex_state = 295, .external_lex_state = 5},
  [3061] = {.lex_state = 238},
  [3062] = {.lex_state = 236, .external_lex_state = 16},
  [3063] = {.lex_state = 295, .external_lex_state = 5},
  [3064] = {.lex_state = 238},
  [3065] = {.lex_state = 236, .external_lex_state = 16},
  [3066] = {.lex_state = 295, .external_lex_state = 5},
  [3067] = {.lex_state = 218, .external_lex_state = 2},
  [3068] = {.lex_state = 137, .external_lex_state = 4},
  [3069] = {.lex_state = 141, .external_lex_state = 8},
  [3070] = {.lex_state = 63, .external_lex_state = 2},
  [3071] = {.lex_state = 90, .external_lex_state = 4},
  [3072] = {.lex_state = 122, .external_lex_state = 8},
  [3073] = {.lex_state = 295, .external_lex_state = 5},
  [3074] = {.lex_state = 218, .external_lex_state = 2},
  [3075] = {.lex_state = 137, .external_lex_state = 4},
  [3076] = {.lex_state = 141, .external_lex_state = 8},
  [3077] = {.lex_state = 267, .external_lex_state = 2},
  [3078] = {.lex_state = 80},
  [3079] = {.lex_state = 90, .external_lex_state = 4},
  [3080] = {.lex_state = 122, .external_lex_state = 8},
  [3081] = {.lex_state = 267, .external_lex_state = 2},
  [3082] = {.lex_state = 80},
  [3083] = {.lex_state = 90, .external_lex_state = 4},
  [3084] = {.lex_state = 122, .external_lex_state = 8},
  [3085] = {.lex_state = 247, .external_lex_state = 23},
  [3086] = {.lex_state = 247, .external_lex_state = 23},
  [3087] = {.lex_state = 247, .external_lex_state = 23},
  [3088] = {.lex_state = 293, .external_lex_state = 19},
  [3089] = {.lex_state = 293, .external_lex_state = 19},
  [3090] = {.lex_state = 213, .external_lex_state = 22},
  [3091] = {.lex_state = 213, .external_lex_state = 22},
  [3092] = {.lex_state = 213, .external_lex_state = 16},
  [3093] = {.lex_state = 234, .external_lex_state = 16},
  [3094] = {.lex_state = 293, .external_lex_state = 19},
  [3095] = {.lex_state = 238},
  [3096] = {.lex_state = 236, .external_lex_state = 16},
  [3097] = {.lex_state = 293, .external_lex_state = 19},
  [3098] = {.lex_state = 238},
  [3099] = {.lex_state = 236, .external_lex_state = 16},
  [3100] = {.lex_state = 238},
  [3101] = {.lex_state = 236, .external_lex_state = 16},
  [3102] = {.lex_state = 236, .external_lex_state = 16},
  [3103] = {.lex_state = 293, .external_lex_state = 19},
  [3104] = {.lex_state = 236, .external_lex_state = 16},
  [3105] = {.lex_state = 293, .external_lex_state = 19},
  [3106] = {.lex_state = 236, .external_lex_state = 16},
  [3107] = {.lex_state = 293, .external_lex_state = 19},
  [3108] = {.lex_state = 218, .external_lex_state = 2},
  [3109] = {.lex_state = 63, .external_lex_state = 2},
  [3110] = {.lex_state = 293, .external_lex_state = 19},
  [3111] = {.lex_state = 218, .external_lex_state = 2},
  [3112] = {.lex_state = 277, .external_lex_state = 10},
  [3113] = {.lex_state = 277, .external_lex_state = 10},
  [3114] = {.lex_state = 277, .external_lex_state = 10},
  [3115] = {.lex_state = 295, .external_lex_state = 23},
  [3116] = {.lex_state = 295, .external_lex_state = 23},
  [3117] = {.lex_state = 295, .external_lex_state = 23},
  [3118] = {.lex_state = 283, .external_lex_state = 3},
  [3119] = {.lex_state = 283, .external_lex_state = 14},
  [3120] = {.lex_state = 283, .external_lex_state = 14},
  [3121] = {.lex_state = 213, .external_lex_state = 22},
  [3122] = {.lex_state = 213, .external_lex_state = 22},
  [3123] = {.lex_state = 213, .external_lex_state = 16},
  [3124] = {.lex_state = 236, .external_lex_state = 16},
  [3125] = {.lex_state = 283, .external_lex_state = 14},
  [3126] = {.lex_state = 236, .external_lex_state = 16},
  [3127] = {.lex_state = 283, .external_lex_state = 14},
  [3128] = {.lex_state = 236, .external_lex_state = 16},
  [3129] = {.lex_state = 283, .external_lex_state = 14},
  [3130] = {.lex_state = 236, .external_lex_state = 16},
  [3131] = {.lex_state = 283, .external_lex_state = 14},
  [3132] = {.lex_state = 236, .external_lex_state = 16},
  [3133] = {.lex_state = 283, .external_lex_state = 14},
  [3134] = {.lex_state = 236, .external_lex_state = 16},
  [3135] = {.lex_state = 283, .external_lex_state = 14},
  [3136] = {.lex_state = 283, .external_lex_state = 14},
  [3137] = {.lex_state = 283, .external_lex_state = 10},
  [3138] = {.lex_state = 283, .external_lex_state = 10},
  [3139] = {.lex_state = 213, .external_lex_state = 22},
  [3140] = {.lex_state = 213, .external_lex_state = 22},
  [3141] = {.lex_state = 213, .external_lex_state = 16},
  [3142] = {.lex_state = 236, .external_lex_state = 16},
  [3143] = {.lex_state = 283, .external_lex_state = 10},
  [3144] = {.lex_state = 236, .external_lex_state = 16},
  [3145] = {.lex_state = 283, .external_lex_state = 10},
  [3146] = {.lex_state = 236, .external_lex_state = 16},
  [3147] = {.lex_state = 283, .external_lex_state = 10},
  [3148] = {.lex_state = 236, .external_lex_state = 16},
  [3149] = {.lex_state = 283, .external_lex_state = 10},
  [3150] = {.lex_state = 236, .external_lex_state = 16},
  [3151] = {.lex_state = 283, .external_lex_state = 10},
  [3152] = {.lex_state = 236, .external_lex_state = 16},
  [3153] = {.lex_state = 283, .external_lex_state = 10},
  [3154] = {.lex_state = 283, .external_lex_state = 10},
  [3155] = {.lex_state = 289, .external_lex_state = 5},
  [3156] = {.lex_state = 289, .external_lex_state = 5},
  [3157] = {.lex_state = 289, .external_lex_state = 5},
  [3158] = {.lex_state = 236, .external_lex_state = 16},
  [3159] = {.lex_state = 289, .external_lex_state = 5},
  [3160] = {.lex_state = 236, .external_lex_state = 16},
  [3161] = {.lex_state = 289, .external_lex_state = 5},
  [3162] = {.lex_state = 236, .external_lex_state = 16},
  [3163] = {.lex_state = 289, .external_lex_state = 5},
  [3164] = {.lex_state = 289, .external_lex_state = 5},
  [3165] = {.lex_state = 289, .external_lex_state = 5},
  [3166] = {.lex_state = 295, .external_lex_state = 5},
  [3167] = {.lex_state = 295, .external_lex_state = 5},
  [3168] = {.lex_state = 213, .external_lex_state = 22},
  [3169] = {.lex_state = 213, .external_lex_state = 22},
  [3170] = {.lex_state = 213, .external_lex_state = 16},
  [3171] = {.lex_state = 234, .external_lex_state = 16},
  [3172] = {.lex_state = 295, .external_lex_state = 5},
  [3173] = {.lex_state = 238},
  [3174] = {.lex_state = 236, .external_lex_state = 16},
  [3175] = {.lex_state = 295, .external_lex_state = 5},
  [3176] = {.lex_state = 238},
  [3177] = {.lex_state = 236, .external_lex_state = 16},
  [3178] = {.lex_state = 238},
  [3179] = {.lex_state = 236, .external_lex_state = 16},
  [3180] = {.lex_state = 236, .external_lex_state = 16},
  [3181] = {.lex_state = 295, .external_lex_state = 5},
  [3182] = {.lex_state = 236, .external_lex_state = 16},
  [3183] = {.lex_state = 295, .external_lex_state = 5},
  [3184] = {.lex_state = 236, .external_lex_state = 16},
  [3185] = {.lex_state = 295, .external_lex_state = 5},
  [3186] = {.lex_state = 218, .external_lex_state = 2},
  [3187] = {.lex_state = 63, .external_lex_state = 2},
  [3188] = {.lex_state = 295, .external_lex_state = 5},
  [3189] = {.lex_state = 218, .external_lex_state = 2},
  [3190] = {.lex_state = 267, .external_lex_state = 2},
  [3191] = {.lex_state = 267, .external_lex_state = 2},
  [3192] = {.lex_state = 293, .external_lex_state = 19},
  [3193] = {.lex_state = 293, .external_lex_state = 19},
  [3194] = {.lex_state = 213, .external_lex_state = 22},
  [3195] = {.lex_state = 213, .external_lex_state = 22},
  [3196] = {.lex_state = 213, .external_lex_state = 16},
  [3197] = {.lex_state = 236, .external_lex_state = 16},
  [3198] = {.lex_state = 293, .external_lex_state = 19},
  [3199] = {.lex_state = 236, .external_lex_state = 16},
  [3200] = {.lex_state = 293, .external_lex_state = 19},
  [3201] = {.lex_state = 236, .external_lex_state = 16},
  [3202] = {.lex_state = 293, .external_lex_state = 19},
  [3203] = {.lex_state = 236, .external_lex_state = 16},
  [3204] = {.lex_state = 293, .external_lex_state = 19},
  [3205] = {.lex_state = 236, .external_lex_state = 16},
  [3206] = {.lex_state = 293, .external_lex_state = 19},
  [3207] = {.lex_state = 236, .external_lex_state = 16},
  [3208] = {.lex_state = 293, .external_lex_state = 19},
  [3209] = {.lex_state = 293, .external_lex_state = 19},
  [3210] = {.lex_state = 277, .external_lex_state = 10},
  [3211] = {.lex_state = 295, .external_lex_state = 23},
  [3212] = {.lex_state = 283, .external_lex_state = 14},
  [3213] = {.lex_state = 283, .external_lex_state = 14},
  [3214] = {.lex_state = 283, .external_lex_state = 14},
  [3215] = {.lex_state = 236, .external_lex_state = 16},
  [3216] = {.lex_state = 283, .external_lex_state = 14},
  [3217] = {.lex_state = 236, .external_lex_state = 16},
  [3218] = {.lex_state = 283, .external_lex_state = 14},
  [3219] = {.lex_state = 236, .external_lex_state = 16},
  [3220] = {.lex_state = 283, .external_lex_state = 14},
  [3221] = {.lex_state = 283, .external_lex_state = 14},
  [3222] = {.lex_state = 283, .external_lex_state = 14},
  [3223] = {.lex_state = 283, .external_lex_state = 10},
  [3224] = {.lex_state = 283, .external_lex_state = 10},
  [3225] = {.lex_state = 283, .external_lex_state = 10},
  [3226] = {.lex_state = 236, .external_lex_state = 16},
  [3227] = {.lex_state = 283, .external_lex_state = 10},
  [3228] = {.lex_state = 236, .external_lex_state = 16},
  [3229] = {.lex_state = 283, .external_lex_state = 10},
  [3230] = {.lex_state = 236, .external_lex_state = 16},
  [3231] = {.lex_state = 283, .external_lex_state = 10},
  [3232] = {.lex_state = 283, .external_lex_state = 10},
  [3233] = {.lex_state = 283, .external_lex_state = 10},
  [3234] = {.lex_state = 289, .external_lex_state = 5},
  [3235] = {.lex_state = 289, .external_lex_state = 5},
  [3236] = {.lex_state = 289, .external_lex_state = 5},
  [3237] = {.lex_state = 295, .external_lex_state = 5},
  [3238] = {.lex_state = 295, .external_lex_state = 5},
  [3239] = {.lex_state = 213, .external_lex_state = 22},
  [3240] = {.lex_state = 213, .external_lex_state = 22},
  [3241] = {.lex_state = 213, .external_lex_state = 16},
  [3242] = {.lex_state = 236, .external_lex_state = 16},
  [3243] = {.lex_state = 295, .external_lex_state = 5},
  [3244] = {.lex_state = 236, .external_lex_state = 16},
  [3245] = {.lex_state = 295, .external_lex_state = 5},
  [3246] = {.lex_state = 236, .external_lex_state = 16},
  [3247] = {.lex_state = 295, .external_lex_state = 5},
  [3248] = {.lex_state = 236, .external_lex_state = 16},
  [3249] = {.lex_state = 295, .external_lex_state = 5},
  [3250] = {.lex_state = 236, .external_lex_state = 16},
  [3251] = {.lex_state = 295, .external_lex_state = 5},
  [3252] = {.lex_state = 236, .external_lex_state = 16},
  [3253] = {.lex_state = 295, .external_lex_state = 5},
  [3254] = {.lex_state = 295, .external_lex_state = 5},
  [3255] = {.lex_state = 293, .external_lex_state = 19},
  [3256] = {.lex_state = 293, .external_lex_state = 19},
  [3257] = {.lex_state = 293, .external_lex_state = 19},
  [3258] = {.lex_state = 236, .external_lex_state = 16},
  [3259] = {.lex_state = 293, .external_lex_state = 19},
  [3260] = {.lex_state = 236, .external_lex_state = 16},
  [3261] = {.lex_state = 293, .external_lex_state = 19},
  [3262] = {.lex_state = 236, .external_lex_state = 16},
  [3263] = {.lex_state = 293, .external_lex_state = 19},
  [3264] = {.lex_state = 293, .external_lex_state = 19},
  [3265] = {.lex_state = 293, .external_lex_state = 19},
  [3266] = {.lex_state = 283, .external_lex_state = 14},
  [3267] = {.lex_state = 283, .external_lex_state = 14},
  [3268] = {.lex_state = 283, .external_lex_state = 14},
  [3269] = {.lex_state = 283, .external_lex_state = 10},
  [3270] = {.lex_state = 283, .external_lex_state = 10},
  [3271] = {.lex_state = 283, .external_lex_state = 10},
  [3272] = {.lex_state = 295, .external_lex_state = 5},
  [3273] = {.lex_state = 295, .external_lex_state = 5},
  [3274] = {.lex_state = 295, .external_lex_state = 5},
  [3275] = {.lex_state = 236, .external_lex_state = 16},
  [3276] = {.lex_state = 295, .external_lex_state = 5},
  [3277] = {.lex_state = 236, .external_lex_state = 16},
  [3278] = {.lex_state = 295, .external_lex_state = 5},
  [3279] = {.lex_state = 236, .external_lex_state = 16},
  [3280] = {.lex_state = 295, .external_lex_state = 5},
  [3281] = {.lex_state = 295, .external_lex_state = 5},
  [3282] = {.lex_state = 295, .external_lex_state = 5},
  [3283] = {.lex_state = 293, .external_lex_state = 19},
  [3284] = {.lex_state = 293, .external_lex_state = 19},
  [3285] = {.lex_state = 293, .external_lex_state = 19},
  [3286] = {.lex_state = 295, .external_lex_state = 5},
  [3287] = {.lex_state = 295, .external_lex_state = 5},
  [3288] = {.lex_state = 295, .external_lex_state = 5},
};

enum {
  ts_external_token_heredoc_start,
  ts_external_token__simple_heredoc_body,
  ts_external_token__heredoc_body_beginning,
  ts_external_token__heredoc_body_middle,
  ts_external_token__heredoc_body_end,
  ts_external_token_file_descriptor,
  ts_external_token__empty_value,
  ts_external_token__concat,
  ts_external_token_variable_name,
  ts_external_token_RBRACE,
  ts_external_token_RBRACK,
  ts_external_token_LF,
};

static TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = {
  [ts_external_token_heredoc_start] = sym_heredoc_start,
  [ts_external_token__simple_heredoc_body] = sym__simple_heredoc_body,
  [ts_external_token__heredoc_body_beginning] = sym__heredoc_body_beginning,
  [ts_external_token__heredoc_body_middle] = sym__heredoc_body_middle,
  [ts_external_token__heredoc_body_end] = sym__heredoc_body_end,
  [ts_external_token_file_descriptor] = sym_file_descriptor,
  [ts_external_token__empty_value] = sym__empty_value,
  [ts_external_token__concat] = sym__concat,
  [ts_external_token_variable_name] = sym_variable_name,
  [ts_external_token_RBRACE] = anon_sym_RBRACE,
  [ts_external_token_RBRACK] = anon_sym_RBRACK,
  [ts_external_token_LF] = anon_sym_LF,
};

static bool ts_external_scanner_states[24][EXTERNAL_TOKEN_COUNT] = {
  [1] = {
    [ts_external_token_heredoc_start] = true,
    [ts_external_token__simple_heredoc_body] = true,
    [ts_external_token__heredoc_body_beginning] = true,
    [ts_external_token__heredoc_body_middle] = true,
    [ts_external_token__heredoc_body_end] = true,
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__empty_value] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_RBRACE] = true,
    [ts_external_token_RBRACK] = true,
    [ts_external_token_LF] = true,
  },
  [2] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_variable_name] = true,
  },
  [3] = {
    [ts_external_token_variable_name] = true,
    [ts_external_token_LF] = true,
  },
  [4] = {
    [ts_external_token_LF] = true,
  },
  [5] = {
    [ts_external_token__simple_heredoc_body] = true,
    [ts_external_token__heredoc_body_beginning] = true,
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_LF] = true,
  },
  [6] = {
    [ts_external_token_variable_name] = true,
  },
  [7] = {
    [ts_external_token__simple_heredoc_body] = true,
    [ts_external_token__heredoc_body_beginning] = true,
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_LF] = true,
  },
  [8] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_LF] = true,
  },
  [9] = {
    [ts_external_token__empty_value] = true,
  },
  [10] = {
    [ts_external_token__concat] = true,
    [ts_external_token_LF] = true,
  },
  [11] = {
    [ts_external_token__concat] = true,
    [ts_external_token_RBRACK] = true,
  },
  [12] = {
    [ts_external_token_RBRACK] = true,
  },
  [13] = {
    [ts_external_token__concat] = true,
  },
  [14] = {
    [ts_external_token__concat] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_LF] = true,
  },
  [15] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_variable_name] = true,
  },
  [16] = {
    [ts_external_token_RBRACE] = true,
  },
  [17] = {
    [ts_external_token__heredoc_body_middle] = true,
    [ts_external_token__heredoc_body_end] = true,
  },
  [18] = {
    [ts_external_token_heredoc_start] = true,
  },
  [19] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_LF] = true,
  },
  [20] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_RBRACE] = true,
  },
  [21] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_LF] = true,
  },
  [22] = {
    [ts_external_token__concat] = true,
    [ts_external_token_RBRACE] = true,
  },
  [23] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_LF] = true,
  },
};

static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = {
  [0] = {
    [sym_heredoc_start] = ACTIONS(1),
    [sym__simple_heredoc_body] = ACTIONS(1),
    [sym__heredoc_body_beginning] = ACTIONS(1),
    [sym__heredoc_body_middle] = ACTIONS(1),
    [sym__heredoc_body_end] = ACTIONS(1),
    [sym_file_descriptor] = ACTIONS(1),
    [sym__empty_value] = ACTIONS(1),
    [sym__concat] = ACTIONS(1),
    [sym_variable_name] = ACTIONS(1),
    [ts_builtin_sym_end] = ACTIONS(1),
    [anon_sym_for] = ACTIONS(1),
    [anon_sym_in] = ACTIONS(1),
    [anon_sym_while] = ACTIONS(1),
    [anon_sym_do] = ACTIONS(3),
    [anon_sym_done] = ACTIONS(1),
    [anon_sym_if] = ACTIONS(1),
    [anon_sym_then] = ACTIONS(1),
    [anon_sym_fi] = ACTIONS(1),
    [anon_sym_elif] = ACTIONS(1),
    [anon_sym_else] = ACTIONS(1),
    [anon_sym_case] = ACTIONS(1),
    [anon_sym_esac] = ACTIONS(1),
    [anon_sym_PIPE] = ACTIONS(3),
    [anon_sym_RPAREN] = ACTIONS(1),
    [anon_sym_SEMI_SEMI] = ACTIONS(1),
    [anon_sym_function] = ACTIONS(1),
    [anon_sym_LPAREN] = ACTIONS(1),
    [anon_sym_LBRACE] = ACTIONS(1),
    [anon_sym_RBRACE] = ACTIONS(1),
    [anon_sym_PIPE_AMP] = ACTIONS(1),
    [anon_sym_AMP_AMP] = ACTIONS(1),
    [anon_sym_PIPE_PIPE] = ACTIONS(1),
    [anon_sym_BANG] = ACTIONS(1),
    [anon_sym_LBRACK] = ACTIONS(3),
    [anon_sym_RBRACK] = ACTIONS(1),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1),
    [anon_sym_declare] = ACTIONS(1),
    [anon_sym_typeset] = ACTIONS(1),
    [anon_sym_export] = ACTIONS(1),
    [anon_sym_readonly] = ACTIONS(1),
    [anon_sym_local] = ACTIONS(1),
    [anon_sym_unset] = ACTIONS(3),
    [anon_sym_unsetenv] = ACTIONS(1),
    [anon_sym_EQ_TILDE] = ACTIONS(1),
    [anon_sym_EQ_EQ] = ACTIONS(1),
    [anon_sym_EQ] = ACTIONS(3),
    [anon_sym_PLUS_EQ] = ACTIONS(1),
    [anon_sym_LT] = ACTIONS(3),
    [anon_sym_GT] = ACTIONS(3),
    [anon_sym_GT_GT] = ACTIONS(1),
    [anon_sym_AMP_GT] = ACTIONS(3),
    [anon_sym_AMP_GT_GT] = ACTIONS(1),
    [anon_sym_LT_AMP] = ACTIONS(1),
    [anon_sym_GT_AMP] = ACTIONS(1),
    [anon_sym_LT_LT] = ACTIONS(3),
    [anon_sym_LT_LT_DASH] = ACTIONS(1),
    [anon_sym_LT_LT_LT] = ACTIONS(1),
    [sym__special_characters] = ACTIONS(3),
    [anon_sym_DQUOTE] = ACTIONS(1),
    [anon_sym_DOLLAR] = ACTIONS(3),
    [sym_raw_string] = ACTIONS(1),
    [anon_sym_POUND] = ACTIONS(1),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1),
    [anon_sym_SLASH] = ACTIONS(1),
    [anon_sym_COLON] = ACTIONS(3),
    [anon_sym_COLON_QMARK] = ACTIONS(1),
    [anon_sym_COLON_DASH] = ACTIONS(1),
    [anon_sym_PERCENT] = ACTIONS(1),
    [anon_sym_DASH] = ACTIONS(1),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1),
    [anon_sym_BQUOTE] = ACTIONS(1),
    [anon_sym_LT_LPAREN] = ACTIONS(1),
    [anon_sym_GT_LPAREN] = ACTIONS(1),
    [sym_comment] = ACTIONS(3),
    [anon_sym_STAR] = ACTIONS(1),
    [anon_sym_AT] = ACTIONS(1),
    [anon_sym_QMARK] = ACTIONS(1),
    [anon_sym_0] = ACTIONS(1),
    [anon_sym__] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(3),
    [anon_sym_LF] = ACTIONS(1),
    [anon_sym_AMP] = ACTIONS(3),
  },
  [1] = {
    [sym_program] = STATE(25),
    [sym__terminated_statement] = STATE(32),
    [sym_for_statement] = STATE(26),
    [sym_c_style_for_statement] = STATE(26),
    [sym_while_statement] = STATE(26),
    [sym_if_statement] = STATE(26),
    [sym_case_statement] = STATE(26),
    [sym_function_definition] = STATE(26),
    [sym_subshell] = STATE(26),
    [sym_pipeline] = STATE(26),
    [sym_list] = STATE(26),
    [sym_negated_command] = STATE(26),
    [sym_test_command] = STATE(26),
    [sym_declaration_command] = STATE(26),
    [sym_unset_command] = STATE(26),
    [sym_command] = STATE(26),
    [sym_command_name] = STATE(27),
    [sym_variable_assignment] = STATE(28),
    [sym_subscript] = STATE(29),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym__statements_repeat1] = STATE(32),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [ts_builtin_sym_end] = ACTIONS(9),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(13),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(19),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(25),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(27),
    [anon_sym_declare] = ACTIONS(29),
    [anon_sym_typeset] = ACTIONS(29),
    [anon_sym_export] = ACTIONS(29),
    [anon_sym_readonly] = ACTIONS(29),
    [anon_sym_local] = ACTIONS(29),
    [anon_sym_unset] = ACTIONS(31),
    [anon_sym_unsetenv] = ACTIONS(31),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(37),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(55),
  },
  [2] = {
    [anon_sym_LT] = ACTIONS(57),
    [anon_sym_GT] = ACTIONS(57),
    [anon_sym_GT_GT] = ACTIONS(59),
    [anon_sym_AMP_GT] = ACTIONS(57),
    [anon_sym_AMP_GT_GT] = ACTIONS(59),
    [anon_sym_LT_AMP] = ACTIONS(59),
    [anon_sym_GT_AMP] = ACTIONS(59),
    [sym_comment] = ACTIONS(53),
  },
  [3] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(63),
    [anon_sym_PLUS_EQ] = ACTIONS(63),
    [sym_comment] = ACTIONS(53),
  },
  [4] = {
    [anon_sym_LPAREN_LPAREN] = ACTIONS(65),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(67),
  },
  [5] = {
    [sym__terminated_statement] = STATE(50),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [6] = {
    [sym__terminated_statement] = STATE(56),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [7] = {
    [sym_concatenation] = STATE(65),
    [sym_string] = STATE(60),
    [sym_simple_expansion] = STATE(60),
    [sym_string_expansion] = STATE(60),
    [sym_expansion] = STATE(60),
    [sym_command_substitution] = STATE(60),
    [sym_process_substitution] = STATE(60),
    [sym__special_characters] = ACTIONS(91),
    [anon_sym_DQUOTE] = ACTIONS(93),
    [anon_sym_DOLLAR] = ACTIONS(95),
    [sym_raw_string] = ACTIONS(97),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(99),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(101),
    [anon_sym_BQUOTE] = ACTIONS(103),
    [anon_sym_LT_LPAREN] = ACTIONS(105),
    [anon_sym_GT_LPAREN] = ACTIONS(105),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(97),
  },
  [8] = {
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(107),
  },
  [9] = {
    [sym__terminated_statement] = STATE(82),
    [sym_for_statement] = STATE(78),
    [sym_c_style_for_statement] = STATE(78),
    [sym_while_statement] = STATE(78),
    [sym_if_statement] = STATE(78),
    [sym_case_statement] = STATE(78),
    [sym_function_definition] = STATE(78),
    [sym_subshell] = STATE(78),
    [sym_pipeline] = STATE(78),
    [sym_list] = STATE(78),
    [sym_negated_command] = STATE(78),
    [sym_test_command] = STATE(78),
    [sym_declaration_command] = STATE(78),
    [sym_unset_command] = STATE(78),
    [sym_command] = STATE(78),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(80),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(82),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [10] = {
    [sym_subshell] = STATE(85),
    [sym_test_command] = STATE(85),
    [sym_command] = STATE(85),
    [sym_command_name] = STATE(27),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_LBRACK] = ACTIONS(25),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(27),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(37),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(43),
  },
  [11] = {
    [sym__expression] = STATE(97),
    [sym_binary_expression] = STATE(97),
    [sym_unary_expression] = STATE(97),
    [sym_parenthesized_expression] = STATE(97),
    [sym_concatenation] = STATE(97),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [12] = {
    [sym__expression] = STATE(108),
    [sym_binary_expression] = STATE(108),
    [sym_unary_expression] = STATE(108),
    [sym_parenthesized_expression] = STATE(108),
    [sym_concatenation] = STATE(108),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [13] = {
    [sym_variable_assignment] = STATE(120),
    [sym_subscript] = STATE(119),
    [sym_concatenation] = STATE(120),
    [sym_string] = STATE(113),
    [sym_simple_expansion] = STATE(113),
    [sym_string_expansion] = STATE(113),
    [sym_expansion] = STATE(113),
    [sym_command_substitution] = STATE(113),
    [sym_process_substitution] = STATE(113),
    [aux_sym_declaration_command_repeat1] = STATE(120),
    [sym_variable_name] = ACTIONS(181),
    [ts_builtin_sym_end] = ACTIONS(183),
    [anon_sym_PIPE] = ACTIONS(185),
    [anon_sym_SEMI_SEMI] = ACTIONS(183),
    [anon_sym_PIPE_AMP] = ACTIONS(183),
    [anon_sym_AMP_AMP] = ACTIONS(183),
    [anon_sym_PIPE_PIPE] = ACTIONS(183),
    [sym__special_characters] = ACTIONS(187),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(193),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(205),
    [anon_sym_SEMI] = ACTIONS(185),
    [anon_sym_LF] = ACTIONS(183),
    [anon_sym_AMP] = ACTIONS(185),
  },
  [14] = {
    [sym_concatenation] = STATE(130),
    [sym_string] = STATE(124),
    [sym_simple_expansion] = STATE(124),
    [sym_string_expansion] = STATE(124),
    [sym_expansion] = STATE(124),
    [sym_command_substitution] = STATE(124),
    [sym_process_substitution] = STATE(124),
    [aux_sym_unset_command_repeat1] = STATE(130),
    [ts_builtin_sym_end] = ACTIONS(207),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_SEMI_SEMI] = ACTIONS(207),
    [anon_sym_PIPE_AMP] = ACTIONS(207),
    [anon_sym_AMP_AMP] = ACTIONS(207),
    [anon_sym_PIPE_PIPE] = ACTIONS(207),
    [sym__special_characters] = ACTIONS(211),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(217),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(229),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_LF] = ACTIONS(207),
    [anon_sym_AMP] = ACTIONS(209),
  },
  [15] = {
    [sym_concatenation] = STATE(139),
    [sym_string] = STATE(134),
    [sym_simple_expansion] = STATE(134),
    [sym_string_expansion] = STATE(134),
    [sym_expansion] = STATE(134),
    [sym_command_substitution] = STATE(134),
    [sym_process_substitution] = STATE(134),
    [sym__special_characters] = ACTIONS(231),
    [anon_sym_DQUOTE] = ACTIONS(233),
    [anon_sym_DOLLAR] = ACTIONS(235),
    [sym_raw_string] = ACTIONS(237),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(239),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(241),
    [anon_sym_BQUOTE] = ACTIONS(243),
    [anon_sym_LT_LPAREN] = ACTIONS(245),
    [anon_sym_GT_LPAREN] = ACTIONS(245),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(237),
  },
  [16] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(247),
    [sym__heredoc_body_beginning] = ACTIONS(247),
    [sym_file_descriptor] = ACTIONS(247),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(247),
    [anon_sym_PIPE] = ACTIONS(251),
    [anon_sym_SEMI_SEMI] = ACTIONS(247),
    [anon_sym_PIPE_AMP] = ACTIONS(247),
    [anon_sym_AMP_AMP] = ACTIONS(247),
    [anon_sym_PIPE_PIPE] = ACTIONS(247),
    [anon_sym_EQ_TILDE] = ACTIONS(251),
    [anon_sym_EQ_EQ] = ACTIONS(251),
    [anon_sym_LT] = ACTIONS(251),
    [anon_sym_GT] = ACTIONS(251),
    [anon_sym_GT_GT] = ACTIONS(247),
    [anon_sym_AMP_GT] = ACTIONS(251),
    [anon_sym_AMP_GT_GT] = ACTIONS(247),
    [anon_sym_LT_AMP] = ACTIONS(247),
    [anon_sym_GT_AMP] = ACTIONS(247),
    [anon_sym_LT_LT] = ACTIONS(251),
    [anon_sym_LT_LT_DASH] = ACTIONS(247),
    [anon_sym_LT_LT_LT] = ACTIONS(247),
    [sym__special_characters] = ACTIONS(247),
    [anon_sym_DQUOTE] = ACTIONS(247),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(247),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(247),
    [anon_sym_BQUOTE] = ACTIONS(247),
    [anon_sym_LT_LPAREN] = ACTIONS(247),
    [anon_sym_GT_LPAREN] = ACTIONS(247),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(251),
    [anon_sym_SEMI] = ACTIONS(251),
    [anon_sym_LF] = ACTIONS(247),
    [anon_sym_AMP] = ACTIONS(251),
  },
  [17] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(148),
    [anon_sym_DQUOTE] = ACTIONS(253),
    [anon_sym_DOLLAR] = ACTIONS(255),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [18] = {
    [sym_string] = STATE(150),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(267),
    [sym_raw_string] = ACTIONS(269),
    [anon_sym_POUND] = ACTIONS(267),
    [anon_sym_DASH] = ACTIONS(267),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(271),
    [anon_sym_STAR] = ACTIONS(267),
    [anon_sym_AT] = ACTIONS(267),
    [anon_sym_QMARK] = ACTIONS(267),
    [anon_sym_0] = ACTIONS(273),
    [anon_sym__] = ACTIONS(273),
  },
  [19] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(275),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [20] = {
    [sym_subscript] = STATE(156),
    [sym_variable_name] = ACTIONS(279),
    [anon_sym_BANG] = ACTIONS(281),
    [anon_sym_DOLLAR] = ACTIONS(283),
    [anon_sym_POUND] = ACTIONS(281),
    [anon_sym_DASH] = ACTIONS(283),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(285),
    [anon_sym_STAR] = ACTIONS(283),
    [anon_sym_AT] = ACTIONS(283),
    [anon_sym_QMARK] = ACTIONS(283),
    [anon_sym_0] = ACTIONS(287),
    [anon_sym__] = ACTIONS(287),
  },
  [21] = {
    [sym__terminated_statement] = STATE(159),
    [sym_for_statement] = STATE(157),
    [sym_c_style_for_statement] = STATE(157),
    [sym_while_statement] = STATE(157),
    [sym_if_statement] = STATE(157),
    [sym_case_statement] = STATE(157),
    [sym_function_definition] = STATE(157),
    [sym_subshell] = STATE(157),
    [sym_pipeline] = STATE(157),
    [sym_list] = STATE(157),
    [sym_negated_command] = STATE(157),
    [sym_test_command] = STATE(157),
    [sym_declaration_command] = STATE(157),
    [sym_unset_command] = STATE(157),
    [sym_command] = STATE(157),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(158),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(159),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [22] = {
    [sym__terminated_statement] = STATE(171),
    [sym_for_statement] = STATE(168),
    [sym_c_style_for_statement] = STATE(168),
    [sym_while_statement] = STATE(168),
    [sym_if_statement] = STATE(168),
    [sym_case_statement] = STATE(168),
    [sym_function_definition] = STATE(168),
    [sym_subshell] = STATE(168),
    [sym_pipeline] = STATE(168),
    [sym_list] = STATE(168),
    [sym_negated_command] = STATE(168),
    [sym_test_command] = STATE(168),
    [sym_declaration_command] = STATE(168),
    [sym_unset_command] = STATE(168),
    [sym_command] = STATE(168),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(170),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(171),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [23] = {
    [sym__terminated_statement] = STATE(175),
    [sym_for_statement] = STATE(173),
    [sym_c_style_for_statement] = STATE(173),
    [sym_while_statement] = STATE(173),
    [sym_if_statement] = STATE(173),
    [sym_case_statement] = STATE(173),
    [sym_function_definition] = STATE(173),
    [sym_subshell] = STATE(173),
    [sym_pipeline] = STATE(173),
    [sym_list] = STATE(173),
    [sym_negated_command] = STATE(173),
    [sym_test_command] = STATE(173),
    [sym_declaration_command] = STATE(173),
    [sym_unset_command] = STATE(173),
    [sym_command] = STATE(173),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(174),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(175),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [24] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(275),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(305),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [25] = {
    [ts_builtin_sym_end] = ACTIONS(307),
    [sym_comment] = ACTIONS(53),
  },
  [26] = {
    [ts_builtin_sym_end] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(313),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(317),
    [anon_sym_PIPE_PIPE] = ACTIONS(317),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(319),
    [anon_sym_LF] = ACTIONS(313),
    [anon_sym_AMP] = ACTIONS(319),
  },
  [27] = {
    [sym_file_redirect] = STATE(190),
    [sym_heredoc_redirect] = STATE(190),
    [sym_heredoc_body] = STATE(189),
    [sym_herestring_redirect] = STATE(190),
    [sym_concatenation] = STATE(191),
    [sym_string] = STATE(188),
    [sym_simple_expansion] = STATE(188),
    [sym_string_expansion] = STATE(188),
    [sym_expansion] = STATE(188),
    [sym_command_substitution] = STATE(188),
    [sym_process_substitution] = STATE(188),
    [aux_sym_while_statement_repeat1] = STATE(190),
    [aux_sym_command_repeat2] = STATE(191),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(327),
    [anon_sym_PIPE] = ACTIONS(329),
    [anon_sym_SEMI_SEMI] = ACTIONS(327),
    [anon_sym_PIPE_AMP] = ACTIONS(327),
    [anon_sym_AMP_AMP] = ACTIONS(327),
    [anon_sym_PIPE_PIPE] = ACTIONS(327),
    [anon_sym_EQ_TILDE] = ACTIONS(331),
    [anon_sym_EQ_EQ] = ACTIONS(331),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym__special_characters] = ACTIONS(343),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(345),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(347),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_LF] = ACTIONS(327),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [28] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [ts_builtin_sym_end] = ACTIONS(309),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(313),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(317),
    [anon_sym_PIPE_PIPE] = ACTIONS(317),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(319),
    [anon_sym_LF] = ACTIONS(313),
    [anon_sym_AMP] = ACTIONS(319),
  },
  [29] = {
    [anon_sym_EQ] = ACTIONS(63),
    [anon_sym_PLUS_EQ] = ACTIONS(63),
    [sym_comment] = ACTIONS(53),
  },
  [30] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(349),
  },
  [31] = {
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [ts_builtin_sym_end] = ACTIONS(275),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_RPAREN] = ACTIONS(275),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [32] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(192),
    [sym_c_style_for_statement] = STATE(192),
    [sym_while_statement] = STATE(192),
    [sym_if_statement] = STATE(192),
    [sym_case_statement] = STATE(192),
    [sym_function_definition] = STATE(192),
    [sym_subshell] = STATE(192),
    [sym_pipeline] = STATE(192),
    [sym_list] = STATE(192),
    [sym_negated_command] = STATE(192),
    [sym_test_command] = STATE(192),
    [sym_declaration_command] = STATE(192),
    [sym_unset_command] = STATE(192),
    [sym_command] = STATE(192),
    [sym_command_name] = STATE(27),
    [sym_variable_assignment] = STATE(193),
    [sym_subscript] = STATE(29),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(13),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(19),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(25),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(27),
    [anon_sym_declare] = ACTIONS(29),
    [anon_sym_typeset] = ACTIONS(29),
    [anon_sym_export] = ACTIONS(29),
    [anon_sym_readonly] = ACTIONS(29),
    [anon_sym_local] = ACTIONS(29),
    [anon_sym_unset] = ACTIONS(31),
    [anon_sym_unsetenv] = ACTIONS(31),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(37),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(55),
  },
  [33] = {
    [sym_command_name] = STATE(195),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(353),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(43),
  },
  [34] = {
    [sym_concatenation] = STATE(199),
    [sym_string] = STATE(198),
    [sym_simple_expansion] = STATE(198),
    [sym_string_expansion] = STATE(198),
    [sym_expansion] = STATE(198),
    [sym_command_substitution] = STATE(198),
    [sym_process_substitution] = STATE(198),
    [sym__special_characters] = ACTIONS(355),
    [anon_sym_DQUOTE] = ACTIONS(233),
    [anon_sym_DOLLAR] = ACTIONS(235),
    [sym_raw_string] = ACTIONS(357),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(239),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(241),
    [anon_sym_BQUOTE] = ACTIONS(243),
    [anon_sym_LT_LPAREN] = ACTIONS(245),
    [anon_sym_GT_LPAREN] = ACTIONS(245),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(357),
  },
  [35] = {
    [sym_concatenation] = STATE(202),
    [sym_string] = STATE(201),
    [sym_simple_expansion] = STATE(201),
    [sym_string_expansion] = STATE(201),
    [sym_expansion] = STATE(201),
    [sym_command_substitution] = STATE(201),
    [sym_process_substitution] = STATE(201),
    [sym__special_characters] = ACTIONS(359),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(361),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(361),
  },
  [36] = {
    [sym_concatenation] = STATE(203),
    [sym_string] = STATE(208),
    [sym_array] = STATE(203),
    [sym_simple_expansion] = STATE(208),
    [sym_string_expansion] = STATE(208),
    [sym_expansion] = STATE(208),
    [sym_command_substitution] = STATE(208),
    [sym_process_substitution] = STATE(208),
    [sym__empty_value] = ACTIONS(363),
    [anon_sym_LPAREN] = ACTIONS(365),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(369),
    [anon_sym_DOLLAR] = ACTIONS(371),
    [sym_raw_string] = ACTIONS(373),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(377),
    [anon_sym_BQUOTE] = ACTIONS(379),
    [anon_sym_LT_LPAREN] = ACTIONS(381),
    [anon_sym_GT_LPAREN] = ACTIONS(381),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(373),
  },
  [37] = {
    [sym__expression] = STATE(224),
    [sym_binary_expression] = STATE(224),
    [sym_unary_expression] = STATE(224),
    [sym_parenthesized_expression] = STATE(224),
    [sym_concatenation] = STATE(224),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_SEMI_SEMI] = ACTIONS(383),
    [anon_sym_LPAREN] = ACTIONS(385),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(389),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(407),
    [anon_sym_SEMI] = ACTIONS(409),
    [anon_sym_LF] = ACTIONS(383),
    [anon_sym_AMP] = ACTIONS(383),
  },
  [38] = {
    [anon_sym_in] = ACTIONS(411),
    [anon_sym_SEMI_SEMI] = ACTIONS(413),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(415),
    [anon_sym_LF] = ACTIONS(413),
    [anon_sym_AMP] = ACTIONS(413),
  },
  [39] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(417),
    [anon_sym_PLUS_EQ] = ACTIONS(417),
    [sym_comment] = ACTIONS(53),
  },
  [40] = {
    [sym__terminated_statement] = STATE(228),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [41] = {
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(419),
  },
  [42] = {
    [sym_subshell] = STATE(85),
    [sym_test_command] = STATE(85),
    [sym_command] = STATE(85),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(87),
  },
  [43] = {
    [sym__expression] = STATE(230),
    [sym_binary_expression] = STATE(230),
    [sym_unary_expression] = STATE(230),
    [sym_parenthesized_expression] = STATE(230),
    [sym_concatenation] = STATE(230),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [44] = {
    [sym__expression] = STATE(231),
    [sym_binary_expression] = STATE(231),
    [sym_unary_expression] = STATE(231),
    [sym_parenthesized_expression] = STATE(231),
    [sym_concatenation] = STATE(231),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [45] = {
    [sym_variable_assignment] = STATE(236),
    [sym_subscript] = STATE(235),
    [sym_concatenation] = STATE(236),
    [sym_string] = STATE(234),
    [sym_simple_expansion] = STATE(234),
    [sym_string_expansion] = STATE(234),
    [sym_expansion] = STATE(234),
    [sym_command_substitution] = STATE(234),
    [sym_process_substitution] = STATE(234),
    [aux_sym_declaration_command_repeat1] = STATE(236),
    [sym_variable_name] = ACTIONS(421),
    [anon_sym_PIPE] = ACTIONS(185),
    [anon_sym_SEMI_SEMI] = ACTIONS(183),
    [anon_sym_PIPE_AMP] = ACTIONS(183),
    [anon_sym_AMP_AMP] = ACTIONS(183),
    [anon_sym_PIPE_PIPE] = ACTIONS(183),
    [sym__special_characters] = ACTIONS(423),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(425),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(427),
    [anon_sym_SEMI] = ACTIONS(185),
    [anon_sym_LF] = ACTIONS(183),
    [anon_sym_AMP] = ACTIONS(185),
  },
  [46] = {
    [sym_concatenation] = STATE(239),
    [sym_string] = STATE(238),
    [sym_simple_expansion] = STATE(238),
    [sym_string_expansion] = STATE(238),
    [sym_expansion] = STATE(238),
    [sym_command_substitution] = STATE(238),
    [sym_process_substitution] = STATE(238),
    [aux_sym_unset_command_repeat1] = STATE(239),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_SEMI_SEMI] = ACTIONS(207),
    [anon_sym_PIPE_AMP] = ACTIONS(207),
    [anon_sym_AMP_AMP] = ACTIONS(207),
    [anon_sym_PIPE_PIPE] = ACTIONS(207),
    [sym__special_characters] = ACTIONS(429),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(433),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_LF] = ACTIONS(207),
    [anon_sym_AMP] = ACTIONS(209),
  },
  [47] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(247),
    [sym__heredoc_body_beginning] = ACTIONS(247),
    [sym_file_descriptor] = ACTIONS(247),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(251),
    [anon_sym_SEMI_SEMI] = ACTIONS(247),
    [anon_sym_PIPE_AMP] = ACTIONS(247),
    [anon_sym_AMP_AMP] = ACTIONS(247),
    [anon_sym_PIPE_PIPE] = ACTIONS(247),
    [anon_sym_EQ_TILDE] = ACTIONS(251),
    [anon_sym_EQ_EQ] = ACTIONS(251),
    [anon_sym_LT] = ACTIONS(251),
    [anon_sym_GT] = ACTIONS(251),
    [anon_sym_GT_GT] = ACTIONS(247),
    [anon_sym_AMP_GT] = ACTIONS(251),
    [anon_sym_AMP_GT_GT] = ACTIONS(247),
    [anon_sym_LT_AMP] = ACTIONS(247),
    [anon_sym_GT_AMP] = ACTIONS(247),
    [anon_sym_LT_LT] = ACTIONS(251),
    [anon_sym_LT_LT_DASH] = ACTIONS(247),
    [anon_sym_LT_LT_LT] = ACTIONS(247),
    [sym__special_characters] = ACTIONS(247),
    [anon_sym_DQUOTE] = ACTIONS(247),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(247),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(247),
    [anon_sym_BQUOTE] = ACTIONS(247),
    [anon_sym_LT_LPAREN] = ACTIONS(247),
    [anon_sym_GT_LPAREN] = ACTIONS(247),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(251),
    [anon_sym_SEMI] = ACTIONS(251),
    [anon_sym_LF] = ACTIONS(247),
    [anon_sym_AMP] = ACTIONS(251),
  },
  [48] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [49] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [50] = {
    [sym_do_group] = STATE(243),
    [anon_sym_do] = ACTIONS(437),
    [sym_comment] = ACTIONS(53),
  },
  [51] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(441),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(447),
    [anon_sym_LF] = ACTIONS(441),
    [anon_sym_AMP] = ACTIONS(447),
  },
  [52] = {
    [sym_file_redirect] = STATE(253),
    [sym_heredoc_redirect] = STATE(253),
    [sym_heredoc_body] = STATE(189),
    [sym_herestring_redirect] = STATE(253),
    [sym_concatenation] = STATE(254),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(253),
    [aux_sym_command_repeat2] = STATE(254),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(329),
    [anon_sym_SEMI_SEMI] = ACTIONS(327),
    [anon_sym_PIPE_AMP] = ACTIONS(327),
    [anon_sym_AMP_AMP] = ACTIONS(327),
    [anon_sym_PIPE_PIPE] = ACTIONS(327),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_LF] = ACTIONS(327),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [53] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(441),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(447),
    [anon_sym_LF] = ACTIONS(441),
    [anon_sym_AMP] = ACTIONS(447),
  },
  [54] = {
    [anon_sym_EQ] = ACTIONS(417),
    [anon_sym_PLUS_EQ] = ACTIONS(417),
    [sym_comment] = ACTIONS(53),
  },
  [55] = {
    [sym_command_name] = STATE(255),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(465),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(87),
  },
  [56] = {
    [anon_sym_then] = ACTIONS(467),
    [sym_comment] = ACTIONS(53),
  },
  [57] = {
    [aux_sym_concatenation_repeat1] = STATE(260),
    [sym__concat] = ACTIONS(469),
    [anon_sym_in] = ACTIONS(471),
    [anon_sym_SEMI_SEMI] = ACTIONS(473),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(475),
    [anon_sym_LF] = ACTIONS(473),
    [anon_sym_AMP] = ACTIONS(473),
  },
  [58] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(263),
    [anon_sym_DQUOTE] = ACTIONS(477),
    [anon_sym_DOLLAR] = ACTIONS(479),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [59] = {
    [sym_string] = STATE(265),
    [anon_sym_DQUOTE] = ACTIONS(93),
    [anon_sym_DOLLAR] = ACTIONS(481),
    [sym_raw_string] = ACTIONS(483),
    [anon_sym_POUND] = ACTIONS(481),
    [anon_sym_DASH] = ACTIONS(481),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(485),
    [anon_sym_STAR] = ACTIONS(481),
    [anon_sym_AT] = ACTIONS(481),
    [anon_sym_QMARK] = ACTIONS(481),
    [anon_sym_0] = ACTIONS(487),
    [anon_sym__] = ACTIONS(487),
  },
  [60] = {
    [aux_sym_concatenation_repeat1] = STATE(260),
    [sym__concat] = ACTIONS(469),
    [anon_sym_in] = ACTIONS(489),
    [anon_sym_SEMI_SEMI] = ACTIONS(491),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(493),
    [anon_sym_LF] = ACTIONS(491),
    [anon_sym_AMP] = ACTIONS(491),
  },
  [61] = {
    [sym_subscript] = STATE(273),
    [sym_variable_name] = ACTIONS(495),
    [anon_sym_BANG] = ACTIONS(497),
    [anon_sym_DOLLAR] = ACTIONS(499),
    [anon_sym_POUND] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(501),
    [anon_sym_STAR] = ACTIONS(499),
    [anon_sym_AT] = ACTIONS(499),
    [anon_sym_QMARK] = ACTIONS(499),
    [anon_sym_0] = ACTIONS(503),
    [anon_sym__] = ACTIONS(503),
  },
  [62] = {
    [sym__terminated_statement] = STATE(276),
    [sym_for_statement] = STATE(274),
    [sym_c_style_for_statement] = STATE(274),
    [sym_while_statement] = STATE(274),
    [sym_if_statement] = STATE(274),
    [sym_case_statement] = STATE(274),
    [sym_function_definition] = STATE(274),
    [sym_subshell] = STATE(274),
    [sym_pipeline] = STATE(274),
    [sym_list] = STATE(274),
    [sym_negated_command] = STATE(274),
    [sym_test_command] = STATE(274),
    [sym_declaration_command] = STATE(274),
    [sym_unset_command] = STATE(274),
    [sym_command] = STATE(274),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(275),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(276),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [63] = {
    [sym__terminated_statement] = STATE(279),
    [sym_for_statement] = STATE(277),
    [sym_c_style_for_statement] = STATE(277),
    [sym_while_statement] = STATE(277),
    [sym_if_statement] = STATE(277),
    [sym_case_statement] = STATE(277),
    [sym_function_definition] = STATE(277),
    [sym_subshell] = STATE(277),
    [sym_pipeline] = STATE(277),
    [sym_list] = STATE(277),
    [sym_negated_command] = STATE(277),
    [sym_test_command] = STATE(277),
    [sym_declaration_command] = STATE(277),
    [sym_unset_command] = STATE(277),
    [sym_command] = STATE(277),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(278),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(279),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [64] = {
    [sym__terminated_statement] = STATE(282),
    [sym_for_statement] = STATE(280),
    [sym_c_style_for_statement] = STATE(280),
    [sym_while_statement] = STATE(280),
    [sym_if_statement] = STATE(280),
    [sym_case_statement] = STATE(280),
    [sym_function_definition] = STATE(280),
    [sym_subshell] = STATE(280),
    [sym_pipeline] = STATE(280),
    [sym_list] = STATE(280),
    [sym_negated_command] = STATE(280),
    [sym_test_command] = STATE(280),
    [sym_declaration_command] = STATE(280),
    [sym_unset_command] = STATE(280),
    [sym_command] = STATE(280),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(281),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(282),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [65] = {
    [anon_sym_in] = ACTIONS(489),
    [anon_sym_SEMI_SEMI] = ACTIONS(491),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(493),
    [anon_sym_LF] = ACTIONS(491),
    [anon_sym_AMP] = ACTIONS(491),
  },
  [66] = {
    [sym_compound_statement] = STATE(285),
    [anon_sym_LPAREN] = ACTIONS(505),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [67] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(509),
    [anon_sym_PLUS_EQ] = ACTIONS(509),
    [sym_comment] = ACTIONS(53),
  },
  [68] = {
    [sym__terminated_statement] = STATE(287),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [69] = {
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(511),
  },
  [70] = {
    [sym_subshell] = STATE(85),
    [sym_test_command] = STATE(85),
    [sym_command] = STATE(85),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(127),
  },
  [71] = {
    [sym__expression] = STATE(289),
    [sym_binary_expression] = STATE(289),
    [sym_unary_expression] = STATE(289),
    [sym_parenthesized_expression] = STATE(289),
    [sym_concatenation] = STATE(289),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [72] = {
    [sym__expression] = STATE(290),
    [sym_binary_expression] = STATE(290),
    [sym_unary_expression] = STATE(290),
    [sym_parenthesized_expression] = STATE(290),
    [sym_concatenation] = STATE(290),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [73] = {
    [sym_variable_assignment] = STATE(295),
    [sym_subscript] = STATE(294),
    [sym_concatenation] = STATE(295),
    [sym_string] = STATE(293),
    [sym_simple_expansion] = STATE(293),
    [sym_string_expansion] = STATE(293),
    [sym_expansion] = STATE(293),
    [sym_command_substitution] = STATE(293),
    [sym_process_substitution] = STATE(293),
    [aux_sym_declaration_command_repeat1] = STATE(295),
    [sym_variable_name] = ACTIONS(513),
    [anon_sym_PIPE] = ACTIONS(185),
    [anon_sym_RPAREN] = ACTIONS(183),
    [anon_sym_SEMI_SEMI] = ACTIONS(183),
    [anon_sym_PIPE_AMP] = ACTIONS(183),
    [anon_sym_AMP_AMP] = ACTIONS(183),
    [anon_sym_PIPE_PIPE] = ACTIONS(183),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(519),
    [anon_sym_SEMI] = ACTIONS(185),
    [anon_sym_LF] = ACTIONS(183),
    [anon_sym_AMP] = ACTIONS(185),
  },
  [74] = {
    [sym_concatenation] = STATE(298),
    [sym_string] = STATE(297),
    [sym_simple_expansion] = STATE(297),
    [sym_string_expansion] = STATE(297),
    [sym_expansion] = STATE(297),
    [sym_command_substitution] = STATE(297),
    [sym_process_substitution] = STATE(297),
    [aux_sym_unset_command_repeat1] = STATE(298),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_RPAREN] = ACTIONS(207),
    [anon_sym_SEMI_SEMI] = ACTIONS(207),
    [anon_sym_PIPE_AMP] = ACTIONS(207),
    [anon_sym_AMP_AMP] = ACTIONS(207),
    [anon_sym_PIPE_PIPE] = ACTIONS(207),
    [sym__special_characters] = ACTIONS(521),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(523),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(525),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_LF] = ACTIONS(207),
    [anon_sym_AMP] = ACTIONS(209),
  },
  [75] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(247),
    [sym__heredoc_body_beginning] = ACTIONS(247),
    [sym_file_descriptor] = ACTIONS(247),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(251),
    [anon_sym_RPAREN] = ACTIONS(247),
    [anon_sym_SEMI_SEMI] = ACTIONS(247),
    [anon_sym_PIPE_AMP] = ACTIONS(247),
    [anon_sym_AMP_AMP] = ACTIONS(247),
    [anon_sym_PIPE_PIPE] = ACTIONS(247),
    [anon_sym_EQ_TILDE] = ACTIONS(251),
    [anon_sym_EQ_EQ] = ACTIONS(251),
    [anon_sym_LT] = ACTIONS(251),
    [anon_sym_GT] = ACTIONS(251),
    [anon_sym_GT_GT] = ACTIONS(247),
    [anon_sym_AMP_GT] = ACTIONS(251),
    [anon_sym_AMP_GT_GT] = ACTIONS(247),
    [anon_sym_LT_AMP] = ACTIONS(247),
    [anon_sym_GT_AMP] = ACTIONS(247),
    [anon_sym_LT_LT] = ACTIONS(251),
    [anon_sym_LT_LT_DASH] = ACTIONS(247),
    [anon_sym_LT_LT_LT] = ACTIONS(247),
    [sym__special_characters] = ACTIONS(247),
    [anon_sym_DQUOTE] = ACTIONS(247),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(247),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(247),
    [anon_sym_BQUOTE] = ACTIONS(247),
    [anon_sym_LT_LPAREN] = ACTIONS(247),
    [anon_sym_GT_LPAREN] = ACTIONS(247),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(251),
    [anon_sym_SEMI] = ACTIONS(251),
    [anon_sym_LF] = ACTIONS(247),
    [anon_sym_AMP] = ACTIONS(251),
  },
  [76] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_RPAREN] = ACTIONS(275),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [77] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_RPAREN] = ACTIONS(275),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(527),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [78] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(531),
    [anon_sym_SEMI_SEMI] = ACTIONS(533),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(539),
    [anon_sym_LF] = ACTIONS(533),
    [anon_sym_AMP] = ACTIONS(539),
  },
  [79] = {
    [sym_file_redirect] = STATE(311),
    [sym_heredoc_redirect] = STATE(311),
    [sym_heredoc_body] = STATE(189),
    [sym_herestring_redirect] = STATE(311),
    [sym_concatenation] = STATE(312),
    [sym_string] = STATE(310),
    [sym_simple_expansion] = STATE(310),
    [sym_string_expansion] = STATE(310),
    [sym_expansion] = STATE(310),
    [sym_command_substitution] = STATE(310),
    [sym_process_substitution] = STATE(310),
    [aux_sym_while_statement_repeat1] = STATE(311),
    [aux_sym_command_repeat2] = STATE(312),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(329),
    [anon_sym_RPAREN] = ACTIONS(327),
    [anon_sym_SEMI_SEMI] = ACTIONS(327),
    [anon_sym_PIPE_AMP] = ACTIONS(327),
    [anon_sym_AMP_AMP] = ACTIONS(327),
    [anon_sym_PIPE_PIPE] = ACTIONS(327),
    [anon_sym_EQ_TILDE] = ACTIONS(543),
    [anon_sym_EQ_EQ] = ACTIONS(543),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym__special_characters] = ACTIONS(551),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(555),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_LF] = ACTIONS(327),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [80] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(531),
    [anon_sym_SEMI_SEMI] = ACTIONS(533),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(539),
    [anon_sym_LF] = ACTIONS(533),
    [anon_sym_AMP] = ACTIONS(539),
  },
  [81] = {
    [anon_sym_EQ] = ACTIONS(509),
    [anon_sym_PLUS_EQ] = ACTIONS(509),
    [sym_comment] = ACTIONS(53),
  },
  [82] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(313),
    [sym_c_style_for_statement] = STATE(313),
    [sym_while_statement] = STATE(313),
    [sym_if_statement] = STATE(313),
    [sym_case_statement] = STATE(313),
    [sym_function_definition] = STATE(313),
    [sym_subshell] = STATE(313),
    [sym_pipeline] = STATE(313),
    [sym_list] = STATE(313),
    [sym_negated_command] = STATE(313),
    [sym_test_command] = STATE(313),
    [sym_declaration_command] = STATE(313),
    [sym_unset_command] = STATE(313),
    [sym_command] = STATE(313),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(314),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [83] = {
    [sym_command_name] = STATE(315),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(557),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(127),
  },
  [84] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(559),
    [anon_sym_PLUS_EQ] = ACTIONS(559),
    [sym_comment] = ACTIONS(53),
  },
  [85] = {
    [ts_builtin_sym_end] = ACTIONS(561),
    [anon_sym_esac] = ACTIONS(561),
    [anon_sym_PIPE] = ACTIONS(563),
    [anon_sym_RPAREN] = ACTIONS(561),
    [anon_sym_SEMI_SEMI] = ACTIONS(561),
    [anon_sym_PIPE_AMP] = ACTIONS(561),
    [anon_sym_AMP_AMP] = ACTIONS(561),
    [anon_sym_PIPE_PIPE] = ACTIONS(561),
    [anon_sym_BQUOTE] = ACTIONS(561),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(563),
    [anon_sym_LF] = ACTIONS(561),
    [anon_sym_AMP] = ACTIONS(563),
  },
  [86] = {
    [anon_sym_EQ] = ACTIONS(559),
    [anon_sym_PLUS_EQ] = ACTIONS(559),
    [sym_comment] = ACTIONS(53),
  },
  [87] = {
    [sym__expression] = STATE(320),
    [sym_binary_expression] = STATE(320),
    [sym_unary_expression] = STATE(320),
    [sym_parenthesized_expression] = STATE(320),
    [sym_concatenation] = STATE(320),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [88] = {
    [sym__expression] = STATE(321),
    [sym_binary_expression] = STATE(321),
    [sym_unary_expression] = STATE(321),
    [sym_parenthesized_expression] = STATE(321),
    [sym_concatenation] = STATE(321),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [89] = {
    [aux_sym_concatenation_repeat1] = STATE(323),
    [sym__concat] = ACTIONS(575),
    [anon_sym_AMP_AMP] = ACTIONS(577),
    [anon_sym_PIPE_PIPE] = ACTIONS(577),
    [anon_sym_RBRACK] = ACTIONS(577),
    [anon_sym_EQ_TILDE] = ACTIONS(577),
    [anon_sym_EQ_EQ] = ACTIONS(577),
    [anon_sym_EQ] = ACTIONS(579),
    [anon_sym_LT] = ACTIONS(577),
    [anon_sym_GT] = ACTIONS(577),
    [anon_sym_BANG_EQ] = ACTIONS(577),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(577),
  },
  [90] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(326),
    [anon_sym_DQUOTE] = ACTIONS(581),
    [anon_sym_DOLLAR] = ACTIONS(583),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [91] = {
    [sym_string] = STATE(328),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(585),
    [sym_raw_string] = ACTIONS(587),
    [anon_sym_POUND] = ACTIONS(585),
    [anon_sym_DASH] = ACTIONS(585),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(589),
    [anon_sym_STAR] = ACTIONS(585),
    [anon_sym_AT] = ACTIONS(585),
    [anon_sym_QMARK] = ACTIONS(585),
    [anon_sym_0] = ACTIONS(591),
    [anon_sym__] = ACTIONS(591),
  },
  [92] = {
    [aux_sym_concatenation_repeat1] = STATE(323),
    [sym__concat] = ACTIONS(575),
    [anon_sym_AMP_AMP] = ACTIONS(593),
    [anon_sym_PIPE_PIPE] = ACTIONS(593),
    [anon_sym_RBRACK] = ACTIONS(593),
    [anon_sym_EQ_TILDE] = ACTIONS(593),
    [anon_sym_EQ_EQ] = ACTIONS(593),
    [anon_sym_EQ] = ACTIONS(595),
    [anon_sym_LT] = ACTIONS(593),
    [anon_sym_GT] = ACTIONS(593),
    [anon_sym_BANG_EQ] = ACTIONS(593),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(593),
  },
  [93] = {
    [sym_subscript] = STATE(334),
    [sym_variable_name] = ACTIONS(597),
    [anon_sym_BANG] = ACTIONS(599),
    [anon_sym_DOLLAR] = ACTIONS(601),
    [anon_sym_POUND] = ACTIONS(599),
    [anon_sym_DASH] = ACTIONS(601),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(603),
    [anon_sym_STAR] = ACTIONS(601),
    [anon_sym_AT] = ACTIONS(601),
    [anon_sym_QMARK] = ACTIONS(601),
    [anon_sym_0] = ACTIONS(605),
    [anon_sym__] = ACTIONS(605),
  },
  [94] = {
    [sym__terminated_statement] = STATE(337),
    [sym_for_statement] = STATE(335),
    [sym_c_style_for_statement] = STATE(335),
    [sym_while_statement] = STATE(335),
    [sym_if_statement] = STATE(335),
    [sym_case_statement] = STATE(335),
    [sym_function_definition] = STATE(335),
    [sym_subshell] = STATE(335),
    [sym_pipeline] = STATE(335),
    [sym_list] = STATE(335),
    [sym_negated_command] = STATE(335),
    [sym_test_command] = STATE(335),
    [sym_declaration_command] = STATE(335),
    [sym_unset_command] = STATE(335),
    [sym_command] = STATE(335),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(336),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(337),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [95] = {
    [sym__terminated_statement] = STATE(340),
    [sym_for_statement] = STATE(338),
    [sym_c_style_for_statement] = STATE(338),
    [sym_while_statement] = STATE(338),
    [sym_if_statement] = STATE(338),
    [sym_case_statement] = STATE(338),
    [sym_function_definition] = STATE(338),
    [sym_subshell] = STATE(338),
    [sym_pipeline] = STATE(338),
    [sym_list] = STATE(338),
    [sym_negated_command] = STATE(338),
    [sym_test_command] = STATE(338),
    [sym_declaration_command] = STATE(338),
    [sym_unset_command] = STATE(338),
    [sym_command] = STATE(338),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(339),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(340),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [96] = {
    [sym__terminated_statement] = STATE(343),
    [sym_for_statement] = STATE(341),
    [sym_c_style_for_statement] = STATE(341),
    [sym_while_statement] = STATE(341),
    [sym_if_statement] = STATE(341),
    [sym_case_statement] = STATE(341),
    [sym_function_definition] = STATE(341),
    [sym_subshell] = STATE(341),
    [sym_pipeline] = STATE(341),
    [sym_list] = STATE(341),
    [sym_negated_command] = STATE(341),
    [sym_test_command] = STATE(341),
    [sym_declaration_command] = STATE(341),
    [sym_unset_command] = STATE(341),
    [sym_command] = STATE(341),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(342),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(343),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [97] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(609),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [98] = {
    [sym__expression] = STATE(347),
    [sym_binary_expression] = STATE(347),
    [sym_unary_expression] = STATE(347),
    [sym_parenthesized_expression] = STATE(347),
    [sym_concatenation] = STATE(347),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [99] = {
    [sym__expression] = STATE(348),
    [sym_binary_expression] = STATE(348),
    [sym_unary_expression] = STATE(348),
    [sym_parenthesized_expression] = STATE(348),
    [sym_concatenation] = STATE(348),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [100] = {
    [aux_sym_concatenation_repeat1] = STATE(350),
    [sym__concat] = ACTIONS(615),
    [anon_sym_AMP_AMP] = ACTIONS(577),
    [anon_sym_PIPE_PIPE] = ACTIONS(577),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(577),
    [anon_sym_EQ_TILDE] = ACTIONS(577),
    [anon_sym_EQ_EQ] = ACTIONS(577),
    [anon_sym_EQ] = ACTIONS(579),
    [anon_sym_LT] = ACTIONS(577),
    [anon_sym_GT] = ACTIONS(577),
    [anon_sym_BANG_EQ] = ACTIONS(577),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(577),
  },
  [101] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(353),
    [anon_sym_DQUOTE] = ACTIONS(617),
    [anon_sym_DOLLAR] = ACTIONS(619),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [102] = {
    [sym_string] = STATE(355),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(621),
    [sym_raw_string] = ACTIONS(623),
    [anon_sym_POUND] = ACTIONS(621),
    [anon_sym_DASH] = ACTIONS(621),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(625),
    [anon_sym_STAR] = ACTIONS(621),
    [anon_sym_AT] = ACTIONS(621),
    [anon_sym_QMARK] = ACTIONS(621),
    [anon_sym_0] = ACTIONS(627),
    [anon_sym__] = ACTIONS(627),
  },
  [103] = {
    [aux_sym_concatenation_repeat1] = STATE(350),
    [sym__concat] = ACTIONS(615),
    [anon_sym_AMP_AMP] = ACTIONS(593),
    [anon_sym_PIPE_PIPE] = ACTIONS(593),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(593),
    [anon_sym_EQ_TILDE] = ACTIONS(593),
    [anon_sym_EQ_EQ] = ACTIONS(593),
    [anon_sym_EQ] = ACTIONS(595),
    [anon_sym_LT] = ACTIONS(593),
    [anon_sym_GT] = ACTIONS(593),
    [anon_sym_BANG_EQ] = ACTIONS(593),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(593),
  },
  [104] = {
    [sym_subscript] = STATE(361),
    [sym_variable_name] = ACTIONS(629),
    [anon_sym_BANG] = ACTIONS(631),
    [anon_sym_DOLLAR] = ACTIONS(633),
    [anon_sym_POUND] = ACTIONS(631),
    [anon_sym_DASH] = ACTIONS(633),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(635),
    [anon_sym_STAR] = ACTIONS(633),
    [anon_sym_AT] = ACTIONS(633),
    [anon_sym_QMARK] = ACTIONS(633),
    [anon_sym_0] = ACTIONS(637),
    [anon_sym__] = ACTIONS(637),
  },
  [105] = {
    [sym__terminated_statement] = STATE(364),
    [sym_for_statement] = STATE(362),
    [sym_c_style_for_statement] = STATE(362),
    [sym_while_statement] = STATE(362),
    [sym_if_statement] = STATE(362),
    [sym_case_statement] = STATE(362),
    [sym_function_definition] = STATE(362),
    [sym_subshell] = STATE(362),
    [sym_pipeline] = STATE(362),
    [sym_list] = STATE(362),
    [sym_negated_command] = STATE(362),
    [sym_test_command] = STATE(362),
    [sym_declaration_command] = STATE(362),
    [sym_unset_command] = STATE(362),
    [sym_command] = STATE(362),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(363),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(364),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [106] = {
    [sym__terminated_statement] = STATE(367),
    [sym_for_statement] = STATE(365),
    [sym_c_style_for_statement] = STATE(365),
    [sym_while_statement] = STATE(365),
    [sym_if_statement] = STATE(365),
    [sym_case_statement] = STATE(365),
    [sym_function_definition] = STATE(365),
    [sym_subshell] = STATE(365),
    [sym_pipeline] = STATE(365),
    [sym_list] = STATE(365),
    [sym_negated_command] = STATE(365),
    [sym_test_command] = STATE(365),
    [sym_declaration_command] = STATE(365),
    [sym_unset_command] = STATE(365),
    [sym_command] = STATE(365),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(366),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(367),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [107] = {
    [sym__terminated_statement] = STATE(370),
    [sym_for_statement] = STATE(368),
    [sym_c_style_for_statement] = STATE(368),
    [sym_while_statement] = STATE(368),
    [sym_if_statement] = STATE(368),
    [sym_case_statement] = STATE(368),
    [sym_function_definition] = STATE(368),
    [sym_subshell] = STATE(368),
    [sym_pipeline] = STATE(368),
    [sym_list] = STATE(368),
    [sym_negated_command] = STATE(368),
    [sym_test_command] = STATE(368),
    [sym_declaration_command] = STATE(368),
    [sym_unset_command] = STATE(368),
    [sym_command] = STATE(368),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(369),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(370),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [108] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(609),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [109] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(645),
    [anon_sym_PLUS_EQ] = ACTIONS(645),
    [sym_comment] = ACTIONS(53),
  },
  [110] = {
    [aux_sym_concatenation_repeat1] = STATE(375),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(649),
    [ts_builtin_sym_end] = ACTIONS(649),
    [anon_sym_PIPE] = ACTIONS(651),
    [anon_sym_SEMI_SEMI] = ACTIONS(649),
    [anon_sym_PIPE_AMP] = ACTIONS(649),
    [anon_sym_AMP_AMP] = ACTIONS(649),
    [anon_sym_PIPE_PIPE] = ACTIONS(649),
    [sym__special_characters] = ACTIONS(649),
    [anon_sym_DQUOTE] = ACTIONS(649),
    [anon_sym_DOLLAR] = ACTIONS(651),
    [sym_raw_string] = ACTIONS(649),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(649),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(649),
    [anon_sym_BQUOTE] = ACTIONS(649),
    [anon_sym_LT_LPAREN] = ACTIONS(649),
    [anon_sym_GT_LPAREN] = ACTIONS(649),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(651),
    [sym_word] = ACTIONS(651),
    [anon_sym_SEMI] = ACTIONS(651),
    [anon_sym_LF] = ACTIONS(649),
    [anon_sym_AMP] = ACTIONS(651),
  },
  [111] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(378),
    [anon_sym_DQUOTE] = ACTIONS(653),
    [anon_sym_DOLLAR] = ACTIONS(655),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [112] = {
    [sym_string] = STATE(380),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(657),
    [sym_raw_string] = ACTIONS(659),
    [anon_sym_POUND] = ACTIONS(657),
    [anon_sym_DASH] = ACTIONS(657),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(661),
    [anon_sym_STAR] = ACTIONS(657),
    [anon_sym_AT] = ACTIONS(657),
    [anon_sym_QMARK] = ACTIONS(657),
    [anon_sym_0] = ACTIONS(663),
    [anon_sym__] = ACTIONS(663),
  },
  [113] = {
    [aux_sym_concatenation_repeat1] = STATE(375),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(665),
    [ts_builtin_sym_end] = ACTIONS(665),
    [anon_sym_PIPE] = ACTIONS(667),
    [anon_sym_SEMI_SEMI] = ACTIONS(665),
    [anon_sym_PIPE_AMP] = ACTIONS(665),
    [anon_sym_AMP_AMP] = ACTIONS(665),
    [anon_sym_PIPE_PIPE] = ACTIONS(665),
    [sym__special_characters] = ACTIONS(665),
    [anon_sym_DQUOTE] = ACTIONS(665),
    [anon_sym_DOLLAR] = ACTIONS(667),
    [sym_raw_string] = ACTIONS(665),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(665),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(665),
    [anon_sym_BQUOTE] = ACTIONS(665),
    [anon_sym_LT_LPAREN] = ACTIONS(665),
    [anon_sym_GT_LPAREN] = ACTIONS(665),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(667),
    [sym_word] = ACTIONS(667),
    [anon_sym_SEMI] = ACTIONS(667),
    [anon_sym_LF] = ACTIONS(665),
    [anon_sym_AMP] = ACTIONS(667),
  },
  [114] = {
    [sym_subscript] = STATE(386),
    [sym_variable_name] = ACTIONS(669),
    [anon_sym_BANG] = ACTIONS(671),
    [anon_sym_DOLLAR] = ACTIONS(673),
    [anon_sym_POUND] = ACTIONS(671),
    [anon_sym_DASH] = ACTIONS(673),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(675),
    [anon_sym_STAR] = ACTIONS(673),
    [anon_sym_AT] = ACTIONS(673),
    [anon_sym_QMARK] = ACTIONS(673),
    [anon_sym_0] = ACTIONS(677),
    [anon_sym__] = ACTIONS(677),
  },
  [115] = {
    [sym__terminated_statement] = STATE(389),
    [sym_for_statement] = STATE(387),
    [sym_c_style_for_statement] = STATE(387),
    [sym_while_statement] = STATE(387),
    [sym_if_statement] = STATE(387),
    [sym_case_statement] = STATE(387),
    [sym_function_definition] = STATE(387),
    [sym_subshell] = STATE(387),
    [sym_pipeline] = STATE(387),
    [sym_list] = STATE(387),
    [sym_negated_command] = STATE(387),
    [sym_test_command] = STATE(387),
    [sym_declaration_command] = STATE(387),
    [sym_unset_command] = STATE(387),
    [sym_command] = STATE(387),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(388),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(389),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [116] = {
    [sym__terminated_statement] = STATE(392),
    [sym_for_statement] = STATE(390),
    [sym_c_style_for_statement] = STATE(390),
    [sym_while_statement] = STATE(390),
    [sym_if_statement] = STATE(390),
    [sym_case_statement] = STATE(390),
    [sym_function_definition] = STATE(390),
    [sym_subshell] = STATE(390),
    [sym_pipeline] = STATE(390),
    [sym_list] = STATE(390),
    [sym_negated_command] = STATE(390),
    [sym_test_command] = STATE(390),
    [sym_declaration_command] = STATE(390),
    [sym_unset_command] = STATE(390),
    [sym_command] = STATE(390),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(391),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(392),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [117] = {
    [sym__terminated_statement] = STATE(395),
    [sym_for_statement] = STATE(393),
    [sym_c_style_for_statement] = STATE(393),
    [sym_while_statement] = STATE(393),
    [sym_if_statement] = STATE(393),
    [sym_case_statement] = STATE(393),
    [sym_function_definition] = STATE(393),
    [sym_subshell] = STATE(393),
    [sym_pipeline] = STATE(393),
    [sym_list] = STATE(393),
    [sym_negated_command] = STATE(393),
    [sym_test_command] = STATE(393),
    [sym_declaration_command] = STATE(393),
    [sym_unset_command] = STATE(393),
    [sym_command] = STATE(393),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(394),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(395),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [118] = {
    [sym_variable_name] = ACTIONS(679),
    [ts_builtin_sym_end] = ACTIONS(679),
    [anon_sym_PIPE] = ACTIONS(681),
    [anon_sym_RPAREN] = ACTIONS(679),
    [anon_sym_SEMI_SEMI] = ACTIONS(679),
    [anon_sym_PIPE_AMP] = ACTIONS(679),
    [anon_sym_AMP_AMP] = ACTIONS(679),
    [anon_sym_PIPE_PIPE] = ACTIONS(679),
    [sym__special_characters] = ACTIONS(679),
    [anon_sym_DQUOTE] = ACTIONS(679),
    [anon_sym_DOLLAR] = ACTIONS(681),
    [sym_raw_string] = ACTIONS(679),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(679),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(679),
    [anon_sym_BQUOTE] = ACTIONS(679),
    [anon_sym_LT_LPAREN] = ACTIONS(679),
    [anon_sym_GT_LPAREN] = ACTIONS(679),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(681),
    [sym_word] = ACTIONS(681),
    [anon_sym_SEMI] = ACTIONS(681),
    [anon_sym_LF] = ACTIONS(679),
    [anon_sym_AMP] = ACTIONS(681),
  },
  [119] = {
    [anon_sym_EQ] = ACTIONS(645),
    [anon_sym_PLUS_EQ] = ACTIONS(645),
    [sym_comment] = ACTIONS(53),
  },
  [120] = {
    [sym_variable_assignment] = STATE(396),
    [sym_subscript] = STATE(119),
    [sym_concatenation] = STATE(396),
    [sym_string] = STATE(113),
    [sym_simple_expansion] = STATE(113),
    [sym_string_expansion] = STATE(113),
    [sym_expansion] = STATE(113),
    [sym_command_substitution] = STATE(113),
    [sym_process_substitution] = STATE(113),
    [aux_sym_declaration_command_repeat1] = STATE(396),
    [sym_variable_name] = ACTIONS(181),
    [ts_builtin_sym_end] = ACTIONS(683),
    [anon_sym_PIPE] = ACTIONS(685),
    [anon_sym_SEMI_SEMI] = ACTIONS(683),
    [anon_sym_PIPE_AMP] = ACTIONS(683),
    [anon_sym_AMP_AMP] = ACTIONS(683),
    [anon_sym_PIPE_PIPE] = ACTIONS(683),
    [sym__special_characters] = ACTIONS(187),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(193),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(205),
    [anon_sym_SEMI] = ACTIONS(685),
    [anon_sym_LF] = ACTIONS(683),
    [anon_sym_AMP] = ACTIONS(685),
  },
  [121] = {
    [aux_sym_concatenation_repeat1] = STATE(398),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(689),
    [anon_sym_PIPE] = ACTIONS(691),
    [anon_sym_SEMI_SEMI] = ACTIONS(689),
    [anon_sym_PIPE_AMP] = ACTIONS(689),
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [sym__special_characters] = ACTIONS(689),
    [anon_sym_DQUOTE] = ACTIONS(689),
    [anon_sym_DOLLAR] = ACTIONS(691),
    [sym_raw_string] = ACTIONS(689),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(689),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(689),
    [anon_sym_BQUOTE] = ACTIONS(689),
    [anon_sym_LT_LPAREN] = ACTIONS(689),
    [anon_sym_GT_LPAREN] = ACTIONS(689),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(691),
    [sym_word] = ACTIONS(691),
    [anon_sym_SEMI] = ACTIONS(691),
    [anon_sym_LF] = ACTIONS(689),
    [anon_sym_AMP] = ACTIONS(691),
  },
  [122] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(401),
    [anon_sym_DQUOTE] = ACTIONS(693),
    [anon_sym_DOLLAR] = ACTIONS(695),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [123] = {
    [sym_string] = STATE(403),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(697),
    [sym_raw_string] = ACTIONS(699),
    [anon_sym_POUND] = ACTIONS(697),
    [anon_sym_DASH] = ACTIONS(697),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(701),
    [anon_sym_STAR] = ACTIONS(697),
    [anon_sym_AT] = ACTIONS(697),
    [anon_sym_QMARK] = ACTIONS(697),
    [anon_sym_0] = ACTIONS(703),
    [anon_sym__] = ACTIONS(703),
  },
  [124] = {
    [aux_sym_concatenation_repeat1] = STATE(398),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(705),
    [anon_sym_PIPE] = ACTIONS(707),
    [anon_sym_SEMI_SEMI] = ACTIONS(705),
    [anon_sym_PIPE_AMP] = ACTIONS(705),
    [anon_sym_AMP_AMP] = ACTIONS(705),
    [anon_sym_PIPE_PIPE] = ACTIONS(705),
    [sym__special_characters] = ACTIONS(705),
    [anon_sym_DQUOTE] = ACTIONS(705),
    [anon_sym_DOLLAR] = ACTIONS(707),
    [sym_raw_string] = ACTIONS(705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(705),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(705),
    [anon_sym_BQUOTE] = ACTIONS(705),
    [anon_sym_LT_LPAREN] = ACTIONS(705),
    [anon_sym_GT_LPAREN] = ACTIONS(705),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(707),
    [sym_word] = ACTIONS(707),
    [anon_sym_SEMI] = ACTIONS(707),
    [anon_sym_LF] = ACTIONS(705),
    [anon_sym_AMP] = ACTIONS(707),
  },
  [125] = {
    [sym_subscript] = STATE(409),
    [sym_variable_name] = ACTIONS(709),
    [anon_sym_BANG] = ACTIONS(711),
    [anon_sym_DOLLAR] = ACTIONS(713),
    [anon_sym_POUND] = ACTIONS(711),
    [anon_sym_DASH] = ACTIONS(713),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(715),
    [anon_sym_STAR] = ACTIONS(713),
    [anon_sym_AT] = ACTIONS(713),
    [anon_sym_QMARK] = ACTIONS(713),
    [anon_sym_0] = ACTIONS(717),
    [anon_sym__] = ACTIONS(717),
  },
  [126] = {
    [sym__terminated_statement] = STATE(412),
    [sym_for_statement] = STATE(410),
    [sym_c_style_for_statement] = STATE(410),
    [sym_while_statement] = STATE(410),
    [sym_if_statement] = STATE(410),
    [sym_case_statement] = STATE(410),
    [sym_function_definition] = STATE(410),
    [sym_subshell] = STATE(410),
    [sym_pipeline] = STATE(410),
    [sym_list] = STATE(410),
    [sym_negated_command] = STATE(410),
    [sym_test_command] = STATE(410),
    [sym_declaration_command] = STATE(410),
    [sym_unset_command] = STATE(410),
    [sym_command] = STATE(410),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(411),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(412),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [127] = {
    [sym__terminated_statement] = STATE(415),
    [sym_for_statement] = STATE(413),
    [sym_c_style_for_statement] = STATE(413),
    [sym_while_statement] = STATE(413),
    [sym_if_statement] = STATE(413),
    [sym_case_statement] = STATE(413),
    [sym_function_definition] = STATE(413),
    [sym_subshell] = STATE(413),
    [sym_pipeline] = STATE(413),
    [sym_list] = STATE(413),
    [sym_negated_command] = STATE(413),
    [sym_test_command] = STATE(413),
    [sym_declaration_command] = STATE(413),
    [sym_unset_command] = STATE(413),
    [sym_command] = STATE(413),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(414),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(415),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [128] = {
    [sym__terminated_statement] = STATE(418),
    [sym_for_statement] = STATE(416),
    [sym_c_style_for_statement] = STATE(416),
    [sym_while_statement] = STATE(416),
    [sym_if_statement] = STATE(416),
    [sym_case_statement] = STATE(416),
    [sym_function_definition] = STATE(416),
    [sym_subshell] = STATE(416),
    [sym_pipeline] = STATE(416),
    [sym_list] = STATE(416),
    [sym_negated_command] = STATE(416),
    [sym_test_command] = STATE(416),
    [sym_declaration_command] = STATE(416),
    [sym_unset_command] = STATE(416),
    [sym_command] = STATE(416),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(417),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(418),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [129] = {
    [ts_builtin_sym_end] = ACTIONS(719),
    [anon_sym_PIPE] = ACTIONS(721),
    [anon_sym_RPAREN] = ACTIONS(719),
    [anon_sym_SEMI_SEMI] = ACTIONS(719),
    [anon_sym_PIPE_AMP] = ACTIONS(719),
    [anon_sym_AMP_AMP] = ACTIONS(719),
    [anon_sym_PIPE_PIPE] = ACTIONS(719),
    [sym__special_characters] = ACTIONS(719),
    [anon_sym_DQUOTE] = ACTIONS(719),
    [anon_sym_DOLLAR] = ACTIONS(721),
    [sym_raw_string] = ACTIONS(719),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(719),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(719),
    [anon_sym_BQUOTE] = ACTIONS(719),
    [anon_sym_LT_LPAREN] = ACTIONS(719),
    [anon_sym_GT_LPAREN] = ACTIONS(719),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(721),
    [sym_word] = ACTIONS(721),
    [anon_sym_SEMI] = ACTIONS(721),
    [anon_sym_LF] = ACTIONS(719),
    [anon_sym_AMP] = ACTIONS(721),
  },
  [130] = {
    [sym_concatenation] = STATE(419),
    [sym_string] = STATE(124),
    [sym_simple_expansion] = STATE(124),
    [sym_string_expansion] = STATE(124),
    [sym_expansion] = STATE(124),
    [sym_command_substitution] = STATE(124),
    [sym_process_substitution] = STATE(124),
    [aux_sym_unset_command_repeat1] = STATE(419),
    [ts_builtin_sym_end] = ACTIONS(723),
    [anon_sym_PIPE] = ACTIONS(725),
    [anon_sym_SEMI_SEMI] = ACTIONS(723),
    [anon_sym_PIPE_AMP] = ACTIONS(723),
    [anon_sym_AMP_AMP] = ACTIONS(723),
    [anon_sym_PIPE_PIPE] = ACTIONS(723),
    [sym__special_characters] = ACTIONS(211),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(217),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(229),
    [anon_sym_SEMI] = ACTIONS(725),
    [anon_sym_LF] = ACTIONS(723),
    [anon_sym_AMP] = ACTIONS(725),
  },
  [131] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [sym__special_characters] = ACTIONS(727),
    [anon_sym_DQUOTE] = ACTIONS(727),
    [anon_sym_DOLLAR] = ACTIONS(731),
    [sym_raw_string] = ACTIONS(727),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(727),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(727),
    [anon_sym_BQUOTE] = ACTIONS(727),
    [anon_sym_LT_LPAREN] = ACTIONS(727),
    [anon_sym_GT_LPAREN] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(727),
  },
  [132] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(424),
    [anon_sym_DQUOTE] = ACTIONS(733),
    [anon_sym_DOLLAR] = ACTIONS(735),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [133] = {
    [sym_string] = STATE(426),
    [anon_sym_DQUOTE] = ACTIONS(233),
    [anon_sym_DOLLAR] = ACTIONS(737),
    [sym_raw_string] = ACTIONS(739),
    [anon_sym_POUND] = ACTIONS(737),
    [anon_sym_DASH] = ACTIONS(737),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(741),
    [anon_sym_STAR] = ACTIONS(737),
    [anon_sym_AT] = ACTIONS(737),
    [anon_sym_QMARK] = ACTIONS(737),
    [anon_sym_0] = ACTIONS(743),
    [anon_sym__] = ACTIONS(743),
  },
  [134] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [sym__special_characters] = ACTIONS(745),
    [anon_sym_DQUOTE] = ACTIONS(745),
    [anon_sym_DOLLAR] = ACTIONS(747),
    [sym_raw_string] = ACTIONS(745),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(745),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [anon_sym_LT_LPAREN] = ACTIONS(745),
    [anon_sym_GT_LPAREN] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(745),
  },
  [135] = {
    [sym_subscript] = STATE(432),
    [sym_variable_name] = ACTIONS(749),
    [anon_sym_BANG] = ACTIONS(751),
    [anon_sym_DOLLAR] = ACTIONS(753),
    [anon_sym_POUND] = ACTIONS(751),
    [anon_sym_DASH] = ACTIONS(753),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(755),
    [anon_sym_STAR] = ACTIONS(753),
    [anon_sym_AT] = ACTIONS(753),
    [anon_sym_QMARK] = ACTIONS(753),
    [anon_sym_0] = ACTIONS(757),
    [anon_sym__] = ACTIONS(757),
  },
  [136] = {
    [sym__terminated_statement] = STATE(435),
    [sym_for_statement] = STATE(433),
    [sym_c_style_for_statement] = STATE(433),
    [sym_while_statement] = STATE(433),
    [sym_if_statement] = STATE(433),
    [sym_case_statement] = STATE(433),
    [sym_function_definition] = STATE(433),
    [sym_subshell] = STATE(433),
    [sym_pipeline] = STATE(433),
    [sym_list] = STATE(433),
    [sym_negated_command] = STATE(433),
    [sym_test_command] = STATE(433),
    [sym_declaration_command] = STATE(433),
    [sym_unset_command] = STATE(433),
    [sym_command] = STATE(433),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(434),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(435),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [137] = {
    [sym__terminated_statement] = STATE(438),
    [sym_for_statement] = STATE(436),
    [sym_c_style_for_statement] = STATE(436),
    [sym_while_statement] = STATE(436),
    [sym_if_statement] = STATE(436),
    [sym_case_statement] = STATE(436),
    [sym_function_definition] = STATE(436),
    [sym_subshell] = STATE(436),
    [sym_pipeline] = STATE(436),
    [sym_list] = STATE(436),
    [sym_negated_command] = STATE(436),
    [sym_test_command] = STATE(436),
    [sym_declaration_command] = STATE(436),
    [sym_unset_command] = STATE(436),
    [sym_command] = STATE(436),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(437),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(438),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [138] = {
    [sym__terminated_statement] = STATE(441),
    [sym_for_statement] = STATE(439),
    [sym_c_style_for_statement] = STATE(439),
    [sym_while_statement] = STATE(439),
    [sym_if_statement] = STATE(439),
    [sym_case_statement] = STATE(439),
    [sym_function_definition] = STATE(439),
    [sym_subshell] = STATE(439),
    [sym_pipeline] = STATE(439),
    [sym_list] = STATE(439),
    [sym_negated_command] = STATE(439),
    [sym_test_command] = STATE(439),
    [sym_declaration_command] = STATE(439),
    [sym_unset_command] = STATE(439),
    [sym_command] = STATE(439),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(440),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(441),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [139] = {
    [sym_file_descriptor] = ACTIONS(745),
    [sym_variable_name] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [sym__special_characters] = ACTIONS(745),
    [anon_sym_DQUOTE] = ACTIONS(745),
    [anon_sym_DOLLAR] = ACTIONS(747),
    [sym_raw_string] = ACTIONS(745),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(745),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [anon_sym_LT_LPAREN] = ACTIONS(745),
    [anon_sym_GT_LPAREN] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(745),
  },
  [140] = {
    [sym_string] = STATE(442),
    [sym_simple_expansion] = STATE(442),
    [sym_string_expansion] = STATE(442),
    [sym_expansion] = STATE(442),
    [sym_command_substitution] = STATE(442),
    [sym_process_substitution] = STATE(442),
    [sym__special_characters] = ACTIONS(759),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(759),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(759),
  },
  [141] = {
    [aux_sym_concatenation_repeat1] = STATE(443),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(763),
    [anon_sym_EQ_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [142] = {
    [sym__simple_heredoc_body] = ACTIONS(765),
    [sym__heredoc_body_beginning] = ACTIONS(765),
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [ts_builtin_sym_end] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(767),
    [anon_sym_EQ_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [anon_sym_LT_LT] = ACTIONS(767),
    [anon_sym_LT_LT_DASH] = ACTIONS(765),
    [anon_sym_LT_LT_LT] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [143] = {
    [anon_sym_DQUOTE] = ACTIONS(769),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [144] = {
    [sym__concat] = ACTIONS(779),
    [anon_sym_DQUOTE] = ACTIONS(781),
    [anon_sym_DOLLAR] = ACTIONS(781),
    [sym__string_content] = ACTIONS(783),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(781),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(781),
    [anon_sym_BQUOTE] = ACTIONS(781),
    [sym_comment] = ACTIONS(265),
  },
  [145] = {
    [sym_subscript] = STATE(453),
    [sym_variable_name] = ACTIONS(785),
    [anon_sym_BANG] = ACTIONS(787),
    [anon_sym_DOLLAR] = ACTIONS(789),
    [anon_sym_POUND] = ACTIONS(787),
    [anon_sym_DASH] = ACTIONS(789),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(791),
    [anon_sym_STAR] = ACTIONS(789),
    [anon_sym_AT] = ACTIONS(789),
    [anon_sym_QMARK] = ACTIONS(789),
    [anon_sym_0] = ACTIONS(793),
    [anon_sym__] = ACTIONS(793),
  },
  [146] = {
    [sym__terminated_statement] = STATE(456),
    [sym_for_statement] = STATE(454),
    [sym_c_style_for_statement] = STATE(454),
    [sym_while_statement] = STATE(454),
    [sym_if_statement] = STATE(454),
    [sym_case_statement] = STATE(454),
    [sym_function_definition] = STATE(454),
    [sym_subshell] = STATE(454),
    [sym_pipeline] = STATE(454),
    [sym_list] = STATE(454),
    [sym_negated_command] = STATE(454),
    [sym_test_command] = STATE(454),
    [sym_declaration_command] = STATE(454),
    [sym_unset_command] = STATE(454),
    [sym_command] = STATE(454),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(455),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(456),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [147] = {
    [sym__terminated_statement] = STATE(459),
    [sym_for_statement] = STATE(457),
    [sym_c_style_for_statement] = STATE(457),
    [sym_while_statement] = STATE(457),
    [sym_if_statement] = STATE(457),
    [sym_case_statement] = STATE(457),
    [sym_function_definition] = STATE(457),
    [sym_subshell] = STATE(457),
    [sym_pipeline] = STATE(457),
    [sym_list] = STATE(457),
    [sym_negated_command] = STATE(457),
    [sym_test_command] = STATE(457),
    [sym_declaration_command] = STATE(457),
    [sym_unset_command] = STATE(457),
    [sym_command] = STATE(457),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(458),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(459),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [148] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(769),
    [anon_sym_DOLLAR] = ACTIONS(795),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [149] = {
    [sym__simple_heredoc_body] = ACTIONS(797),
    [sym__heredoc_body_beginning] = ACTIONS(797),
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [ts_builtin_sym_end] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(799),
    [anon_sym_EQ_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [anon_sym_LT_LT] = ACTIONS(799),
    [anon_sym_LT_LT_DASH] = ACTIONS(797),
    [anon_sym_LT_LT_LT] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [150] = {
    [sym__simple_heredoc_body] = ACTIONS(801),
    [sym__heredoc_body_beginning] = ACTIONS(801),
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [ts_builtin_sym_end] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(803),
    [anon_sym_EQ_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [anon_sym_LT_LT] = ACTIONS(803),
    [anon_sym_LT_LT_DASH] = ACTIONS(801),
    [anon_sym_LT_LT_LT] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [151] = {
    [sym__simple_heredoc_body] = ACTIONS(805),
    [sym__heredoc_body_beginning] = ACTIONS(805),
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [ts_builtin_sym_end] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [anon_sym_LT_LT] = ACTIONS(807),
    [anon_sym_LT_LT_DASH] = ACTIONS(805),
    [anon_sym_LT_LT_LT] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [152] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(811),
    [sym_comment] = ACTIONS(53),
  },
  [153] = {
    [sym_subscript] = STATE(467),
    [sym_variable_name] = ACTIONS(813),
    [anon_sym_DOLLAR] = ACTIONS(815),
    [anon_sym_DASH] = ACTIONS(815),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(817),
    [anon_sym_STAR] = ACTIONS(815),
    [anon_sym_AT] = ACTIONS(815),
    [anon_sym_QMARK] = ACTIONS(815),
    [anon_sym_0] = ACTIONS(819),
    [anon_sym__] = ACTIONS(819),
  },
  [154] = {
    [sym_concatenation] = STATE(478),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(478),
    [anon_sym_RBRACE] = ACTIONS(821),
    [anon_sym_EQ] = ACTIONS(823),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(833),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(837),
    [anon_sym_COLON] = ACTIONS(823),
    [anon_sym_COLON_QMARK] = ACTIONS(823),
    [anon_sym_COLON_DASH] = ACTIONS(823),
    [anon_sym_PERCENT] = ACTIONS(823),
    [anon_sym_DASH] = ACTIONS(823),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [155] = {
    [sym_concatenation] = STATE(481),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(481),
    [anon_sym_RBRACE] = ACTIONS(847),
    [anon_sym_EQ] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(851),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(853),
    [anon_sym_COLON] = ACTIONS(849),
    [anon_sym_COLON_QMARK] = ACTIONS(849),
    [anon_sym_COLON_DASH] = ACTIONS(849),
    [anon_sym_PERCENT] = ACTIONS(849),
    [anon_sym_DASH] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [156] = {
    [sym_concatenation] = STATE(484),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(484),
    [anon_sym_RBRACE] = ACTIONS(855),
    [anon_sym_EQ] = ACTIONS(857),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(859),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(861),
    [anon_sym_COLON] = ACTIONS(857),
    [anon_sym_COLON_QMARK] = ACTIONS(857),
    [anon_sym_COLON_DASH] = ACTIONS(857),
    [anon_sym_PERCENT] = ACTIONS(857),
    [anon_sym_DASH] = ACTIONS(857),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [157] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(863),
    [anon_sym_SEMI_SEMI] = ACTIONS(865),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(867),
    [anon_sym_LF] = ACTIONS(865),
    [anon_sym_AMP] = ACTIONS(867),
  },
  [158] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(863),
    [anon_sym_SEMI_SEMI] = ACTIONS(865),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(867),
    [anon_sym_LF] = ACTIONS(865),
    [anon_sym_AMP] = ACTIONS(867),
  },
  [159] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(487),
    [sym_c_style_for_statement] = STATE(487),
    [sym_while_statement] = STATE(487),
    [sym_if_statement] = STATE(487),
    [sym_case_statement] = STATE(487),
    [sym_function_definition] = STATE(487),
    [sym_subshell] = STATE(487),
    [sym_pipeline] = STATE(487),
    [sym_list] = STATE(487),
    [sym_negated_command] = STATE(487),
    [sym_test_command] = STATE(487),
    [sym_declaration_command] = STATE(487),
    [sym_unset_command] = STATE(487),
    [sym_command] = STATE(487),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(488),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [160] = {
    [sym__terminated_statement] = STATE(489),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [161] = {
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(869),
  },
  [162] = {
    [sym_subshell] = STATE(85),
    [sym_test_command] = STATE(85),
    [sym_command] = STATE(85),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(87),
  },
  [163] = {
    [sym__expression] = STATE(491),
    [sym_binary_expression] = STATE(491),
    [sym_unary_expression] = STATE(491),
    [sym_parenthesized_expression] = STATE(491),
    [sym_concatenation] = STATE(491),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [164] = {
    [sym__expression] = STATE(492),
    [sym_binary_expression] = STATE(492),
    [sym_unary_expression] = STATE(492),
    [sym_parenthesized_expression] = STATE(492),
    [sym_concatenation] = STATE(492),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [165] = {
    [sym_variable_assignment] = STATE(493),
    [sym_subscript] = STATE(235),
    [sym_concatenation] = STATE(493),
    [sym_string] = STATE(234),
    [sym_simple_expansion] = STATE(234),
    [sym_string_expansion] = STATE(234),
    [sym_expansion] = STATE(234),
    [sym_command_substitution] = STATE(234),
    [sym_process_substitution] = STATE(234),
    [aux_sym_declaration_command_repeat1] = STATE(493),
    [sym_variable_name] = ACTIONS(421),
    [anon_sym_PIPE] = ACTIONS(185),
    [anon_sym_SEMI_SEMI] = ACTIONS(183),
    [anon_sym_PIPE_AMP] = ACTIONS(183),
    [anon_sym_AMP_AMP] = ACTIONS(183),
    [anon_sym_PIPE_PIPE] = ACTIONS(183),
    [sym__special_characters] = ACTIONS(423),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(425),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(183),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(427),
    [anon_sym_SEMI] = ACTIONS(185),
    [anon_sym_LF] = ACTIONS(183),
    [anon_sym_AMP] = ACTIONS(185),
  },
  [166] = {
    [sym_concatenation] = STATE(494),
    [sym_string] = STATE(238),
    [sym_simple_expansion] = STATE(238),
    [sym_string_expansion] = STATE(238),
    [sym_expansion] = STATE(238),
    [sym_command_substitution] = STATE(238),
    [sym_process_substitution] = STATE(238),
    [aux_sym_unset_command_repeat1] = STATE(494),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_SEMI_SEMI] = ACTIONS(207),
    [anon_sym_PIPE_AMP] = ACTIONS(207),
    [anon_sym_AMP_AMP] = ACTIONS(207),
    [anon_sym_PIPE_PIPE] = ACTIONS(207),
    [sym__special_characters] = ACTIONS(429),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(207),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(433),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_LF] = ACTIONS(207),
    [anon_sym_AMP] = ACTIONS(209),
  },
  [167] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(871),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [168] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(875),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(863),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(881),
    [anon_sym_LF] = ACTIONS(875),
    [anon_sym_AMP] = ACTIONS(881),
  },
  [169] = {
    [sym_file_redirect] = STATE(502),
    [sym_heredoc_redirect] = STATE(502),
    [sym_heredoc_body] = STATE(189),
    [sym_herestring_redirect] = STATE(502),
    [sym_concatenation] = STATE(503),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(502),
    [aux_sym_command_repeat2] = STATE(503),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(329),
    [anon_sym_SEMI_SEMI] = ACTIONS(327),
    [anon_sym_PIPE_AMP] = ACTIONS(327),
    [anon_sym_AMP_AMP] = ACTIONS(327),
    [anon_sym_PIPE_PIPE] = ACTIONS(327),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(327),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_LF] = ACTIONS(327),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [170] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(875),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(863),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(881),
    [anon_sym_LF] = ACTIONS(875),
    [anon_sym_AMP] = ACTIONS(881),
  },
  [171] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(504),
    [sym_c_style_for_statement] = STATE(504),
    [sym_while_statement] = STATE(504),
    [sym_if_statement] = STATE(504),
    [sym_case_statement] = STATE(504),
    [sym_function_definition] = STATE(504),
    [sym_subshell] = STATE(504),
    [sym_pipeline] = STATE(504),
    [sym_list] = STATE(504),
    [sym_negated_command] = STATE(504),
    [sym_test_command] = STATE(504),
    [sym_declaration_command] = STATE(504),
    [sym_unset_command] = STATE(504),
    [sym_command] = STATE(504),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(505),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [172] = {
    [sym_command_name] = STATE(506),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(465),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(87),
  },
  [173] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(891),
    [anon_sym_SEMI_SEMI] = ACTIONS(893),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(895),
    [anon_sym_LF] = ACTIONS(893),
    [anon_sym_AMP] = ACTIONS(895),
  },
  [174] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(891),
    [anon_sym_SEMI_SEMI] = ACTIONS(893),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(895),
    [anon_sym_LF] = ACTIONS(893),
    [anon_sym_AMP] = ACTIONS(895),
  },
  [175] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(509),
    [sym_c_style_for_statement] = STATE(509),
    [sym_while_statement] = STATE(509),
    [sym_if_statement] = STATE(509),
    [sym_case_statement] = STATE(509),
    [sym_function_definition] = STATE(509),
    [sym_subshell] = STATE(509),
    [sym_pipeline] = STATE(509),
    [sym_list] = STATE(509),
    [sym_negated_command] = STATE(509),
    [sym_test_command] = STATE(509),
    [sym_declaration_command] = STATE(509),
    [sym_unset_command] = STATE(509),
    [sym_command] = STATE(509),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(510),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [176] = {
    [anon_sym_RPAREN] = ACTIONS(897),
    [sym_comment] = ACTIONS(53),
  },
  [177] = {
    [sym_for_statement] = STATE(512),
    [sym_c_style_for_statement] = STATE(512),
    [sym_while_statement] = STATE(512),
    [sym_if_statement] = STATE(512),
    [sym_case_statement] = STATE(512),
    [sym_function_definition] = STATE(512),
    [sym_subshell] = STATE(512),
    [sym_pipeline] = STATE(512),
    [sym_list] = STATE(512),
    [sym_negated_command] = STATE(512),
    [sym_test_command] = STATE(512),
    [sym_declaration_command] = STATE(512),
    [sym_unset_command] = STATE(512),
    [sym_command] = STATE(512),
    [sym_command_name] = STATE(27),
    [sym_variable_assignment] = STATE(513),
    [sym_subscript] = STATE(29),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(13),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(19),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(25),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(27),
    [anon_sym_declare] = ACTIONS(29),
    [anon_sym_typeset] = ACTIONS(29),
    [anon_sym_export] = ACTIONS(29),
    [anon_sym_readonly] = ACTIONS(29),
    [anon_sym_local] = ACTIONS(29),
    [anon_sym_unset] = ACTIONS(31),
    [anon_sym_unsetenv] = ACTIONS(31),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(37),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(55),
  },
  [178] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [ts_builtin_sym_end] = ACTIONS(901),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [179] = {
    [sym_for_statement] = STATE(514),
    [sym_c_style_for_statement] = STATE(514),
    [sym_while_statement] = STATE(514),
    [sym_if_statement] = STATE(514),
    [sym_case_statement] = STATE(514),
    [sym_function_definition] = STATE(514),
    [sym_subshell] = STATE(514),
    [sym_pipeline] = STATE(514),
    [sym_list] = STATE(514),
    [sym_negated_command] = STATE(514),
    [sym_test_command] = STATE(514),
    [sym_declaration_command] = STATE(514),
    [sym_unset_command] = STATE(514),
    [sym_command] = STATE(514),
    [sym_command_name] = STATE(27),
    [sym_variable_assignment] = STATE(515),
    [sym_subscript] = STATE(29),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(19),
    [sym_simple_expansion] = STATE(19),
    [sym_string_expansion] = STATE(19),
    [sym_expansion] = STATE(19),
    [sym_command_substitution] = STATE(19),
    [sym_process_substitution] = STATE(19),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(13),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(19),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(25),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(27),
    [anon_sym_declare] = ACTIONS(29),
    [anon_sym_typeset] = ACTIONS(29),
    [anon_sym_export] = ACTIONS(29),
    [anon_sym_readonly] = ACTIONS(29),
    [anon_sym_local] = ACTIONS(29),
    [anon_sym_unset] = ACTIONS(31),
    [anon_sym_unsetenv] = ACTIONS(31),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(37),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(43),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(55),
  },
  [180] = {
    [ts_builtin_sym_end] = ACTIONS(905),
    [anon_sym_esac] = ACTIONS(905),
    [anon_sym_PIPE] = ACTIONS(907),
    [anon_sym_RPAREN] = ACTIONS(905),
    [anon_sym_SEMI_SEMI] = ACTIONS(905),
    [anon_sym_PIPE_AMP] = ACTIONS(905),
    [anon_sym_AMP_AMP] = ACTIONS(905),
    [anon_sym_PIPE_PIPE] = ACTIONS(905),
    [anon_sym_BQUOTE] = ACTIONS(905),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(907),
    [anon_sym_LF] = ACTIONS(905),
    [anon_sym_AMP] = ACTIONS(907),
  },
  [181] = {
    [sym_simple_expansion] = STATE(519),
    [sym_expansion] = STATE(519),
    [aux_sym_heredoc_body_repeat1] = STATE(519),
    [sym__heredoc_body_middle] = ACTIONS(909),
    [sym__heredoc_body_end] = ACTIONS(911),
    [anon_sym_DOLLAR] = ACTIONS(913),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(915),
    [sym_comment] = ACTIONS(53),
  },
  [182] = {
    [anon_sym_LT] = ACTIONS(917),
    [anon_sym_GT] = ACTIONS(917),
    [anon_sym_GT_GT] = ACTIONS(919),
    [anon_sym_AMP_GT] = ACTIONS(917),
    [anon_sym_AMP_GT_GT] = ACTIONS(919),
    [anon_sym_LT_AMP] = ACTIONS(919),
    [anon_sym_GT_AMP] = ACTIONS(919),
    [sym_comment] = ACTIONS(53),
  },
  [183] = {
    [sym_concatenation] = STATE(523),
    [sym_string] = STATE(522),
    [sym_simple_expansion] = STATE(522),
    [sym_string_expansion] = STATE(522),
    [sym_expansion] = STATE(522),
    [sym_command_substitution] = STATE(522),
    [sym_process_substitution] = STATE(522),
    [sym__special_characters] = ACTIONS(921),
    [anon_sym_DQUOTE] = ACTIONS(923),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(925),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(929),
    [anon_sym_BQUOTE] = ACTIONS(931),
    [anon_sym_LT_LPAREN] = ACTIONS(933),
    [anon_sym_GT_LPAREN] = ACTIONS(933),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(925),
    [sym_regex] = ACTIONS(935),
  },
  [184] = {
    [sym_concatenation] = STATE(526),
    [sym_string] = STATE(525),
    [sym_simple_expansion] = STATE(525),
    [sym_string_expansion] = STATE(525),
    [sym_expansion] = STATE(525),
    [sym_command_substitution] = STATE(525),
    [sym_process_substitution] = STATE(525),
    [sym__special_characters] = ACTIONS(937),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(939),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(939),
  },
  [185] = {
    [sym_heredoc_start] = ACTIONS(941),
    [sym_comment] = ACTIONS(53),
  },
  [186] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(529),
    [sym_simple_expansion] = STATE(529),
    [sym_string_expansion] = STATE(529),
    [sym_expansion] = STATE(529),
    [sym_command_substitution] = STATE(529),
    [sym_process_substitution] = STATE(529),
    [sym__special_characters] = ACTIONS(943),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(945),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(945),
  },
  [187] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(947),
    [sym__heredoc_body_beginning] = ACTIONS(947),
    [sym_file_descriptor] = ACTIONS(947),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(947),
    [anon_sym_PIPE] = ACTIONS(949),
    [anon_sym_SEMI_SEMI] = ACTIONS(947),
    [anon_sym_PIPE_AMP] = ACTIONS(947),
    [anon_sym_AMP_AMP] = ACTIONS(947),
    [anon_sym_PIPE_PIPE] = ACTIONS(947),
    [anon_sym_EQ_TILDE] = ACTIONS(949),
    [anon_sym_EQ_EQ] = ACTIONS(949),
    [anon_sym_LT] = ACTIONS(949),
    [anon_sym_GT] = ACTIONS(949),
    [anon_sym_GT_GT] = ACTIONS(947),
    [anon_sym_AMP_GT] = ACTIONS(949),
    [anon_sym_AMP_GT_GT] = ACTIONS(947),
    [anon_sym_LT_AMP] = ACTIONS(947),
    [anon_sym_GT_AMP] = ACTIONS(947),
    [anon_sym_LT_LT] = ACTIONS(949),
    [anon_sym_LT_LT_DASH] = ACTIONS(947),
    [anon_sym_LT_LT_LT] = ACTIONS(947),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(947),
    [anon_sym_DOLLAR] = ACTIONS(949),
    [sym_raw_string] = ACTIONS(947),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(947),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(947),
    [anon_sym_BQUOTE] = ACTIONS(947),
    [anon_sym_LT_LPAREN] = ACTIONS(947),
    [anon_sym_GT_LPAREN] = ACTIONS(947),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(949),
    [anon_sym_SEMI] = ACTIONS(949),
    [anon_sym_LF] = ACTIONS(947),
    [anon_sym_AMP] = ACTIONS(949),
  },
  [188] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(951),
    [sym__heredoc_body_beginning] = ACTIONS(951),
    [sym_file_descriptor] = ACTIONS(951),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(951),
    [anon_sym_PIPE] = ACTIONS(953),
    [anon_sym_SEMI_SEMI] = ACTIONS(951),
    [anon_sym_PIPE_AMP] = ACTIONS(951),
    [anon_sym_AMP_AMP] = ACTIONS(951),
    [anon_sym_PIPE_PIPE] = ACTIONS(951),
    [anon_sym_EQ_TILDE] = ACTIONS(953),
    [anon_sym_EQ_EQ] = ACTIONS(953),
    [anon_sym_LT] = ACTIONS(953),
    [anon_sym_GT] = ACTIONS(953),
    [anon_sym_GT_GT] = ACTIONS(951),
    [anon_sym_AMP_GT] = ACTIONS(953),
    [anon_sym_AMP_GT_GT] = ACTIONS(951),
    [anon_sym_LT_AMP] = ACTIONS(951),
    [anon_sym_GT_AMP] = ACTIONS(951),
    [anon_sym_LT_LT] = ACTIONS(953),
    [anon_sym_LT_LT_DASH] = ACTIONS(951),
    [anon_sym_LT_LT_LT] = ACTIONS(951),
    [sym__special_characters] = ACTIONS(951),
    [anon_sym_DQUOTE] = ACTIONS(951),
    [anon_sym_DOLLAR] = ACTIONS(953),
    [sym_raw_string] = ACTIONS(951),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(951),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(951),
    [anon_sym_BQUOTE] = ACTIONS(951),
    [anon_sym_LT_LPAREN] = ACTIONS(951),
    [anon_sym_GT_LPAREN] = ACTIONS(951),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(953),
    [anon_sym_SEMI] = ACTIONS(953),
    [anon_sym_LF] = ACTIONS(951),
    [anon_sym_AMP] = ACTIONS(953),
  },
  [189] = {
    [ts_builtin_sym_end] = ACTIONS(955),
    [anon_sym_esac] = ACTIONS(955),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_RPAREN] = ACTIONS(955),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_BQUOTE] = ACTIONS(955),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [190] = {
    [sym_file_redirect] = STATE(532),
    [sym_heredoc_redirect] = STATE(532),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(532),
    [aux_sym_while_statement_repeat1] = STATE(532),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(955),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [191] = {
    [sym_file_redirect] = STATE(533),
    [sym_heredoc_redirect] = STATE(533),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(533),
    [sym_concatenation] = STATE(534),
    [sym_string] = STATE(188),
    [sym_simple_expansion] = STATE(188),
    [sym_string_expansion] = STATE(188),
    [sym_expansion] = STATE(188),
    [sym_command_substitution] = STATE(188),
    [sym_process_substitution] = STATE(188),
    [aux_sym_while_statement_repeat1] = STATE(533),
    [aux_sym_command_repeat2] = STATE(534),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(955),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(331),
    [anon_sym_EQ_EQ] = ACTIONS(331),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym__special_characters] = ACTIONS(343),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(345),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(347),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [192] = {
    [ts_builtin_sym_end] = ACTIONS(901),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(959),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(317),
    [anon_sym_PIPE_PIPE] = ACTIONS(317),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(961),
    [anon_sym_LF] = ACTIONS(959),
    [anon_sym_AMP] = ACTIONS(961),
  },
  [193] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [ts_builtin_sym_end] = ACTIONS(901),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(959),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(317),
    [anon_sym_PIPE_PIPE] = ACTIONS(317),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(961),
    [anon_sym_LF] = ACTIONS(959),
    [anon_sym_AMP] = ACTIONS(961),
  },
  [194] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [195] = {
    [sym_file_redirect] = STATE(533),
    [sym_heredoc_redirect] = STATE(533),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(533),
    [sym_concatenation] = STATE(538),
    [sym_string] = STATE(188),
    [sym_simple_expansion] = STATE(188),
    [sym_string_expansion] = STATE(188),
    [sym_expansion] = STATE(188),
    [sym_command_substitution] = STATE(188),
    [sym_process_substitution] = STATE(188),
    [aux_sym_while_statement_repeat1] = STATE(533),
    [aux_sym_command_repeat2] = STATE(538),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(955),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(331),
    [anon_sym_EQ_EQ] = ACTIONS(331),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym__special_characters] = ACTIONS(343),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(345),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(347),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [196] = {
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(1035),
    [sym_variable_name] = ACTIONS(1038),
    [anon_sym_LT] = ACTIONS(1041),
    [anon_sym_GT] = ACTIONS(1041),
    [anon_sym_GT_GT] = ACTIONS(1044),
    [anon_sym_AMP_GT] = ACTIONS(1041),
    [anon_sym_AMP_GT_GT] = ACTIONS(1044),
    [anon_sym_LT_AMP] = ACTIONS(1044),
    [anon_sym_GT_AMP] = ACTIONS(1044),
    [sym__special_characters] = ACTIONS(1047),
    [anon_sym_DQUOTE] = ACTIONS(1047),
    [anon_sym_DOLLAR] = ACTIONS(1049),
    [sym_raw_string] = ACTIONS(1047),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1047),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1047),
    [anon_sym_BQUOTE] = ACTIONS(1047),
    [anon_sym_LT_LPAREN] = ACTIONS(1047),
    [anon_sym_GT_LPAREN] = ACTIONS(1047),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1047),
  },
  [197] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [sym__special_characters] = ACTIONS(1051),
    [anon_sym_DQUOTE] = ACTIONS(1051),
    [anon_sym_DOLLAR] = ACTIONS(1053),
    [sym_raw_string] = ACTIONS(1051),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1051),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1051),
    [anon_sym_BQUOTE] = ACTIONS(1051),
    [anon_sym_LT_LPAREN] = ACTIONS(1051),
    [anon_sym_GT_LPAREN] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1051),
  },
  [198] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [sym__special_characters] = ACTIONS(1055),
    [anon_sym_DQUOTE] = ACTIONS(1055),
    [anon_sym_DOLLAR] = ACTIONS(1057),
    [sym_raw_string] = ACTIONS(1055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [anon_sym_LT_LPAREN] = ACTIONS(1055),
    [anon_sym_GT_LPAREN] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1055),
  },
  [199] = {
    [sym_file_descriptor] = ACTIONS(1055),
    [sym_variable_name] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [sym__special_characters] = ACTIONS(1055),
    [anon_sym_DQUOTE] = ACTIONS(1055),
    [anon_sym_DOLLAR] = ACTIONS(1057),
    [sym_raw_string] = ACTIONS(1055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [anon_sym_LT_LPAREN] = ACTIONS(1055),
    [anon_sym_GT_LPAREN] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1055),
  },
  [200] = {
    [aux_sym_concatenation_repeat1] = STATE(541),
    [sym__concat] = ACTIONS(1059),
    [anon_sym_RBRACK] = ACTIONS(1061),
    [sym_comment] = ACTIONS(53),
  },
  [201] = {
    [aux_sym_concatenation_repeat1] = STATE(541),
    [sym__concat] = ACTIONS(1063),
    [anon_sym_RBRACK] = ACTIONS(1065),
    [sym_comment] = ACTIONS(53),
  },
  [202] = {
    [sym__concat] = ACTIONS(1067),
    [anon_sym_RBRACK] = ACTIONS(1065),
    [sym_comment] = ACTIONS(53),
  },
  [203] = {
    [sym_file_descriptor] = ACTIONS(1069),
    [sym_variable_name] = ACTIONS(1069),
    [ts_builtin_sym_end] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_RPAREN] = ACTIONS(1069),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [204] = {
    [sym_concatenation] = STATE(554),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(554),
    [anon_sym_RPAREN] = ACTIONS(1073),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [205] = {
    [aux_sym_concatenation_repeat1] = STATE(556),
    [sym_file_descriptor] = ACTIONS(1091),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1091),
    [ts_builtin_sym_end] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [anon_sym_LT] = ACTIONS(1095),
    [anon_sym_GT] = ACTIONS(1095),
    [anon_sym_GT_GT] = ACTIONS(1091),
    [anon_sym_AMP_GT] = ACTIONS(1095),
    [anon_sym_AMP_GT_GT] = ACTIONS(1091),
    [anon_sym_LT_AMP] = ACTIONS(1091),
    [anon_sym_GT_AMP] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [206] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(559),
    [anon_sym_DQUOTE] = ACTIONS(1097),
    [anon_sym_DOLLAR] = ACTIONS(1099),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [207] = {
    [sym_string] = STATE(561),
    [anon_sym_DQUOTE] = ACTIONS(369),
    [anon_sym_DOLLAR] = ACTIONS(1101),
    [sym_raw_string] = ACTIONS(1103),
    [anon_sym_POUND] = ACTIONS(1101),
    [anon_sym_DASH] = ACTIONS(1101),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1105),
    [anon_sym_STAR] = ACTIONS(1101),
    [anon_sym_AT] = ACTIONS(1101),
    [anon_sym_QMARK] = ACTIONS(1101),
    [anon_sym_0] = ACTIONS(1107),
    [anon_sym__] = ACTIONS(1107),
  },
  [208] = {
    [aux_sym_concatenation_repeat1] = STATE(556),
    [sym_file_descriptor] = ACTIONS(1069),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1069),
    [ts_builtin_sym_end] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [209] = {
    [sym_subscript] = STATE(567),
    [sym_variable_name] = ACTIONS(1109),
    [anon_sym_BANG] = ACTIONS(1111),
    [anon_sym_DOLLAR] = ACTIONS(1113),
    [anon_sym_POUND] = ACTIONS(1111),
    [anon_sym_DASH] = ACTIONS(1113),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1115),
    [anon_sym_STAR] = ACTIONS(1113),
    [anon_sym_AT] = ACTIONS(1113),
    [anon_sym_QMARK] = ACTIONS(1113),
    [anon_sym_0] = ACTIONS(1117),
    [anon_sym__] = ACTIONS(1117),
  },
  [210] = {
    [sym__terminated_statement] = STATE(570),
    [sym_for_statement] = STATE(568),
    [sym_c_style_for_statement] = STATE(568),
    [sym_while_statement] = STATE(568),
    [sym_if_statement] = STATE(568),
    [sym_case_statement] = STATE(568),
    [sym_function_definition] = STATE(568),
    [sym_subshell] = STATE(568),
    [sym_pipeline] = STATE(568),
    [sym_list] = STATE(568),
    [sym_negated_command] = STATE(568),
    [sym_test_command] = STATE(568),
    [sym_declaration_command] = STATE(568),
    [sym_unset_command] = STATE(568),
    [sym_command] = STATE(568),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(569),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(570),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [211] = {
    [sym__terminated_statement] = STATE(573),
    [sym_for_statement] = STATE(571),
    [sym_c_style_for_statement] = STATE(571),
    [sym_while_statement] = STATE(571),
    [sym_if_statement] = STATE(571),
    [sym_case_statement] = STATE(571),
    [sym_function_definition] = STATE(571),
    [sym_subshell] = STATE(571),
    [sym_pipeline] = STATE(571),
    [sym_list] = STATE(571),
    [sym_negated_command] = STATE(571),
    [sym_test_command] = STATE(571),
    [sym_declaration_command] = STATE(571),
    [sym_unset_command] = STATE(571),
    [sym_command] = STATE(571),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(572),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(573),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [212] = {
    [sym__terminated_statement] = STATE(576),
    [sym_for_statement] = STATE(574),
    [sym_c_style_for_statement] = STATE(574),
    [sym_while_statement] = STATE(574),
    [sym_if_statement] = STATE(574),
    [sym_case_statement] = STATE(574),
    [sym_function_definition] = STATE(574),
    [sym_subshell] = STATE(574),
    [sym_pipeline] = STATE(574),
    [sym_list] = STATE(574),
    [sym_negated_command] = STATE(574),
    [sym_test_command] = STATE(574),
    [sym_declaration_command] = STATE(574),
    [sym_unset_command] = STATE(574),
    [sym_command] = STATE(574),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(575),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(576),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [213] = {
    [sym__expression] = STATE(578),
    [sym_binary_expression] = STATE(578),
    [sym_unary_expression] = STATE(578),
    [sym_parenthesized_expression] = STATE(578),
    [sym_concatenation] = STATE(578),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_SEMI_SEMI] = ACTIONS(1119),
    [anon_sym_LPAREN] = ACTIONS(385),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(389),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(407),
    [anon_sym_SEMI] = ACTIONS(1121),
    [anon_sym_LF] = ACTIONS(1119),
    [anon_sym_AMP] = ACTIONS(1119),
  },
  [214] = {
    [sym__expression] = STATE(579),
    [sym_binary_expression] = STATE(579),
    [sym_unary_expression] = STATE(579),
    [sym_parenthesized_expression] = STATE(579),
    [sym_concatenation] = STATE(579),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [215] = {
    [sym__expression] = STATE(580),
    [sym_binary_expression] = STATE(580),
    [sym_unary_expression] = STATE(580),
    [sym_parenthesized_expression] = STATE(580),
    [sym_concatenation] = STATE(580),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_LPAREN] = ACTIONS(385),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(389),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(407),
  },
  [216] = {
    [aux_sym_concatenation_repeat1] = STATE(582),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_SEMI_SEMI] = ACTIONS(577),
    [anon_sym_AMP_AMP] = ACTIONS(577),
    [anon_sym_PIPE_PIPE] = ACTIONS(577),
    [anon_sym_EQ_TILDE] = ACTIONS(577),
    [anon_sym_EQ_EQ] = ACTIONS(577),
    [anon_sym_EQ] = ACTIONS(579),
    [anon_sym_LT] = ACTIONS(577),
    [anon_sym_GT] = ACTIONS(577),
    [anon_sym_BANG_EQ] = ACTIONS(577),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(577),
    [anon_sym_SEMI] = ACTIONS(579),
    [anon_sym_LF] = ACTIONS(577),
    [anon_sym_AMP] = ACTIONS(579),
  },
  [217] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(585),
    [anon_sym_DQUOTE] = ACTIONS(1125),
    [anon_sym_DOLLAR] = ACTIONS(1127),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [218] = {
    [sym_string] = STATE(587),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(1129),
    [sym_raw_string] = ACTIONS(1131),
    [anon_sym_POUND] = ACTIONS(1129),
    [anon_sym_DASH] = ACTIONS(1129),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1133),
    [anon_sym_STAR] = ACTIONS(1129),
    [anon_sym_AT] = ACTIONS(1129),
    [anon_sym_QMARK] = ACTIONS(1129),
    [anon_sym_0] = ACTIONS(1135),
    [anon_sym__] = ACTIONS(1135),
  },
  [219] = {
    [aux_sym_concatenation_repeat1] = STATE(582),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_SEMI_SEMI] = ACTIONS(593),
    [anon_sym_AMP_AMP] = ACTIONS(593),
    [anon_sym_PIPE_PIPE] = ACTIONS(593),
    [anon_sym_EQ_TILDE] = ACTIONS(593),
    [anon_sym_EQ_EQ] = ACTIONS(593),
    [anon_sym_EQ] = ACTIONS(595),
    [anon_sym_LT] = ACTIONS(593),
    [anon_sym_GT] = ACTIONS(593),
    [anon_sym_BANG_EQ] = ACTIONS(593),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(593),
    [anon_sym_SEMI] = ACTIONS(595),
    [anon_sym_LF] = ACTIONS(593),
    [anon_sym_AMP] = ACTIONS(595),
  },
  [220] = {
    [sym_subscript] = STATE(593),
    [sym_variable_name] = ACTIONS(1137),
    [anon_sym_BANG] = ACTIONS(1139),
    [anon_sym_DOLLAR] = ACTIONS(1141),
    [anon_sym_POUND] = ACTIONS(1139),
    [anon_sym_DASH] = ACTIONS(1141),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1143),
    [anon_sym_STAR] = ACTIONS(1141),
    [anon_sym_AT] = ACTIONS(1141),
    [anon_sym_QMARK] = ACTIONS(1141),
    [anon_sym_0] = ACTIONS(1145),
    [anon_sym__] = ACTIONS(1145),
  },
  [221] = {
    [sym__terminated_statement] = STATE(596),
    [sym_for_statement] = STATE(594),
    [sym_c_style_for_statement] = STATE(594),
    [sym_while_statement] = STATE(594),
    [sym_if_statement] = STATE(594),
    [sym_case_statement] = STATE(594),
    [sym_function_definition] = STATE(594),
    [sym_subshell] = STATE(594),
    [sym_pipeline] = STATE(594),
    [sym_list] = STATE(594),
    [sym_negated_command] = STATE(594),
    [sym_test_command] = STATE(594),
    [sym_declaration_command] = STATE(594),
    [sym_unset_command] = STATE(594),
    [sym_command] = STATE(594),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(595),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(596),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [222] = {
    [sym__terminated_statement] = STATE(599),
    [sym_for_statement] = STATE(597),
    [sym_c_style_for_statement] = STATE(597),
    [sym_while_statement] = STATE(597),
    [sym_if_statement] = STATE(597),
    [sym_case_statement] = STATE(597),
    [sym_function_definition] = STATE(597),
    [sym_subshell] = STATE(597),
    [sym_pipeline] = STATE(597),
    [sym_list] = STATE(597),
    [sym_negated_command] = STATE(597),
    [sym_test_command] = STATE(597),
    [sym_declaration_command] = STATE(597),
    [sym_unset_command] = STATE(597),
    [sym_command] = STATE(597),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(598),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(599),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [223] = {
    [sym__terminated_statement] = STATE(602),
    [sym_for_statement] = STATE(600),
    [sym_c_style_for_statement] = STATE(600),
    [sym_while_statement] = STATE(600),
    [sym_if_statement] = STATE(600),
    [sym_case_statement] = STATE(600),
    [sym_function_definition] = STATE(600),
    [sym_subshell] = STATE(600),
    [sym_pipeline] = STATE(600),
    [sym_list] = STATE(600),
    [sym_negated_command] = STATE(600),
    [sym_test_command] = STATE(600),
    [sym_declaration_command] = STATE(600),
    [sym_unset_command] = STATE(600),
    [sym_command] = STATE(600),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(601),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(602),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [224] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(1147),
    [anon_sym_AMP_AMP] = ACTIONS(1149),
    [anon_sym_PIPE_PIPE] = ACTIONS(1149),
    [anon_sym_EQ_TILDE] = ACTIONS(1151),
    [anon_sym_EQ_EQ] = ACTIONS(1151),
    [anon_sym_EQ] = ACTIONS(1153),
    [anon_sym_LT] = ACTIONS(1149),
    [anon_sym_GT] = ACTIONS(1149),
    [anon_sym_BANG_EQ] = ACTIONS(1149),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1149),
    [anon_sym_SEMI] = ACTIONS(1155),
    [anon_sym_LF] = ACTIONS(1147),
    [anon_sym_AMP] = ACTIONS(1155),
  },
  [225] = {
    [sym_concatenation] = STATE(614),
    [sym_string] = STATE(609),
    [sym_simple_expansion] = STATE(609),
    [sym_string_expansion] = STATE(609),
    [sym_expansion] = STATE(609),
    [sym_command_substitution] = STATE(609),
    [sym_process_substitution] = STATE(609),
    [aux_sym_for_statement_repeat1] = STATE(614),
    [sym__special_characters] = ACTIONS(1157),
    [anon_sym_DQUOTE] = ACTIONS(1159),
    [anon_sym_DOLLAR] = ACTIONS(1161),
    [sym_raw_string] = ACTIONS(1163),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1165),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1167),
    [anon_sym_BQUOTE] = ACTIONS(1169),
    [anon_sym_LT_LPAREN] = ACTIONS(1171),
    [anon_sym_GT_LPAREN] = ACTIONS(1171),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1163),
  },
  [226] = {
    [sym_do_group] = STATE(616),
    [anon_sym_do] = ACTIONS(1173),
    [sym_comment] = ACTIONS(53),
  },
  [227] = {
    [sym_concatenation] = STATE(203),
    [sym_string] = STATE(618),
    [sym_array] = STATE(203),
    [sym_simple_expansion] = STATE(618),
    [sym_string_expansion] = STATE(618),
    [sym_expansion] = STATE(618),
    [sym_command_substitution] = STATE(618),
    [sym_process_substitution] = STATE(618),
    [sym__empty_value] = ACTIONS(363),
    [anon_sym_LPAREN] = ACTIONS(365),
    [sym__special_characters] = ACTIONS(1175),
    [anon_sym_DQUOTE] = ACTIONS(369),
    [anon_sym_DOLLAR] = ACTIONS(371),
    [sym_raw_string] = ACTIONS(1177),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(377),
    [anon_sym_BQUOTE] = ACTIONS(379),
    [anon_sym_LT_LPAREN] = ACTIONS(381),
    [anon_sym_GT_LPAREN] = ACTIONS(381),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1177),
  },
  [228] = {
    [sym_do_group] = STATE(619),
    [anon_sym_do] = ACTIONS(437),
    [sym_comment] = ACTIONS(53),
  },
  [229] = {
    [sym_compound_statement] = STATE(621),
    [anon_sym_LPAREN] = ACTIONS(1179),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [230] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(1181),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [231] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1181),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [232] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(1183),
    [anon_sym_PLUS_EQ] = ACTIONS(1183),
    [sym_comment] = ACTIONS(53),
  },
  [233] = {
    [aux_sym_concatenation_repeat1] = STATE(624),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(649),
    [anon_sym_PIPE] = ACTIONS(651),
    [anon_sym_SEMI_SEMI] = ACTIONS(649),
    [anon_sym_PIPE_AMP] = ACTIONS(649),
    [anon_sym_AMP_AMP] = ACTIONS(649),
    [anon_sym_PIPE_PIPE] = ACTIONS(649),
    [sym__special_characters] = ACTIONS(649),
    [anon_sym_DQUOTE] = ACTIONS(649),
    [anon_sym_DOLLAR] = ACTIONS(651),
    [sym_raw_string] = ACTIONS(649),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(649),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(649),
    [anon_sym_BQUOTE] = ACTIONS(649),
    [anon_sym_LT_LPAREN] = ACTIONS(649),
    [anon_sym_GT_LPAREN] = ACTIONS(649),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(651),
    [sym_word] = ACTIONS(651),
    [anon_sym_SEMI] = ACTIONS(651),
    [anon_sym_LF] = ACTIONS(649),
    [anon_sym_AMP] = ACTIONS(651),
  },
  [234] = {
    [aux_sym_concatenation_repeat1] = STATE(624),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(665),
    [anon_sym_PIPE] = ACTIONS(667),
    [anon_sym_SEMI_SEMI] = ACTIONS(665),
    [anon_sym_PIPE_AMP] = ACTIONS(665),
    [anon_sym_AMP_AMP] = ACTIONS(665),
    [anon_sym_PIPE_PIPE] = ACTIONS(665),
    [sym__special_characters] = ACTIONS(665),
    [anon_sym_DQUOTE] = ACTIONS(665),
    [anon_sym_DOLLAR] = ACTIONS(667),
    [sym_raw_string] = ACTIONS(665),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(665),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(665),
    [anon_sym_BQUOTE] = ACTIONS(665),
    [anon_sym_LT_LPAREN] = ACTIONS(665),
    [anon_sym_GT_LPAREN] = ACTIONS(665),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(667),
    [sym_word] = ACTIONS(667),
    [anon_sym_SEMI] = ACTIONS(667),
    [anon_sym_LF] = ACTIONS(665),
    [anon_sym_AMP] = ACTIONS(667),
  },
  [235] = {
    [anon_sym_EQ] = ACTIONS(1183),
    [anon_sym_PLUS_EQ] = ACTIONS(1183),
    [sym_comment] = ACTIONS(53),
  },
  [236] = {
    [sym_variable_assignment] = STATE(625),
    [sym_subscript] = STATE(235),
    [sym_concatenation] = STATE(625),
    [sym_string] = STATE(234),
    [sym_simple_expansion] = STATE(234),
    [sym_string_expansion] = STATE(234),
    [sym_expansion] = STATE(234),
    [sym_command_substitution] = STATE(234),
    [sym_process_substitution] = STATE(234),
    [aux_sym_declaration_command_repeat1] = STATE(625),
    [sym_variable_name] = ACTIONS(421),
    [anon_sym_PIPE] = ACTIONS(685),
    [anon_sym_SEMI_SEMI] = ACTIONS(683),
    [anon_sym_PIPE_AMP] = ACTIONS(683),
    [anon_sym_AMP_AMP] = ACTIONS(683),
    [anon_sym_PIPE_PIPE] = ACTIONS(683),
    [sym__special_characters] = ACTIONS(423),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(425),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(427),
    [anon_sym_SEMI] = ACTIONS(685),
    [anon_sym_LF] = ACTIONS(683),
    [anon_sym_AMP] = ACTIONS(685),
  },
  [237] = {
    [aux_sym_concatenation_repeat1] = STATE(626),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(691),
    [anon_sym_SEMI_SEMI] = ACTIONS(689),
    [anon_sym_PIPE_AMP] = ACTIONS(689),
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [sym__special_characters] = ACTIONS(689),
    [anon_sym_DQUOTE] = ACTIONS(689),
    [anon_sym_DOLLAR] = ACTIONS(691),
    [sym_raw_string] = ACTIONS(689),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(689),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(689),
    [anon_sym_BQUOTE] = ACTIONS(689),
    [anon_sym_LT_LPAREN] = ACTIONS(689),
    [anon_sym_GT_LPAREN] = ACTIONS(689),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(691),
    [sym_word] = ACTIONS(691),
    [anon_sym_SEMI] = ACTIONS(691),
    [anon_sym_LF] = ACTIONS(689),
    [anon_sym_AMP] = ACTIONS(691),
  },
  [238] = {
    [aux_sym_concatenation_repeat1] = STATE(626),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(707),
    [anon_sym_SEMI_SEMI] = ACTIONS(705),
    [anon_sym_PIPE_AMP] = ACTIONS(705),
    [anon_sym_AMP_AMP] = ACTIONS(705),
    [anon_sym_PIPE_PIPE] = ACTIONS(705),
    [sym__special_characters] = ACTIONS(705),
    [anon_sym_DQUOTE] = ACTIONS(705),
    [anon_sym_DOLLAR] = ACTIONS(707),
    [sym_raw_string] = ACTIONS(705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(705),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(705),
    [anon_sym_BQUOTE] = ACTIONS(705),
    [anon_sym_LT_LPAREN] = ACTIONS(705),
    [anon_sym_GT_LPAREN] = ACTIONS(705),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(707),
    [sym_word] = ACTIONS(707),
    [anon_sym_SEMI] = ACTIONS(707),
    [anon_sym_LF] = ACTIONS(705),
    [anon_sym_AMP] = ACTIONS(707),
  },
  [239] = {
    [sym_concatenation] = STATE(627),
    [sym_string] = STATE(238),
    [sym_simple_expansion] = STATE(238),
    [sym_string_expansion] = STATE(238),
    [sym_expansion] = STATE(238),
    [sym_command_substitution] = STATE(238),
    [sym_process_substitution] = STATE(238),
    [aux_sym_unset_command_repeat1] = STATE(627),
    [anon_sym_PIPE] = ACTIONS(725),
    [anon_sym_SEMI_SEMI] = ACTIONS(723),
    [anon_sym_PIPE_AMP] = ACTIONS(723),
    [anon_sym_AMP_AMP] = ACTIONS(723),
    [anon_sym_PIPE_PIPE] = ACTIONS(723),
    [sym__special_characters] = ACTIONS(429),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(433),
    [anon_sym_SEMI] = ACTIONS(725),
    [anon_sym_LF] = ACTIONS(723),
    [anon_sym_AMP] = ACTIONS(725),
  },
  [240] = {
    [aux_sym_concatenation_repeat1] = STATE(628),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(763),
    [anon_sym_EQ_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [241] = {
    [anon_sym_RPAREN] = ACTIONS(1185),
    [sym_comment] = ACTIONS(53),
  },
  [242] = {
    [sym__terminated_statement] = STATE(631),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(631),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_done] = ACTIONS(1187),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [243] = {
    [sym_file_redirect] = STATE(633),
    [sym_heredoc_redirect] = STATE(633),
    [sym_heredoc_body] = STATE(632),
    [sym_herestring_redirect] = STATE(633),
    [aux_sym_while_statement_repeat1] = STATE(633),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(1189),
    [anon_sym_PIPE] = ACTIONS(1191),
    [anon_sym_SEMI_SEMI] = ACTIONS(1189),
    [anon_sym_PIPE_AMP] = ACTIONS(1189),
    [anon_sym_AMP_AMP] = ACTIONS(1189),
    [anon_sym_PIPE_PIPE] = ACTIONS(1189),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1191),
    [anon_sym_LF] = ACTIONS(1189),
    [anon_sym_AMP] = ACTIONS(1191),
  },
  [244] = {
    [sym_for_statement] = STATE(512),
    [sym_c_style_for_statement] = STATE(512),
    [sym_while_statement] = STATE(512),
    [sym_if_statement] = STATE(512),
    [sym_case_statement] = STATE(512),
    [sym_function_definition] = STATE(512),
    [sym_subshell] = STATE(512),
    [sym_pipeline] = STATE(512),
    [sym_list] = STATE(512),
    [sym_negated_command] = STATE(512),
    [sym_test_command] = STATE(512),
    [sym_declaration_command] = STATE(512),
    [sym_unset_command] = STATE(512),
    [sym_command] = STATE(512),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(513),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [245] = {
    [anon_sym_do] = ACTIONS(899),
    [anon_sym_then] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
  },
  [246] = {
    [sym_for_statement] = STATE(634),
    [sym_c_style_for_statement] = STATE(634),
    [sym_while_statement] = STATE(634),
    [sym_if_statement] = STATE(634),
    [sym_case_statement] = STATE(634),
    [sym_function_definition] = STATE(634),
    [sym_subshell] = STATE(634),
    [sym_pipeline] = STATE(634),
    [sym_list] = STATE(634),
    [sym_negated_command] = STATE(634),
    [sym_test_command] = STATE(634),
    [sym_declaration_command] = STATE(634),
    [sym_unset_command] = STATE(634),
    [sym_command] = STATE(634),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(635),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [247] = {
    [anon_sym_LT] = ACTIONS(1193),
    [anon_sym_GT] = ACTIONS(1193),
    [anon_sym_GT_GT] = ACTIONS(1195),
    [anon_sym_AMP_GT] = ACTIONS(1193),
    [anon_sym_AMP_GT_GT] = ACTIONS(1195),
    [anon_sym_LT_AMP] = ACTIONS(1195),
    [anon_sym_GT_AMP] = ACTIONS(1195),
    [sym_comment] = ACTIONS(53),
  },
  [248] = {
    [sym_concatenation] = STATE(523),
    [sym_string] = STATE(638),
    [sym_simple_expansion] = STATE(638),
    [sym_string_expansion] = STATE(638),
    [sym_expansion] = STATE(638),
    [sym_command_substitution] = STATE(638),
    [sym_process_substitution] = STATE(638),
    [sym__special_characters] = ACTIONS(1197),
    [anon_sym_DQUOTE] = ACTIONS(923),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1199),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(929),
    [anon_sym_BQUOTE] = ACTIONS(931),
    [anon_sym_LT_LPAREN] = ACTIONS(933),
    [anon_sym_GT_LPAREN] = ACTIONS(933),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1199),
    [sym_regex] = ACTIONS(935),
  },
  [249] = {
    [sym_concatenation] = STATE(526),
    [sym_string] = STATE(640),
    [sym_simple_expansion] = STATE(640),
    [sym_string_expansion] = STATE(640),
    [sym_expansion] = STATE(640),
    [sym_command_substitution] = STATE(640),
    [sym_process_substitution] = STATE(640),
    [sym__special_characters] = ACTIONS(1201),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1203),
  },
  [250] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(642),
    [sym_simple_expansion] = STATE(642),
    [sym_string_expansion] = STATE(642),
    [sym_expansion] = STATE(642),
    [sym_command_substitution] = STATE(642),
    [sym_process_substitution] = STATE(642),
    [sym__special_characters] = ACTIONS(1205),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1207),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1207),
  },
  [251] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(947),
    [sym__heredoc_body_beginning] = ACTIONS(947),
    [sym_file_descriptor] = ACTIONS(947),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(949),
    [anon_sym_SEMI_SEMI] = ACTIONS(947),
    [anon_sym_PIPE_AMP] = ACTIONS(947),
    [anon_sym_AMP_AMP] = ACTIONS(947),
    [anon_sym_PIPE_PIPE] = ACTIONS(947),
    [anon_sym_EQ_TILDE] = ACTIONS(949),
    [anon_sym_EQ_EQ] = ACTIONS(949),
    [anon_sym_LT] = ACTIONS(949),
    [anon_sym_GT] = ACTIONS(949),
    [anon_sym_GT_GT] = ACTIONS(947),
    [anon_sym_AMP_GT] = ACTIONS(949),
    [anon_sym_AMP_GT_GT] = ACTIONS(947),
    [anon_sym_LT_AMP] = ACTIONS(947),
    [anon_sym_GT_AMP] = ACTIONS(947),
    [anon_sym_LT_LT] = ACTIONS(949),
    [anon_sym_LT_LT_DASH] = ACTIONS(947),
    [anon_sym_LT_LT_LT] = ACTIONS(947),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(947),
    [anon_sym_DOLLAR] = ACTIONS(949),
    [sym_raw_string] = ACTIONS(947),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(947),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(947),
    [anon_sym_BQUOTE] = ACTIONS(947),
    [anon_sym_LT_LPAREN] = ACTIONS(947),
    [anon_sym_GT_LPAREN] = ACTIONS(947),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(949),
    [anon_sym_SEMI] = ACTIONS(949),
    [anon_sym_LF] = ACTIONS(947),
    [anon_sym_AMP] = ACTIONS(949),
  },
  [252] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(951),
    [sym__heredoc_body_beginning] = ACTIONS(951),
    [sym_file_descriptor] = ACTIONS(951),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(953),
    [anon_sym_SEMI_SEMI] = ACTIONS(951),
    [anon_sym_PIPE_AMP] = ACTIONS(951),
    [anon_sym_AMP_AMP] = ACTIONS(951),
    [anon_sym_PIPE_PIPE] = ACTIONS(951),
    [anon_sym_EQ_TILDE] = ACTIONS(953),
    [anon_sym_EQ_EQ] = ACTIONS(953),
    [anon_sym_LT] = ACTIONS(953),
    [anon_sym_GT] = ACTIONS(953),
    [anon_sym_GT_GT] = ACTIONS(951),
    [anon_sym_AMP_GT] = ACTIONS(953),
    [anon_sym_AMP_GT_GT] = ACTIONS(951),
    [anon_sym_LT_AMP] = ACTIONS(951),
    [anon_sym_GT_AMP] = ACTIONS(951),
    [anon_sym_LT_LT] = ACTIONS(953),
    [anon_sym_LT_LT_DASH] = ACTIONS(951),
    [anon_sym_LT_LT_LT] = ACTIONS(951),
    [sym__special_characters] = ACTIONS(951),
    [anon_sym_DQUOTE] = ACTIONS(951),
    [anon_sym_DOLLAR] = ACTIONS(953),
    [sym_raw_string] = ACTIONS(951),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(951),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(951),
    [anon_sym_BQUOTE] = ACTIONS(951),
    [anon_sym_LT_LPAREN] = ACTIONS(951),
    [anon_sym_GT_LPAREN] = ACTIONS(951),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(953),
    [anon_sym_SEMI] = ACTIONS(953),
    [anon_sym_LF] = ACTIONS(951),
    [anon_sym_AMP] = ACTIONS(953),
  },
  [253] = {
    [sym_file_redirect] = STATE(643),
    [sym_heredoc_redirect] = STATE(643),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(643),
    [aux_sym_while_statement_repeat1] = STATE(643),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [254] = {
    [sym_file_redirect] = STATE(644),
    [sym_heredoc_redirect] = STATE(644),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(644),
    [sym_concatenation] = STATE(645),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(644),
    [aux_sym_command_repeat2] = STATE(645),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [255] = {
    [sym_file_redirect] = STATE(644),
    [sym_heredoc_redirect] = STATE(644),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(644),
    [sym_concatenation] = STATE(646),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(644),
    [aux_sym_command_repeat2] = STATE(646),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [256] = {
    [sym__terminated_statement] = STATE(652),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_elif_clause] = STATE(650),
    [sym_else_clause] = STATE(651),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(652),
    [aux_sym_if_statement_repeat1] = STATE(653),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(1209),
    [anon_sym_elif] = ACTIONS(1211),
    [anon_sym_else] = ACTIONS(1213),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [257] = {
    [sym_string] = STATE(654),
    [sym_simple_expansion] = STATE(654),
    [sym_string_expansion] = STATE(654),
    [sym_expansion] = STATE(654),
    [sym_command_substitution] = STATE(654),
    [sym_process_substitution] = STATE(654),
    [sym__special_characters] = ACTIONS(1215),
    [anon_sym_DQUOTE] = ACTIONS(93),
    [anon_sym_DOLLAR] = ACTIONS(95),
    [sym_raw_string] = ACTIONS(1215),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(99),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(101),
    [anon_sym_BQUOTE] = ACTIONS(103),
    [anon_sym_LT_LPAREN] = ACTIONS(105),
    [anon_sym_GT_LPAREN] = ACTIONS(105),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1215),
  },
  [258] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(1217),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1219),
    [anon_sym_LF] = ACTIONS(1217),
    [anon_sym_AMP] = ACTIONS(1217),
  },
  [259] = {
    [anon_sym_in] = ACTIONS(1221),
    [sym_comment] = ACTIONS(53),
  },
  [260] = {
    [aux_sym_concatenation_repeat1] = STATE(657),
    [sym__concat] = ACTIONS(469),
    [anon_sym_in] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(761),
  },
  [261] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_in] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(765),
  },
  [262] = {
    [anon_sym_DQUOTE] = ACTIONS(1223),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [263] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1223),
    [anon_sym_DOLLAR] = ACTIONS(1225),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [264] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_in] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(797),
  },
  [265] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_in] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(801),
  },
  [266] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_in] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(805),
  },
  [267] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(1227),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1229),
    [anon_sym_LF] = ACTIONS(1227),
    [anon_sym_AMP] = ACTIONS(1227),
  },
  [268] = {
    [anon_sym_in] = ACTIONS(1231),
    [sym_comment] = ACTIONS(53),
  },
  [269] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1233),
    [sym_comment] = ACTIONS(53),
  },
  [270] = {
    [sym_subscript] = STATE(666),
    [sym_variable_name] = ACTIONS(1235),
    [anon_sym_DOLLAR] = ACTIONS(1237),
    [anon_sym_DASH] = ACTIONS(1237),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1239),
    [anon_sym_STAR] = ACTIONS(1237),
    [anon_sym_AT] = ACTIONS(1237),
    [anon_sym_QMARK] = ACTIONS(1237),
    [anon_sym_0] = ACTIONS(1241),
    [anon_sym__] = ACTIONS(1241),
  },
  [271] = {
    [sym_concatenation] = STATE(669),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(669),
    [anon_sym_RBRACE] = ACTIONS(1243),
    [anon_sym_EQ] = ACTIONS(1245),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1249),
    [anon_sym_COLON] = ACTIONS(1245),
    [anon_sym_COLON_QMARK] = ACTIONS(1245),
    [anon_sym_COLON_DASH] = ACTIONS(1245),
    [anon_sym_PERCENT] = ACTIONS(1245),
    [anon_sym_DASH] = ACTIONS(1245),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [272] = {
    [sym_concatenation] = STATE(672),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(672),
    [anon_sym_RBRACE] = ACTIONS(1251),
    [anon_sym_EQ] = ACTIONS(1253),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1255),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1257),
    [anon_sym_COLON] = ACTIONS(1253),
    [anon_sym_COLON_QMARK] = ACTIONS(1253),
    [anon_sym_COLON_DASH] = ACTIONS(1253),
    [anon_sym_PERCENT] = ACTIONS(1253),
    [anon_sym_DASH] = ACTIONS(1253),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [273] = {
    [sym_concatenation] = STATE(675),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(675),
    [anon_sym_RBRACE] = ACTIONS(1259),
    [anon_sym_EQ] = ACTIONS(1261),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1265),
    [anon_sym_COLON] = ACTIONS(1261),
    [anon_sym_COLON_QMARK] = ACTIONS(1261),
    [anon_sym_COLON_DASH] = ACTIONS(1261),
    [anon_sym_PERCENT] = ACTIONS(1261),
    [anon_sym_DASH] = ACTIONS(1261),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [274] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1267),
    [anon_sym_SEMI_SEMI] = ACTIONS(1269),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1271),
    [anon_sym_LF] = ACTIONS(1269),
    [anon_sym_AMP] = ACTIONS(1271),
  },
  [275] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1267),
    [anon_sym_SEMI_SEMI] = ACTIONS(1269),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1271),
    [anon_sym_LF] = ACTIONS(1269),
    [anon_sym_AMP] = ACTIONS(1271),
  },
  [276] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(678),
    [sym_c_style_for_statement] = STATE(678),
    [sym_while_statement] = STATE(678),
    [sym_if_statement] = STATE(678),
    [sym_case_statement] = STATE(678),
    [sym_function_definition] = STATE(678),
    [sym_subshell] = STATE(678),
    [sym_pipeline] = STATE(678),
    [sym_list] = STATE(678),
    [sym_negated_command] = STATE(678),
    [sym_test_command] = STATE(678),
    [sym_declaration_command] = STATE(678),
    [sym_unset_command] = STATE(678),
    [sym_command] = STATE(678),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(679),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [277] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1273),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1267),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1275),
    [anon_sym_LF] = ACTIONS(1273),
    [anon_sym_AMP] = ACTIONS(1275),
  },
  [278] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1273),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1267),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1275),
    [anon_sym_LF] = ACTIONS(1273),
    [anon_sym_AMP] = ACTIONS(1275),
  },
  [279] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(681),
    [sym_c_style_for_statement] = STATE(681),
    [sym_while_statement] = STATE(681),
    [sym_if_statement] = STATE(681),
    [sym_case_statement] = STATE(681),
    [sym_function_definition] = STATE(681),
    [sym_subshell] = STATE(681),
    [sym_pipeline] = STATE(681),
    [sym_list] = STATE(681),
    [sym_negated_command] = STATE(681),
    [sym_test_command] = STATE(681),
    [sym_declaration_command] = STATE(681),
    [sym_unset_command] = STATE(681),
    [sym_command] = STATE(681),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(682),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [280] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1277),
    [anon_sym_SEMI_SEMI] = ACTIONS(1279),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1281),
    [anon_sym_LF] = ACTIONS(1279),
    [anon_sym_AMP] = ACTIONS(1281),
  },
  [281] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1277),
    [anon_sym_SEMI_SEMI] = ACTIONS(1279),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1281),
    [anon_sym_LF] = ACTIONS(1279),
    [anon_sym_AMP] = ACTIONS(1281),
  },
  [282] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(685),
    [sym_c_style_for_statement] = STATE(685),
    [sym_while_statement] = STATE(685),
    [sym_if_statement] = STATE(685),
    [sym_case_statement] = STATE(685),
    [sym_function_definition] = STATE(685),
    [sym_subshell] = STATE(685),
    [sym_pipeline] = STATE(685),
    [sym_list] = STATE(685),
    [sym_negated_command] = STATE(685),
    [sym_test_command] = STATE(685),
    [sym_declaration_command] = STATE(685),
    [sym_unset_command] = STATE(685),
    [sym_command] = STATE(685),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(686),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [283] = {
    [anon_sym_RPAREN] = ACTIONS(1283),
    [sym_comment] = ACTIONS(53),
  },
  [284] = {
    [sym__terminated_statement] = STATE(691),
    [sym_for_statement] = STATE(689),
    [sym_c_style_for_statement] = STATE(689),
    [sym_while_statement] = STATE(689),
    [sym_if_statement] = STATE(689),
    [sym_case_statement] = STATE(689),
    [sym_function_definition] = STATE(689),
    [sym_subshell] = STATE(689),
    [sym_pipeline] = STATE(689),
    [sym_list] = STATE(689),
    [sym_negated_command] = STATE(689),
    [sym_test_command] = STATE(689),
    [sym_declaration_command] = STATE(689),
    [sym_unset_command] = STATE(689),
    [sym_command] = STATE(689),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(690),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(691),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_RBRACE] = ACTIONS(1285),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [285] = {
    [sym_file_redirect] = STATE(694),
    [sym_file_descriptor] = ACTIONS(1287),
    [ts_builtin_sym_end] = ACTIONS(1289),
    [anon_sym_PIPE] = ACTIONS(1291),
    [anon_sym_SEMI_SEMI] = ACTIONS(1289),
    [anon_sym_PIPE_AMP] = ACTIONS(1289),
    [anon_sym_AMP_AMP] = ACTIONS(1289),
    [anon_sym_PIPE_PIPE] = ACTIONS(1289),
    [anon_sym_LT] = ACTIONS(1293),
    [anon_sym_GT] = ACTIONS(1293),
    [anon_sym_GT_GT] = ACTIONS(1295),
    [anon_sym_AMP_GT] = ACTIONS(1293),
    [anon_sym_AMP_GT_GT] = ACTIONS(1295),
    [anon_sym_LT_AMP] = ACTIONS(1295),
    [anon_sym_GT_AMP] = ACTIONS(1295),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1291),
    [anon_sym_LF] = ACTIONS(1289),
    [anon_sym_AMP] = ACTIONS(1291),
  },
  [286] = {
    [sym_concatenation] = STATE(203),
    [sym_string] = STATE(696),
    [sym_array] = STATE(203),
    [sym_simple_expansion] = STATE(696),
    [sym_string_expansion] = STATE(696),
    [sym_expansion] = STATE(696),
    [sym_command_substitution] = STATE(696),
    [sym_process_substitution] = STATE(696),
    [sym__empty_value] = ACTIONS(363),
    [anon_sym_LPAREN] = ACTIONS(365),
    [sym__special_characters] = ACTIONS(1297),
    [anon_sym_DQUOTE] = ACTIONS(369),
    [anon_sym_DOLLAR] = ACTIONS(371),
    [sym_raw_string] = ACTIONS(1299),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(377),
    [anon_sym_BQUOTE] = ACTIONS(379),
    [anon_sym_LT_LPAREN] = ACTIONS(381),
    [anon_sym_GT_LPAREN] = ACTIONS(381),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1299),
  },
  [287] = {
    [sym_do_group] = STATE(697),
    [anon_sym_do] = ACTIONS(437),
    [sym_comment] = ACTIONS(53),
  },
  [288] = {
    [sym_compound_statement] = STATE(699),
    [anon_sym_LPAREN] = ACTIONS(1301),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [289] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(1303),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [290] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1303),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [291] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(1305),
    [anon_sym_PLUS_EQ] = ACTIONS(1305),
    [sym_comment] = ACTIONS(53),
  },
  [292] = {
    [aux_sym_concatenation_repeat1] = STATE(702),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(649),
    [anon_sym_PIPE] = ACTIONS(651),
    [anon_sym_RPAREN] = ACTIONS(649),
    [anon_sym_SEMI_SEMI] = ACTIONS(649),
    [anon_sym_PIPE_AMP] = ACTIONS(649),
    [anon_sym_AMP_AMP] = ACTIONS(649),
    [anon_sym_PIPE_PIPE] = ACTIONS(649),
    [sym__special_characters] = ACTIONS(649),
    [anon_sym_DQUOTE] = ACTIONS(649),
    [anon_sym_DOLLAR] = ACTIONS(651),
    [sym_raw_string] = ACTIONS(649),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(649),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(649),
    [anon_sym_BQUOTE] = ACTIONS(649),
    [anon_sym_LT_LPAREN] = ACTIONS(649),
    [anon_sym_GT_LPAREN] = ACTIONS(649),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(651),
    [sym_word] = ACTIONS(651),
    [anon_sym_SEMI] = ACTIONS(651),
    [anon_sym_LF] = ACTIONS(649),
    [anon_sym_AMP] = ACTIONS(651),
  },
  [293] = {
    [aux_sym_concatenation_repeat1] = STATE(702),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(665),
    [anon_sym_PIPE] = ACTIONS(667),
    [anon_sym_RPAREN] = ACTIONS(665),
    [anon_sym_SEMI_SEMI] = ACTIONS(665),
    [anon_sym_PIPE_AMP] = ACTIONS(665),
    [anon_sym_AMP_AMP] = ACTIONS(665),
    [anon_sym_PIPE_PIPE] = ACTIONS(665),
    [sym__special_characters] = ACTIONS(665),
    [anon_sym_DQUOTE] = ACTIONS(665),
    [anon_sym_DOLLAR] = ACTIONS(667),
    [sym_raw_string] = ACTIONS(665),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(665),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(665),
    [anon_sym_BQUOTE] = ACTIONS(665),
    [anon_sym_LT_LPAREN] = ACTIONS(665),
    [anon_sym_GT_LPAREN] = ACTIONS(665),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(667),
    [sym_word] = ACTIONS(667),
    [anon_sym_SEMI] = ACTIONS(667),
    [anon_sym_LF] = ACTIONS(665),
    [anon_sym_AMP] = ACTIONS(667),
  },
  [294] = {
    [anon_sym_EQ] = ACTIONS(1305),
    [anon_sym_PLUS_EQ] = ACTIONS(1305),
    [sym_comment] = ACTIONS(53),
  },
  [295] = {
    [sym_variable_assignment] = STATE(703),
    [sym_subscript] = STATE(294),
    [sym_concatenation] = STATE(703),
    [sym_string] = STATE(293),
    [sym_simple_expansion] = STATE(293),
    [sym_string_expansion] = STATE(293),
    [sym_expansion] = STATE(293),
    [sym_command_substitution] = STATE(293),
    [sym_process_substitution] = STATE(293),
    [aux_sym_declaration_command_repeat1] = STATE(703),
    [sym_variable_name] = ACTIONS(513),
    [anon_sym_PIPE] = ACTIONS(685),
    [anon_sym_RPAREN] = ACTIONS(683),
    [anon_sym_SEMI_SEMI] = ACTIONS(683),
    [anon_sym_PIPE_AMP] = ACTIONS(683),
    [anon_sym_AMP_AMP] = ACTIONS(683),
    [anon_sym_PIPE_PIPE] = ACTIONS(683),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(519),
    [anon_sym_SEMI] = ACTIONS(685),
    [anon_sym_LF] = ACTIONS(683),
    [anon_sym_AMP] = ACTIONS(685),
  },
  [296] = {
    [aux_sym_concatenation_repeat1] = STATE(704),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(691),
    [anon_sym_RPAREN] = ACTIONS(689),
    [anon_sym_SEMI_SEMI] = ACTIONS(689),
    [anon_sym_PIPE_AMP] = ACTIONS(689),
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [sym__special_characters] = ACTIONS(689),
    [anon_sym_DQUOTE] = ACTIONS(689),
    [anon_sym_DOLLAR] = ACTIONS(691),
    [sym_raw_string] = ACTIONS(689),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(689),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(689),
    [anon_sym_BQUOTE] = ACTIONS(689),
    [anon_sym_LT_LPAREN] = ACTIONS(689),
    [anon_sym_GT_LPAREN] = ACTIONS(689),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(691),
    [sym_word] = ACTIONS(691),
    [anon_sym_SEMI] = ACTIONS(691),
    [anon_sym_LF] = ACTIONS(689),
    [anon_sym_AMP] = ACTIONS(691),
  },
  [297] = {
    [aux_sym_concatenation_repeat1] = STATE(704),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(707),
    [anon_sym_RPAREN] = ACTIONS(705),
    [anon_sym_SEMI_SEMI] = ACTIONS(705),
    [anon_sym_PIPE_AMP] = ACTIONS(705),
    [anon_sym_AMP_AMP] = ACTIONS(705),
    [anon_sym_PIPE_PIPE] = ACTIONS(705),
    [sym__special_characters] = ACTIONS(705),
    [anon_sym_DQUOTE] = ACTIONS(705),
    [anon_sym_DOLLAR] = ACTIONS(707),
    [sym_raw_string] = ACTIONS(705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(705),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(705),
    [anon_sym_BQUOTE] = ACTIONS(705),
    [anon_sym_LT_LPAREN] = ACTIONS(705),
    [anon_sym_GT_LPAREN] = ACTIONS(705),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(707),
    [sym_word] = ACTIONS(707),
    [anon_sym_SEMI] = ACTIONS(707),
    [anon_sym_LF] = ACTIONS(705),
    [anon_sym_AMP] = ACTIONS(707),
  },
  [298] = {
    [sym_concatenation] = STATE(705),
    [sym_string] = STATE(297),
    [sym_simple_expansion] = STATE(297),
    [sym_string_expansion] = STATE(297),
    [sym_expansion] = STATE(297),
    [sym_command_substitution] = STATE(297),
    [sym_process_substitution] = STATE(297),
    [aux_sym_unset_command_repeat1] = STATE(705),
    [anon_sym_PIPE] = ACTIONS(725),
    [anon_sym_RPAREN] = ACTIONS(723),
    [anon_sym_SEMI_SEMI] = ACTIONS(723),
    [anon_sym_PIPE_AMP] = ACTIONS(723),
    [anon_sym_AMP_AMP] = ACTIONS(723),
    [anon_sym_PIPE_PIPE] = ACTIONS(723),
    [sym__special_characters] = ACTIONS(521),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(523),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(525),
    [anon_sym_SEMI] = ACTIONS(725),
    [anon_sym_LF] = ACTIONS(723),
    [anon_sym_AMP] = ACTIONS(725),
  },
  [299] = {
    [aux_sym_concatenation_repeat1] = STATE(706),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(763),
    [anon_sym_EQ_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [300] = {
    [anon_sym_RPAREN] = ACTIONS(1307),
    [sym_comment] = ACTIONS(53),
  },
  [301] = {
    [sym_for_statement] = STATE(512),
    [sym_c_style_for_statement] = STATE(512),
    [sym_while_statement] = STATE(512),
    [sym_if_statement] = STATE(512),
    [sym_case_statement] = STATE(512),
    [sym_function_definition] = STATE(512),
    [sym_subshell] = STATE(512),
    [sym_pipeline] = STATE(512),
    [sym_list] = STATE(512),
    [sym_negated_command] = STATE(512),
    [sym_test_command] = STATE(512),
    [sym_declaration_command] = STATE(512),
    [sym_unset_command] = STATE(512),
    [sym_command] = STATE(512),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(513),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [302] = {
    [ts_builtin_sym_end] = ACTIONS(1309),
    [anon_sym_esac] = ACTIONS(1309),
    [anon_sym_PIPE] = ACTIONS(1311),
    [anon_sym_RPAREN] = ACTIONS(1309),
    [anon_sym_SEMI_SEMI] = ACTIONS(1309),
    [anon_sym_PIPE_AMP] = ACTIONS(1309),
    [anon_sym_AMP_AMP] = ACTIONS(1309),
    [anon_sym_PIPE_PIPE] = ACTIONS(1309),
    [anon_sym_BQUOTE] = ACTIONS(1309),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1311),
    [anon_sym_LF] = ACTIONS(1309),
    [anon_sym_AMP] = ACTIONS(1311),
  },
  [303] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(1313),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [304] = {
    [sym_for_statement] = STATE(709),
    [sym_c_style_for_statement] = STATE(709),
    [sym_while_statement] = STATE(709),
    [sym_if_statement] = STATE(709),
    [sym_case_statement] = STATE(709),
    [sym_function_definition] = STATE(709),
    [sym_subshell] = STATE(709),
    [sym_pipeline] = STATE(709),
    [sym_list] = STATE(709),
    [sym_negated_command] = STATE(709),
    [sym_test_command] = STATE(709),
    [sym_declaration_command] = STATE(709),
    [sym_unset_command] = STATE(709),
    [sym_command] = STATE(709),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(710),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [305] = {
    [anon_sym_LT] = ACTIONS(1315),
    [anon_sym_GT] = ACTIONS(1315),
    [anon_sym_GT_GT] = ACTIONS(1317),
    [anon_sym_AMP_GT] = ACTIONS(1315),
    [anon_sym_AMP_GT_GT] = ACTIONS(1317),
    [anon_sym_LT_AMP] = ACTIONS(1317),
    [anon_sym_GT_AMP] = ACTIONS(1317),
    [sym_comment] = ACTIONS(53),
  },
  [306] = {
    [sym_concatenation] = STATE(523),
    [sym_string] = STATE(713),
    [sym_simple_expansion] = STATE(713),
    [sym_string_expansion] = STATE(713),
    [sym_expansion] = STATE(713),
    [sym_command_substitution] = STATE(713),
    [sym_process_substitution] = STATE(713),
    [sym__special_characters] = ACTIONS(1319),
    [anon_sym_DQUOTE] = ACTIONS(923),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1321),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(929),
    [anon_sym_BQUOTE] = ACTIONS(931),
    [anon_sym_LT_LPAREN] = ACTIONS(933),
    [anon_sym_GT_LPAREN] = ACTIONS(933),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1321),
    [sym_regex] = ACTIONS(935),
  },
  [307] = {
    [sym_concatenation] = STATE(526),
    [sym_string] = STATE(715),
    [sym_simple_expansion] = STATE(715),
    [sym_string_expansion] = STATE(715),
    [sym_expansion] = STATE(715),
    [sym_command_substitution] = STATE(715),
    [sym_process_substitution] = STATE(715),
    [sym__special_characters] = ACTIONS(1323),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1325),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1325),
  },
  [308] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(717),
    [sym_simple_expansion] = STATE(717),
    [sym_string_expansion] = STATE(717),
    [sym_expansion] = STATE(717),
    [sym_command_substitution] = STATE(717),
    [sym_process_substitution] = STATE(717),
    [sym__special_characters] = ACTIONS(1327),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1329),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1329),
  },
  [309] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(947),
    [sym__heredoc_body_beginning] = ACTIONS(947),
    [sym_file_descriptor] = ACTIONS(947),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(949),
    [anon_sym_RPAREN] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(947),
    [anon_sym_PIPE_AMP] = ACTIONS(947),
    [anon_sym_AMP_AMP] = ACTIONS(947),
    [anon_sym_PIPE_PIPE] = ACTIONS(947),
    [anon_sym_EQ_TILDE] = ACTIONS(949),
    [anon_sym_EQ_EQ] = ACTIONS(949),
    [anon_sym_LT] = ACTIONS(949),
    [anon_sym_GT] = ACTIONS(949),
    [anon_sym_GT_GT] = ACTIONS(947),
    [anon_sym_AMP_GT] = ACTIONS(949),
    [anon_sym_AMP_GT_GT] = ACTIONS(947),
    [anon_sym_LT_AMP] = ACTIONS(947),
    [anon_sym_GT_AMP] = ACTIONS(947),
    [anon_sym_LT_LT] = ACTIONS(949),
    [anon_sym_LT_LT_DASH] = ACTIONS(947),
    [anon_sym_LT_LT_LT] = ACTIONS(947),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(947),
    [anon_sym_DOLLAR] = ACTIONS(949),
    [sym_raw_string] = ACTIONS(947),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(947),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(947),
    [anon_sym_BQUOTE] = ACTIONS(947),
    [anon_sym_LT_LPAREN] = ACTIONS(947),
    [anon_sym_GT_LPAREN] = ACTIONS(947),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(949),
    [anon_sym_SEMI] = ACTIONS(949),
    [anon_sym_LF] = ACTIONS(947),
    [anon_sym_AMP] = ACTIONS(949),
  },
  [310] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(951),
    [sym__heredoc_body_beginning] = ACTIONS(951),
    [sym_file_descriptor] = ACTIONS(951),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(953),
    [anon_sym_RPAREN] = ACTIONS(951),
    [anon_sym_SEMI_SEMI] = ACTIONS(951),
    [anon_sym_PIPE_AMP] = ACTIONS(951),
    [anon_sym_AMP_AMP] = ACTIONS(951),
    [anon_sym_PIPE_PIPE] = ACTIONS(951),
    [anon_sym_EQ_TILDE] = ACTIONS(953),
    [anon_sym_EQ_EQ] = ACTIONS(953),
    [anon_sym_LT] = ACTIONS(953),
    [anon_sym_GT] = ACTIONS(953),
    [anon_sym_GT_GT] = ACTIONS(951),
    [anon_sym_AMP_GT] = ACTIONS(953),
    [anon_sym_AMP_GT_GT] = ACTIONS(951),
    [anon_sym_LT_AMP] = ACTIONS(951),
    [anon_sym_GT_AMP] = ACTIONS(951),
    [anon_sym_LT_LT] = ACTIONS(953),
    [anon_sym_LT_LT_DASH] = ACTIONS(951),
    [anon_sym_LT_LT_LT] = ACTIONS(951),
    [sym__special_characters] = ACTIONS(951),
    [anon_sym_DQUOTE] = ACTIONS(951),
    [anon_sym_DOLLAR] = ACTIONS(953),
    [sym_raw_string] = ACTIONS(951),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(951),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(951),
    [anon_sym_BQUOTE] = ACTIONS(951),
    [anon_sym_LT_LPAREN] = ACTIONS(951),
    [anon_sym_GT_LPAREN] = ACTIONS(951),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(953),
    [anon_sym_SEMI] = ACTIONS(953),
    [anon_sym_LF] = ACTIONS(951),
    [anon_sym_AMP] = ACTIONS(953),
  },
  [311] = {
    [sym_file_redirect] = STATE(718),
    [sym_heredoc_redirect] = STATE(718),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(718),
    [aux_sym_while_statement_repeat1] = STATE(718),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_RPAREN] = ACTIONS(955),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [312] = {
    [sym_file_redirect] = STATE(719),
    [sym_heredoc_redirect] = STATE(719),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(719),
    [sym_concatenation] = STATE(720),
    [sym_string] = STATE(310),
    [sym_simple_expansion] = STATE(310),
    [sym_string_expansion] = STATE(310),
    [sym_expansion] = STATE(310),
    [sym_command_substitution] = STATE(310),
    [sym_process_substitution] = STATE(310),
    [aux_sym_while_statement_repeat1] = STATE(719),
    [aux_sym_command_repeat2] = STATE(720),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_RPAREN] = ACTIONS(955),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(543),
    [anon_sym_EQ_EQ] = ACTIONS(543),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym__special_characters] = ACTIONS(551),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(555),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [313] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1313),
    [anon_sym_SEMI_SEMI] = ACTIONS(1331),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1333),
    [anon_sym_LF] = ACTIONS(1331),
    [anon_sym_AMP] = ACTIONS(1333),
  },
  [314] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1313),
    [anon_sym_SEMI_SEMI] = ACTIONS(1331),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1333),
    [anon_sym_LF] = ACTIONS(1331),
    [anon_sym_AMP] = ACTIONS(1333),
  },
  [315] = {
    [sym_file_redirect] = STATE(719),
    [sym_heredoc_redirect] = STATE(719),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(719),
    [sym_concatenation] = STATE(722),
    [sym_string] = STATE(310),
    [sym_simple_expansion] = STATE(310),
    [sym_string_expansion] = STATE(310),
    [sym_expansion] = STATE(310),
    [sym_command_substitution] = STATE(310),
    [sym_process_substitution] = STATE(310),
    [aux_sym_while_statement_repeat1] = STATE(719),
    [aux_sym_command_repeat2] = STATE(722),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_RPAREN] = ACTIONS(955),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(543),
    [anon_sym_EQ_EQ] = ACTIONS(543),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym__special_characters] = ACTIONS(551),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(555),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [316] = {
    [sym_concatenation] = STATE(723),
    [sym_string] = STATE(726),
    [sym_array] = STATE(723),
    [sym_simple_expansion] = STATE(726),
    [sym_string_expansion] = STATE(726),
    [sym_expansion] = STATE(726),
    [sym_command_substitution] = STATE(726),
    [sym_process_substitution] = STATE(726),
    [sym__empty_value] = ACTIONS(1335),
    [anon_sym_LPAREN] = ACTIONS(1337),
    [sym__special_characters] = ACTIONS(1339),
    [anon_sym_DQUOTE] = ACTIONS(233),
    [anon_sym_DOLLAR] = ACTIONS(235),
    [sym_raw_string] = ACTIONS(1341),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(239),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(241),
    [anon_sym_BQUOTE] = ACTIONS(243),
    [anon_sym_LT_LPAREN] = ACTIONS(245),
    [anon_sym_GT_LPAREN] = ACTIONS(245),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1341),
  },
  [317] = {
    [sym__expression] = STATE(727),
    [sym_binary_expression] = STATE(727),
    [sym_unary_expression] = STATE(727),
    [sym_parenthesized_expression] = STATE(727),
    [sym_concatenation] = STATE(727),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [318] = {
    [aux_sym_concatenation_repeat1] = STATE(728),
    [sym__concat] = ACTIONS(615),
    [anon_sym_RPAREN] = ACTIONS(577),
    [anon_sym_AMP_AMP] = ACTIONS(577),
    [anon_sym_PIPE_PIPE] = ACTIONS(577),
    [anon_sym_EQ_TILDE] = ACTIONS(577),
    [anon_sym_EQ_EQ] = ACTIONS(577),
    [anon_sym_EQ] = ACTIONS(579),
    [anon_sym_LT] = ACTIONS(577),
    [anon_sym_GT] = ACTIONS(577),
    [anon_sym_BANG_EQ] = ACTIONS(577),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(577),
  },
  [319] = {
    [aux_sym_concatenation_repeat1] = STATE(728),
    [sym__concat] = ACTIONS(615),
    [anon_sym_RPAREN] = ACTIONS(593),
    [anon_sym_AMP_AMP] = ACTIONS(593),
    [anon_sym_PIPE_PIPE] = ACTIONS(593),
    [anon_sym_EQ_TILDE] = ACTIONS(593),
    [anon_sym_EQ_EQ] = ACTIONS(593),
    [anon_sym_EQ] = ACTIONS(595),
    [anon_sym_LT] = ACTIONS(593),
    [anon_sym_GT] = ACTIONS(593),
    [anon_sym_BANG_EQ] = ACTIONS(593),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(593),
  },
  [320] = {
    [anon_sym_RPAREN] = ACTIONS(1343),
    [anon_sym_AMP_AMP] = ACTIONS(1345),
    [anon_sym_PIPE_PIPE] = ACTIONS(1345),
    [anon_sym_EQ_TILDE] = ACTIONS(1347),
    [anon_sym_EQ_EQ] = ACTIONS(1347),
    [anon_sym_EQ] = ACTIONS(1349),
    [anon_sym_LT] = ACTIONS(1345),
    [anon_sym_GT] = ACTIONS(1345),
    [anon_sym_BANG_EQ] = ACTIONS(1345),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1345),
  },
  [321] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(1351),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [322] = {
    [sym_string] = STATE(732),
    [sym_simple_expansion] = STATE(732),
    [sym_string_expansion] = STATE(732),
    [sym_expansion] = STATE(732),
    [sym_command_substitution] = STATE(732),
    [sym_process_substitution] = STATE(732),
    [sym__special_characters] = ACTIONS(1353),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1353),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1353),
  },
  [323] = {
    [aux_sym_concatenation_repeat1] = STATE(733),
    [sym__concat] = ACTIONS(575),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_RBRACK] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(761),
    [anon_sym_EQ_EQ] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(761),
    [anon_sym_GT] = ACTIONS(761),
    [anon_sym_BANG_EQ] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(761),
  },
  [324] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_RBRACK] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(765),
    [anon_sym_EQ_EQ] = ACTIONS(765),
    [anon_sym_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(765),
    [anon_sym_GT] = ACTIONS(765),
    [anon_sym_BANG_EQ] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(765),
  },
  [325] = {
    [anon_sym_DQUOTE] = ACTIONS(1355),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [326] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1355),
    [anon_sym_DOLLAR] = ACTIONS(1357),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [327] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_RBRACK] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(797),
    [anon_sym_EQ_EQ] = ACTIONS(797),
    [anon_sym_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(797),
    [anon_sym_GT] = ACTIONS(797),
    [anon_sym_BANG_EQ] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(797),
  },
  [328] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_RBRACK] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(801),
    [anon_sym_EQ_EQ] = ACTIONS(801),
    [anon_sym_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(801),
    [anon_sym_GT] = ACTIONS(801),
    [anon_sym_BANG_EQ] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(801),
  },
  [329] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_RBRACK] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(805),
    [anon_sym_EQ_EQ] = ACTIONS(805),
    [anon_sym_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(805),
    [anon_sym_GT] = ACTIONS(805),
    [anon_sym_BANG_EQ] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(805),
  },
  [330] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1359),
    [sym_comment] = ACTIONS(53),
  },
  [331] = {
    [sym_subscript] = STATE(740),
    [sym_variable_name] = ACTIONS(1361),
    [anon_sym_DOLLAR] = ACTIONS(1363),
    [anon_sym_DASH] = ACTIONS(1363),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1365),
    [anon_sym_STAR] = ACTIONS(1363),
    [anon_sym_AT] = ACTIONS(1363),
    [anon_sym_QMARK] = ACTIONS(1363),
    [anon_sym_0] = ACTIONS(1367),
    [anon_sym__] = ACTIONS(1367),
  },
  [332] = {
    [sym_concatenation] = STATE(743),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(743),
    [anon_sym_RBRACE] = ACTIONS(1369),
    [anon_sym_EQ] = ACTIONS(1371),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1373),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1375),
    [anon_sym_COLON] = ACTIONS(1371),
    [anon_sym_COLON_QMARK] = ACTIONS(1371),
    [anon_sym_COLON_DASH] = ACTIONS(1371),
    [anon_sym_PERCENT] = ACTIONS(1371),
    [anon_sym_DASH] = ACTIONS(1371),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [333] = {
    [sym_concatenation] = STATE(746),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(746),
    [anon_sym_RBRACE] = ACTIONS(1377),
    [anon_sym_EQ] = ACTIONS(1379),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1381),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1383),
    [anon_sym_COLON] = ACTIONS(1379),
    [anon_sym_COLON_QMARK] = ACTIONS(1379),
    [anon_sym_COLON_DASH] = ACTIONS(1379),
    [anon_sym_PERCENT] = ACTIONS(1379),
    [anon_sym_DASH] = ACTIONS(1379),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [334] = {
    [sym_concatenation] = STATE(749),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(749),
    [anon_sym_RBRACE] = ACTIONS(1385),
    [anon_sym_EQ] = ACTIONS(1387),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1389),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1391),
    [anon_sym_COLON] = ACTIONS(1387),
    [anon_sym_COLON_QMARK] = ACTIONS(1387),
    [anon_sym_COLON_DASH] = ACTIONS(1387),
    [anon_sym_PERCENT] = ACTIONS(1387),
    [anon_sym_DASH] = ACTIONS(1387),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [335] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1393),
    [anon_sym_SEMI_SEMI] = ACTIONS(1395),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1397),
    [anon_sym_LF] = ACTIONS(1395),
    [anon_sym_AMP] = ACTIONS(1397),
  },
  [336] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1393),
    [anon_sym_SEMI_SEMI] = ACTIONS(1395),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1397),
    [anon_sym_LF] = ACTIONS(1395),
    [anon_sym_AMP] = ACTIONS(1397),
  },
  [337] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(752),
    [sym_c_style_for_statement] = STATE(752),
    [sym_while_statement] = STATE(752),
    [sym_if_statement] = STATE(752),
    [sym_case_statement] = STATE(752),
    [sym_function_definition] = STATE(752),
    [sym_subshell] = STATE(752),
    [sym_pipeline] = STATE(752),
    [sym_list] = STATE(752),
    [sym_negated_command] = STATE(752),
    [sym_test_command] = STATE(752),
    [sym_declaration_command] = STATE(752),
    [sym_unset_command] = STATE(752),
    [sym_command] = STATE(752),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(753),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [338] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1399),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1393),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1401),
    [anon_sym_LF] = ACTIONS(1399),
    [anon_sym_AMP] = ACTIONS(1401),
  },
  [339] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1399),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1393),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1401),
    [anon_sym_LF] = ACTIONS(1399),
    [anon_sym_AMP] = ACTIONS(1401),
  },
  [340] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(755),
    [sym_c_style_for_statement] = STATE(755),
    [sym_while_statement] = STATE(755),
    [sym_if_statement] = STATE(755),
    [sym_case_statement] = STATE(755),
    [sym_function_definition] = STATE(755),
    [sym_subshell] = STATE(755),
    [sym_pipeline] = STATE(755),
    [sym_list] = STATE(755),
    [sym_negated_command] = STATE(755),
    [sym_test_command] = STATE(755),
    [sym_declaration_command] = STATE(755),
    [sym_unset_command] = STATE(755),
    [sym_command] = STATE(755),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(756),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [341] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1403),
    [anon_sym_SEMI_SEMI] = ACTIONS(1405),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1407),
    [anon_sym_LF] = ACTIONS(1405),
    [anon_sym_AMP] = ACTIONS(1407),
  },
  [342] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1403),
    [anon_sym_SEMI_SEMI] = ACTIONS(1405),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1407),
    [anon_sym_LF] = ACTIONS(1405),
    [anon_sym_AMP] = ACTIONS(1407),
  },
  [343] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(759),
    [sym_c_style_for_statement] = STATE(759),
    [sym_while_statement] = STATE(759),
    [sym_if_statement] = STATE(759),
    [sym_case_statement] = STATE(759),
    [sym_function_definition] = STATE(759),
    [sym_subshell] = STATE(759),
    [sym_pipeline] = STATE(759),
    [sym_list] = STATE(759),
    [sym_negated_command] = STATE(759),
    [sym_test_command] = STATE(759),
    [sym_declaration_command] = STATE(759),
    [sym_unset_command] = STATE(759),
    [sym_command] = STATE(759),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(760),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [344] = {
    [sym__expression] = STATE(761),
    [sym_binary_expression] = STATE(761),
    [sym_unary_expression] = STATE(761),
    [sym_parenthesized_expression] = STATE(761),
    [sym_concatenation] = STATE(761),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [345] = {
    [sym_file_redirect] = STATE(766),
    [sym_heredoc_redirect] = STATE(766),
    [sym_herestring_redirect] = STATE(766),
    [aux_sym_while_statement_repeat1] = STATE(766),
    [sym_file_descriptor] = ACTIONS(1409),
    [ts_builtin_sym_end] = ACTIONS(1411),
    [anon_sym_PIPE] = ACTIONS(1413),
    [anon_sym_SEMI_SEMI] = ACTIONS(1411),
    [anon_sym_PIPE_AMP] = ACTIONS(1411),
    [anon_sym_AMP_AMP] = ACTIONS(1411),
    [anon_sym_PIPE_PIPE] = ACTIONS(1411),
    [anon_sym_LT] = ACTIONS(1415),
    [anon_sym_GT] = ACTIONS(1415),
    [anon_sym_GT_GT] = ACTIONS(1417),
    [anon_sym_AMP_GT] = ACTIONS(1415),
    [anon_sym_AMP_GT_GT] = ACTIONS(1417),
    [anon_sym_LT_AMP] = ACTIONS(1417),
    [anon_sym_GT_AMP] = ACTIONS(1417),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(1423),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1413),
    [anon_sym_LF] = ACTIONS(1411),
    [anon_sym_AMP] = ACTIONS(1413),
  },
  [346] = {
    [sym__expression] = STATE(761),
    [sym_binary_expression] = STATE(761),
    [sym_unary_expression] = STATE(761),
    [sym_parenthesized_expression] = STATE(761),
    [sym_concatenation] = STATE(761),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(1425),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(1427),
    [anon_sym_DQUOTE] = ACTIONS(1429),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(153),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1431),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1433),
    [anon_sym_BQUOTE] = ACTIONS(1435),
    [anon_sym_LT_LPAREN] = ACTIONS(1437),
    [anon_sym_GT_LPAREN] = ACTIONS(1437),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(135),
    [sym_regex] = ACTIONS(1439),
  },
  [347] = {
    [anon_sym_RPAREN] = ACTIONS(1441),
    [anon_sym_AMP_AMP] = ACTIONS(1345),
    [anon_sym_PIPE_PIPE] = ACTIONS(1345),
    [anon_sym_EQ_TILDE] = ACTIONS(1347),
    [anon_sym_EQ_EQ] = ACTIONS(1347),
    [anon_sym_EQ] = ACTIONS(1349),
    [anon_sym_LT] = ACTIONS(1345),
    [anon_sym_GT] = ACTIONS(1345),
    [anon_sym_BANG_EQ] = ACTIONS(1345),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1345),
  },
  [348] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1351),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [349] = {
    [sym_string] = STATE(769),
    [sym_simple_expansion] = STATE(769),
    [sym_string_expansion] = STATE(769),
    [sym_expansion] = STATE(769),
    [sym_command_substitution] = STATE(769),
    [sym_process_substitution] = STATE(769),
    [sym__special_characters] = ACTIONS(1443),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(1443),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1443),
  },
  [350] = {
    [aux_sym_concatenation_repeat1] = STATE(770),
    [sym__concat] = ACTIONS(615),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(761),
    [anon_sym_EQ_EQ] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(761),
    [anon_sym_GT] = ACTIONS(761),
    [anon_sym_BANG_EQ] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(761),
  },
  [351] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(765),
    [anon_sym_EQ_EQ] = ACTIONS(765),
    [anon_sym_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(765),
    [anon_sym_GT] = ACTIONS(765),
    [anon_sym_BANG_EQ] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(765),
  },
  [352] = {
    [anon_sym_DQUOTE] = ACTIONS(1445),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [353] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1445),
    [anon_sym_DOLLAR] = ACTIONS(1447),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [354] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(797),
    [anon_sym_EQ_EQ] = ACTIONS(797),
    [anon_sym_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(797),
    [anon_sym_GT] = ACTIONS(797),
    [anon_sym_BANG_EQ] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(797),
  },
  [355] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(801),
    [anon_sym_EQ_EQ] = ACTIONS(801),
    [anon_sym_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(801),
    [anon_sym_GT] = ACTIONS(801),
    [anon_sym_BANG_EQ] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(801),
  },
  [356] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(805),
    [anon_sym_EQ_EQ] = ACTIONS(805),
    [anon_sym_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(805),
    [anon_sym_GT] = ACTIONS(805),
    [anon_sym_BANG_EQ] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(805),
  },
  [357] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1449),
    [sym_comment] = ACTIONS(53),
  },
  [358] = {
    [sym_subscript] = STATE(777),
    [sym_variable_name] = ACTIONS(1451),
    [anon_sym_DOLLAR] = ACTIONS(1453),
    [anon_sym_DASH] = ACTIONS(1453),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1455),
    [anon_sym_STAR] = ACTIONS(1453),
    [anon_sym_AT] = ACTIONS(1453),
    [anon_sym_QMARK] = ACTIONS(1453),
    [anon_sym_0] = ACTIONS(1457),
    [anon_sym__] = ACTIONS(1457),
  },
  [359] = {
    [sym_concatenation] = STATE(780),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(780),
    [anon_sym_RBRACE] = ACTIONS(1459),
    [anon_sym_EQ] = ACTIONS(1461),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1463),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1465),
    [anon_sym_COLON] = ACTIONS(1461),
    [anon_sym_COLON_QMARK] = ACTIONS(1461),
    [anon_sym_COLON_DASH] = ACTIONS(1461),
    [anon_sym_PERCENT] = ACTIONS(1461),
    [anon_sym_DASH] = ACTIONS(1461),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [360] = {
    [sym_concatenation] = STATE(783),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(783),
    [anon_sym_RBRACE] = ACTIONS(1467),
    [anon_sym_EQ] = ACTIONS(1469),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1471),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1473),
    [anon_sym_COLON] = ACTIONS(1469),
    [anon_sym_COLON_QMARK] = ACTIONS(1469),
    [anon_sym_COLON_DASH] = ACTIONS(1469),
    [anon_sym_PERCENT] = ACTIONS(1469),
    [anon_sym_DASH] = ACTIONS(1469),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [361] = {
    [sym_concatenation] = STATE(786),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(786),
    [anon_sym_RBRACE] = ACTIONS(1475),
    [anon_sym_EQ] = ACTIONS(1477),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1479),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1481),
    [anon_sym_COLON] = ACTIONS(1477),
    [anon_sym_COLON_QMARK] = ACTIONS(1477),
    [anon_sym_COLON_DASH] = ACTIONS(1477),
    [anon_sym_PERCENT] = ACTIONS(1477),
    [anon_sym_DASH] = ACTIONS(1477),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [362] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1483),
    [anon_sym_SEMI_SEMI] = ACTIONS(1485),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1487),
    [anon_sym_LF] = ACTIONS(1485),
    [anon_sym_AMP] = ACTIONS(1487),
  },
  [363] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1483),
    [anon_sym_SEMI_SEMI] = ACTIONS(1485),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1487),
    [anon_sym_LF] = ACTIONS(1485),
    [anon_sym_AMP] = ACTIONS(1487),
  },
  [364] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(789),
    [sym_c_style_for_statement] = STATE(789),
    [sym_while_statement] = STATE(789),
    [sym_if_statement] = STATE(789),
    [sym_case_statement] = STATE(789),
    [sym_function_definition] = STATE(789),
    [sym_subshell] = STATE(789),
    [sym_pipeline] = STATE(789),
    [sym_list] = STATE(789),
    [sym_negated_command] = STATE(789),
    [sym_test_command] = STATE(789),
    [sym_declaration_command] = STATE(789),
    [sym_unset_command] = STATE(789),
    [sym_command] = STATE(789),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(790),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [365] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1489),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1483),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1491),
    [anon_sym_LF] = ACTIONS(1489),
    [anon_sym_AMP] = ACTIONS(1491),
  },
  [366] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1489),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1483),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1491),
    [anon_sym_LF] = ACTIONS(1489),
    [anon_sym_AMP] = ACTIONS(1491),
  },
  [367] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(792),
    [sym_c_style_for_statement] = STATE(792),
    [sym_while_statement] = STATE(792),
    [sym_if_statement] = STATE(792),
    [sym_case_statement] = STATE(792),
    [sym_function_definition] = STATE(792),
    [sym_subshell] = STATE(792),
    [sym_pipeline] = STATE(792),
    [sym_list] = STATE(792),
    [sym_negated_command] = STATE(792),
    [sym_test_command] = STATE(792),
    [sym_declaration_command] = STATE(792),
    [sym_unset_command] = STATE(792),
    [sym_command] = STATE(792),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(793),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [368] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1493),
    [anon_sym_SEMI_SEMI] = ACTIONS(1495),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1497),
    [anon_sym_LF] = ACTIONS(1495),
    [anon_sym_AMP] = ACTIONS(1497),
  },
  [369] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1493),
    [anon_sym_SEMI_SEMI] = ACTIONS(1495),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1497),
    [anon_sym_LF] = ACTIONS(1495),
    [anon_sym_AMP] = ACTIONS(1497),
  },
  [370] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(796),
    [sym_c_style_for_statement] = STATE(796),
    [sym_while_statement] = STATE(796),
    [sym_if_statement] = STATE(796),
    [sym_case_statement] = STATE(796),
    [sym_function_definition] = STATE(796),
    [sym_subshell] = STATE(796),
    [sym_pipeline] = STATE(796),
    [sym_list] = STATE(796),
    [sym_negated_command] = STATE(796),
    [sym_test_command] = STATE(796),
    [sym_declaration_command] = STATE(796),
    [sym_unset_command] = STATE(796),
    [sym_command] = STATE(796),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(797),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [371] = {
    [sym__expression] = STATE(798),
    [sym_binary_expression] = STATE(798),
    [sym_unary_expression] = STATE(798),
    [sym_parenthesized_expression] = STATE(798),
    [sym_concatenation] = STATE(798),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [372] = {
    [sym__expression] = STATE(798),
    [sym_binary_expression] = STATE(798),
    [sym_unary_expression] = STATE(798),
    [sym_parenthesized_expression] = STATE(798),
    [sym_concatenation] = STATE(798),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(1499),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(1501),
    [anon_sym_DQUOTE] = ACTIONS(1503),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(177),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1505),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1507),
    [anon_sym_BQUOTE] = ACTIONS(1509),
    [anon_sym_LT_LPAREN] = ACTIONS(1511),
    [anon_sym_GT_LPAREN] = ACTIONS(1511),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(159),
    [sym_regex] = ACTIONS(1513),
  },
  [373] = {
    [sym_concatenation] = STATE(800),
    [sym_string] = STATE(803),
    [sym_array] = STATE(800),
    [sym_simple_expansion] = STATE(803),
    [sym_string_expansion] = STATE(803),
    [sym_expansion] = STATE(803),
    [sym_command_substitution] = STATE(803),
    [sym_process_substitution] = STATE(803),
    [sym__empty_value] = ACTIONS(1515),
    [anon_sym_LPAREN] = ACTIONS(1517),
    [sym__special_characters] = ACTIONS(1519),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(1521),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1521),
  },
  [374] = {
    [sym_string] = STATE(804),
    [sym_simple_expansion] = STATE(804),
    [sym_string_expansion] = STATE(804),
    [sym_expansion] = STATE(804),
    [sym_command_substitution] = STATE(804),
    [sym_process_substitution] = STATE(804),
    [sym__special_characters] = ACTIONS(1523),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(1523),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1523),
  },
  [375] = {
    [aux_sym_concatenation_repeat1] = STATE(805),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(761),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [376] = {
    [sym__concat] = ACTIONS(765),
    [sym_variable_name] = ACTIONS(765),
    [ts_builtin_sym_end] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(767),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [377] = {
    [anon_sym_DQUOTE] = ACTIONS(1525),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [378] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1525),
    [anon_sym_DOLLAR] = ACTIONS(1527),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [379] = {
    [sym__concat] = ACTIONS(797),
    [sym_variable_name] = ACTIONS(797),
    [ts_builtin_sym_end] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(799),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [380] = {
    [sym__concat] = ACTIONS(801),
    [sym_variable_name] = ACTIONS(801),
    [ts_builtin_sym_end] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(803),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [381] = {
    [sym__concat] = ACTIONS(805),
    [sym_variable_name] = ACTIONS(805),
    [ts_builtin_sym_end] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(807),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [382] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1529),
    [sym_comment] = ACTIONS(53),
  },
  [383] = {
    [sym_subscript] = STATE(812),
    [sym_variable_name] = ACTIONS(1531),
    [anon_sym_DOLLAR] = ACTIONS(1533),
    [anon_sym_DASH] = ACTIONS(1533),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1535),
    [anon_sym_STAR] = ACTIONS(1533),
    [anon_sym_AT] = ACTIONS(1533),
    [anon_sym_QMARK] = ACTIONS(1533),
    [anon_sym_0] = ACTIONS(1537),
    [anon_sym__] = ACTIONS(1537),
  },
  [384] = {
    [sym_concatenation] = STATE(815),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(815),
    [anon_sym_RBRACE] = ACTIONS(1539),
    [anon_sym_EQ] = ACTIONS(1541),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1543),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1545),
    [anon_sym_COLON] = ACTIONS(1541),
    [anon_sym_COLON_QMARK] = ACTIONS(1541),
    [anon_sym_COLON_DASH] = ACTIONS(1541),
    [anon_sym_PERCENT] = ACTIONS(1541),
    [anon_sym_DASH] = ACTIONS(1541),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [385] = {
    [sym_concatenation] = STATE(818),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(818),
    [anon_sym_RBRACE] = ACTIONS(1547),
    [anon_sym_EQ] = ACTIONS(1549),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1551),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1553),
    [anon_sym_COLON] = ACTIONS(1549),
    [anon_sym_COLON_QMARK] = ACTIONS(1549),
    [anon_sym_COLON_DASH] = ACTIONS(1549),
    [anon_sym_PERCENT] = ACTIONS(1549),
    [anon_sym_DASH] = ACTIONS(1549),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [386] = {
    [sym_concatenation] = STATE(821),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(821),
    [anon_sym_RBRACE] = ACTIONS(1555),
    [anon_sym_EQ] = ACTIONS(1557),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1559),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1561),
    [anon_sym_COLON] = ACTIONS(1557),
    [anon_sym_COLON_QMARK] = ACTIONS(1557),
    [anon_sym_COLON_DASH] = ACTIONS(1557),
    [anon_sym_PERCENT] = ACTIONS(1557),
    [anon_sym_DASH] = ACTIONS(1557),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [387] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1563),
    [anon_sym_SEMI_SEMI] = ACTIONS(1565),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1567),
    [anon_sym_LF] = ACTIONS(1565),
    [anon_sym_AMP] = ACTIONS(1567),
  },
  [388] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1563),
    [anon_sym_SEMI_SEMI] = ACTIONS(1565),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1567),
    [anon_sym_LF] = ACTIONS(1565),
    [anon_sym_AMP] = ACTIONS(1567),
  },
  [389] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(824),
    [sym_c_style_for_statement] = STATE(824),
    [sym_while_statement] = STATE(824),
    [sym_if_statement] = STATE(824),
    [sym_case_statement] = STATE(824),
    [sym_function_definition] = STATE(824),
    [sym_subshell] = STATE(824),
    [sym_pipeline] = STATE(824),
    [sym_list] = STATE(824),
    [sym_negated_command] = STATE(824),
    [sym_test_command] = STATE(824),
    [sym_declaration_command] = STATE(824),
    [sym_unset_command] = STATE(824),
    [sym_command] = STATE(824),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(825),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [390] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1569),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1563),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1571),
    [anon_sym_LF] = ACTIONS(1569),
    [anon_sym_AMP] = ACTIONS(1571),
  },
  [391] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1569),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1563),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1571),
    [anon_sym_LF] = ACTIONS(1569),
    [anon_sym_AMP] = ACTIONS(1571),
  },
  [392] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(827),
    [sym_c_style_for_statement] = STATE(827),
    [sym_while_statement] = STATE(827),
    [sym_if_statement] = STATE(827),
    [sym_case_statement] = STATE(827),
    [sym_function_definition] = STATE(827),
    [sym_subshell] = STATE(827),
    [sym_pipeline] = STATE(827),
    [sym_list] = STATE(827),
    [sym_negated_command] = STATE(827),
    [sym_test_command] = STATE(827),
    [sym_declaration_command] = STATE(827),
    [sym_unset_command] = STATE(827),
    [sym_command] = STATE(827),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(828),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [393] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1573),
    [anon_sym_SEMI_SEMI] = ACTIONS(1575),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1577),
    [anon_sym_LF] = ACTIONS(1575),
    [anon_sym_AMP] = ACTIONS(1577),
  },
  [394] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1573),
    [anon_sym_SEMI_SEMI] = ACTIONS(1575),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1577),
    [anon_sym_LF] = ACTIONS(1575),
    [anon_sym_AMP] = ACTIONS(1577),
  },
  [395] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(831),
    [sym_c_style_for_statement] = STATE(831),
    [sym_while_statement] = STATE(831),
    [sym_if_statement] = STATE(831),
    [sym_case_statement] = STATE(831),
    [sym_function_definition] = STATE(831),
    [sym_subshell] = STATE(831),
    [sym_pipeline] = STATE(831),
    [sym_list] = STATE(831),
    [sym_negated_command] = STATE(831),
    [sym_test_command] = STATE(831),
    [sym_declaration_command] = STATE(831),
    [sym_unset_command] = STATE(831),
    [sym_command] = STATE(831),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(832),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [396] = {
    [sym_variable_assignment] = STATE(396),
    [sym_subscript] = STATE(119),
    [sym_concatenation] = STATE(396),
    [sym_string] = STATE(113),
    [sym_simple_expansion] = STATE(113),
    [sym_string_expansion] = STATE(113),
    [sym_expansion] = STATE(113),
    [sym_command_substitution] = STATE(113),
    [sym_process_substitution] = STATE(113),
    [aux_sym_declaration_command_repeat1] = STATE(396),
    [sym_variable_name] = ACTIONS(1579),
    [ts_builtin_sym_end] = ACTIONS(1582),
    [anon_sym_PIPE] = ACTIONS(1584),
    [anon_sym_SEMI_SEMI] = ACTIONS(1582),
    [anon_sym_PIPE_AMP] = ACTIONS(1582),
    [anon_sym_AMP_AMP] = ACTIONS(1582),
    [anon_sym_PIPE_PIPE] = ACTIONS(1582),
    [sym__special_characters] = ACTIONS(1586),
    [anon_sym_DQUOTE] = ACTIONS(1589),
    [anon_sym_DOLLAR] = ACTIONS(1592),
    [sym_raw_string] = ACTIONS(1595),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1598),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1601),
    [anon_sym_BQUOTE] = ACTIONS(1604),
    [anon_sym_LT_LPAREN] = ACTIONS(1607),
    [anon_sym_GT_LPAREN] = ACTIONS(1607),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1610),
    [sym_word] = ACTIONS(1613),
    [anon_sym_SEMI] = ACTIONS(1584),
    [anon_sym_LF] = ACTIONS(1582),
    [anon_sym_AMP] = ACTIONS(1584),
  },
  [397] = {
    [sym_string] = STATE(833),
    [sym_simple_expansion] = STATE(833),
    [sym_string_expansion] = STATE(833),
    [sym_expansion] = STATE(833),
    [sym_command_substitution] = STATE(833),
    [sym_process_substitution] = STATE(833),
    [sym__special_characters] = ACTIONS(1616),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(1616),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1616),
  },
  [398] = {
    [aux_sym_concatenation_repeat1] = STATE(834),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [399] = {
    [sym__concat] = ACTIONS(765),
    [ts_builtin_sym_end] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(767),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [400] = {
    [anon_sym_DQUOTE] = ACTIONS(1618),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [401] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1618),
    [anon_sym_DOLLAR] = ACTIONS(1620),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [402] = {
    [sym__concat] = ACTIONS(797),
    [ts_builtin_sym_end] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(799),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [403] = {
    [sym__concat] = ACTIONS(801),
    [ts_builtin_sym_end] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(803),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [404] = {
    [sym__concat] = ACTIONS(805),
    [ts_builtin_sym_end] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(807),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [405] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1622),
    [sym_comment] = ACTIONS(53),
  },
  [406] = {
    [sym_subscript] = STATE(841),
    [sym_variable_name] = ACTIONS(1624),
    [anon_sym_DOLLAR] = ACTIONS(1626),
    [anon_sym_DASH] = ACTIONS(1626),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1628),
    [anon_sym_STAR] = ACTIONS(1626),
    [anon_sym_AT] = ACTIONS(1626),
    [anon_sym_QMARK] = ACTIONS(1626),
    [anon_sym_0] = ACTIONS(1630),
    [anon_sym__] = ACTIONS(1630),
  },
  [407] = {
    [sym_concatenation] = STATE(844),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(844),
    [anon_sym_RBRACE] = ACTIONS(1632),
    [anon_sym_EQ] = ACTIONS(1634),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1636),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1638),
    [anon_sym_COLON] = ACTIONS(1634),
    [anon_sym_COLON_QMARK] = ACTIONS(1634),
    [anon_sym_COLON_DASH] = ACTIONS(1634),
    [anon_sym_PERCENT] = ACTIONS(1634),
    [anon_sym_DASH] = ACTIONS(1634),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [408] = {
    [sym_concatenation] = STATE(847),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(847),
    [anon_sym_RBRACE] = ACTIONS(1640),
    [anon_sym_EQ] = ACTIONS(1642),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1644),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1646),
    [anon_sym_COLON] = ACTIONS(1642),
    [anon_sym_COLON_QMARK] = ACTIONS(1642),
    [anon_sym_COLON_DASH] = ACTIONS(1642),
    [anon_sym_PERCENT] = ACTIONS(1642),
    [anon_sym_DASH] = ACTIONS(1642),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [409] = {
    [sym_concatenation] = STATE(850),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(850),
    [anon_sym_RBRACE] = ACTIONS(1648),
    [anon_sym_EQ] = ACTIONS(1650),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1652),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1654),
    [anon_sym_COLON] = ACTIONS(1650),
    [anon_sym_COLON_QMARK] = ACTIONS(1650),
    [anon_sym_COLON_DASH] = ACTIONS(1650),
    [anon_sym_PERCENT] = ACTIONS(1650),
    [anon_sym_DASH] = ACTIONS(1650),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [410] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1656),
    [anon_sym_SEMI_SEMI] = ACTIONS(1658),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1660),
    [anon_sym_LF] = ACTIONS(1658),
    [anon_sym_AMP] = ACTIONS(1660),
  },
  [411] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1656),
    [anon_sym_SEMI_SEMI] = ACTIONS(1658),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1660),
    [anon_sym_LF] = ACTIONS(1658),
    [anon_sym_AMP] = ACTIONS(1660),
  },
  [412] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(853),
    [sym_c_style_for_statement] = STATE(853),
    [sym_while_statement] = STATE(853),
    [sym_if_statement] = STATE(853),
    [sym_case_statement] = STATE(853),
    [sym_function_definition] = STATE(853),
    [sym_subshell] = STATE(853),
    [sym_pipeline] = STATE(853),
    [sym_list] = STATE(853),
    [sym_negated_command] = STATE(853),
    [sym_test_command] = STATE(853),
    [sym_declaration_command] = STATE(853),
    [sym_unset_command] = STATE(853),
    [sym_command] = STATE(853),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(854),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [413] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1662),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1656),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1664),
    [anon_sym_LF] = ACTIONS(1662),
    [anon_sym_AMP] = ACTIONS(1664),
  },
  [414] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1662),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1656),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1664),
    [anon_sym_LF] = ACTIONS(1662),
    [anon_sym_AMP] = ACTIONS(1664),
  },
  [415] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(856),
    [sym_c_style_for_statement] = STATE(856),
    [sym_while_statement] = STATE(856),
    [sym_if_statement] = STATE(856),
    [sym_case_statement] = STATE(856),
    [sym_function_definition] = STATE(856),
    [sym_subshell] = STATE(856),
    [sym_pipeline] = STATE(856),
    [sym_list] = STATE(856),
    [sym_negated_command] = STATE(856),
    [sym_test_command] = STATE(856),
    [sym_declaration_command] = STATE(856),
    [sym_unset_command] = STATE(856),
    [sym_command] = STATE(856),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(857),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [416] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1666),
    [anon_sym_SEMI_SEMI] = ACTIONS(1668),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1670),
    [anon_sym_LF] = ACTIONS(1668),
    [anon_sym_AMP] = ACTIONS(1670),
  },
  [417] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1666),
    [anon_sym_SEMI_SEMI] = ACTIONS(1668),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1670),
    [anon_sym_LF] = ACTIONS(1668),
    [anon_sym_AMP] = ACTIONS(1670),
  },
  [418] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(860),
    [sym_c_style_for_statement] = STATE(860),
    [sym_while_statement] = STATE(860),
    [sym_if_statement] = STATE(860),
    [sym_case_statement] = STATE(860),
    [sym_function_definition] = STATE(860),
    [sym_subshell] = STATE(860),
    [sym_pipeline] = STATE(860),
    [sym_list] = STATE(860),
    [sym_negated_command] = STATE(860),
    [sym_test_command] = STATE(860),
    [sym_declaration_command] = STATE(860),
    [sym_unset_command] = STATE(860),
    [sym_command] = STATE(860),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(861),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [419] = {
    [sym_concatenation] = STATE(419),
    [sym_string] = STATE(124),
    [sym_simple_expansion] = STATE(124),
    [sym_string_expansion] = STATE(124),
    [sym_expansion] = STATE(124),
    [sym_command_substitution] = STATE(124),
    [sym_process_substitution] = STATE(124),
    [aux_sym_unset_command_repeat1] = STATE(419),
    [ts_builtin_sym_end] = ACTIONS(1672),
    [anon_sym_PIPE] = ACTIONS(1674),
    [anon_sym_SEMI_SEMI] = ACTIONS(1672),
    [anon_sym_PIPE_AMP] = ACTIONS(1672),
    [anon_sym_AMP_AMP] = ACTIONS(1672),
    [anon_sym_PIPE_PIPE] = ACTIONS(1672),
    [sym__special_characters] = ACTIONS(1676),
    [anon_sym_DQUOTE] = ACTIONS(1679),
    [anon_sym_DOLLAR] = ACTIONS(1682),
    [sym_raw_string] = ACTIONS(1685),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1688),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1691),
    [anon_sym_BQUOTE] = ACTIONS(1694),
    [anon_sym_LT_LPAREN] = ACTIONS(1697),
    [anon_sym_GT_LPAREN] = ACTIONS(1697),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1700),
    [sym_word] = ACTIONS(1703),
    [anon_sym_SEMI] = ACTIONS(1674),
    [anon_sym_LF] = ACTIONS(1672),
    [anon_sym_AMP] = ACTIONS(1674),
  },
  [420] = {
    [sym_string] = STATE(862),
    [sym_simple_expansion] = STATE(862),
    [sym_string_expansion] = STATE(862),
    [sym_expansion] = STATE(862),
    [sym_command_substitution] = STATE(862),
    [sym_process_substitution] = STATE(862),
    [sym__special_characters] = ACTIONS(1706),
    [anon_sym_DQUOTE] = ACTIONS(233),
    [anon_sym_DOLLAR] = ACTIONS(235),
    [sym_raw_string] = ACTIONS(1706),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(239),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(241),
    [anon_sym_BQUOTE] = ACTIONS(243),
    [anon_sym_LT_LPAREN] = ACTIONS(245),
    [anon_sym_GT_LPAREN] = ACTIONS(245),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1706),
  },
  [421] = {
    [aux_sym_concatenation_repeat1] = STATE(863),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(761),
  },
  [422] = {
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [sym_variable_name] = ACTIONS(765),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(765),
  },
  [423] = {
    [anon_sym_DQUOTE] = ACTIONS(1708),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [424] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1708),
    [anon_sym_DOLLAR] = ACTIONS(1710),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [425] = {
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [sym_variable_name] = ACTIONS(797),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(797),
  },
  [426] = {
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [sym_variable_name] = ACTIONS(801),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(801),
  },
  [427] = {
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [sym_variable_name] = ACTIONS(805),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(805),
  },
  [428] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1712),
    [sym_comment] = ACTIONS(53),
  },
  [429] = {
    [sym_subscript] = STATE(870),
    [sym_variable_name] = ACTIONS(1714),
    [anon_sym_DOLLAR] = ACTIONS(1716),
    [anon_sym_DASH] = ACTIONS(1716),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1718),
    [anon_sym_STAR] = ACTIONS(1716),
    [anon_sym_AT] = ACTIONS(1716),
    [anon_sym_QMARK] = ACTIONS(1716),
    [anon_sym_0] = ACTIONS(1720),
    [anon_sym__] = ACTIONS(1720),
  },
  [430] = {
    [sym_concatenation] = STATE(873),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(873),
    [anon_sym_RBRACE] = ACTIONS(1722),
    [anon_sym_EQ] = ACTIONS(1724),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1726),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1728),
    [anon_sym_COLON] = ACTIONS(1724),
    [anon_sym_COLON_QMARK] = ACTIONS(1724),
    [anon_sym_COLON_DASH] = ACTIONS(1724),
    [anon_sym_PERCENT] = ACTIONS(1724),
    [anon_sym_DASH] = ACTIONS(1724),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [431] = {
    [sym_concatenation] = STATE(876),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(876),
    [anon_sym_RBRACE] = ACTIONS(1730),
    [anon_sym_EQ] = ACTIONS(1732),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1734),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1736),
    [anon_sym_COLON] = ACTIONS(1732),
    [anon_sym_COLON_QMARK] = ACTIONS(1732),
    [anon_sym_COLON_DASH] = ACTIONS(1732),
    [anon_sym_PERCENT] = ACTIONS(1732),
    [anon_sym_DASH] = ACTIONS(1732),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [432] = {
    [sym_concatenation] = STATE(879),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(879),
    [anon_sym_RBRACE] = ACTIONS(1738),
    [anon_sym_EQ] = ACTIONS(1740),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1742),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1744),
    [anon_sym_COLON] = ACTIONS(1740),
    [anon_sym_COLON_QMARK] = ACTIONS(1740),
    [anon_sym_COLON_DASH] = ACTIONS(1740),
    [anon_sym_PERCENT] = ACTIONS(1740),
    [anon_sym_DASH] = ACTIONS(1740),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [433] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1746),
    [anon_sym_SEMI_SEMI] = ACTIONS(1748),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1750),
    [anon_sym_LF] = ACTIONS(1748),
    [anon_sym_AMP] = ACTIONS(1750),
  },
  [434] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1746),
    [anon_sym_SEMI_SEMI] = ACTIONS(1748),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1750),
    [anon_sym_LF] = ACTIONS(1748),
    [anon_sym_AMP] = ACTIONS(1750),
  },
  [435] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(882),
    [sym_c_style_for_statement] = STATE(882),
    [sym_while_statement] = STATE(882),
    [sym_if_statement] = STATE(882),
    [sym_case_statement] = STATE(882),
    [sym_function_definition] = STATE(882),
    [sym_subshell] = STATE(882),
    [sym_pipeline] = STATE(882),
    [sym_list] = STATE(882),
    [sym_negated_command] = STATE(882),
    [sym_test_command] = STATE(882),
    [sym_declaration_command] = STATE(882),
    [sym_unset_command] = STATE(882),
    [sym_command] = STATE(882),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(883),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [436] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1752),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1746),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1754),
    [anon_sym_LF] = ACTIONS(1752),
    [anon_sym_AMP] = ACTIONS(1754),
  },
  [437] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1752),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1746),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1754),
    [anon_sym_LF] = ACTIONS(1752),
    [anon_sym_AMP] = ACTIONS(1754),
  },
  [438] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(885),
    [sym_c_style_for_statement] = STATE(885),
    [sym_while_statement] = STATE(885),
    [sym_if_statement] = STATE(885),
    [sym_case_statement] = STATE(885),
    [sym_function_definition] = STATE(885),
    [sym_subshell] = STATE(885),
    [sym_pipeline] = STATE(885),
    [sym_list] = STATE(885),
    [sym_negated_command] = STATE(885),
    [sym_test_command] = STATE(885),
    [sym_declaration_command] = STATE(885),
    [sym_unset_command] = STATE(885),
    [sym_command] = STATE(885),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(886),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [439] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1756),
    [anon_sym_SEMI_SEMI] = ACTIONS(1758),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1760),
    [anon_sym_LF] = ACTIONS(1758),
    [anon_sym_AMP] = ACTIONS(1760),
  },
  [440] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1756),
    [anon_sym_SEMI_SEMI] = ACTIONS(1758),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1760),
    [anon_sym_LF] = ACTIONS(1758),
    [anon_sym_AMP] = ACTIONS(1760),
  },
  [441] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(889),
    [sym_c_style_for_statement] = STATE(889),
    [sym_while_statement] = STATE(889),
    [sym_if_statement] = STATE(889),
    [sym_case_statement] = STATE(889),
    [sym_function_definition] = STATE(889),
    [sym_subshell] = STATE(889),
    [sym_pipeline] = STATE(889),
    [sym_list] = STATE(889),
    [sym_negated_command] = STATE(889),
    [sym_test_command] = STATE(889),
    [sym_declaration_command] = STATE(889),
    [sym_unset_command] = STATE(889),
    [sym_command] = STATE(889),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(890),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [442] = {
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [443] = {
    [aux_sym_concatenation_repeat1] = STATE(443),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [444] = {
    [sym__simple_heredoc_body] = ACTIONS(1769),
    [sym__heredoc_body_beginning] = ACTIONS(1769),
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [ts_builtin_sym_end] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1771),
    [anon_sym_EQ_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [anon_sym_LT_LT] = ACTIONS(1771),
    [anon_sym_LT_LT_DASH] = ACTIONS(1769),
    [anon_sym_LT_LT_LT] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [445] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(799),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym__string_content] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(799),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(799),
    [anon_sym_BQUOTE] = ACTIONS(799),
    [sym_comment] = ACTIONS(265),
  },
  [446] = {
    [sym__concat] = ACTIONS(1773),
    [anon_sym_DQUOTE] = ACTIONS(1775),
    [anon_sym_DOLLAR] = ACTIONS(1775),
    [sym__string_content] = ACTIONS(1777),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1775),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1775),
    [anon_sym_BQUOTE] = ACTIONS(1775),
    [sym_comment] = ACTIONS(265),
  },
  [447] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym__string_content] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [sym_comment] = ACTIONS(265),
  },
  [448] = {
    [anon_sym_DQUOTE] = ACTIONS(1775),
    [anon_sym_DOLLAR] = ACTIONS(1775),
    [sym__string_content] = ACTIONS(1777),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1775),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1775),
    [anon_sym_BQUOTE] = ACTIONS(1775),
    [sym_comment] = ACTIONS(265),
  },
  [449] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1779),
    [sym_comment] = ACTIONS(53),
  },
  [450] = {
    [sym_subscript] = STATE(896),
    [sym_variable_name] = ACTIONS(1781),
    [anon_sym_DOLLAR] = ACTIONS(1783),
    [anon_sym_DASH] = ACTIONS(1783),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1785),
    [anon_sym_STAR] = ACTIONS(1783),
    [anon_sym_AT] = ACTIONS(1783),
    [anon_sym_QMARK] = ACTIONS(1783),
    [anon_sym_0] = ACTIONS(1787),
    [anon_sym__] = ACTIONS(1787),
  },
  [451] = {
    [sym_concatenation] = STATE(899),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(899),
    [anon_sym_RBRACE] = ACTIONS(1789),
    [anon_sym_EQ] = ACTIONS(1791),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1793),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1795),
    [anon_sym_COLON] = ACTIONS(1791),
    [anon_sym_COLON_QMARK] = ACTIONS(1791),
    [anon_sym_COLON_DASH] = ACTIONS(1791),
    [anon_sym_PERCENT] = ACTIONS(1791),
    [anon_sym_DASH] = ACTIONS(1791),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [452] = {
    [sym_concatenation] = STATE(902),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(902),
    [anon_sym_RBRACE] = ACTIONS(1797),
    [anon_sym_EQ] = ACTIONS(1799),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1803),
    [anon_sym_COLON] = ACTIONS(1799),
    [anon_sym_COLON_QMARK] = ACTIONS(1799),
    [anon_sym_COLON_DASH] = ACTIONS(1799),
    [anon_sym_PERCENT] = ACTIONS(1799),
    [anon_sym_DASH] = ACTIONS(1799),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [453] = {
    [sym_concatenation] = STATE(905),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(905),
    [anon_sym_RBRACE] = ACTIONS(1805),
    [anon_sym_EQ] = ACTIONS(1807),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1809),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1811),
    [anon_sym_COLON] = ACTIONS(1807),
    [anon_sym_COLON_QMARK] = ACTIONS(1807),
    [anon_sym_COLON_DASH] = ACTIONS(1807),
    [anon_sym_PERCENT] = ACTIONS(1807),
    [anon_sym_DASH] = ACTIONS(1807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [454] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1813),
    [anon_sym_SEMI_SEMI] = ACTIONS(1815),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1817),
    [anon_sym_LF] = ACTIONS(1815),
    [anon_sym_AMP] = ACTIONS(1817),
  },
  [455] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1813),
    [anon_sym_SEMI_SEMI] = ACTIONS(1815),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1817),
    [anon_sym_LF] = ACTIONS(1815),
    [anon_sym_AMP] = ACTIONS(1817),
  },
  [456] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(908),
    [sym_c_style_for_statement] = STATE(908),
    [sym_while_statement] = STATE(908),
    [sym_if_statement] = STATE(908),
    [sym_case_statement] = STATE(908),
    [sym_function_definition] = STATE(908),
    [sym_subshell] = STATE(908),
    [sym_pipeline] = STATE(908),
    [sym_list] = STATE(908),
    [sym_negated_command] = STATE(908),
    [sym_test_command] = STATE(908),
    [sym_declaration_command] = STATE(908),
    [sym_unset_command] = STATE(908),
    [sym_command] = STATE(908),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(909),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [457] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1819),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1813),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1821),
    [anon_sym_LF] = ACTIONS(1819),
    [anon_sym_AMP] = ACTIONS(1821),
  },
  [458] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1819),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1813),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1821),
    [anon_sym_LF] = ACTIONS(1819),
    [anon_sym_AMP] = ACTIONS(1821),
  },
  [459] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(911),
    [sym_c_style_for_statement] = STATE(911),
    [sym_while_statement] = STATE(911),
    [sym_if_statement] = STATE(911),
    [sym_case_statement] = STATE(911),
    [sym_function_definition] = STATE(911),
    [sym_subshell] = STATE(911),
    [sym_pipeline] = STATE(911),
    [sym_list] = STATE(911),
    [sym_negated_command] = STATE(911),
    [sym_test_command] = STATE(911),
    [sym_declaration_command] = STATE(911),
    [sym_unset_command] = STATE(911),
    [sym_command] = STATE(911),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(912),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [460] = {
    [anon_sym_DQUOTE] = ACTIONS(1823),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [461] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(1775),
    [anon_sym_DOLLAR] = ACTIONS(1825),
    [sym__string_content] = ACTIONS(1828),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1831),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1834),
    [anon_sym_BQUOTE] = ACTIONS(1837),
    [sym_comment] = ACTIONS(265),
  },
  [462] = {
    [sym_concatenation] = STATE(917),
    [sym_string] = STATE(916),
    [sym_simple_expansion] = STATE(916),
    [sym_string_expansion] = STATE(916),
    [sym_expansion] = STATE(916),
    [sym_command_substitution] = STATE(916),
    [sym_process_substitution] = STATE(916),
    [sym__special_characters] = ACTIONS(1840),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1842),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1842),
  },
  [463] = {
    [sym_concatenation] = STATE(927),
    [sym_string] = STATE(922),
    [sym_simple_expansion] = STATE(922),
    [sym_string_expansion] = STATE(922),
    [sym_expansion] = STATE(922),
    [sym_command_substitution] = STATE(922),
    [sym_process_substitution] = STATE(922),
    [anon_sym_RBRACE] = ACTIONS(1844),
    [sym__special_characters] = ACTIONS(1846),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(1852),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1852),
  },
  [464] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(1862),
    [sym_comment] = ACTIONS(53),
  },
  [465] = {
    [sym_concatenation] = STATE(931),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(931),
    [anon_sym_RBRACE] = ACTIONS(1864),
    [anon_sym_EQ] = ACTIONS(1866),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1868),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1870),
    [anon_sym_COLON] = ACTIONS(1866),
    [anon_sym_COLON_QMARK] = ACTIONS(1866),
    [anon_sym_COLON_DASH] = ACTIONS(1866),
    [anon_sym_PERCENT] = ACTIONS(1866),
    [anon_sym_DASH] = ACTIONS(1866),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [466] = {
    [sym_concatenation] = STATE(934),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(934),
    [anon_sym_RBRACE] = ACTIONS(1872),
    [anon_sym_EQ] = ACTIONS(1874),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1876),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1878),
    [anon_sym_COLON] = ACTIONS(1874),
    [anon_sym_COLON_QMARK] = ACTIONS(1874),
    [anon_sym_COLON_DASH] = ACTIONS(1874),
    [anon_sym_PERCENT] = ACTIONS(1874),
    [anon_sym_DASH] = ACTIONS(1874),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [467] = {
    [sym_concatenation] = STATE(936),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(936),
    [anon_sym_RBRACE] = ACTIONS(1844),
    [anon_sym_EQ] = ACTIONS(1880),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1882),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(1884),
    [anon_sym_COLON] = ACTIONS(1880),
    [anon_sym_COLON_QMARK] = ACTIONS(1880),
    [anon_sym_COLON_DASH] = ACTIONS(1880),
    [anon_sym_PERCENT] = ACTIONS(1880),
    [anon_sym_DASH] = ACTIONS(1880),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [468] = {
    [sym__simple_heredoc_body] = ACTIONS(1886),
    [sym__heredoc_body_beginning] = ACTIONS(1886),
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [ts_builtin_sym_end] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1888),
    [anon_sym_EQ_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [anon_sym_LT_LT] = ACTIONS(1888),
    [anon_sym_LT_LT_DASH] = ACTIONS(1886),
    [anon_sym_LT_LT_LT] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [469] = {
    [aux_sym_concatenation_repeat1] = STATE(938),
    [sym__concat] = ACTIONS(1890),
    [anon_sym_RBRACE] = ACTIONS(1892),
    [anon_sym_EQ] = ACTIONS(1894),
    [sym__special_characters] = ACTIONS(1894),
    [anon_sym_DQUOTE] = ACTIONS(1892),
    [anon_sym_DOLLAR] = ACTIONS(1894),
    [sym_raw_string] = ACTIONS(1892),
    [anon_sym_POUND] = ACTIONS(1892),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1892),
    [anon_sym_COLON] = ACTIONS(1894),
    [anon_sym_COLON_QMARK] = ACTIONS(1894),
    [anon_sym_COLON_DASH] = ACTIONS(1894),
    [anon_sym_PERCENT] = ACTIONS(1894),
    [anon_sym_DASH] = ACTIONS(1894),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1892),
    [anon_sym_BQUOTE] = ACTIONS(1892),
    [anon_sym_LT_LPAREN] = ACTIONS(1892),
    [anon_sym_GT_LPAREN] = ACTIONS(1892),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1894),
  },
  [470] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(941),
    [anon_sym_DQUOTE] = ACTIONS(1896),
    [anon_sym_DOLLAR] = ACTIONS(1898),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [471] = {
    [sym_string] = STATE(943),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(1900),
    [sym_raw_string] = ACTIONS(1902),
    [anon_sym_POUND] = ACTIONS(1900),
    [anon_sym_DASH] = ACTIONS(1900),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1904),
    [anon_sym_STAR] = ACTIONS(1900),
    [anon_sym_AT] = ACTIONS(1900),
    [anon_sym_QMARK] = ACTIONS(1900),
    [anon_sym_0] = ACTIONS(1906),
    [anon_sym__] = ACTIONS(1906),
  },
  [472] = {
    [aux_sym_concatenation_repeat1] = STATE(938),
    [sym__concat] = ACTIONS(1890),
    [anon_sym_RBRACE] = ACTIONS(1908),
    [anon_sym_EQ] = ACTIONS(1910),
    [sym__special_characters] = ACTIONS(1910),
    [anon_sym_DQUOTE] = ACTIONS(1908),
    [anon_sym_DOLLAR] = ACTIONS(1910),
    [sym_raw_string] = ACTIONS(1908),
    [anon_sym_POUND] = ACTIONS(1908),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1908),
    [anon_sym_COLON] = ACTIONS(1910),
    [anon_sym_COLON_QMARK] = ACTIONS(1910),
    [anon_sym_COLON_DASH] = ACTIONS(1910),
    [anon_sym_PERCENT] = ACTIONS(1910),
    [anon_sym_DASH] = ACTIONS(1910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1908),
    [anon_sym_BQUOTE] = ACTIONS(1908),
    [anon_sym_LT_LPAREN] = ACTIONS(1908),
    [anon_sym_GT_LPAREN] = ACTIONS(1908),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1910),
  },
  [473] = {
    [sym_subscript] = STATE(949),
    [sym_variable_name] = ACTIONS(1912),
    [anon_sym_BANG] = ACTIONS(1914),
    [anon_sym_DOLLAR] = ACTIONS(1916),
    [anon_sym_POUND] = ACTIONS(1914),
    [anon_sym_DASH] = ACTIONS(1916),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1918),
    [anon_sym_STAR] = ACTIONS(1916),
    [anon_sym_AT] = ACTIONS(1916),
    [anon_sym_QMARK] = ACTIONS(1916),
    [anon_sym_0] = ACTIONS(1920),
    [anon_sym__] = ACTIONS(1920),
  },
  [474] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(1922),
  },
  [475] = {
    [sym__terminated_statement] = STATE(953),
    [sym_for_statement] = STATE(951),
    [sym_c_style_for_statement] = STATE(951),
    [sym_while_statement] = STATE(951),
    [sym_if_statement] = STATE(951),
    [sym_case_statement] = STATE(951),
    [sym_function_definition] = STATE(951),
    [sym_subshell] = STATE(951),
    [sym_pipeline] = STATE(951),
    [sym_list] = STATE(951),
    [sym_negated_command] = STATE(951),
    [sym_test_command] = STATE(951),
    [sym_declaration_command] = STATE(951),
    [sym_unset_command] = STATE(951),
    [sym_command] = STATE(951),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(952),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(953),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [476] = {
    [sym__terminated_statement] = STATE(956),
    [sym_for_statement] = STATE(954),
    [sym_c_style_for_statement] = STATE(954),
    [sym_while_statement] = STATE(954),
    [sym_if_statement] = STATE(954),
    [sym_case_statement] = STATE(954),
    [sym_function_definition] = STATE(954),
    [sym_subshell] = STATE(954),
    [sym_pipeline] = STATE(954),
    [sym_list] = STATE(954),
    [sym_negated_command] = STATE(954),
    [sym_test_command] = STATE(954),
    [sym_declaration_command] = STATE(954),
    [sym_unset_command] = STATE(954),
    [sym_command] = STATE(954),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(955),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(956),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [477] = {
    [sym__terminated_statement] = STATE(959),
    [sym_for_statement] = STATE(957),
    [sym_c_style_for_statement] = STATE(957),
    [sym_while_statement] = STATE(957),
    [sym_if_statement] = STATE(957),
    [sym_case_statement] = STATE(957),
    [sym_function_definition] = STATE(957),
    [sym_subshell] = STATE(957),
    [sym_pipeline] = STATE(957),
    [sym_list] = STATE(957),
    [sym_negated_command] = STATE(957),
    [sym_test_command] = STATE(957),
    [sym_declaration_command] = STATE(957),
    [sym_unset_command] = STATE(957),
    [sym_command] = STATE(957),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(958),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(959),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [478] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(1924),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [479] = {
    [sym__simple_heredoc_body] = ACTIONS(1930),
    [sym__heredoc_body_beginning] = ACTIONS(1930),
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [ts_builtin_sym_end] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1932),
    [anon_sym_EQ_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [anon_sym_LT_LT] = ACTIONS(1932),
    [anon_sym_LT_LT_DASH] = ACTIONS(1930),
    [anon_sym_LT_LT_LT] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [480] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(1934),
  },
  [481] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(1936),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [482] = {
    [sym__simple_heredoc_body] = ACTIONS(1938),
    [sym__heredoc_body_beginning] = ACTIONS(1938),
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [ts_builtin_sym_end] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1940),
    [anon_sym_EQ_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [anon_sym_LT_LT] = ACTIONS(1940),
    [anon_sym_LT_LT_DASH] = ACTIONS(1938),
    [anon_sym_LT_LT_LT] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [483] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(1942),
  },
  [484] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(1844),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [485] = {
    [sym__simple_heredoc_body] = ACTIONS(1944),
    [sym__heredoc_body_beginning] = ACTIONS(1944),
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [ts_builtin_sym_end] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1946),
    [anon_sym_EQ_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [anon_sym_LT_LT] = ACTIONS(1946),
    [anon_sym_LT_LT_DASH] = ACTIONS(1944),
    [anon_sym_LT_LT_LT] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [486] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(1948),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [487] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1948),
    [anon_sym_SEMI_SEMI] = ACTIONS(1950),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1952),
    [anon_sym_LF] = ACTIONS(1950),
    [anon_sym_AMP] = ACTIONS(1952),
  },
  [488] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1948),
    [anon_sym_SEMI_SEMI] = ACTIONS(1950),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1952),
    [anon_sym_LF] = ACTIONS(1950),
    [anon_sym_AMP] = ACTIONS(1952),
  },
  [489] = {
    [sym_do_group] = STATE(967),
    [anon_sym_do] = ACTIONS(437),
    [sym_comment] = ACTIONS(53),
  },
  [490] = {
    [sym_compound_statement] = STATE(969),
    [anon_sym_LPAREN] = ACTIONS(1954),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [491] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(1956),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [492] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1956),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [493] = {
    [sym_variable_assignment] = STATE(625),
    [sym_subscript] = STATE(235),
    [sym_concatenation] = STATE(625),
    [sym_string] = STATE(234),
    [sym_simple_expansion] = STATE(234),
    [sym_string_expansion] = STATE(234),
    [sym_expansion] = STATE(234),
    [sym_command_substitution] = STATE(234),
    [sym_process_substitution] = STATE(234),
    [aux_sym_declaration_command_repeat1] = STATE(625),
    [sym_variable_name] = ACTIONS(421),
    [anon_sym_PIPE] = ACTIONS(685),
    [anon_sym_SEMI_SEMI] = ACTIONS(683),
    [anon_sym_PIPE_AMP] = ACTIONS(683),
    [anon_sym_AMP_AMP] = ACTIONS(683),
    [anon_sym_PIPE_PIPE] = ACTIONS(683),
    [sym__special_characters] = ACTIONS(423),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(425),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(683),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(203),
    [sym_word] = ACTIONS(427),
    [anon_sym_SEMI] = ACTIONS(685),
    [anon_sym_LF] = ACTIONS(683),
    [anon_sym_AMP] = ACTIONS(685),
  },
  [494] = {
    [sym_concatenation] = STATE(627),
    [sym_string] = STATE(238),
    [sym_simple_expansion] = STATE(238),
    [sym_string_expansion] = STATE(238),
    [sym_expansion] = STATE(238),
    [sym_command_substitution] = STATE(238),
    [sym_process_substitution] = STATE(238),
    [aux_sym_unset_command_repeat1] = STATE(627),
    [anon_sym_PIPE] = ACTIONS(725),
    [anon_sym_SEMI_SEMI] = ACTIONS(723),
    [anon_sym_PIPE_AMP] = ACTIONS(723),
    [anon_sym_AMP_AMP] = ACTIONS(723),
    [anon_sym_PIPE_PIPE] = ACTIONS(723),
    [sym__special_characters] = ACTIONS(429),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(723),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(227),
    [sym_word] = ACTIONS(433),
    [anon_sym_SEMI] = ACTIONS(725),
    [anon_sym_LF] = ACTIONS(723),
    [anon_sym_AMP] = ACTIONS(725),
  },
  [495] = {
    [anon_sym_RPAREN] = ACTIONS(1958),
    [sym_comment] = ACTIONS(53),
  },
  [496] = {
    [sym_for_statement] = STATE(512),
    [sym_c_style_for_statement] = STATE(512),
    [sym_while_statement] = STATE(512),
    [sym_if_statement] = STATE(512),
    [sym_case_statement] = STATE(512),
    [sym_function_definition] = STATE(512),
    [sym_subshell] = STATE(512),
    [sym_pipeline] = STATE(512),
    [sym_list] = STATE(512),
    [sym_negated_command] = STATE(512),
    [sym_test_command] = STATE(512),
    [sym_declaration_command] = STATE(512),
    [sym_unset_command] = STATE(512),
    [sym_command] = STATE(512),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(972),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [497] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(1948),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [498] = {
    [sym_for_statement] = STATE(973),
    [sym_c_style_for_statement] = STATE(973),
    [sym_while_statement] = STATE(973),
    [sym_if_statement] = STATE(973),
    [sym_case_statement] = STATE(973),
    [sym_function_definition] = STATE(973),
    [sym_subshell] = STATE(973),
    [sym_pipeline] = STATE(973),
    [sym_list] = STATE(973),
    [sym_negated_command] = STATE(973),
    [sym_test_command] = STATE(973),
    [sym_declaration_command] = STATE(973),
    [sym_unset_command] = STATE(973),
    [sym_command] = STATE(973),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(974),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [499] = {
    [anon_sym_LT] = ACTIONS(1960),
    [anon_sym_GT] = ACTIONS(1960),
    [anon_sym_GT_GT] = ACTIONS(1962),
    [anon_sym_AMP_GT] = ACTIONS(1960),
    [anon_sym_AMP_GT_GT] = ACTIONS(1962),
    [anon_sym_LT_AMP] = ACTIONS(1962),
    [anon_sym_GT_AMP] = ACTIONS(1962),
    [sym_comment] = ACTIONS(53),
  },
  [500] = {
    [sym_concatenation] = STATE(526),
    [sym_string] = STATE(977),
    [sym_simple_expansion] = STATE(977),
    [sym_string_expansion] = STATE(977),
    [sym_expansion] = STATE(977),
    [sym_command_substitution] = STATE(977),
    [sym_process_substitution] = STATE(977),
    [sym__special_characters] = ACTIONS(1964),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1966),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1966),
  },
  [501] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(979),
    [sym_simple_expansion] = STATE(979),
    [sym_string_expansion] = STATE(979),
    [sym_expansion] = STATE(979),
    [sym_command_substitution] = STATE(979),
    [sym_process_substitution] = STATE(979),
    [sym__special_characters] = ACTIONS(1968),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(1970),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1970),
  },
  [502] = {
    [sym_file_redirect] = STATE(980),
    [sym_heredoc_redirect] = STATE(980),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(980),
    [aux_sym_while_statement_repeat1] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [anon_sym_BQUOTE] = ACTIONS(955),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [503] = {
    [sym_file_redirect] = STATE(981),
    [sym_heredoc_redirect] = STATE(981),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(981),
    [sym_concatenation] = STATE(645),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(981),
    [aux_sym_command_repeat2] = STATE(645),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(955),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [504] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1972),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(1948),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1974),
    [anon_sym_LF] = ACTIONS(1972),
    [anon_sym_AMP] = ACTIONS(1974),
  },
  [505] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1972),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1948),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1974),
    [anon_sym_LF] = ACTIONS(1972),
    [anon_sym_AMP] = ACTIONS(1974),
  },
  [506] = {
    [sym_file_redirect] = STATE(981),
    [sym_heredoc_redirect] = STATE(981),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(981),
    [sym_concatenation] = STATE(983),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(981),
    [aux_sym_command_repeat2] = STATE(983),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(955),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [507] = {
    [sym__simple_heredoc_body] = ACTIONS(1976),
    [sym__heredoc_body_beginning] = ACTIONS(1976),
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [ts_builtin_sym_end] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1978),
    [anon_sym_EQ_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [anon_sym_LT_LT] = ACTIONS(1978),
    [anon_sym_LT_LT_DASH] = ACTIONS(1976),
    [anon_sym_LT_LT_LT] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [508] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(1980),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [509] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1980),
    [anon_sym_SEMI_SEMI] = ACTIONS(1982),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1984),
    [anon_sym_LF] = ACTIONS(1982),
    [anon_sym_AMP] = ACTIONS(1984),
  },
  [510] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1980),
    [anon_sym_SEMI_SEMI] = ACTIONS(1982),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1984),
    [anon_sym_LF] = ACTIONS(1982),
    [anon_sym_AMP] = ACTIONS(1984),
  },
  [511] = {
    [sym_compound_statement] = STATE(986),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [512] = {
    [ts_builtin_sym_end] = ACTIONS(1986),
    [anon_sym_esac] = ACTIONS(1986),
    [anon_sym_PIPE] = ACTIONS(1988),
    [anon_sym_RPAREN] = ACTIONS(1986),
    [anon_sym_SEMI_SEMI] = ACTIONS(1986),
    [anon_sym_PIPE_AMP] = ACTIONS(1986),
    [anon_sym_AMP_AMP] = ACTIONS(1986),
    [anon_sym_PIPE_PIPE] = ACTIONS(1986),
    [anon_sym_BQUOTE] = ACTIONS(1986),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1988),
    [anon_sym_LF] = ACTIONS(1986),
    [anon_sym_AMP] = ACTIONS(1988),
  },
  [513] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [ts_builtin_sym_end] = ACTIONS(1986),
    [anon_sym_PIPE] = ACTIONS(1988),
    [anon_sym_RPAREN] = ACTIONS(1986),
    [anon_sym_SEMI_SEMI] = ACTIONS(1986),
    [anon_sym_PIPE_AMP] = ACTIONS(1986),
    [anon_sym_AMP_AMP] = ACTIONS(1986),
    [anon_sym_PIPE_PIPE] = ACTIONS(1986),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1988),
    [anon_sym_LF] = ACTIONS(1986),
    [anon_sym_AMP] = ACTIONS(1988),
  },
  [514] = {
    [ts_builtin_sym_end] = ACTIONS(1990),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [515] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [ts_builtin_sym_end] = ACTIONS(1990),
    [anon_sym_PIPE] = ACTIONS(311),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(315),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [516] = {
    [ts_builtin_sym_end] = ACTIONS(1994),
    [anon_sym_esac] = ACTIONS(1994),
    [anon_sym_PIPE] = ACTIONS(1996),
    [anon_sym_RPAREN] = ACTIONS(1994),
    [anon_sym_SEMI_SEMI] = ACTIONS(1994),
    [anon_sym_PIPE_AMP] = ACTIONS(1994),
    [anon_sym_AMP_AMP] = ACTIONS(1994),
    [anon_sym_PIPE_PIPE] = ACTIONS(1994),
    [anon_sym_BQUOTE] = ACTIONS(1994),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1996),
    [anon_sym_LF] = ACTIONS(1994),
    [anon_sym_AMP] = ACTIONS(1996),
  },
  [517] = {
    [anon_sym_DOLLAR] = ACTIONS(1998),
    [anon_sym_POUND] = ACTIONS(1998),
    [anon_sym_DASH] = ACTIONS(1998),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2000),
    [anon_sym_STAR] = ACTIONS(1998),
    [anon_sym_AT] = ACTIONS(1998),
    [anon_sym_QMARK] = ACTIONS(1998),
    [anon_sym_0] = ACTIONS(2002),
    [anon_sym__] = ACTIONS(2002),
  },
  [518] = {
    [sym_subscript] = STATE(993),
    [sym_variable_name] = ACTIONS(2004),
    [anon_sym_BANG] = ACTIONS(2006),
    [anon_sym_DOLLAR] = ACTIONS(2008),
    [anon_sym_POUND] = ACTIONS(2006),
    [anon_sym_DASH] = ACTIONS(2008),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2010),
    [anon_sym_STAR] = ACTIONS(2008),
    [anon_sym_AT] = ACTIONS(2008),
    [anon_sym_QMARK] = ACTIONS(2008),
    [anon_sym_0] = ACTIONS(2012),
    [anon_sym__] = ACTIONS(2012),
  },
  [519] = {
    [sym_simple_expansion] = STATE(995),
    [sym_expansion] = STATE(995),
    [aux_sym_heredoc_body_repeat1] = STATE(995),
    [sym__heredoc_body_middle] = ACTIONS(2014),
    [sym__heredoc_body_end] = ACTIONS(2016),
    [anon_sym_DOLLAR] = ACTIONS(913),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(915),
    [sym_comment] = ACTIONS(53),
  },
  [520] = {
    [sym_concatenation] = STATE(998),
    [sym_string] = STATE(997),
    [sym_simple_expansion] = STATE(997),
    [sym_string_expansion] = STATE(997),
    [sym_expansion] = STATE(997),
    [sym_command_substitution] = STATE(997),
    [sym_process_substitution] = STATE(997),
    [sym__special_characters] = ACTIONS(2018),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(2020),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2020),
  },
  [521] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(2022),
    [sym__heredoc_body_beginning] = ACTIONS(2022),
    [sym_file_descriptor] = ACTIONS(2022),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(2022),
    [anon_sym_PIPE] = ACTIONS(2024),
    [anon_sym_SEMI_SEMI] = ACTIONS(2022),
    [anon_sym_PIPE_AMP] = ACTIONS(2022),
    [anon_sym_AMP_AMP] = ACTIONS(2022),
    [anon_sym_PIPE_PIPE] = ACTIONS(2022),
    [anon_sym_EQ_TILDE] = ACTIONS(2024),
    [anon_sym_EQ_EQ] = ACTIONS(2024),
    [anon_sym_LT] = ACTIONS(2024),
    [anon_sym_GT] = ACTIONS(2024),
    [anon_sym_GT_GT] = ACTIONS(2022),
    [anon_sym_AMP_GT] = ACTIONS(2024),
    [anon_sym_AMP_GT_GT] = ACTIONS(2022),
    [anon_sym_LT_AMP] = ACTIONS(2022),
    [anon_sym_GT_AMP] = ACTIONS(2022),
    [anon_sym_LT_LT] = ACTIONS(2024),
    [anon_sym_LT_LT_DASH] = ACTIONS(2022),
    [anon_sym_LT_LT_LT] = ACTIONS(2022),
    [sym__special_characters] = ACTIONS(2022),
    [anon_sym_DQUOTE] = ACTIONS(2022),
    [anon_sym_DOLLAR] = ACTIONS(2024),
    [sym_raw_string] = ACTIONS(2022),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2022),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2022),
    [anon_sym_BQUOTE] = ACTIONS(2022),
    [anon_sym_LT_LPAREN] = ACTIONS(2022),
    [anon_sym_GT_LPAREN] = ACTIONS(2022),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2024),
    [anon_sym_SEMI] = ACTIONS(2024),
    [anon_sym_LF] = ACTIONS(2022),
    [anon_sym_AMP] = ACTIONS(2024),
  },
  [522] = {
    [aux_sym_concatenation_repeat1] = STATE(141),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(2026),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [523] = {
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [ts_builtin_sym_end] = ACTIONS(2026),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_RPAREN] = ACTIONS(2026),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [524] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(727),
    [sym__heredoc_body_beginning] = ACTIONS(727),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [525] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [526] = {
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [527] = {
    [sym__simple_heredoc_body] = ACTIONS(2030),
    [sym__heredoc_body_beginning] = ACTIONS(2030),
    [sym_file_descriptor] = ACTIONS(2030),
    [ts_builtin_sym_end] = ACTIONS(2030),
    [anon_sym_esac] = ACTIONS(2030),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_RPAREN] = ACTIONS(2030),
    [anon_sym_SEMI_SEMI] = ACTIONS(2030),
    [anon_sym_PIPE_AMP] = ACTIONS(2030),
    [anon_sym_AMP_AMP] = ACTIONS(2030),
    [anon_sym_PIPE_PIPE] = ACTIONS(2030),
    [anon_sym_LT] = ACTIONS(2032),
    [anon_sym_GT] = ACTIONS(2032),
    [anon_sym_GT_GT] = ACTIONS(2030),
    [anon_sym_AMP_GT] = ACTIONS(2032),
    [anon_sym_AMP_GT_GT] = ACTIONS(2030),
    [anon_sym_LT_AMP] = ACTIONS(2030),
    [anon_sym_GT_AMP] = ACTIONS(2030),
    [anon_sym_LT_LT] = ACTIONS(2032),
    [anon_sym_LT_LT_DASH] = ACTIONS(2030),
    [anon_sym_LT_LT_LT] = ACTIONS(2030),
    [anon_sym_BQUOTE] = ACTIONS(2030),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_LF] = ACTIONS(2030),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [528] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(2034),
    [sym__heredoc_body_beginning] = ACTIONS(2034),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(2034),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [529] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [530] = {
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [ts_builtin_sym_end] = ACTIONS(2038),
    [anon_sym_esac] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_RPAREN] = ACTIONS(2038),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [anon_sym_BQUOTE] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [531] = {
    [ts_builtin_sym_end] = ACTIONS(2042),
    [anon_sym_esac] = ACTIONS(2042),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_RPAREN] = ACTIONS(2042),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_BQUOTE] = ACTIONS(2042),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [532] = {
    [sym_file_redirect] = STATE(532),
    [sym_heredoc_redirect] = STATE(532),
    [sym_herestring_redirect] = STATE(532),
    [aux_sym_while_statement_repeat1] = STATE(532),
    [sym__simple_heredoc_body] = ACTIONS(2046),
    [sym__heredoc_body_beginning] = ACTIONS(2046),
    [sym_file_descriptor] = ACTIONS(2048),
    [ts_builtin_sym_end] = ACTIONS(2046),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(2053),
    [anon_sym_GT] = ACTIONS(2053),
    [anon_sym_GT_GT] = ACTIONS(2056),
    [anon_sym_AMP_GT] = ACTIONS(2053),
    [anon_sym_AMP_GT_GT] = ACTIONS(2056),
    [anon_sym_LT_AMP] = ACTIONS(2056),
    [anon_sym_GT_AMP] = ACTIONS(2056),
    [anon_sym_LT_LT] = ACTIONS(2059),
    [anon_sym_LT_LT_DASH] = ACTIONS(2062),
    [anon_sym_LT_LT_LT] = ACTIONS(2065),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [533] = {
    [sym_file_redirect] = STATE(532),
    [sym_heredoc_redirect] = STATE(532),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(532),
    [aux_sym_while_statement_repeat1] = STATE(532),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(2042),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [534] = {
    [sym_concatenation] = STATE(534),
    [sym_string] = STATE(188),
    [sym_simple_expansion] = STATE(188),
    [sym_string_expansion] = STATE(188),
    [sym_expansion] = STATE(188),
    [sym_command_substitution] = STATE(188),
    [sym_process_substitution] = STATE(188),
    [aux_sym_command_repeat2] = STATE(534),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [ts_builtin_sym_end] = ACTIONS(2026),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2068),
    [anon_sym_EQ_EQ] = ACTIONS(2068),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2071),
    [anon_sym_DQUOTE] = ACTIONS(2074),
    [anon_sym_DOLLAR] = ACTIONS(2077),
    [sym_raw_string] = ACTIONS(2080),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2086),
    [anon_sym_BQUOTE] = ACTIONS(2089),
    [anon_sym_LT_LPAREN] = ACTIONS(2092),
    [anon_sym_GT_LPAREN] = ACTIONS(2092),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2095),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [535] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [ts_builtin_sym_end] = ACTIONS(2098),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [536] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(2100),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [537] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(2100),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [538] = {
    [sym_file_redirect] = STATE(1002),
    [sym_heredoc_redirect] = STATE(1002),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(1002),
    [sym_concatenation] = STATE(534),
    [sym_string] = STATE(188),
    [sym_simple_expansion] = STATE(188),
    [sym_string_expansion] = STATE(188),
    [sym_expansion] = STATE(188),
    [sym_command_substitution] = STATE(188),
    [sym_process_substitution] = STATE(188),
    [aux_sym_while_statement_repeat1] = STATE(1002),
    [aux_sym_command_repeat2] = STATE(534),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(2042),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_EQ_TILDE] = ACTIONS(331),
    [anon_sym_EQ_EQ] = ACTIONS(331),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym__special_characters] = ACTIONS(343),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(345),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(347),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [539] = {
    [sym_string] = STATE(732),
    [sym_simple_expansion] = STATE(732),
    [sym_string_expansion] = STATE(732),
    [sym_expansion] = STATE(732),
    [sym_command_substitution] = STATE(732),
    [sym_process_substitution] = STATE(732),
    [anon_sym_RBRACK] = ACTIONS(2104),
    [sym__special_characters] = ACTIONS(2106),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1353),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1353),
  },
  [540] = {
    [sym__concat] = ACTIONS(2108),
    [anon_sym_EQ] = ACTIONS(2110),
    [anon_sym_PLUS_EQ] = ACTIONS(2110),
    [sym_comment] = ACTIONS(53),
  },
  [541] = {
    [aux_sym_concatenation_repeat1] = STATE(1005),
    [sym__concat] = ACTIONS(575),
    [anon_sym_RBRACK] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
  },
  [542] = {
    [sym_string] = STATE(732),
    [sym_simple_expansion] = STATE(732),
    [sym_string_expansion] = STATE(732),
    [sym_expansion] = STATE(732),
    [sym_command_substitution] = STATE(732),
    [sym_process_substitution] = STATE(732),
    [anon_sym_RBRACK] = ACTIONS(2112),
    [sym__special_characters] = ACTIONS(2106),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1353),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1353),
  },
  [543] = {
    [sym__concat] = ACTIONS(2114),
    [anon_sym_EQ] = ACTIONS(2116),
    [anon_sym_PLUS_EQ] = ACTIONS(2116),
    [sym_comment] = ACTIONS(53),
  },
  [544] = {
    [anon_sym_RBRACK] = ACTIONS(2112),
    [sym_comment] = ACTIONS(53),
  },
  [545] = {
    [sym_file_descriptor] = ACTIONS(2118),
    [sym_variable_name] = ACTIONS(2118),
    [ts_builtin_sym_end] = ACTIONS(2118),
    [anon_sym_PIPE] = ACTIONS(2120),
    [anon_sym_RPAREN] = ACTIONS(2118),
    [anon_sym_SEMI_SEMI] = ACTIONS(2118),
    [anon_sym_PIPE_AMP] = ACTIONS(2118),
    [anon_sym_AMP_AMP] = ACTIONS(2118),
    [anon_sym_PIPE_PIPE] = ACTIONS(2118),
    [anon_sym_LT] = ACTIONS(2120),
    [anon_sym_GT] = ACTIONS(2120),
    [anon_sym_GT_GT] = ACTIONS(2118),
    [anon_sym_AMP_GT] = ACTIONS(2120),
    [anon_sym_AMP_GT_GT] = ACTIONS(2118),
    [anon_sym_LT_AMP] = ACTIONS(2118),
    [anon_sym_GT_AMP] = ACTIONS(2118),
    [sym__special_characters] = ACTIONS(2118),
    [anon_sym_DQUOTE] = ACTIONS(2118),
    [anon_sym_DOLLAR] = ACTIONS(2120),
    [sym_raw_string] = ACTIONS(2118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2118),
    [anon_sym_BQUOTE] = ACTIONS(2118),
    [anon_sym_LT_LPAREN] = ACTIONS(2118),
    [anon_sym_GT_LPAREN] = ACTIONS(2118),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2120),
    [anon_sym_SEMI] = ACTIONS(2120),
    [anon_sym_LF] = ACTIONS(2118),
    [anon_sym_AMP] = ACTIONS(2120),
  },
  [546] = {
    [aux_sym_concatenation_repeat1] = STATE(1009),
    [sym__concat] = ACTIONS(2122),
    [anon_sym_RPAREN] = ACTIONS(2124),
    [sym__special_characters] = ACTIONS(2124),
    [anon_sym_DQUOTE] = ACTIONS(2124),
    [anon_sym_DOLLAR] = ACTIONS(2126),
    [sym_raw_string] = ACTIONS(2124),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2124),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2124),
    [anon_sym_BQUOTE] = ACTIONS(2124),
    [anon_sym_LT_LPAREN] = ACTIONS(2124),
    [anon_sym_GT_LPAREN] = ACTIONS(2124),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2124),
  },
  [547] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(1012),
    [anon_sym_DQUOTE] = ACTIONS(2128),
    [anon_sym_DOLLAR] = ACTIONS(2130),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [548] = {
    [sym_string] = STATE(1014),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(2132),
    [sym_raw_string] = ACTIONS(2134),
    [anon_sym_POUND] = ACTIONS(2132),
    [anon_sym_DASH] = ACTIONS(2132),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2136),
    [anon_sym_STAR] = ACTIONS(2132),
    [anon_sym_AT] = ACTIONS(2132),
    [anon_sym_QMARK] = ACTIONS(2132),
    [anon_sym_0] = ACTIONS(2138),
    [anon_sym__] = ACTIONS(2138),
  },
  [549] = {
    [aux_sym_concatenation_repeat1] = STATE(1009),
    [sym__concat] = ACTIONS(2122),
    [anon_sym_RPAREN] = ACTIONS(2140),
    [sym__special_characters] = ACTIONS(2140),
    [anon_sym_DQUOTE] = ACTIONS(2140),
    [anon_sym_DOLLAR] = ACTIONS(2142),
    [sym_raw_string] = ACTIONS(2140),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2140),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2140),
    [anon_sym_BQUOTE] = ACTIONS(2140),
    [anon_sym_LT_LPAREN] = ACTIONS(2140),
    [anon_sym_GT_LPAREN] = ACTIONS(2140),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2140),
  },
  [550] = {
    [sym_subscript] = STATE(1020),
    [sym_variable_name] = ACTIONS(2144),
    [anon_sym_BANG] = ACTIONS(2146),
    [anon_sym_DOLLAR] = ACTIONS(2148),
    [anon_sym_POUND] = ACTIONS(2146),
    [anon_sym_DASH] = ACTIONS(2148),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2150),
    [anon_sym_STAR] = ACTIONS(2148),
    [anon_sym_AT] = ACTIONS(2148),
    [anon_sym_QMARK] = ACTIONS(2148),
    [anon_sym_0] = ACTIONS(2152),
    [anon_sym__] = ACTIONS(2152),
  },
  [551] = {
    [sym__terminated_statement] = STATE(1023),
    [sym_for_statement] = STATE(1021),
    [sym_c_style_for_statement] = STATE(1021),
    [sym_while_statement] = STATE(1021),
    [sym_if_statement] = STATE(1021),
    [sym_case_statement] = STATE(1021),
    [sym_function_definition] = STATE(1021),
    [sym_subshell] = STATE(1021),
    [sym_pipeline] = STATE(1021),
    [sym_list] = STATE(1021),
    [sym_negated_command] = STATE(1021),
    [sym_test_command] = STATE(1021),
    [sym_declaration_command] = STATE(1021),
    [sym_unset_command] = STATE(1021),
    [sym_command] = STATE(1021),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1022),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1023),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [552] = {
    [sym__terminated_statement] = STATE(1026),
    [sym_for_statement] = STATE(1024),
    [sym_c_style_for_statement] = STATE(1024),
    [sym_while_statement] = STATE(1024),
    [sym_if_statement] = STATE(1024),
    [sym_case_statement] = STATE(1024),
    [sym_function_definition] = STATE(1024),
    [sym_subshell] = STATE(1024),
    [sym_pipeline] = STATE(1024),
    [sym_list] = STATE(1024),
    [sym_negated_command] = STATE(1024),
    [sym_test_command] = STATE(1024),
    [sym_declaration_command] = STATE(1024),
    [sym_unset_command] = STATE(1024),
    [sym_command] = STATE(1024),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1025),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1026),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [553] = {
    [sym__terminated_statement] = STATE(1029),
    [sym_for_statement] = STATE(1027),
    [sym_c_style_for_statement] = STATE(1027),
    [sym_while_statement] = STATE(1027),
    [sym_if_statement] = STATE(1027),
    [sym_case_statement] = STATE(1027),
    [sym_function_definition] = STATE(1027),
    [sym_subshell] = STATE(1027),
    [sym_pipeline] = STATE(1027),
    [sym_list] = STATE(1027),
    [sym_negated_command] = STATE(1027),
    [sym_test_command] = STATE(1027),
    [sym_declaration_command] = STATE(1027),
    [sym_unset_command] = STATE(1027),
    [sym_command] = STATE(1027),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1028),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1029),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [554] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(2154),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [555] = {
    [sym_string] = STATE(1032),
    [sym_simple_expansion] = STATE(1032),
    [sym_string_expansion] = STATE(1032),
    [sym_expansion] = STATE(1032),
    [sym_command_substitution] = STATE(1032),
    [sym_process_substitution] = STATE(1032),
    [sym__special_characters] = ACTIONS(2156),
    [anon_sym_DQUOTE] = ACTIONS(369),
    [anon_sym_DOLLAR] = ACTIONS(371),
    [sym_raw_string] = ACTIONS(2156),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(377),
    [anon_sym_BQUOTE] = ACTIONS(379),
    [anon_sym_LT_LPAREN] = ACTIONS(381),
    [anon_sym_GT_LPAREN] = ACTIONS(381),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2156),
  },
  [556] = {
    [aux_sym_concatenation_repeat1] = STATE(1033),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(761),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [557] = {
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [sym_variable_name] = ACTIONS(765),
    [ts_builtin_sym_end] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [558] = {
    [anon_sym_DQUOTE] = ACTIONS(2158),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [559] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(2158),
    [anon_sym_DOLLAR] = ACTIONS(2160),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [560] = {
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [sym_variable_name] = ACTIONS(797),
    [ts_builtin_sym_end] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [561] = {
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [sym_variable_name] = ACTIONS(801),
    [ts_builtin_sym_end] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [562] = {
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [sym_variable_name] = ACTIONS(805),
    [ts_builtin_sym_end] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [563] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2162),
    [sym_comment] = ACTIONS(53),
  },
  [564] = {
    [sym_subscript] = STATE(1040),
    [sym_variable_name] = ACTIONS(2164),
    [anon_sym_DOLLAR] = ACTIONS(2166),
    [anon_sym_DASH] = ACTIONS(2166),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2168),
    [anon_sym_STAR] = ACTIONS(2166),
    [anon_sym_AT] = ACTIONS(2166),
    [anon_sym_QMARK] = ACTIONS(2166),
    [anon_sym_0] = ACTIONS(2170),
    [anon_sym__] = ACTIONS(2170),
  },
  [565] = {
    [sym_concatenation] = STATE(1043),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1043),
    [anon_sym_RBRACE] = ACTIONS(2172),
    [anon_sym_EQ] = ACTIONS(2174),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2176),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2178),
    [anon_sym_COLON] = ACTIONS(2174),
    [anon_sym_COLON_QMARK] = ACTIONS(2174),
    [anon_sym_COLON_DASH] = ACTIONS(2174),
    [anon_sym_PERCENT] = ACTIONS(2174),
    [anon_sym_DASH] = ACTIONS(2174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [566] = {
    [sym_concatenation] = STATE(1046),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1046),
    [anon_sym_RBRACE] = ACTIONS(2180),
    [anon_sym_EQ] = ACTIONS(2182),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2184),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2186),
    [anon_sym_COLON] = ACTIONS(2182),
    [anon_sym_COLON_QMARK] = ACTIONS(2182),
    [anon_sym_COLON_DASH] = ACTIONS(2182),
    [anon_sym_PERCENT] = ACTIONS(2182),
    [anon_sym_DASH] = ACTIONS(2182),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [567] = {
    [sym_concatenation] = STATE(1049),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1049),
    [anon_sym_RBRACE] = ACTIONS(2188),
    [anon_sym_EQ] = ACTIONS(2190),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2192),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2194),
    [anon_sym_COLON] = ACTIONS(2190),
    [anon_sym_COLON_QMARK] = ACTIONS(2190),
    [anon_sym_COLON_DASH] = ACTIONS(2190),
    [anon_sym_PERCENT] = ACTIONS(2190),
    [anon_sym_DASH] = ACTIONS(2190),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [568] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2196),
    [anon_sym_SEMI_SEMI] = ACTIONS(2198),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2200),
    [anon_sym_LF] = ACTIONS(2198),
    [anon_sym_AMP] = ACTIONS(2200),
  },
  [569] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2196),
    [anon_sym_SEMI_SEMI] = ACTIONS(2198),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2200),
    [anon_sym_LF] = ACTIONS(2198),
    [anon_sym_AMP] = ACTIONS(2200),
  },
  [570] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1052),
    [sym_c_style_for_statement] = STATE(1052),
    [sym_while_statement] = STATE(1052),
    [sym_if_statement] = STATE(1052),
    [sym_case_statement] = STATE(1052),
    [sym_function_definition] = STATE(1052),
    [sym_subshell] = STATE(1052),
    [sym_pipeline] = STATE(1052),
    [sym_list] = STATE(1052),
    [sym_negated_command] = STATE(1052),
    [sym_test_command] = STATE(1052),
    [sym_declaration_command] = STATE(1052),
    [sym_unset_command] = STATE(1052),
    [sym_command] = STATE(1052),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1053),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [571] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2202),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2196),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2204),
    [anon_sym_LF] = ACTIONS(2202),
    [anon_sym_AMP] = ACTIONS(2204),
  },
  [572] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2202),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2196),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2204),
    [anon_sym_LF] = ACTIONS(2202),
    [anon_sym_AMP] = ACTIONS(2204),
  },
  [573] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1055),
    [sym_c_style_for_statement] = STATE(1055),
    [sym_while_statement] = STATE(1055),
    [sym_if_statement] = STATE(1055),
    [sym_case_statement] = STATE(1055),
    [sym_function_definition] = STATE(1055),
    [sym_subshell] = STATE(1055),
    [sym_pipeline] = STATE(1055),
    [sym_list] = STATE(1055),
    [sym_negated_command] = STATE(1055),
    [sym_test_command] = STATE(1055),
    [sym_declaration_command] = STATE(1055),
    [sym_unset_command] = STATE(1055),
    [sym_command] = STATE(1055),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1056),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [574] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2206),
    [anon_sym_SEMI_SEMI] = ACTIONS(2208),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2210),
    [anon_sym_LF] = ACTIONS(2208),
    [anon_sym_AMP] = ACTIONS(2210),
  },
  [575] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2206),
    [anon_sym_SEMI_SEMI] = ACTIONS(2208),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2210),
    [anon_sym_LF] = ACTIONS(2208),
    [anon_sym_AMP] = ACTIONS(2210),
  },
  [576] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1059),
    [sym_c_style_for_statement] = STATE(1059),
    [sym_while_statement] = STATE(1059),
    [sym_if_statement] = STATE(1059),
    [sym_case_statement] = STATE(1059),
    [sym_function_definition] = STATE(1059),
    [sym_subshell] = STATE(1059),
    [sym_pipeline] = STATE(1059),
    [sym_list] = STATE(1059),
    [sym_negated_command] = STATE(1059),
    [sym_test_command] = STATE(1059),
    [sym_declaration_command] = STATE(1059),
    [sym_unset_command] = STATE(1059),
    [sym_command] = STATE(1059),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1060),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [577] = {
    [sym__expression] = STATE(1072),
    [sym_binary_expression] = STATE(1072),
    [sym_unary_expression] = STATE(1072),
    [sym_parenthesized_expression] = STATE(1072),
    [sym_concatenation] = STATE(1072),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2212),
    [anon_sym_LPAREN] = ACTIONS(2214),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(2218),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2224),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2236),
  },
  [578] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2238),
    [anon_sym_AMP_AMP] = ACTIONS(1149),
    [anon_sym_PIPE_PIPE] = ACTIONS(1149),
    [anon_sym_EQ_TILDE] = ACTIONS(1151),
    [anon_sym_EQ_EQ] = ACTIONS(1151),
    [anon_sym_EQ] = ACTIONS(1153),
    [anon_sym_LT] = ACTIONS(1149),
    [anon_sym_GT] = ACTIONS(1149),
    [anon_sym_BANG_EQ] = ACTIONS(1149),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1149),
    [anon_sym_SEMI] = ACTIONS(2240),
    [anon_sym_LF] = ACTIONS(2238),
    [anon_sym_AMP] = ACTIONS(2240),
  },
  [579] = {
    [anon_sym_RPAREN] = ACTIONS(2242),
    [anon_sym_AMP_AMP] = ACTIONS(1345),
    [anon_sym_PIPE_PIPE] = ACTIONS(1345),
    [anon_sym_EQ_TILDE] = ACTIONS(1347),
    [anon_sym_EQ_EQ] = ACTIONS(1347),
    [anon_sym_EQ] = ACTIONS(1349),
    [anon_sym_LT] = ACTIONS(1345),
    [anon_sym_GT] = ACTIONS(1345),
    [anon_sym_BANG_EQ] = ACTIONS(1345),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1345),
  },
  [580] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(1351),
    [anon_sym_AMP_AMP] = ACTIONS(1149),
    [anon_sym_PIPE_PIPE] = ACTIONS(1149),
    [anon_sym_EQ_TILDE] = ACTIONS(1151),
    [anon_sym_EQ_EQ] = ACTIONS(1151),
    [anon_sym_EQ] = ACTIONS(1153),
    [anon_sym_LT] = ACTIONS(1149),
    [anon_sym_GT] = ACTIONS(1149),
    [anon_sym_BANG_EQ] = ACTIONS(1149),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1149),
    [anon_sym_SEMI] = ACTIONS(2244),
    [anon_sym_LF] = ACTIONS(1351),
    [anon_sym_AMP] = ACTIONS(2244),
  },
  [581] = {
    [sym_string] = STATE(1075),
    [sym_simple_expansion] = STATE(1075),
    [sym_string_expansion] = STATE(1075),
    [sym_expansion] = STATE(1075),
    [sym_command_substitution] = STATE(1075),
    [sym_process_substitution] = STATE(1075),
    [sym__special_characters] = ACTIONS(2246),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(2246),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2246),
  },
  [582] = {
    [aux_sym_concatenation_repeat1] = STATE(1076),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(761),
    [anon_sym_EQ_EQ] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(761),
    [anon_sym_GT] = ACTIONS(761),
    [anon_sym_BANG_EQ] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(761),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [583] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(765),
    [anon_sym_EQ_EQ] = ACTIONS(765),
    [anon_sym_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(765),
    [anon_sym_GT] = ACTIONS(765),
    [anon_sym_BANG_EQ] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(765),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [584] = {
    [anon_sym_DQUOTE] = ACTIONS(2248),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [585] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(2248),
    [anon_sym_DOLLAR] = ACTIONS(2250),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [586] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(797),
    [anon_sym_EQ_EQ] = ACTIONS(797),
    [anon_sym_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(797),
    [anon_sym_GT] = ACTIONS(797),
    [anon_sym_BANG_EQ] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(797),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [587] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(801),
    [anon_sym_EQ_EQ] = ACTIONS(801),
    [anon_sym_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(801),
    [anon_sym_GT] = ACTIONS(801),
    [anon_sym_BANG_EQ] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(801),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [588] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(805),
    [anon_sym_EQ_EQ] = ACTIONS(805),
    [anon_sym_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(805),
    [anon_sym_GT] = ACTIONS(805),
    [anon_sym_BANG_EQ] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(805),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [589] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2252),
    [sym_comment] = ACTIONS(53),
  },
  [590] = {
    [sym_subscript] = STATE(1083),
    [sym_variable_name] = ACTIONS(2254),
    [anon_sym_DOLLAR] = ACTIONS(2256),
    [anon_sym_DASH] = ACTIONS(2256),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2258),
    [anon_sym_STAR] = ACTIONS(2256),
    [anon_sym_AT] = ACTIONS(2256),
    [anon_sym_QMARK] = ACTIONS(2256),
    [anon_sym_0] = ACTIONS(2260),
    [anon_sym__] = ACTIONS(2260),
  },
  [591] = {
    [sym_concatenation] = STATE(1086),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1086),
    [anon_sym_RBRACE] = ACTIONS(2262),
    [anon_sym_EQ] = ACTIONS(2264),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2266),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2268),
    [anon_sym_COLON] = ACTIONS(2264),
    [anon_sym_COLON_QMARK] = ACTIONS(2264),
    [anon_sym_COLON_DASH] = ACTIONS(2264),
    [anon_sym_PERCENT] = ACTIONS(2264),
    [anon_sym_DASH] = ACTIONS(2264),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [592] = {
    [sym_concatenation] = STATE(1089),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1089),
    [anon_sym_RBRACE] = ACTIONS(2270),
    [anon_sym_EQ] = ACTIONS(2272),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2274),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2276),
    [anon_sym_COLON] = ACTIONS(2272),
    [anon_sym_COLON_QMARK] = ACTIONS(2272),
    [anon_sym_COLON_DASH] = ACTIONS(2272),
    [anon_sym_PERCENT] = ACTIONS(2272),
    [anon_sym_DASH] = ACTIONS(2272),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [593] = {
    [sym_concatenation] = STATE(1092),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1092),
    [anon_sym_RBRACE] = ACTIONS(2278),
    [anon_sym_EQ] = ACTIONS(2280),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2282),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2284),
    [anon_sym_COLON] = ACTIONS(2280),
    [anon_sym_COLON_QMARK] = ACTIONS(2280),
    [anon_sym_COLON_DASH] = ACTIONS(2280),
    [anon_sym_PERCENT] = ACTIONS(2280),
    [anon_sym_DASH] = ACTIONS(2280),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [594] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2286),
    [anon_sym_SEMI_SEMI] = ACTIONS(2288),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2290),
    [anon_sym_LF] = ACTIONS(2288),
    [anon_sym_AMP] = ACTIONS(2290),
  },
  [595] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2286),
    [anon_sym_SEMI_SEMI] = ACTIONS(2288),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2290),
    [anon_sym_LF] = ACTIONS(2288),
    [anon_sym_AMP] = ACTIONS(2290),
  },
  [596] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1095),
    [sym_c_style_for_statement] = STATE(1095),
    [sym_while_statement] = STATE(1095),
    [sym_if_statement] = STATE(1095),
    [sym_case_statement] = STATE(1095),
    [sym_function_definition] = STATE(1095),
    [sym_subshell] = STATE(1095),
    [sym_pipeline] = STATE(1095),
    [sym_list] = STATE(1095),
    [sym_negated_command] = STATE(1095),
    [sym_test_command] = STATE(1095),
    [sym_declaration_command] = STATE(1095),
    [sym_unset_command] = STATE(1095),
    [sym_command] = STATE(1095),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1096),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [597] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2292),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2286),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2294),
    [anon_sym_LF] = ACTIONS(2292),
    [anon_sym_AMP] = ACTIONS(2294),
  },
  [598] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2292),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2286),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2294),
    [anon_sym_LF] = ACTIONS(2292),
    [anon_sym_AMP] = ACTIONS(2294),
  },
  [599] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1098),
    [sym_c_style_for_statement] = STATE(1098),
    [sym_while_statement] = STATE(1098),
    [sym_if_statement] = STATE(1098),
    [sym_case_statement] = STATE(1098),
    [sym_function_definition] = STATE(1098),
    [sym_subshell] = STATE(1098),
    [sym_pipeline] = STATE(1098),
    [sym_list] = STATE(1098),
    [sym_negated_command] = STATE(1098),
    [sym_test_command] = STATE(1098),
    [sym_declaration_command] = STATE(1098),
    [sym_unset_command] = STATE(1098),
    [sym_command] = STATE(1098),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1099),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [600] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2296),
    [anon_sym_SEMI_SEMI] = ACTIONS(2298),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2300),
    [anon_sym_LF] = ACTIONS(2298),
    [anon_sym_AMP] = ACTIONS(2300),
  },
  [601] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2296),
    [anon_sym_SEMI_SEMI] = ACTIONS(2298),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2300),
    [anon_sym_LF] = ACTIONS(2298),
    [anon_sym_AMP] = ACTIONS(2300),
  },
  [602] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1102),
    [sym_c_style_for_statement] = STATE(1102),
    [sym_while_statement] = STATE(1102),
    [sym_if_statement] = STATE(1102),
    [sym_case_statement] = STATE(1102),
    [sym_function_definition] = STATE(1102),
    [sym_subshell] = STATE(1102),
    [sym_pipeline] = STATE(1102),
    [sym_list] = STATE(1102),
    [sym_negated_command] = STATE(1102),
    [sym_test_command] = STATE(1102),
    [sym_declaration_command] = STATE(1102),
    [sym_unset_command] = STATE(1102),
    [sym_command] = STATE(1102),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1103),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [603] = {
    [sym__expression] = STATE(1104),
    [sym_binary_expression] = STATE(1104),
    [sym_unary_expression] = STATE(1104),
    [sym_parenthesized_expression] = STATE(1104),
    [sym_concatenation] = STATE(1104),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_SEMI_SEMI] = ACTIONS(2238),
    [anon_sym_LPAREN] = ACTIONS(385),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(389),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(407),
    [anon_sym_SEMI] = ACTIONS(2240),
    [anon_sym_LF] = ACTIONS(2238),
    [anon_sym_AMP] = ACTIONS(2238),
  },
  [604] = {
    [sym__expression] = STATE(1105),
    [sym_binary_expression] = STATE(1105),
    [sym_unary_expression] = STATE(1105),
    [sym_parenthesized_expression] = STATE(1105),
    [sym_concatenation] = STATE(1105),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_LPAREN] = ACTIONS(385),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(389),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(407),
  },
  [605] = {
    [sym__expression] = STATE(1105),
    [sym_binary_expression] = STATE(1105),
    [sym_unary_expression] = STATE(1105),
    [sym_parenthesized_expression] = STATE(1105),
    [sym_concatenation] = STATE(1105),
    [sym_string] = STATE(219),
    [sym_simple_expansion] = STATE(219),
    [sym_string_expansion] = STATE(219),
    [sym_expansion] = STATE(219),
    [sym_command_substitution] = STATE(219),
    [sym_process_substitution] = STATE(219),
    [anon_sym_LPAREN] = ACTIONS(2302),
    [anon_sym_BANG] = ACTIONS(387),
    [sym__special_characters] = ACTIONS(2304),
    [anon_sym_DQUOTE] = ACTIONS(2306),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(405),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2308),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2310),
    [anon_sym_BQUOTE] = ACTIONS(2312),
    [anon_sym_LT_LPAREN] = ACTIONS(2314),
    [anon_sym_GT_LPAREN] = ACTIONS(2314),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(405),
    [sym_test_operator] = ACTIONS(387),
    [sym_regex] = ACTIONS(2316),
  },
  [606] = {
    [aux_sym_concatenation_repeat1] = STATE(1108),
    [sym__concat] = ACTIONS(2318),
    [anon_sym_SEMI_SEMI] = ACTIONS(2124),
    [sym__special_characters] = ACTIONS(2124),
    [anon_sym_DQUOTE] = ACTIONS(2124),
    [anon_sym_DOLLAR] = ACTIONS(2126),
    [sym_raw_string] = ACTIONS(2124),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2124),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2124),
    [anon_sym_BQUOTE] = ACTIONS(2124),
    [anon_sym_LT_LPAREN] = ACTIONS(2124),
    [anon_sym_GT_LPAREN] = ACTIONS(2124),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2126),
    [anon_sym_SEMI] = ACTIONS(2126),
    [anon_sym_LF] = ACTIONS(2124),
    [anon_sym_AMP] = ACTIONS(2124),
  },
  [607] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(1111),
    [anon_sym_DQUOTE] = ACTIONS(2320),
    [anon_sym_DOLLAR] = ACTIONS(2322),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [608] = {
    [sym_string] = STATE(1113),
    [anon_sym_DQUOTE] = ACTIONS(1159),
    [anon_sym_DOLLAR] = ACTIONS(2324),
    [sym_raw_string] = ACTIONS(2326),
    [anon_sym_POUND] = ACTIONS(2324),
    [anon_sym_DASH] = ACTIONS(2324),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2328),
    [anon_sym_STAR] = ACTIONS(2324),
    [anon_sym_AT] = ACTIONS(2324),
    [anon_sym_QMARK] = ACTIONS(2324),
    [anon_sym_0] = ACTIONS(2330),
    [anon_sym__] = ACTIONS(2330),
  },
  [609] = {
    [aux_sym_concatenation_repeat1] = STATE(1108),
    [sym__concat] = ACTIONS(2318),
    [anon_sym_SEMI_SEMI] = ACTIONS(2140),
    [sym__special_characters] = ACTIONS(2140),
    [anon_sym_DQUOTE] = ACTIONS(2140),
    [anon_sym_DOLLAR] = ACTIONS(2142),
    [sym_raw_string] = ACTIONS(2140),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2140),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2140),
    [anon_sym_BQUOTE] = ACTIONS(2140),
    [anon_sym_LT_LPAREN] = ACTIONS(2140),
    [anon_sym_GT_LPAREN] = ACTIONS(2140),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2142),
    [anon_sym_SEMI] = ACTIONS(2142),
    [anon_sym_LF] = ACTIONS(2140),
    [anon_sym_AMP] = ACTIONS(2140),
  },
  [610] = {
    [sym_subscript] = STATE(1119),
    [sym_variable_name] = ACTIONS(2332),
    [anon_sym_BANG] = ACTIONS(2334),
    [anon_sym_DOLLAR] = ACTIONS(2336),
    [anon_sym_POUND] = ACTIONS(2334),
    [anon_sym_DASH] = ACTIONS(2336),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2338),
    [anon_sym_STAR] = ACTIONS(2336),
    [anon_sym_AT] = ACTIONS(2336),
    [anon_sym_QMARK] = ACTIONS(2336),
    [anon_sym_0] = ACTIONS(2340),
    [anon_sym__] = ACTIONS(2340),
  },
  [611] = {
    [sym__terminated_statement] = STATE(1122),
    [sym_for_statement] = STATE(1120),
    [sym_c_style_for_statement] = STATE(1120),
    [sym_while_statement] = STATE(1120),
    [sym_if_statement] = STATE(1120),
    [sym_case_statement] = STATE(1120),
    [sym_function_definition] = STATE(1120),
    [sym_subshell] = STATE(1120),
    [sym_pipeline] = STATE(1120),
    [sym_list] = STATE(1120),
    [sym_negated_command] = STATE(1120),
    [sym_test_command] = STATE(1120),
    [sym_declaration_command] = STATE(1120),
    [sym_unset_command] = STATE(1120),
    [sym_command] = STATE(1120),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1121),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1122),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [612] = {
    [sym__terminated_statement] = STATE(1125),
    [sym_for_statement] = STATE(1123),
    [sym_c_style_for_statement] = STATE(1123),
    [sym_while_statement] = STATE(1123),
    [sym_if_statement] = STATE(1123),
    [sym_case_statement] = STATE(1123),
    [sym_function_definition] = STATE(1123),
    [sym_subshell] = STATE(1123),
    [sym_pipeline] = STATE(1123),
    [sym_list] = STATE(1123),
    [sym_negated_command] = STATE(1123),
    [sym_test_command] = STATE(1123),
    [sym_declaration_command] = STATE(1123),
    [sym_unset_command] = STATE(1123),
    [sym_command] = STATE(1123),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1124),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1125),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [613] = {
    [sym__terminated_statement] = STATE(1128),
    [sym_for_statement] = STATE(1126),
    [sym_c_style_for_statement] = STATE(1126),
    [sym_while_statement] = STATE(1126),
    [sym_if_statement] = STATE(1126),
    [sym_case_statement] = STATE(1126),
    [sym_function_definition] = STATE(1126),
    [sym_subshell] = STATE(1126),
    [sym_pipeline] = STATE(1126),
    [sym_list] = STATE(1126),
    [sym_negated_command] = STATE(1126),
    [sym_test_command] = STATE(1126),
    [sym_declaration_command] = STATE(1126),
    [sym_unset_command] = STATE(1126),
    [sym_command] = STATE(1126),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1127),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1128),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [614] = {
    [sym_concatenation] = STATE(1130),
    [sym_string] = STATE(609),
    [sym_simple_expansion] = STATE(609),
    [sym_string_expansion] = STATE(609),
    [sym_expansion] = STATE(609),
    [sym_command_substitution] = STATE(609),
    [sym_process_substitution] = STATE(609),
    [aux_sym_for_statement_repeat1] = STATE(1130),
    [anon_sym_SEMI_SEMI] = ACTIONS(2342),
    [sym__special_characters] = ACTIONS(1157),
    [anon_sym_DQUOTE] = ACTIONS(1159),
    [anon_sym_DOLLAR] = ACTIONS(1161),
    [sym_raw_string] = ACTIONS(1163),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1165),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1167),
    [anon_sym_BQUOTE] = ACTIONS(1169),
    [anon_sym_LT_LPAREN] = ACTIONS(1171),
    [anon_sym_GT_LPAREN] = ACTIONS(1171),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2344),
    [anon_sym_SEMI] = ACTIONS(2346),
    [anon_sym_LF] = ACTIONS(2342),
    [anon_sym_AMP] = ACTIONS(2342),
  },
  [615] = {
    [sym__terminated_statement] = STATE(1132),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1132),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_done] = ACTIONS(2348),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [616] = {
    [ts_builtin_sym_end] = ACTIONS(2350),
    [anon_sym_esac] = ACTIONS(2350),
    [anon_sym_PIPE] = ACTIONS(2352),
    [anon_sym_RPAREN] = ACTIONS(2350),
    [anon_sym_SEMI_SEMI] = ACTIONS(2350),
    [anon_sym_PIPE_AMP] = ACTIONS(2350),
    [anon_sym_AMP_AMP] = ACTIONS(2350),
    [anon_sym_PIPE_PIPE] = ACTIONS(2350),
    [anon_sym_BQUOTE] = ACTIONS(2350),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2352),
    [anon_sym_LF] = ACTIONS(2350),
    [anon_sym_AMP] = ACTIONS(2352),
  },
  [617] = {
    [aux_sym_concatenation_repeat1] = STATE(1133),
    [sym_file_descriptor] = ACTIONS(1091),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [anon_sym_LT] = ACTIONS(1095),
    [anon_sym_GT] = ACTIONS(1095),
    [anon_sym_GT_GT] = ACTIONS(1091),
    [anon_sym_AMP_GT] = ACTIONS(1095),
    [anon_sym_AMP_GT_GT] = ACTIONS(1091),
    [anon_sym_LT_AMP] = ACTIONS(1091),
    [anon_sym_GT_AMP] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [618] = {
    [aux_sym_concatenation_repeat1] = STATE(1133),
    [sym_file_descriptor] = ACTIONS(1069),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [619] = {
    [sym_file_redirect] = STATE(1134),
    [sym_heredoc_redirect] = STATE(1134),
    [sym_heredoc_body] = STATE(632),
    [sym_herestring_redirect] = STATE(1134),
    [aux_sym_while_statement_repeat1] = STATE(1134),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(1191),
    [anon_sym_SEMI_SEMI] = ACTIONS(1189),
    [anon_sym_PIPE_AMP] = ACTIONS(1189),
    [anon_sym_AMP_AMP] = ACTIONS(1189),
    [anon_sym_PIPE_PIPE] = ACTIONS(1189),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1191),
    [anon_sym_LF] = ACTIONS(1189),
    [anon_sym_AMP] = ACTIONS(1191),
  },
  [620] = {
    [anon_sym_RPAREN] = ACTIONS(2354),
    [sym_comment] = ACTIONS(53),
  },
  [621] = {
    [sym_file_redirect] = STATE(694),
    [sym_file_descriptor] = ACTIONS(2356),
    [anon_sym_PIPE] = ACTIONS(1291),
    [anon_sym_SEMI_SEMI] = ACTIONS(1289),
    [anon_sym_PIPE_AMP] = ACTIONS(1289),
    [anon_sym_AMP_AMP] = ACTIONS(1289),
    [anon_sym_PIPE_PIPE] = ACTIONS(1289),
    [anon_sym_LT] = ACTIONS(2358),
    [anon_sym_GT] = ACTIONS(2358),
    [anon_sym_GT_GT] = ACTIONS(2360),
    [anon_sym_AMP_GT] = ACTIONS(2358),
    [anon_sym_AMP_GT_GT] = ACTIONS(2360),
    [anon_sym_LT_AMP] = ACTIONS(2360),
    [anon_sym_GT_AMP] = ACTIONS(2360),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1291),
    [anon_sym_LF] = ACTIONS(1289),
    [anon_sym_AMP] = ACTIONS(1291),
  },
  [622] = {
    [sym_file_redirect] = STATE(1141),
    [sym_heredoc_redirect] = STATE(1141),
    [sym_herestring_redirect] = STATE(1141),
    [aux_sym_while_statement_repeat1] = STATE(1141),
    [sym_file_descriptor] = ACTIONS(2362),
    [anon_sym_PIPE] = ACTIONS(1413),
    [anon_sym_SEMI_SEMI] = ACTIONS(1411),
    [anon_sym_PIPE_AMP] = ACTIONS(1411),
    [anon_sym_AMP_AMP] = ACTIONS(1411),
    [anon_sym_PIPE_PIPE] = ACTIONS(1411),
    [anon_sym_LT] = ACTIONS(2364),
    [anon_sym_GT] = ACTIONS(2364),
    [anon_sym_GT_GT] = ACTIONS(2366),
    [anon_sym_AMP_GT] = ACTIONS(2364),
    [anon_sym_AMP_GT_GT] = ACTIONS(2366),
    [anon_sym_LT_AMP] = ACTIONS(2366),
    [anon_sym_GT_AMP] = ACTIONS(2366),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(2368),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1413),
    [anon_sym_LF] = ACTIONS(1411),
    [anon_sym_AMP] = ACTIONS(1413),
  },
  [623] = {
    [sym_concatenation] = STATE(800),
    [sym_string] = STATE(1143),
    [sym_array] = STATE(800),
    [sym_simple_expansion] = STATE(1143),
    [sym_string_expansion] = STATE(1143),
    [sym_expansion] = STATE(1143),
    [sym_command_substitution] = STATE(1143),
    [sym_process_substitution] = STATE(1143),
    [sym__empty_value] = ACTIONS(1515),
    [anon_sym_LPAREN] = ACTIONS(1517),
    [sym__special_characters] = ACTIONS(2370),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(2372),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2372),
  },
  [624] = {
    [aux_sym_concatenation_repeat1] = STATE(1144),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [625] = {
    [sym_variable_assignment] = STATE(625),
    [sym_subscript] = STATE(235),
    [sym_concatenation] = STATE(625),
    [sym_string] = STATE(234),
    [sym_simple_expansion] = STATE(234),
    [sym_string_expansion] = STATE(234),
    [sym_expansion] = STATE(234),
    [sym_command_substitution] = STATE(234),
    [sym_process_substitution] = STATE(234),
    [aux_sym_declaration_command_repeat1] = STATE(625),
    [sym_variable_name] = ACTIONS(2374),
    [anon_sym_PIPE] = ACTIONS(1584),
    [anon_sym_SEMI_SEMI] = ACTIONS(1582),
    [anon_sym_PIPE_AMP] = ACTIONS(1582),
    [anon_sym_AMP_AMP] = ACTIONS(1582),
    [anon_sym_PIPE_PIPE] = ACTIONS(1582),
    [sym__special_characters] = ACTIONS(2377),
    [anon_sym_DQUOTE] = ACTIONS(1589),
    [anon_sym_DOLLAR] = ACTIONS(1592),
    [sym_raw_string] = ACTIONS(2380),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1598),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1601),
    [anon_sym_BQUOTE] = ACTIONS(1604),
    [anon_sym_LT_LPAREN] = ACTIONS(1607),
    [anon_sym_GT_LPAREN] = ACTIONS(1607),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1610),
    [sym_word] = ACTIONS(2383),
    [anon_sym_SEMI] = ACTIONS(1584),
    [anon_sym_LF] = ACTIONS(1582),
    [anon_sym_AMP] = ACTIONS(1584),
  },
  [626] = {
    [aux_sym_concatenation_repeat1] = STATE(1145),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [627] = {
    [sym_concatenation] = STATE(627),
    [sym_string] = STATE(238),
    [sym_simple_expansion] = STATE(238),
    [sym_string_expansion] = STATE(238),
    [sym_expansion] = STATE(238),
    [sym_command_substitution] = STATE(238),
    [sym_process_substitution] = STATE(238),
    [aux_sym_unset_command_repeat1] = STATE(627),
    [anon_sym_PIPE] = ACTIONS(1674),
    [anon_sym_SEMI_SEMI] = ACTIONS(1672),
    [anon_sym_PIPE_AMP] = ACTIONS(1672),
    [anon_sym_AMP_AMP] = ACTIONS(1672),
    [anon_sym_PIPE_PIPE] = ACTIONS(1672),
    [sym__special_characters] = ACTIONS(2386),
    [anon_sym_DQUOTE] = ACTIONS(1679),
    [anon_sym_DOLLAR] = ACTIONS(1682),
    [sym_raw_string] = ACTIONS(2389),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1688),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1691),
    [anon_sym_BQUOTE] = ACTIONS(1694),
    [anon_sym_LT_LPAREN] = ACTIONS(1697),
    [anon_sym_GT_LPAREN] = ACTIONS(1697),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1700),
    [sym_word] = ACTIONS(2392),
    [anon_sym_SEMI] = ACTIONS(1674),
    [anon_sym_LF] = ACTIONS(1672),
    [anon_sym_AMP] = ACTIONS(1674),
  },
  [628] = {
    [aux_sym_concatenation_repeat1] = STATE(628),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [629] = {
    [sym_compound_statement] = STATE(1146),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [630] = {
    [sym__simple_heredoc_body] = ACTIONS(2395),
    [sym__heredoc_body_beginning] = ACTIONS(2395),
    [sym_file_descriptor] = ACTIONS(2395),
    [ts_builtin_sym_end] = ACTIONS(2395),
    [anon_sym_esac] = ACTIONS(2395),
    [anon_sym_PIPE] = ACTIONS(2397),
    [anon_sym_RPAREN] = ACTIONS(2395),
    [anon_sym_SEMI_SEMI] = ACTIONS(2395),
    [anon_sym_PIPE_AMP] = ACTIONS(2395),
    [anon_sym_AMP_AMP] = ACTIONS(2395),
    [anon_sym_PIPE_PIPE] = ACTIONS(2395),
    [anon_sym_LT] = ACTIONS(2397),
    [anon_sym_GT] = ACTIONS(2397),
    [anon_sym_GT_GT] = ACTIONS(2395),
    [anon_sym_AMP_GT] = ACTIONS(2397),
    [anon_sym_AMP_GT_GT] = ACTIONS(2395),
    [anon_sym_LT_AMP] = ACTIONS(2395),
    [anon_sym_GT_AMP] = ACTIONS(2395),
    [anon_sym_LT_LT] = ACTIONS(2397),
    [anon_sym_LT_LT_DASH] = ACTIONS(2395),
    [anon_sym_LT_LT_LT] = ACTIONS(2395),
    [anon_sym_BQUOTE] = ACTIONS(2395),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2397),
    [anon_sym_LF] = ACTIONS(2395),
    [anon_sym_AMP] = ACTIONS(2397),
  },
  [631] = {
    [sym__terminated_statement] = STATE(1148),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1148),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_done] = ACTIONS(2399),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [632] = {
    [ts_builtin_sym_end] = ACTIONS(2401),
    [anon_sym_esac] = ACTIONS(2401),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_RPAREN] = ACTIONS(2401),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_BQUOTE] = ACTIONS(2401),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [633] = {
    [sym_file_redirect] = STATE(532),
    [sym_heredoc_redirect] = STATE(532),
    [sym_heredoc_body] = STATE(1149),
    [sym_herestring_redirect] = STATE(532),
    [aux_sym_while_statement_repeat1] = STATE(532),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(2401),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [634] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [635] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [636] = {
    [sym_concatenation] = STATE(998),
    [sym_string] = STATE(1151),
    [sym_simple_expansion] = STATE(1151),
    [sym_string_expansion] = STATE(1151),
    [sym_expansion] = STATE(1151),
    [sym_command_substitution] = STATE(1151),
    [sym_process_substitution] = STATE(1151),
    [sym__special_characters] = ACTIONS(2405),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(2407),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2407),
  },
  [637] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(2022),
    [sym__heredoc_body_beginning] = ACTIONS(2022),
    [sym_file_descriptor] = ACTIONS(2022),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2024),
    [anon_sym_SEMI_SEMI] = ACTIONS(2022),
    [anon_sym_PIPE_AMP] = ACTIONS(2022),
    [anon_sym_AMP_AMP] = ACTIONS(2022),
    [anon_sym_PIPE_PIPE] = ACTIONS(2022),
    [anon_sym_EQ_TILDE] = ACTIONS(2024),
    [anon_sym_EQ_EQ] = ACTIONS(2024),
    [anon_sym_LT] = ACTIONS(2024),
    [anon_sym_GT] = ACTIONS(2024),
    [anon_sym_GT_GT] = ACTIONS(2022),
    [anon_sym_AMP_GT] = ACTIONS(2024),
    [anon_sym_AMP_GT_GT] = ACTIONS(2022),
    [anon_sym_LT_AMP] = ACTIONS(2022),
    [anon_sym_GT_AMP] = ACTIONS(2022),
    [anon_sym_LT_LT] = ACTIONS(2024),
    [anon_sym_LT_LT_DASH] = ACTIONS(2022),
    [anon_sym_LT_LT_LT] = ACTIONS(2022),
    [sym__special_characters] = ACTIONS(2022),
    [anon_sym_DQUOTE] = ACTIONS(2022),
    [anon_sym_DOLLAR] = ACTIONS(2024),
    [sym_raw_string] = ACTIONS(2022),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2022),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2022),
    [anon_sym_BQUOTE] = ACTIONS(2022),
    [anon_sym_LT_LPAREN] = ACTIONS(2022),
    [anon_sym_GT_LPAREN] = ACTIONS(2022),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2024),
    [anon_sym_SEMI] = ACTIONS(2024),
    [anon_sym_LF] = ACTIONS(2022),
    [anon_sym_AMP] = ACTIONS(2024),
  },
  [638] = {
    [aux_sym_concatenation_repeat1] = STATE(240),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [639] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(727),
    [sym__heredoc_body_beginning] = ACTIONS(727),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [640] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [641] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(2034),
    [sym__heredoc_body_beginning] = ACTIONS(2034),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [642] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [643] = {
    [sym_file_redirect] = STATE(643),
    [sym_heredoc_redirect] = STATE(643),
    [sym_herestring_redirect] = STATE(643),
    [aux_sym_while_statement_repeat1] = STATE(643),
    [sym__simple_heredoc_body] = ACTIONS(2046),
    [sym__heredoc_body_beginning] = ACTIONS(2046),
    [sym_file_descriptor] = ACTIONS(2409),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(2412),
    [anon_sym_GT] = ACTIONS(2412),
    [anon_sym_GT_GT] = ACTIONS(2415),
    [anon_sym_AMP_GT] = ACTIONS(2412),
    [anon_sym_AMP_GT_GT] = ACTIONS(2415),
    [anon_sym_LT_AMP] = ACTIONS(2415),
    [anon_sym_GT_AMP] = ACTIONS(2415),
    [anon_sym_LT_LT] = ACTIONS(2059),
    [anon_sym_LT_LT_DASH] = ACTIONS(2062),
    [anon_sym_LT_LT_LT] = ACTIONS(2418),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [644] = {
    [sym_file_redirect] = STATE(643),
    [sym_heredoc_redirect] = STATE(643),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(643),
    [aux_sym_while_statement_repeat1] = STATE(643),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [645] = {
    [sym_concatenation] = STATE(645),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_command_repeat2] = STATE(645),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2421),
    [anon_sym_EQ_EQ] = ACTIONS(2421),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2424),
    [anon_sym_DQUOTE] = ACTIONS(2074),
    [anon_sym_DOLLAR] = ACTIONS(2077),
    [sym_raw_string] = ACTIONS(2427),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2086),
    [anon_sym_BQUOTE] = ACTIONS(2089),
    [anon_sym_LT_LPAREN] = ACTIONS(2092),
    [anon_sym_GT_LPAREN] = ACTIONS(2092),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2430),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [646] = {
    [sym_file_redirect] = STATE(1153),
    [sym_heredoc_redirect] = STATE(1153),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(1153),
    [sym_concatenation] = STATE(645),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(1153),
    [aux_sym_command_repeat2] = STATE(645),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [647] = {
    [ts_builtin_sym_end] = ACTIONS(2433),
    [anon_sym_esac] = ACTIONS(2433),
    [anon_sym_PIPE] = ACTIONS(2435),
    [anon_sym_RPAREN] = ACTIONS(2433),
    [anon_sym_SEMI_SEMI] = ACTIONS(2433),
    [anon_sym_PIPE_AMP] = ACTIONS(2433),
    [anon_sym_AMP_AMP] = ACTIONS(2433),
    [anon_sym_PIPE_PIPE] = ACTIONS(2433),
    [anon_sym_BQUOTE] = ACTIONS(2433),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2435),
    [anon_sym_LF] = ACTIONS(2433),
    [anon_sym_AMP] = ACTIONS(2435),
  },
  [648] = {
    [sym__terminated_statement] = STATE(1154),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [649] = {
    [sym__terminated_statement] = STATE(1155),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1155),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(2437),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [650] = {
    [anon_sym_fi] = ACTIONS(2439),
    [anon_sym_elif] = ACTIONS(2439),
    [anon_sym_else] = ACTIONS(2439),
    [sym_comment] = ACTIONS(53),
  },
  [651] = {
    [anon_sym_fi] = ACTIONS(2441),
    [sym_comment] = ACTIONS(53),
  },
  [652] = {
    [sym__terminated_statement] = STATE(1158),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_elif_clause] = STATE(650),
    [sym_else_clause] = STATE(1157),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1158),
    [aux_sym_if_statement_repeat1] = STATE(1159),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(2443),
    [anon_sym_elif] = ACTIONS(1211),
    [anon_sym_else] = ACTIONS(1213),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [653] = {
    [sym_elif_clause] = STATE(650),
    [sym_else_clause] = STATE(1157),
    [aux_sym_if_statement_repeat1] = STATE(1160),
    [anon_sym_fi] = ACTIONS(2441),
    [anon_sym_elif] = ACTIONS(2445),
    [anon_sym_else] = ACTIONS(2447),
    [sym_comment] = ACTIONS(53),
  },
  [654] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_in] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1762),
  },
  [655] = {
    [sym_case_item] = STATE(1166),
    [sym_last_case_item] = STATE(1164),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1166),
    [anon_sym_esac] = ACTIONS(2449),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2455),
  },
  [656] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2459),
    [anon_sym_LF] = ACTIONS(2457),
    [anon_sym_AMP] = ACTIONS(2457),
  },
  [657] = {
    [aux_sym_concatenation_repeat1] = STATE(657),
    [sym__concat] = ACTIONS(2461),
    [anon_sym_in] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1762),
  },
  [658] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_in] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1769),
  },
  [659] = {
    [anon_sym_DQUOTE] = ACTIONS(2464),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [660] = {
    [sym_case_item] = STATE(1171),
    [sym_last_case_item] = STATE(1170),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1171),
    [anon_sym_esac] = ACTIONS(2466),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2455),
  },
  [661] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2468),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2470),
    [anon_sym_LF] = ACTIONS(2468),
    [anon_sym_AMP] = ACTIONS(2468),
  },
  [662] = {
    [sym_concatenation] = STATE(1176),
    [sym_string] = STATE(1175),
    [sym_simple_expansion] = STATE(1175),
    [sym_string_expansion] = STATE(1175),
    [sym_expansion] = STATE(1175),
    [sym_command_substitution] = STATE(1175),
    [sym_process_substitution] = STATE(1175),
    [anon_sym_RBRACE] = ACTIONS(2472),
    [sym__special_characters] = ACTIONS(2474),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2476),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2476),
  },
  [663] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2478),
    [sym_comment] = ACTIONS(53),
  },
  [664] = {
    [sym_concatenation] = STATE(1180),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1180),
    [anon_sym_RBRACE] = ACTIONS(2480),
    [anon_sym_EQ] = ACTIONS(2482),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2484),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2486),
    [anon_sym_COLON] = ACTIONS(2482),
    [anon_sym_COLON_QMARK] = ACTIONS(2482),
    [anon_sym_COLON_DASH] = ACTIONS(2482),
    [anon_sym_PERCENT] = ACTIONS(2482),
    [anon_sym_DASH] = ACTIONS(2482),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [665] = {
    [sym_concatenation] = STATE(1183),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1183),
    [anon_sym_RBRACE] = ACTIONS(2488),
    [anon_sym_EQ] = ACTIONS(2490),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2492),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2494),
    [anon_sym_COLON] = ACTIONS(2490),
    [anon_sym_COLON_QMARK] = ACTIONS(2490),
    [anon_sym_COLON_DASH] = ACTIONS(2490),
    [anon_sym_PERCENT] = ACTIONS(2490),
    [anon_sym_DASH] = ACTIONS(2490),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [666] = {
    [sym_concatenation] = STATE(1185),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1185),
    [anon_sym_RBRACE] = ACTIONS(2472),
    [anon_sym_EQ] = ACTIONS(2496),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2498),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2500),
    [anon_sym_COLON] = ACTIONS(2496),
    [anon_sym_COLON_QMARK] = ACTIONS(2496),
    [anon_sym_COLON_DASH] = ACTIONS(2496),
    [anon_sym_PERCENT] = ACTIONS(2496),
    [anon_sym_DASH] = ACTIONS(2496),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [667] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_in] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1886),
  },
  [668] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2502),
  },
  [669] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2504),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [670] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_in] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1930),
  },
  [671] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2506),
  },
  [672] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2508),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [673] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_in] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1938),
  },
  [674] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2510),
  },
  [675] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2472),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [676] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_in] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1944),
  },
  [677] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2512),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [678] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2512),
    [anon_sym_SEMI_SEMI] = ACTIONS(2514),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2516),
    [anon_sym_LF] = ACTIONS(2514),
    [anon_sym_AMP] = ACTIONS(2516),
  },
  [679] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2512),
    [anon_sym_SEMI_SEMI] = ACTIONS(2514),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2516),
    [anon_sym_LF] = ACTIONS(2514),
    [anon_sym_AMP] = ACTIONS(2516),
  },
  [680] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2512),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [681] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2518),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2512),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2520),
    [anon_sym_LF] = ACTIONS(2518),
    [anon_sym_AMP] = ACTIONS(2520),
  },
  [682] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2518),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2512),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2520),
    [anon_sym_LF] = ACTIONS(2518),
    [anon_sym_AMP] = ACTIONS(2520),
  },
  [683] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_in] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1976),
  },
  [684] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2522),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [685] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2522),
    [anon_sym_SEMI_SEMI] = ACTIONS(2524),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2526),
    [anon_sym_LF] = ACTIONS(2524),
    [anon_sym_AMP] = ACTIONS(2526),
  },
  [686] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2522),
    [anon_sym_SEMI_SEMI] = ACTIONS(2524),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2526),
    [anon_sym_LF] = ACTIONS(2524),
    [anon_sym_AMP] = ACTIONS(2526),
  },
  [687] = {
    [sym_compound_statement] = STATE(1196),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [688] = {
    [sym_file_descriptor] = ACTIONS(2528),
    [ts_builtin_sym_end] = ACTIONS(2528),
    [anon_sym_esac] = ACTIONS(2528),
    [anon_sym_PIPE] = ACTIONS(2530),
    [anon_sym_RPAREN] = ACTIONS(2528),
    [anon_sym_SEMI_SEMI] = ACTIONS(2528),
    [anon_sym_PIPE_AMP] = ACTIONS(2528),
    [anon_sym_AMP_AMP] = ACTIONS(2528),
    [anon_sym_PIPE_PIPE] = ACTIONS(2528),
    [anon_sym_LT] = ACTIONS(2530),
    [anon_sym_GT] = ACTIONS(2530),
    [anon_sym_GT_GT] = ACTIONS(2528),
    [anon_sym_AMP_GT] = ACTIONS(2530),
    [anon_sym_AMP_GT_GT] = ACTIONS(2528),
    [anon_sym_LT_AMP] = ACTIONS(2528),
    [anon_sym_GT_AMP] = ACTIONS(2528),
    [anon_sym_BQUOTE] = ACTIONS(2528),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2530),
    [anon_sym_LF] = ACTIONS(2528),
    [anon_sym_AMP] = ACTIONS(2530),
  },
  [689] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(2532),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2534),
    [anon_sym_LF] = ACTIONS(2532),
    [anon_sym_AMP] = ACTIONS(2534),
  },
  [690] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(2532),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2534),
    [anon_sym_LF] = ACTIONS(2532),
    [anon_sym_AMP] = ACTIONS(2534),
  },
  [691] = {
    [sym__terminated_statement] = STATE(1199),
    [sym_for_statement] = STATE(689),
    [sym_c_style_for_statement] = STATE(689),
    [sym_while_statement] = STATE(689),
    [sym_if_statement] = STATE(689),
    [sym_case_statement] = STATE(689),
    [sym_function_definition] = STATE(689),
    [sym_subshell] = STATE(689),
    [sym_pipeline] = STATE(689),
    [sym_list] = STATE(689),
    [sym_negated_command] = STATE(689),
    [sym_test_command] = STATE(689),
    [sym_declaration_command] = STATE(689),
    [sym_unset_command] = STATE(689),
    [sym_command] = STATE(689),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(690),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1199),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_RBRACE] = ACTIONS(2536),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [692] = {
    [anon_sym_LT] = ACTIONS(2538),
    [anon_sym_GT] = ACTIONS(2538),
    [anon_sym_GT_GT] = ACTIONS(2540),
    [anon_sym_AMP_GT] = ACTIONS(2538),
    [anon_sym_AMP_GT_GT] = ACTIONS(2540),
    [anon_sym_LT_AMP] = ACTIONS(2540),
    [anon_sym_GT_AMP] = ACTIONS(2540),
    [sym_comment] = ACTIONS(53),
  },
  [693] = {
    [sym_concatenation] = STATE(1203),
    [sym_string] = STATE(1202),
    [sym_simple_expansion] = STATE(1202),
    [sym_string_expansion] = STATE(1202),
    [sym_expansion] = STATE(1202),
    [sym_command_substitution] = STATE(1202),
    [sym_process_substitution] = STATE(1202),
    [sym__special_characters] = ACTIONS(2542),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(2544),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2544),
  },
  [694] = {
    [ts_builtin_sym_end] = ACTIONS(2546),
    [anon_sym_esac] = ACTIONS(2546),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_RPAREN] = ACTIONS(2546),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_BQUOTE] = ACTIONS(2546),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [695] = {
    [aux_sym_concatenation_repeat1] = STATE(1204),
    [sym_file_descriptor] = ACTIONS(1091),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_RPAREN] = ACTIONS(1091),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [anon_sym_LT] = ACTIONS(1095),
    [anon_sym_GT] = ACTIONS(1095),
    [anon_sym_GT_GT] = ACTIONS(1091),
    [anon_sym_AMP_GT] = ACTIONS(1095),
    [anon_sym_AMP_GT_GT] = ACTIONS(1091),
    [anon_sym_LT_AMP] = ACTIONS(1091),
    [anon_sym_GT_AMP] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [696] = {
    [aux_sym_concatenation_repeat1] = STATE(1204),
    [sym_file_descriptor] = ACTIONS(1069),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_RPAREN] = ACTIONS(1069),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [697] = {
    [sym_file_redirect] = STATE(1205),
    [sym_heredoc_redirect] = STATE(1205),
    [sym_heredoc_body] = STATE(632),
    [sym_herestring_redirect] = STATE(1205),
    [aux_sym_while_statement_repeat1] = STATE(1205),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(1191),
    [anon_sym_RPAREN] = ACTIONS(1189),
    [anon_sym_SEMI_SEMI] = ACTIONS(1189),
    [anon_sym_PIPE_AMP] = ACTIONS(1189),
    [anon_sym_AMP_AMP] = ACTIONS(1189),
    [anon_sym_PIPE_PIPE] = ACTIONS(1189),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1191),
    [anon_sym_LF] = ACTIONS(1189),
    [anon_sym_AMP] = ACTIONS(1191),
  },
  [698] = {
    [anon_sym_RPAREN] = ACTIONS(2550),
    [sym_comment] = ACTIONS(53),
  },
  [699] = {
    [sym_file_redirect] = STATE(694),
    [sym_file_descriptor] = ACTIONS(2552),
    [anon_sym_PIPE] = ACTIONS(1291),
    [anon_sym_RPAREN] = ACTIONS(1289),
    [anon_sym_SEMI_SEMI] = ACTIONS(1289),
    [anon_sym_PIPE_AMP] = ACTIONS(1289),
    [anon_sym_AMP_AMP] = ACTIONS(1289),
    [anon_sym_PIPE_PIPE] = ACTIONS(1289),
    [anon_sym_LT] = ACTIONS(2554),
    [anon_sym_GT] = ACTIONS(2554),
    [anon_sym_GT_GT] = ACTIONS(2556),
    [anon_sym_AMP_GT] = ACTIONS(2554),
    [anon_sym_AMP_GT_GT] = ACTIONS(2556),
    [anon_sym_LT_AMP] = ACTIONS(2556),
    [anon_sym_GT_AMP] = ACTIONS(2556),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1291),
    [anon_sym_LF] = ACTIONS(1289),
    [anon_sym_AMP] = ACTIONS(1291),
  },
  [700] = {
    [sym_file_redirect] = STATE(1212),
    [sym_heredoc_redirect] = STATE(1212),
    [sym_herestring_redirect] = STATE(1212),
    [aux_sym_while_statement_repeat1] = STATE(1212),
    [sym_file_descriptor] = ACTIONS(2558),
    [anon_sym_PIPE] = ACTIONS(1413),
    [anon_sym_RPAREN] = ACTIONS(1411),
    [anon_sym_SEMI_SEMI] = ACTIONS(1411),
    [anon_sym_PIPE_AMP] = ACTIONS(1411),
    [anon_sym_AMP_AMP] = ACTIONS(1411),
    [anon_sym_PIPE_PIPE] = ACTIONS(1411),
    [anon_sym_LT] = ACTIONS(2560),
    [anon_sym_GT] = ACTIONS(2560),
    [anon_sym_GT_GT] = ACTIONS(2562),
    [anon_sym_AMP_GT] = ACTIONS(2560),
    [anon_sym_AMP_GT_GT] = ACTIONS(2562),
    [anon_sym_LT_AMP] = ACTIONS(2562),
    [anon_sym_GT_AMP] = ACTIONS(2562),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(2564),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1413),
    [anon_sym_LF] = ACTIONS(1411),
    [anon_sym_AMP] = ACTIONS(1413),
  },
  [701] = {
    [sym_concatenation] = STATE(800),
    [sym_string] = STATE(1214),
    [sym_array] = STATE(800),
    [sym_simple_expansion] = STATE(1214),
    [sym_string_expansion] = STATE(1214),
    [sym_expansion] = STATE(1214),
    [sym_command_substitution] = STATE(1214),
    [sym_process_substitution] = STATE(1214),
    [sym__empty_value] = ACTIONS(1515),
    [anon_sym_LPAREN] = ACTIONS(1517),
    [sym__special_characters] = ACTIONS(2566),
    [anon_sym_DQUOTE] = ACTIONS(189),
    [anon_sym_DOLLAR] = ACTIONS(191),
    [sym_raw_string] = ACTIONS(2568),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(195),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(197),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(201),
    [anon_sym_GT_LPAREN] = ACTIONS(201),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2568),
  },
  [702] = {
    [aux_sym_concatenation_repeat1] = STATE(1215),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [703] = {
    [sym_variable_assignment] = STATE(703),
    [sym_subscript] = STATE(294),
    [sym_concatenation] = STATE(703),
    [sym_string] = STATE(293),
    [sym_simple_expansion] = STATE(293),
    [sym_string_expansion] = STATE(293),
    [sym_expansion] = STATE(293),
    [sym_command_substitution] = STATE(293),
    [sym_process_substitution] = STATE(293),
    [aux_sym_declaration_command_repeat1] = STATE(703),
    [sym_variable_name] = ACTIONS(2570),
    [anon_sym_PIPE] = ACTIONS(1584),
    [anon_sym_RPAREN] = ACTIONS(1582),
    [anon_sym_SEMI_SEMI] = ACTIONS(1582),
    [anon_sym_PIPE_AMP] = ACTIONS(1582),
    [anon_sym_AMP_AMP] = ACTIONS(1582),
    [anon_sym_PIPE_PIPE] = ACTIONS(1582),
    [sym__special_characters] = ACTIONS(2573),
    [anon_sym_DQUOTE] = ACTIONS(1589),
    [anon_sym_DOLLAR] = ACTIONS(1592),
    [sym_raw_string] = ACTIONS(2576),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1598),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1601),
    [anon_sym_BQUOTE] = ACTIONS(1604),
    [anon_sym_LT_LPAREN] = ACTIONS(1607),
    [anon_sym_GT_LPAREN] = ACTIONS(1607),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1610),
    [sym_word] = ACTIONS(2579),
    [anon_sym_SEMI] = ACTIONS(1584),
    [anon_sym_LF] = ACTIONS(1582),
    [anon_sym_AMP] = ACTIONS(1584),
  },
  [704] = {
    [aux_sym_concatenation_repeat1] = STATE(1216),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [705] = {
    [sym_concatenation] = STATE(705),
    [sym_string] = STATE(297),
    [sym_simple_expansion] = STATE(297),
    [sym_string_expansion] = STATE(297),
    [sym_expansion] = STATE(297),
    [sym_command_substitution] = STATE(297),
    [sym_process_substitution] = STATE(297),
    [aux_sym_unset_command_repeat1] = STATE(705),
    [anon_sym_PIPE] = ACTIONS(1674),
    [anon_sym_RPAREN] = ACTIONS(1672),
    [anon_sym_SEMI_SEMI] = ACTIONS(1672),
    [anon_sym_PIPE_AMP] = ACTIONS(1672),
    [anon_sym_AMP_AMP] = ACTIONS(1672),
    [anon_sym_PIPE_PIPE] = ACTIONS(1672),
    [sym__special_characters] = ACTIONS(2582),
    [anon_sym_DQUOTE] = ACTIONS(1679),
    [anon_sym_DOLLAR] = ACTIONS(1682),
    [sym_raw_string] = ACTIONS(2585),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1688),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1691),
    [anon_sym_BQUOTE] = ACTIONS(1694),
    [anon_sym_LT_LPAREN] = ACTIONS(1697),
    [anon_sym_GT_LPAREN] = ACTIONS(1697),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1700),
    [sym_word] = ACTIONS(2588),
    [anon_sym_SEMI] = ACTIONS(1674),
    [anon_sym_LF] = ACTIONS(1672),
    [anon_sym_AMP] = ACTIONS(1674),
  },
  [706] = {
    [aux_sym_concatenation_repeat1] = STATE(706),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [707] = {
    [sym_compound_statement] = STATE(1217),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [708] = {
    [ts_builtin_sym_end] = ACTIONS(2591),
    [anon_sym_esac] = ACTIONS(2591),
    [anon_sym_PIPE] = ACTIONS(2593),
    [anon_sym_RPAREN] = ACTIONS(2591),
    [anon_sym_SEMI_SEMI] = ACTIONS(2591),
    [anon_sym_PIPE_AMP] = ACTIONS(2591),
    [anon_sym_AMP_AMP] = ACTIONS(2591),
    [anon_sym_PIPE_PIPE] = ACTIONS(2591),
    [anon_sym_BQUOTE] = ACTIONS(2591),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2593),
    [anon_sym_LF] = ACTIONS(2591),
    [anon_sym_AMP] = ACTIONS(2593),
  },
  [709] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1990),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [710] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(1990),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [711] = {
    [sym_concatenation] = STATE(998),
    [sym_string] = STATE(1219),
    [sym_simple_expansion] = STATE(1219),
    [sym_string_expansion] = STATE(1219),
    [sym_expansion] = STATE(1219),
    [sym_command_substitution] = STATE(1219),
    [sym_process_substitution] = STATE(1219),
    [sym__special_characters] = ACTIONS(2595),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(2597),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2597),
  },
  [712] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(2022),
    [sym__heredoc_body_beginning] = ACTIONS(2022),
    [sym_file_descriptor] = ACTIONS(2022),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2024),
    [anon_sym_RPAREN] = ACTIONS(2022),
    [anon_sym_SEMI_SEMI] = ACTIONS(2022),
    [anon_sym_PIPE_AMP] = ACTIONS(2022),
    [anon_sym_AMP_AMP] = ACTIONS(2022),
    [anon_sym_PIPE_PIPE] = ACTIONS(2022),
    [anon_sym_EQ_TILDE] = ACTIONS(2024),
    [anon_sym_EQ_EQ] = ACTIONS(2024),
    [anon_sym_LT] = ACTIONS(2024),
    [anon_sym_GT] = ACTIONS(2024),
    [anon_sym_GT_GT] = ACTIONS(2022),
    [anon_sym_AMP_GT] = ACTIONS(2024),
    [anon_sym_AMP_GT_GT] = ACTIONS(2022),
    [anon_sym_LT_AMP] = ACTIONS(2022),
    [anon_sym_GT_AMP] = ACTIONS(2022),
    [anon_sym_LT_LT] = ACTIONS(2024),
    [anon_sym_LT_LT_DASH] = ACTIONS(2022),
    [anon_sym_LT_LT_LT] = ACTIONS(2022),
    [sym__special_characters] = ACTIONS(2022),
    [anon_sym_DQUOTE] = ACTIONS(2022),
    [anon_sym_DOLLAR] = ACTIONS(2024),
    [sym_raw_string] = ACTIONS(2022),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2022),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2022),
    [anon_sym_BQUOTE] = ACTIONS(2022),
    [anon_sym_LT_LPAREN] = ACTIONS(2022),
    [anon_sym_GT_LPAREN] = ACTIONS(2022),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2024),
    [anon_sym_SEMI] = ACTIONS(2024),
    [anon_sym_LF] = ACTIONS(2022),
    [anon_sym_AMP] = ACTIONS(2024),
  },
  [713] = {
    [aux_sym_concatenation_repeat1] = STATE(299),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_RPAREN] = ACTIONS(2026),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [714] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(727),
    [sym__heredoc_body_beginning] = ACTIONS(727),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_RPAREN] = ACTIONS(727),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [715] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [716] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(2034),
    [sym__heredoc_body_beginning] = ACTIONS(2034),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_RPAREN] = ACTIONS(2034),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [717] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_RPAREN] = ACTIONS(2038),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [718] = {
    [sym_file_redirect] = STATE(718),
    [sym_heredoc_redirect] = STATE(718),
    [sym_herestring_redirect] = STATE(718),
    [aux_sym_while_statement_repeat1] = STATE(718),
    [sym__simple_heredoc_body] = ACTIONS(2046),
    [sym__heredoc_body_beginning] = ACTIONS(2046),
    [sym_file_descriptor] = ACTIONS(2599),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_RPAREN] = ACTIONS(2046),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(2602),
    [anon_sym_GT] = ACTIONS(2602),
    [anon_sym_GT_GT] = ACTIONS(2605),
    [anon_sym_AMP_GT] = ACTIONS(2602),
    [anon_sym_AMP_GT_GT] = ACTIONS(2605),
    [anon_sym_LT_AMP] = ACTIONS(2605),
    [anon_sym_GT_AMP] = ACTIONS(2605),
    [anon_sym_LT_LT] = ACTIONS(2059),
    [anon_sym_LT_LT_DASH] = ACTIONS(2062),
    [anon_sym_LT_LT_LT] = ACTIONS(2608),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [719] = {
    [sym_file_redirect] = STATE(718),
    [sym_heredoc_redirect] = STATE(718),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(718),
    [aux_sym_while_statement_repeat1] = STATE(718),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_RPAREN] = ACTIONS(2042),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [720] = {
    [sym_concatenation] = STATE(720),
    [sym_string] = STATE(310),
    [sym_simple_expansion] = STATE(310),
    [sym_string_expansion] = STATE(310),
    [sym_expansion] = STATE(310),
    [sym_command_substitution] = STATE(310),
    [sym_process_substitution] = STATE(310),
    [aux_sym_command_repeat2] = STATE(720),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_RPAREN] = ACTIONS(2026),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2611),
    [anon_sym_EQ_EQ] = ACTIONS(2611),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2614),
    [anon_sym_DQUOTE] = ACTIONS(2074),
    [anon_sym_DOLLAR] = ACTIONS(2077),
    [sym_raw_string] = ACTIONS(2617),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2086),
    [anon_sym_BQUOTE] = ACTIONS(2089),
    [anon_sym_LT_LPAREN] = ACTIONS(2092),
    [anon_sym_GT_LPAREN] = ACTIONS(2092),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2620),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [721] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2623),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [722] = {
    [sym_file_redirect] = STATE(1222),
    [sym_heredoc_redirect] = STATE(1222),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(1222),
    [sym_concatenation] = STATE(720),
    [sym_string] = STATE(310),
    [sym_simple_expansion] = STATE(310),
    [sym_string_expansion] = STATE(310),
    [sym_expansion] = STATE(310),
    [sym_command_substitution] = STATE(310),
    [sym_process_substitution] = STATE(310),
    [aux_sym_while_statement_repeat1] = STATE(1222),
    [aux_sym_command_repeat2] = STATE(720),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_RPAREN] = ACTIONS(2042),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_EQ_TILDE] = ACTIONS(543),
    [anon_sym_EQ_EQ] = ACTIONS(543),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym__special_characters] = ACTIONS(551),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(555),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [723] = {
    [sym_file_descriptor] = ACTIONS(1069),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1069),
  },
  [724] = {
    [sym_concatenation] = STATE(1224),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1224),
    [anon_sym_RPAREN] = ACTIONS(2625),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [725] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(1091),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_LT] = ACTIONS(1095),
    [anon_sym_GT] = ACTIONS(1095),
    [anon_sym_GT_GT] = ACTIONS(1091),
    [anon_sym_AMP_GT] = ACTIONS(1095),
    [anon_sym_AMP_GT_GT] = ACTIONS(1091),
    [anon_sym_LT_AMP] = ACTIONS(1091),
    [anon_sym_GT_AMP] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1091),
  },
  [726] = {
    [aux_sym_concatenation_repeat1] = STATE(421),
    [sym_file_descriptor] = ACTIONS(1069),
    [sym__concat] = ACTIONS(729),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1069),
  },
  [727] = {
    [anon_sym_RPAREN] = ACTIONS(1351),
    [anon_sym_AMP_AMP] = ACTIONS(1345),
    [anon_sym_PIPE_PIPE] = ACTIONS(1345),
    [anon_sym_EQ_TILDE] = ACTIONS(1347),
    [anon_sym_EQ_EQ] = ACTIONS(1347),
    [anon_sym_EQ] = ACTIONS(1349),
    [anon_sym_LT] = ACTIONS(1345),
    [anon_sym_GT] = ACTIONS(1345),
    [anon_sym_BANG_EQ] = ACTIONS(1345),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1345),
  },
  [728] = {
    [aux_sym_concatenation_repeat1] = STATE(1225),
    [sym__concat] = ACTIONS(615),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(761),
    [anon_sym_EQ_EQ] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(761),
    [anon_sym_GT] = ACTIONS(761),
    [anon_sym_BANG_EQ] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(761),
  },
  [729] = {
    [anon_sym_AMP_AMP] = ACTIONS(2627),
    [anon_sym_PIPE_PIPE] = ACTIONS(2627),
    [anon_sym_RBRACK] = ACTIONS(2627),
    [anon_sym_EQ_TILDE] = ACTIONS(2627),
    [anon_sym_EQ_EQ] = ACTIONS(2627),
    [anon_sym_EQ] = ACTIONS(2629),
    [anon_sym_LT] = ACTIONS(2627),
    [anon_sym_GT] = ACTIONS(2627),
    [anon_sym_BANG_EQ] = ACTIONS(2627),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2627),
  },
  [730] = {
    [sym__expression] = STATE(798),
    [sym_binary_expression] = STATE(798),
    [sym_unary_expression] = STATE(798),
    [sym_parenthesized_expression] = STATE(798),
    [sym_concatenation] = STATE(798),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [731] = {
    [sym__expression] = STATE(798),
    [sym_binary_expression] = STATE(798),
    [sym_unary_expression] = STATE(798),
    [sym_parenthesized_expression] = STATE(798),
    [sym_concatenation] = STATE(798),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(1499),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(2631),
    [anon_sym_DQUOTE] = ACTIONS(1503),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(571),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1505),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1507),
    [anon_sym_BQUOTE] = ACTIONS(1509),
    [anon_sym_LT_LPAREN] = ACTIONS(1511),
    [anon_sym_GT_LPAREN] = ACTIONS(1511),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(565),
    [sym_regex] = ACTIONS(1513),
  },
  [732] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_RBRACK] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [733] = {
    [aux_sym_concatenation_repeat1] = STATE(733),
    [sym__concat] = ACTIONS(2633),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_RBRACK] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [734] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_RBRACK] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1769),
    [anon_sym_EQ_EQ] = ACTIONS(1769),
    [anon_sym_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1769),
    [anon_sym_GT] = ACTIONS(1769),
    [anon_sym_BANG_EQ] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1769),
  },
  [735] = {
    [anon_sym_DQUOTE] = ACTIONS(2636),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [736] = {
    [sym_concatenation] = STATE(1230),
    [sym_string] = STATE(1229),
    [sym_simple_expansion] = STATE(1229),
    [sym_string_expansion] = STATE(1229),
    [sym_expansion] = STATE(1229),
    [sym_command_substitution] = STATE(1229),
    [sym_process_substitution] = STATE(1229),
    [anon_sym_RBRACE] = ACTIONS(2638),
    [sym__special_characters] = ACTIONS(2640),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2642),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2642),
  },
  [737] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2644),
    [sym_comment] = ACTIONS(53),
  },
  [738] = {
    [sym_concatenation] = STATE(1234),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1234),
    [anon_sym_RBRACE] = ACTIONS(2646),
    [anon_sym_EQ] = ACTIONS(2648),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2650),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2652),
    [anon_sym_COLON] = ACTIONS(2648),
    [anon_sym_COLON_QMARK] = ACTIONS(2648),
    [anon_sym_COLON_DASH] = ACTIONS(2648),
    [anon_sym_PERCENT] = ACTIONS(2648),
    [anon_sym_DASH] = ACTIONS(2648),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [739] = {
    [sym_concatenation] = STATE(1237),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1237),
    [anon_sym_RBRACE] = ACTIONS(2654),
    [anon_sym_EQ] = ACTIONS(2656),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2658),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2660),
    [anon_sym_COLON] = ACTIONS(2656),
    [anon_sym_COLON_QMARK] = ACTIONS(2656),
    [anon_sym_COLON_DASH] = ACTIONS(2656),
    [anon_sym_PERCENT] = ACTIONS(2656),
    [anon_sym_DASH] = ACTIONS(2656),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [740] = {
    [sym_concatenation] = STATE(1239),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1239),
    [anon_sym_RBRACE] = ACTIONS(2638),
    [anon_sym_EQ] = ACTIONS(2662),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2664),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2666),
    [anon_sym_COLON] = ACTIONS(2662),
    [anon_sym_COLON_QMARK] = ACTIONS(2662),
    [anon_sym_COLON_DASH] = ACTIONS(2662),
    [anon_sym_PERCENT] = ACTIONS(2662),
    [anon_sym_DASH] = ACTIONS(2662),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [741] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_RBRACK] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1886),
    [anon_sym_EQ_EQ] = ACTIONS(1886),
    [anon_sym_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1886),
    [anon_sym_GT] = ACTIONS(1886),
    [anon_sym_BANG_EQ] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1886),
  },
  [742] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2668),
  },
  [743] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2670),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [744] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_RBRACK] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1930),
    [anon_sym_EQ_EQ] = ACTIONS(1930),
    [anon_sym_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1930),
    [anon_sym_GT] = ACTIONS(1930),
    [anon_sym_BANG_EQ] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1930),
  },
  [745] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2672),
  },
  [746] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2674),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [747] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_RBRACK] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1938),
    [anon_sym_EQ_EQ] = ACTIONS(1938),
    [anon_sym_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1938),
    [anon_sym_GT] = ACTIONS(1938),
    [anon_sym_BANG_EQ] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1938),
  },
  [748] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2676),
  },
  [749] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2638),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [750] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_RBRACK] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1944),
    [anon_sym_EQ_EQ] = ACTIONS(1944),
    [anon_sym_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1944),
    [anon_sym_GT] = ACTIONS(1944),
    [anon_sym_BANG_EQ] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1944),
  },
  [751] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2678),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [752] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2678),
    [anon_sym_SEMI_SEMI] = ACTIONS(2680),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2682),
    [anon_sym_LF] = ACTIONS(2680),
    [anon_sym_AMP] = ACTIONS(2682),
  },
  [753] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2678),
    [anon_sym_SEMI_SEMI] = ACTIONS(2680),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2682),
    [anon_sym_LF] = ACTIONS(2680),
    [anon_sym_AMP] = ACTIONS(2682),
  },
  [754] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2678),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [755] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2684),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2678),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2686),
    [anon_sym_LF] = ACTIONS(2684),
    [anon_sym_AMP] = ACTIONS(2686),
  },
  [756] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2684),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2678),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2686),
    [anon_sym_LF] = ACTIONS(2684),
    [anon_sym_AMP] = ACTIONS(2686),
  },
  [757] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_RBRACK] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1976),
    [anon_sym_EQ_EQ] = ACTIONS(1976),
    [anon_sym_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1976),
    [anon_sym_GT] = ACTIONS(1976),
    [anon_sym_BANG_EQ] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1976),
  },
  [758] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2688),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [759] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2688),
    [anon_sym_SEMI_SEMI] = ACTIONS(2690),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2692),
    [anon_sym_LF] = ACTIONS(2690),
    [anon_sym_AMP] = ACTIONS(2692),
  },
  [760] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2688),
    [anon_sym_SEMI_SEMI] = ACTIONS(2690),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2692),
    [anon_sym_LF] = ACTIONS(2690),
    [anon_sym_AMP] = ACTIONS(2692),
  },
  [761] = {
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_RBRACK] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [762] = {
    [anon_sym_LT] = ACTIONS(2698),
    [anon_sym_GT] = ACTIONS(2698),
    [anon_sym_GT_GT] = ACTIONS(2700),
    [anon_sym_AMP_GT] = ACTIONS(2698),
    [anon_sym_AMP_GT_GT] = ACTIONS(2700),
    [anon_sym_LT_AMP] = ACTIONS(2700),
    [anon_sym_GT_AMP] = ACTIONS(2700),
    [sym_comment] = ACTIONS(53),
  },
  [763] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(1254),
    [sym_simple_expansion] = STATE(1254),
    [sym_string_expansion] = STATE(1254),
    [sym_expansion] = STATE(1254),
    [sym_command_substitution] = STATE(1254),
    [sym_process_substitution] = STATE(1254),
    [sym__special_characters] = ACTIONS(2702),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(2708),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2708),
  },
  [764] = {
    [sym_heredoc_start] = ACTIONS(2718),
    [sym_comment] = ACTIONS(53),
  },
  [765] = {
    [sym_concatenation] = STATE(1263),
    [sym_string] = STATE(1262),
    [sym_simple_expansion] = STATE(1262),
    [sym_string_expansion] = STATE(1262),
    [sym_expansion] = STATE(1262),
    [sym_command_substitution] = STATE(1262),
    [sym_process_substitution] = STATE(1262),
    [sym__special_characters] = ACTIONS(2720),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(2722),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2722),
  },
  [766] = {
    [sym_file_redirect] = STATE(1264),
    [sym_heredoc_redirect] = STATE(1264),
    [sym_herestring_redirect] = STATE(1264),
    [aux_sym_while_statement_repeat1] = STATE(1264),
    [sym_file_descriptor] = ACTIONS(1409),
    [ts_builtin_sym_end] = ACTIONS(2724),
    [anon_sym_PIPE] = ACTIONS(2726),
    [anon_sym_SEMI_SEMI] = ACTIONS(2724),
    [anon_sym_PIPE_AMP] = ACTIONS(2724),
    [anon_sym_AMP_AMP] = ACTIONS(2724),
    [anon_sym_PIPE_PIPE] = ACTIONS(2724),
    [anon_sym_LT] = ACTIONS(1415),
    [anon_sym_GT] = ACTIONS(1415),
    [anon_sym_GT_GT] = ACTIONS(1417),
    [anon_sym_AMP_GT] = ACTIONS(1415),
    [anon_sym_AMP_GT_GT] = ACTIONS(1417),
    [anon_sym_LT_AMP] = ACTIONS(1417),
    [anon_sym_GT_AMP] = ACTIONS(1417),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(1423),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2726),
    [anon_sym_LF] = ACTIONS(2724),
    [anon_sym_AMP] = ACTIONS(2726),
  },
  [767] = {
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_RBRACK] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [768] = {
    [anon_sym_RPAREN] = ACTIONS(2627),
    [anon_sym_AMP_AMP] = ACTIONS(2627),
    [anon_sym_PIPE_PIPE] = ACTIONS(2627),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2627),
    [anon_sym_EQ_TILDE] = ACTIONS(2627),
    [anon_sym_EQ_EQ] = ACTIONS(2627),
    [anon_sym_EQ] = ACTIONS(2629),
    [anon_sym_LT] = ACTIONS(2627),
    [anon_sym_GT] = ACTIONS(2627),
    [anon_sym_BANG_EQ] = ACTIONS(2627),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2627),
  },
  [769] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [770] = {
    [aux_sym_concatenation_repeat1] = STATE(770),
    [sym__concat] = ACTIONS(2728),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [771] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1769),
    [anon_sym_EQ_EQ] = ACTIONS(1769),
    [anon_sym_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1769),
    [anon_sym_GT] = ACTIONS(1769),
    [anon_sym_BANG_EQ] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1769),
  },
  [772] = {
    [anon_sym_DQUOTE] = ACTIONS(2731),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [773] = {
    [sym_concatenation] = STATE(1269),
    [sym_string] = STATE(1268),
    [sym_simple_expansion] = STATE(1268),
    [sym_string_expansion] = STATE(1268),
    [sym_expansion] = STATE(1268),
    [sym_command_substitution] = STATE(1268),
    [sym_process_substitution] = STATE(1268),
    [anon_sym_RBRACE] = ACTIONS(2733),
    [sym__special_characters] = ACTIONS(2735),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2737),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2737),
  },
  [774] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2739),
    [sym_comment] = ACTIONS(53),
  },
  [775] = {
    [sym_concatenation] = STATE(1273),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1273),
    [anon_sym_RBRACE] = ACTIONS(2741),
    [anon_sym_EQ] = ACTIONS(2743),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2745),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2747),
    [anon_sym_COLON] = ACTIONS(2743),
    [anon_sym_COLON_QMARK] = ACTIONS(2743),
    [anon_sym_COLON_DASH] = ACTIONS(2743),
    [anon_sym_PERCENT] = ACTIONS(2743),
    [anon_sym_DASH] = ACTIONS(2743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [776] = {
    [sym_concatenation] = STATE(1276),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1276),
    [anon_sym_RBRACE] = ACTIONS(2749),
    [anon_sym_EQ] = ACTIONS(2751),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2753),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2755),
    [anon_sym_COLON] = ACTIONS(2751),
    [anon_sym_COLON_QMARK] = ACTIONS(2751),
    [anon_sym_COLON_DASH] = ACTIONS(2751),
    [anon_sym_PERCENT] = ACTIONS(2751),
    [anon_sym_DASH] = ACTIONS(2751),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [777] = {
    [sym_concatenation] = STATE(1278),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1278),
    [anon_sym_RBRACE] = ACTIONS(2733),
    [anon_sym_EQ] = ACTIONS(2757),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2759),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2761),
    [anon_sym_COLON] = ACTIONS(2757),
    [anon_sym_COLON_QMARK] = ACTIONS(2757),
    [anon_sym_COLON_DASH] = ACTIONS(2757),
    [anon_sym_PERCENT] = ACTIONS(2757),
    [anon_sym_DASH] = ACTIONS(2757),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [778] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1886),
    [anon_sym_EQ_EQ] = ACTIONS(1886),
    [anon_sym_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1886),
    [anon_sym_GT] = ACTIONS(1886),
    [anon_sym_BANG_EQ] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1886),
  },
  [779] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2763),
  },
  [780] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2765),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [781] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1930),
    [anon_sym_EQ_EQ] = ACTIONS(1930),
    [anon_sym_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1930),
    [anon_sym_GT] = ACTIONS(1930),
    [anon_sym_BANG_EQ] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1930),
  },
  [782] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2767),
  },
  [783] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2769),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [784] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1938),
    [anon_sym_EQ_EQ] = ACTIONS(1938),
    [anon_sym_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1938),
    [anon_sym_GT] = ACTIONS(1938),
    [anon_sym_BANG_EQ] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1938),
  },
  [785] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2771),
  },
  [786] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2733),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [787] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1944),
    [anon_sym_EQ_EQ] = ACTIONS(1944),
    [anon_sym_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1944),
    [anon_sym_GT] = ACTIONS(1944),
    [anon_sym_BANG_EQ] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1944),
  },
  [788] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2773),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [789] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2773),
    [anon_sym_SEMI_SEMI] = ACTIONS(2775),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2777),
    [anon_sym_LF] = ACTIONS(2775),
    [anon_sym_AMP] = ACTIONS(2777),
  },
  [790] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2773),
    [anon_sym_SEMI_SEMI] = ACTIONS(2775),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2777),
    [anon_sym_LF] = ACTIONS(2775),
    [anon_sym_AMP] = ACTIONS(2777),
  },
  [791] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2773),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [792] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2779),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2773),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2781),
    [anon_sym_LF] = ACTIONS(2779),
    [anon_sym_AMP] = ACTIONS(2781),
  },
  [793] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2779),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2773),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2781),
    [anon_sym_LF] = ACTIONS(2779),
    [anon_sym_AMP] = ACTIONS(2781),
  },
  [794] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1976),
    [anon_sym_EQ_EQ] = ACTIONS(1976),
    [anon_sym_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1976),
    [anon_sym_GT] = ACTIONS(1976),
    [anon_sym_BANG_EQ] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1976),
  },
  [795] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2783),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [796] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2783),
    [anon_sym_SEMI_SEMI] = ACTIONS(2785),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2787),
    [anon_sym_LF] = ACTIONS(2785),
    [anon_sym_AMP] = ACTIONS(2787),
  },
  [797] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2783),
    [anon_sym_SEMI_SEMI] = ACTIONS(2785),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2787),
    [anon_sym_LF] = ACTIONS(2785),
    [anon_sym_AMP] = ACTIONS(2787),
  },
  [798] = {
    [anon_sym_RPAREN] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [799] = {
    [anon_sym_RPAREN] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [800] = {
    [sym_variable_name] = ACTIONS(1069),
    [ts_builtin_sym_end] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_RPAREN] = ACTIONS(1069),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [801] = {
    [sym_concatenation] = STATE(1290),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1290),
    [anon_sym_RPAREN] = ACTIONS(2789),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [802] = {
    [aux_sym_concatenation_repeat1] = STATE(375),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1091),
    [ts_builtin_sym_end] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1095),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [803] = {
    [aux_sym_concatenation_repeat1] = STATE(375),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1069),
    [ts_builtin_sym_end] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [804] = {
    [sym__concat] = ACTIONS(1762),
    [sym_variable_name] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [805] = {
    [aux_sym_concatenation_repeat1] = STATE(805),
    [sym__concat] = ACTIONS(2791),
    [sym_variable_name] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [806] = {
    [sym__concat] = ACTIONS(1769),
    [sym_variable_name] = ACTIONS(1769),
    [ts_builtin_sym_end] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1771),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [807] = {
    [anon_sym_DQUOTE] = ACTIONS(2794),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [808] = {
    [sym_concatenation] = STATE(1295),
    [sym_string] = STATE(1294),
    [sym_simple_expansion] = STATE(1294),
    [sym_string_expansion] = STATE(1294),
    [sym_expansion] = STATE(1294),
    [sym_command_substitution] = STATE(1294),
    [sym_process_substitution] = STATE(1294),
    [anon_sym_RBRACE] = ACTIONS(2796),
    [sym__special_characters] = ACTIONS(2798),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2800),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2800),
  },
  [809] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2802),
    [sym_comment] = ACTIONS(53),
  },
  [810] = {
    [sym_concatenation] = STATE(1299),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1299),
    [anon_sym_RBRACE] = ACTIONS(2804),
    [anon_sym_EQ] = ACTIONS(2806),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2808),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2810),
    [anon_sym_COLON] = ACTIONS(2806),
    [anon_sym_COLON_QMARK] = ACTIONS(2806),
    [anon_sym_COLON_DASH] = ACTIONS(2806),
    [anon_sym_PERCENT] = ACTIONS(2806),
    [anon_sym_DASH] = ACTIONS(2806),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [811] = {
    [sym_concatenation] = STATE(1302),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1302),
    [anon_sym_RBRACE] = ACTIONS(2812),
    [anon_sym_EQ] = ACTIONS(2814),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2816),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2818),
    [anon_sym_COLON] = ACTIONS(2814),
    [anon_sym_COLON_QMARK] = ACTIONS(2814),
    [anon_sym_COLON_DASH] = ACTIONS(2814),
    [anon_sym_PERCENT] = ACTIONS(2814),
    [anon_sym_DASH] = ACTIONS(2814),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [812] = {
    [sym_concatenation] = STATE(1304),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1304),
    [anon_sym_RBRACE] = ACTIONS(2796),
    [anon_sym_EQ] = ACTIONS(2820),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2822),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2824),
    [anon_sym_COLON] = ACTIONS(2820),
    [anon_sym_COLON_QMARK] = ACTIONS(2820),
    [anon_sym_COLON_DASH] = ACTIONS(2820),
    [anon_sym_PERCENT] = ACTIONS(2820),
    [anon_sym_DASH] = ACTIONS(2820),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [813] = {
    [sym__concat] = ACTIONS(1886),
    [sym_variable_name] = ACTIONS(1886),
    [ts_builtin_sym_end] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1888),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [814] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2826),
  },
  [815] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2828),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [816] = {
    [sym__concat] = ACTIONS(1930),
    [sym_variable_name] = ACTIONS(1930),
    [ts_builtin_sym_end] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1932),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [817] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2830),
  },
  [818] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2832),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [819] = {
    [sym__concat] = ACTIONS(1938),
    [sym_variable_name] = ACTIONS(1938),
    [ts_builtin_sym_end] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1940),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [820] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2834),
  },
  [821] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2796),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [822] = {
    [sym__concat] = ACTIONS(1944),
    [sym_variable_name] = ACTIONS(1944),
    [ts_builtin_sym_end] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1946),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [823] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2836),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [824] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2836),
    [anon_sym_SEMI_SEMI] = ACTIONS(2838),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2840),
    [anon_sym_LF] = ACTIONS(2838),
    [anon_sym_AMP] = ACTIONS(2840),
  },
  [825] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2836),
    [anon_sym_SEMI_SEMI] = ACTIONS(2838),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2840),
    [anon_sym_LF] = ACTIONS(2838),
    [anon_sym_AMP] = ACTIONS(2840),
  },
  [826] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2836),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [827] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2842),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2836),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2844),
    [anon_sym_LF] = ACTIONS(2842),
    [anon_sym_AMP] = ACTIONS(2844),
  },
  [828] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2842),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2836),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2844),
    [anon_sym_LF] = ACTIONS(2842),
    [anon_sym_AMP] = ACTIONS(2844),
  },
  [829] = {
    [sym__concat] = ACTIONS(1976),
    [sym_variable_name] = ACTIONS(1976),
    [ts_builtin_sym_end] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1978),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [830] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2846),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [831] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2846),
    [anon_sym_SEMI_SEMI] = ACTIONS(2848),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2850),
    [anon_sym_LF] = ACTIONS(2848),
    [anon_sym_AMP] = ACTIONS(2850),
  },
  [832] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2846),
    [anon_sym_SEMI_SEMI] = ACTIONS(2848),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2850),
    [anon_sym_LF] = ACTIONS(2848),
    [anon_sym_AMP] = ACTIONS(2850),
  },
  [833] = {
    [sym__concat] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [834] = {
    [aux_sym_concatenation_repeat1] = STATE(834),
    [sym__concat] = ACTIONS(2852),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [835] = {
    [sym__concat] = ACTIONS(1769),
    [ts_builtin_sym_end] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1771),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [836] = {
    [anon_sym_DQUOTE] = ACTIONS(2855),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [837] = {
    [sym_concatenation] = STATE(1319),
    [sym_string] = STATE(1318),
    [sym_simple_expansion] = STATE(1318),
    [sym_string_expansion] = STATE(1318),
    [sym_expansion] = STATE(1318),
    [sym_command_substitution] = STATE(1318),
    [sym_process_substitution] = STATE(1318),
    [anon_sym_RBRACE] = ACTIONS(2857),
    [sym__special_characters] = ACTIONS(2859),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2861),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2861),
  },
  [838] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2863),
    [sym_comment] = ACTIONS(53),
  },
  [839] = {
    [sym_concatenation] = STATE(1323),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1323),
    [anon_sym_RBRACE] = ACTIONS(2865),
    [anon_sym_EQ] = ACTIONS(2867),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2869),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2871),
    [anon_sym_COLON] = ACTIONS(2867),
    [anon_sym_COLON_QMARK] = ACTIONS(2867),
    [anon_sym_COLON_DASH] = ACTIONS(2867),
    [anon_sym_PERCENT] = ACTIONS(2867),
    [anon_sym_DASH] = ACTIONS(2867),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [840] = {
    [sym_concatenation] = STATE(1326),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1326),
    [anon_sym_RBRACE] = ACTIONS(2873),
    [anon_sym_EQ] = ACTIONS(2875),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2877),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2879),
    [anon_sym_COLON] = ACTIONS(2875),
    [anon_sym_COLON_QMARK] = ACTIONS(2875),
    [anon_sym_COLON_DASH] = ACTIONS(2875),
    [anon_sym_PERCENT] = ACTIONS(2875),
    [anon_sym_DASH] = ACTIONS(2875),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [841] = {
    [sym_concatenation] = STATE(1328),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1328),
    [anon_sym_RBRACE] = ACTIONS(2857),
    [anon_sym_EQ] = ACTIONS(2881),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2883),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2885),
    [anon_sym_COLON] = ACTIONS(2881),
    [anon_sym_COLON_QMARK] = ACTIONS(2881),
    [anon_sym_COLON_DASH] = ACTIONS(2881),
    [anon_sym_PERCENT] = ACTIONS(2881),
    [anon_sym_DASH] = ACTIONS(2881),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [842] = {
    [sym__concat] = ACTIONS(1886),
    [ts_builtin_sym_end] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1888),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [843] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2887),
  },
  [844] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2889),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [845] = {
    [sym__concat] = ACTIONS(1930),
    [ts_builtin_sym_end] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1932),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [846] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2891),
  },
  [847] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2893),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [848] = {
    [sym__concat] = ACTIONS(1938),
    [ts_builtin_sym_end] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1940),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [849] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2895),
  },
  [850] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2857),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [851] = {
    [sym__concat] = ACTIONS(1944),
    [ts_builtin_sym_end] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1946),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [852] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [853] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_SEMI_SEMI] = ACTIONS(2899),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2901),
    [anon_sym_LF] = ACTIONS(2899),
    [anon_sym_AMP] = ACTIONS(2901),
  },
  [854] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_SEMI_SEMI] = ACTIONS(2899),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2901),
    [anon_sym_LF] = ACTIONS(2899),
    [anon_sym_AMP] = ACTIONS(2901),
  },
  [855] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [856] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2903),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2905),
    [anon_sym_LF] = ACTIONS(2903),
    [anon_sym_AMP] = ACTIONS(2905),
  },
  [857] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2903),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2905),
    [anon_sym_LF] = ACTIONS(2903),
    [anon_sym_AMP] = ACTIONS(2905),
  },
  [858] = {
    [sym__concat] = ACTIONS(1976),
    [ts_builtin_sym_end] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1978),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [859] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [860] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_SEMI_SEMI] = ACTIONS(2909),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2911),
    [anon_sym_LF] = ACTIONS(2909),
    [anon_sym_AMP] = ACTIONS(2911),
  },
  [861] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_SEMI_SEMI] = ACTIONS(2909),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2911),
    [anon_sym_LF] = ACTIONS(2909),
    [anon_sym_AMP] = ACTIONS(2911),
  },
  [862] = {
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1762),
  },
  [863] = {
    [aux_sym_concatenation_repeat1] = STATE(863),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(2913),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1762),
  },
  [864] = {
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [sym_variable_name] = ACTIONS(1769),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1769),
  },
  [865] = {
    [anon_sym_DQUOTE] = ACTIONS(2916),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [866] = {
    [sym_concatenation] = STATE(1343),
    [sym_string] = STATE(1342),
    [sym_simple_expansion] = STATE(1342),
    [sym_string_expansion] = STATE(1342),
    [sym_expansion] = STATE(1342),
    [sym_command_substitution] = STATE(1342),
    [sym_process_substitution] = STATE(1342),
    [anon_sym_RBRACE] = ACTIONS(2918),
    [sym__special_characters] = ACTIONS(2920),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2922),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2922),
  },
  [867] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2924),
    [sym_comment] = ACTIONS(53),
  },
  [868] = {
    [sym_concatenation] = STATE(1347),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1347),
    [anon_sym_RBRACE] = ACTIONS(2926),
    [anon_sym_EQ] = ACTIONS(2928),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2932),
    [anon_sym_COLON] = ACTIONS(2928),
    [anon_sym_COLON_QMARK] = ACTIONS(2928),
    [anon_sym_COLON_DASH] = ACTIONS(2928),
    [anon_sym_PERCENT] = ACTIONS(2928),
    [anon_sym_DASH] = ACTIONS(2928),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [869] = {
    [sym_concatenation] = STATE(1350),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1350),
    [anon_sym_RBRACE] = ACTIONS(2934),
    [anon_sym_EQ] = ACTIONS(2936),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2940),
    [anon_sym_COLON] = ACTIONS(2936),
    [anon_sym_COLON_QMARK] = ACTIONS(2936),
    [anon_sym_COLON_DASH] = ACTIONS(2936),
    [anon_sym_PERCENT] = ACTIONS(2936),
    [anon_sym_DASH] = ACTIONS(2936),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [870] = {
    [sym_concatenation] = STATE(1352),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1352),
    [anon_sym_RBRACE] = ACTIONS(2918),
    [anon_sym_EQ] = ACTIONS(2942),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2946),
    [anon_sym_COLON] = ACTIONS(2942),
    [anon_sym_COLON_QMARK] = ACTIONS(2942),
    [anon_sym_COLON_DASH] = ACTIONS(2942),
    [anon_sym_PERCENT] = ACTIONS(2942),
    [anon_sym_DASH] = ACTIONS(2942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [871] = {
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [sym_variable_name] = ACTIONS(1886),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1886),
  },
  [872] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2948),
  },
  [873] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2950),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [874] = {
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [sym_variable_name] = ACTIONS(1930),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1930),
  },
  [875] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2952),
  },
  [876] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2954),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [877] = {
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [sym_variable_name] = ACTIONS(1938),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1938),
  },
  [878] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(2956),
  },
  [879] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2918),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [880] = {
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [sym_variable_name] = ACTIONS(1944),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1944),
  },
  [881] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2958),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [882] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2958),
    [anon_sym_SEMI_SEMI] = ACTIONS(2960),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2962),
    [anon_sym_LF] = ACTIONS(2960),
    [anon_sym_AMP] = ACTIONS(2962),
  },
  [883] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2958),
    [anon_sym_SEMI_SEMI] = ACTIONS(2960),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2962),
    [anon_sym_LF] = ACTIONS(2960),
    [anon_sym_AMP] = ACTIONS(2962),
  },
  [884] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(2958),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [885] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2964),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(2958),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2966),
    [anon_sym_LF] = ACTIONS(2964),
    [anon_sym_AMP] = ACTIONS(2966),
  },
  [886] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(2964),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(2958),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2966),
    [anon_sym_LF] = ACTIONS(2964),
    [anon_sym_AMP] = ACTIONS(2966),
  },
  [887] = {
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [sym_variable_name] = ACTIONS(1976),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1976),
  },
  [888] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(2968),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [889] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2968),
    [anon_sym_SEMI_SEMI] = ACTIONS(2970),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2972),
    [anon_sym_LF] = ACTIONS(2970),
    [anon_sym_AMP] = ACTIONS(2972),
  },
  [890] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(2968),
    [anon_sym_SEMI_SEMI] = ACTIONS(2970),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2972),
    [anon_sym_LF] = ACTIONS(2970),
    [anon_sym_AMP] = ACTIONS(2972),
  },
  [891] = {
    [anon_sym_DQUOTE] = ACTIONS(2974),
    [anon_sym_DOLLAR] = ACTIONS(2974),
    [sym__string_content] = ACTIONS(2976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2974),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2974),
    [anon_sym_BQUOTE] = ACTIONS(2974),
    [sym_comment] = ACTIONS(265),
  },
  [892] = {
    [sym_concatenation] = STATE(1366),
    [sym_string] = STATE(1365),
    [sym_simple_expansion] = STATE(1365),
    [sym_string_expansion] = STATE(1365),
    [sym_expansion] = STATE(1365),
    [sym_command_substitution] = STATE(1365),
    [sym_process_substitution] = STATE(1365),
    [anon_sym_RBRACE] = ACTIONS(2978),
    [sym__special_characters] = ACTIONS(2980),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(2982),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2982),
  },
  [893] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(2984),
    [sym_comment] = ACTIONS(53),
  },
  [894] = {
    [sym_concatenation] = STATE(1370),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1370),
    [anon_sym_RBRACE] = ACTIONS(2986),
    [anon_sym_EQ] = ACTIONS(2988),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2990),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(2992),
    [anon_sym_COLON] = ACTIONS(2988),
    [anon_sym_COLON_QMARK] = ACTIONS(2988),
    [anon_sym_COLON_DASH] = ACTIONS(2988),
    [anon_sym_PERCENT] = ACTIONS(2988),
    [anon_sym_DASH] = ACTIONS(2988),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [895] = {
    [sym_concatenation] = STATE(1373),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1373),
    [anon_sym_RBRACE] = ACTIONS(2994),
    [anon_sym_EQ] = ACTIONS(2996),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(2998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3000),
    [anon_sym_COLON] = ACTIONS(2996),
    [anon_sym_COLON_QMARK] = ACTIONS(2996),
    [anon_sym_COLON_DASH] = ACTIONS(2996),
    [anon_sym_PERCENT] = ACTIONS(2996),
    [anon_sym_DASH] = ACTIONS(2996),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [896] = {
    [sym_concatenation] = STATE(1375),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1375),
    [anon_sym_RBRACE] = ACTIONS(2978),
    [anon_sym_EQ] = ACTIONS(3002),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3004),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3006),
    [anon_sym_COLON] = ACTIONS(3002),
    [anon_sym_COLON_QMARK] = ACTIONS(3002),
    [anon_sym_COLON_DASH] = ACTIONS(3002),
    [anon_sym_PERCENT] = ACTIONS(3002),
    [anon_sym_DASH] = ACTIONS(3002),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [897] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1888),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym__string_content] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1888),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1888),
    [anon_sym_BQUOTE] = ACTIONS(1888),
    [sym_comment] = ACTIONS(265),
  },
  [898] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3008),
  },
  [899] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3010),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [900] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1932),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym__string_content] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1932),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1932),
    [anon_sym_BQUOTE] = ACTIONS(1932),
    [sym_comment] = ACTIONS(265),
  },
  [901] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3012),
  },
  [902] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3014),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [903] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1940),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym__string_content] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1940),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1940),
    [anon_sym_BQUOTE] = ACTIONS(1940),
    [sym_comment] = ACTIONS(265),
  },
  [904] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3016),
  },
  [905] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(2978),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [906] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1946),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym__string_content] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1946),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1946),
    [anon_sym_BQUOTE] = ACTIONS(1946),
    [sym_comment] = ACTIONS(265),
  },
  [907] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3018),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [908] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3018),
    [anon_sym_SEMI_SEMI] = ACTIONS(3020),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3022),
    [anon_sym_LF] = ACTIONS(3020),
    [anon_sym_AMP] = ACTIONS(3022),
  },
  [909] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3018),
    [anon_sym_SEMI_SEMI] = ACTIONS(3020),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3022),
    [anon_sym_LF] = ACTIONS(3020),
    [anon_sym_AMP] = ACTIONS(3022),
  },
  [910] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3018),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [911] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3024),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3018),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3026),
    [anon_sym_LF] = ACTIONS(3024),
    [anon_sym_AMP] = ACTIONS(3026),
  },
  [912] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3024),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3018),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3026),
    [anon_sym_LF] = ACTIONS(3024),
    [anon_sym_AMP] = ACTIONS(3026),
  },
  [913] = {
    [sym__simple_heredoc_body] = ACTIONS(3028),
    [sym__heredoc_body_beginning] = ACTIONS(3028),
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [ts_builtin_sym_end] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3030),
    [anon_sym_EQ_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [anon_sym_LT_LT] = ACTIONS(3030),
    [anon_sym_LT_LT_DASH] = ACTIONS(3028),
    [anon_sym_LT_LT_LT] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [914] = {
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [915] = {
    [aux_sym_concatenation_repeat1] = STATE(541),
    [sym__concat] = ACTIONS(3032),
    [anon_sym_RBRACK] = ACTIONS(3034),
    [sym_comment] = ACTIONS(53),
  },
  [916] = {
    [aux_sym_concatenation_repeat1] = STATE(541),
    [sym__concat] = ACTIONS(3036),
    [anon_sym_RBRACK] = ACTIONS(3038),
    [sym_comment] = ACTIONS(53),
  },
  [917] = {
    [sym__concat] = ACTIONS(3040),
    [anon_sym_RBRACK] = ACTIONS(3038),
    [sym_comment] = ACTIONS(53),
  },
  [918] = {
    [sym__simple_heredoc_body] = ACTIONS(3042),
    [sym__heredoc_body_beginning] = ACTIONS(3042),
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [ts_builtin_sym_end] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3044),
    [anon_sym_EQ_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [anon_sym_LT_LT] = ACTIONS(3044),
    [anon_sym_LT_LT_DASH] = ACTIONS(3042),
    [anon_sym_LT_LT_LT] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [919] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3048),
    [sym_comment] = ACTIONS(53),
  },
  [920] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(1394),
    [anon_sym_DQUOTE] = ACTIONS(3050),
    [anon_sym_DOLLAR] = ACTIONS(3052),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [921] = {
    [sym_string] = STATE(1396),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(3054),
    [sym_raw_string] = ACTIONS(3056),
    [anon_sym_POUND] = ACTIONS(3054),
    [anon_sym_DASH] = ACTIONS(3054),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3058),
    [anon_sym_STAR] = ACTIONS(3054),
    [anon_sym_AT] = ACTIONS(3054),
    [anon_sym_QMARK] = ACTIONS(3054),
    [anon_sym_0] = ACTIONS(3060),
    [anon_sym__] = ACTIONS(3060),
  },
  [922] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3062),
    [sym_comment] = ACTIONS(53),
  },
  [923] = {
    [sym_subscript] = STATE(1403),
    [sym_variable_name] = ACTIONS(3064),
    [anon_sym_BANG] = ACTIONS(3066),
    [anon_sym_DOLLAR] = ACTIONS(3068),
    [anon_sym_POUND] = ACTIONS(3066),
    [anon_sym_DASH] = ACTIONS(3068),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3070),
    [anon_sym_STAR] = ACTIONS(3068),
    [anon_sym_AT] = ACTIONS(3068),
    [anon_sym_QMARK] = ACTIONS(3068),
    [anon_sym_0] = ACTIONS(3072),
    [anon_sym__] = ACTIONS(3072),
  },
  [924] = {
    [sym__terminated_statement] = STATE(1406),
    [sym_for_statement] = STATE(1404),
    [sym_c_style_for_statement] = STATE(1404),
    [sym_while_statement] = STATE(1404),
    [sym_if_statement] = STATE(1404),
    [sym_case_statement] = STATE(1404),
    [sym_function_definition] = STATE(1404),
    [sym_subshell] = STATE(1404),
    [sym_pipeline] = STATE(1404),
    [sym_list] = STATE(1404),
    [sym_negated_command] = STATE(1404),
    [sym_test_command] = STATE(1404),
    [sym_declaration_command] = STATE(1404),
    [sym_unset_command] = STATE(1404),
    [sym_command] = STATE(1404),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1405),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1406),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [925] = {
    [sym__terminated_statement] = STATE(1409),
    [sym_for_statement] = STATE(1407),
    [sym_c_style_for_statement] = STATE(1407),
    [sym_while_statement] = STATE(1407),
    [sym_if_statement] = STATE(1407),
    [sym_case_statement] = STATE(1407),
    [sym_function_definition] = STATE(1407),
    [sym_subshell] = STATE(1407),
    [sym_pipeline] = STATE(1407),
    [sym_list] = STATE(1407),
    [sym_negated_command] = STATE(1407),
    [sym_test_command] = STATE(1407),
    [sym_declaration_command] = STATE(1407),
    [sym_unset_command] = STATE(1407),
    [sym_command] = STATE(1407),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1408),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1409),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [926] = {
    [sym__terminated_statement] = STATE(1412),
    [sym_for_statement] = STATE(1410),
    [sym_c_style_for_statement] = STATE(1410),
    [sym_while_statement] = STATE(1410),
    [sym_if_statement] = STATE(1410),
    [sym_case_statement] = STATE(1410),
    [sym_function_definition] = STATE(1410),
    [sym_subshell] = STATE(1410),
    [sym_pipeline] = STATE(1410),
    [sym_list] = STATE(1410),
    [sym_negated_command] = STATE(1410),
    [sym_test_command] = STATE(1410),
    [sym_declaration_command] = STATE(1410),
    [sym_unset_command] = STATE(1410),
    [sym_command] = STATE(1410),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1411),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1412),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [927] = {
    [anon_sym_RBRACE] = ACTIONS(3062),
    [sym_comment] = ACTIONS(53),
  },
  [928] = {
    [sym_concatenation] = STATE(1415),
    [sym_string] = STATE(1414),
    [sym_simple_expansion] = STATE(1414),
    [sym_string_expansion] = STATE(1414),
    [sym_expansion] = STATE(1414),
    [sym_command_substitution] = STATE(1414),
    [sym_process_substitution] = STATE(1414),
    [anon_sym_RBRACE] = ACTIONS(3062),
    [sym__special_characters] = ACTIONS(3074),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3076),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3076),
  },
  [929] = {
    [sym__simple_heredoc_body] = ACTIONS(3078),
    [sym__heredoc_body_beginning] = ACTIONS(3078),
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [ts_builtin_sym_end] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3080),
    [anon_sym_EQ_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [anon_sym_LT_LT] = ACTIONS(3080),
    [anon_sym_LT_LT_DASH] = ACTIONS(3078),
    [anon_sym_LT_LT_LT] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [930] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3082),
  },
  [931] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3084),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [932] = {
    [sym__simple_heredoc_body] = ACTIONS(3086),
    [sym__heredoc_body_beginning] = ACTIONS(3086),
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [ts_builtin_sym_end] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3088),
    [anon_sym_EQ_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [anon_sym_LT_LT] = ACTIONS(3088),
    [anon_sym_LT_LT_DASH] = ACTIONS(3086),
    [anon_sym_LT_LT_LT] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [933] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3090),
  },
  [934] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3092),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [935] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3094),
  },
  [936] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3062),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [937] = {
    [sym_string] = STATE(1421),
    [sym_simple_expansion] = STATE(1421),
    [sym_string_expansion] = STATE(1421),
    [sym_expansion] = STATE(1421),
    [sym_command_substitution] = STATE(1421),
    [sym_process_substitution] = STATE(1421),
    [sym__special_characters] = ACTIONS(3096),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(3096),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3096),
  },
  [938] = {
    [aux_sym_concatenation_repeat1] = STATE(1422),
    [sym__concat] = ACTIONS(1890),
    [anon_sym_RBRACE] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [sym__special_characters] = ACTIONS(763),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_POUND] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_COLON] = ACTIONS(763),
    [anon_sym_COLON_QMARK] = ACTIONS(763),
    [anon_sym_COLON_DASH] = ACTIONS(763),
    [anon_sym_PERCENT] = ACTIONS(763),
    [anon_sym_DASH] = ACTIONS(763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(763),
  },
  [939] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_RBRACE] = ACTIONS(765),
    [anon_sym_EQ] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(767),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_POUND] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_COLON] = ACTIONS(767),
    [anon_sym_COLON_QMARK] = ACTIONS(767),
    [anon_sym_COLON_DASH] = ACTIONS(767),
    [anon_sym_PERCENT] = ACTIONS(767),
    [anon_sym_DASH] = ACTIONS(767),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(767),
  },
  [940] = {
    [anon_sym_DQUOTE] = ACTIONS(3098),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [941] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(3098),
    [anon_sym_DOLLAR] = ACTIONS(3100),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [942] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_RBRACE] = ACTIONS(797),
    [anon_sym_EQ] = ACTIONS(799),
    [sym__special_characters] = ACTIONS(799),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_POUND] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_COLON] = ACTIONS(799),
    [anon_sym_COLON_QMARK] = ACTIONS(799),
    [anon_sym_COLON_DASH] = ACTIONS(799),
    [anon_sym_PERCENT] = ACTIONS(799),
    [anon_sym_DASH] = ACTIONS(799),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(799),
  },
  [943] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_RBRACE] = ACTIONS(801),
    [anon_sym_EQ] = ACTIONS(803),
    [sym__special_characters] = ACTIONS(803),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_POUND] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_COLON] = ACTIONS(803),
    [anon_sym_COLON_QMARK] = ACTIONS(803),
    [anon_sym_COLON_DASH] = ACTIONS(803),
    [anon_sym_PERCENT] = ACTIONS(803),
    [anon_sym_DASH] = ACTIONS(803),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(803),
  },
  [944] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_RBRACE] = ACTIONS(805),
    [anon_sym_EQ] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_POUND] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_COLON] = ACTIONS(807),
    [anon_sym_COLON_QMARK] = ACTIONS(807),
    [anon_sym_COLON_DASH] = ACTIONS(807),
    [anon_sym_PERCENT] = ACTIONS(807),
    [anon_sym_DASH] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(807),
  },
  [945] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3102),
    [sym_comment] = ACTIONS(53),
  },
  [946] = {
    [sym_subscript] = STATE(1429),
    [sym_variable_name] = ACTIONS(3104),
    [anon_sym_DOLLAR] = ACTIONS(3106),
    [anon_sym_DASH] = ACTIONS(3106),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3108),
    [anon_sym_STAR] = ACTIONS(3106),
    [anon_sym_AT] = ACTIONS(3106),
    [anon_sym_QMARK] = ACTIONS(3106),
    [anon_sym_0] = ACTIONS(3110),
    [anon_sym__] = ACTIONS(3110),
  },
  [947] = {
    [sym_concatenation] = STATE(1432),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1432),
    [anon_sym_RBRACE] = ACTIONS(3112),
    [anon_sym_EQ] = ACTIONS(3114),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3116),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3118),
    [anon_sym_COLON] = ACTIONS(3114),
    [anon_sym_COLON_QMARK] = ACTIONS(3114),
    [anon_sym_COLON_DASH] = ACTIONS(3114),
    [anon_sym_PERCENT] = ACTIONS(3114),
    [anon_sym_DASH] = ACTIONS(3114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [948] = {
    [sym_concatenation] = STATE(1435),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1435),
    [anon_sym_RBRACE] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3124),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3126),
    [anon_sym_COLON] = ACTIONS(3122),
    [anon_sym_COLON_QMARK] = ACTIONS(3122),
    [anon_sym_COLON_DASH] = ACTIONS(3122),
    [anon_sym_PERCENT] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [949] = {
    [sym_concatenation] = STATE(1438),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1438),
    [anon_sym_RBRACE] = ACTIONS(3128),
    [anon_sym_EQ] = ACTIONS(3130),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3132),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3134),
    [anon_sym_COLON] = ACTIONS(3130),
    [anon_sym_COLON_QMARK] = ACTIONS(3130),
    [anon_sym_COLON_DASH] = ACTIONS(3130),
    [anon_sym_PERCENT] = ACTIONS(3130),
    [anon_sym_DASH] = ACTIONS(3130),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [950] = {
    [sym_concatenation] = STATE(1440),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1440),
    [anon_sym_RBRACE] = ACTIONS(3136),
    [anon_sym_EQ] = ACTIONS(3138),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3140),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3138),
    [anon_sym_COLON_QMARK] = ACTIONS(3138),
    [anon_sym_COLON_DASH] = ACTIONS(3138),
    [anon_sym_PERCENT] = ACTIONS(3138),
    [anon_sym_DASH] = ACTIONS(3138),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [951] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3142),
    [anon_sym_SEMI_SEMI] = ACTIONS(3144),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3146),
    [anon_sym_LF] = ACTIONS(3144),
    [anon_sym_AMP] = ACTIONS(3146),
  },
  [952] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3142),
    [anon_sym_SEMI_SEMI] = ACTIONS(3144),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3146),
    [anon_sym_LF] = ACTIONS(3144),
    [anon_sym_AMP] = ACTIONS(3146),
  },
  [953] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1443),
    [sym_c_style_for_statement] = STATE(1443),
    [sym_while_statement] = STATE(1443),
    [sym_if_statement] = STATE(1443),
    [sym_case_statement] = STATE(1443),
    [sym_function_definition] = STATE(1443),
    [sym_subshell] = STATE(1443),
    [sym_pipeline] = STATE(1443),
    [sym_list] = STATE(1443),
    [sym_negated_command] = STATE(1443),
    [sym_test_command] = STATE(1443),
    [sym_declaration_command] = STATE(1443),
    [sym_unset_command] = STATE(1443),
    [sym_command] = STATE(1443),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1444),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [954] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3148),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3142),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3150),
    [anon_sym_LF] = ACTIONS(3148),
    [anon_sym_AMP] = ACTIONS(3150),
  },
  [955] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3148),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3142),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3150),
    [anon_sym_LF] = ACTIONS(3148),
    [anon_sym_AMP] = ACTIONS(3150),
  },
  [956] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1446),
    [sym_c_style_for_statement] = STATE(1446),
    [sym_while_statement] = STATE(1446),
    [sym_if_statement] = STATE(1446),
    [sym_case_statement] = STATE(1446),
    [sym_function_definition] = STATE(1446),
    [sym_subshell] = STATE(1446),
    [sym_pipeline] = STATE(1446),
    [sym_list] = STATE(1446),
    [sym_negated_command] = STATE(1446),
    [sym_test_command] = STATE(1446),
    [sym_declaration_command] = STATE(1446),
    [sym_unset_command] = STATE(1446),
    [sym_command] = STATE(1446),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1447),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [957] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3152),
    [anon_sym_SEMI_SEMI] = ACTIONS(3154),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3156),
    [anon_sym_LF] = ACTIONS(3154),
    [anon_sym_AMP] = ACTIONS(3156),
  },
  [958] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3152),
    [anon_sym_SEMI_SEMI] = ACTIONS(3154),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3156),
    [anon_sym_LF] = ACTIONS(3154),
    [anon_sym_AMP] = ACTIONS(3156),
  },
  [959] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1450),
    [sym_c_style_for_statement] = STATE(1450),
    [sym_while_statement] = STATE(1450),
    [sym_if_statement] = STATE(1450),
    [sym_case_statement] = STATE(1450),
    [sym_function_definition] = STATE(1450),
    [sym_subshell] = STATE(1450),
    [sym_pipeline] = STATE(1450),
    [sym_list] = STATE(1450),
    [sym_negated_command] = STATE(1450),
    [sym_test_command] = STATE(1450),
    [sym_declaration_command] = STATE(1450),
    [sym_unset_command] = STATE(1450),
    [sym_command] = STATE(1450),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1451),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [960] = {
    [sym__simple_heredoc_body] = ACTIONS(3158),
    [sym__heredoc_body_beginning] = ACTIONS(3158),
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3160),
    [anon_sym_EQ_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [anon_sym_LT_LT] = ACTIONS(3160),
    [anon_sym_LT_LT_DASH] = ACTIONS(3158),
    [anon_sym_LT_LT_LT] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [961] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3162),
    [anon_sym_EQ] = ACTIONS(3164),
    [sym__special_characters] = ACTIONS(3167),
    [anon_sym_DQUOTE] = ACTIONS(3170),
    [anon_sym_DOLLAR] = ACTIONS(3173),
    [sym_raw_string] = ACTIONS(3176),
    [anon_sym_POUND] = ACTIONS(3179),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3182),
    [anon_sym_COLON] = ACTIONS(3164),
    [anon_sym_COLON_QMARK] = ACTIONS(3164),
    [anon_sym_COLON_DASH] = ACTIONS(3164),
    [anon_sym_PERCENT] = ACTIONS(3164),
    [anon_sym_DASH] = ACTIONS(3164),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3185),
    [anon_sym_BQUOTE] = ACTIONS(3188),
    [anon_sym_LT_LPAREN] = ACTIONS(3191),
    [anon_sym_GT_LPAREN] = ACTIONS(3191),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3194),
  },
  [962] = {
    [sym_concatenation] = STATE(1453),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1453),
    [anon_sym_RBRACE] = ACTIONS(3197),
    [anon_sym_EQ] = ACTIONS(3199),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3201),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3199),
    [anon_sym_COLON_QMARK] = ACTIONS(3199),
    [anon_sym_COLON_DASH] = ACTIONS(3199),
    [anon_sym_PERCENT] = ACTIONS(3199),
    [anon_sym_DASH] = ACTIONS(3199),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [963] = {
    [sym__simple_heredoc_body] = ACTIONS(3203),
    [sym__heredoc_body_beginning] = ACTIONS(3203),
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [ts_builtin_sym_end] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3205),
    [anon_sym_EQ_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [anon_sym_LT_LT] = ACTIONS(3205),
    [anon_sym_LT_LT_DASH] = ACTIONS(3203),
    [anon_sym_LT_LT_LT] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [964] = {
    [sym_concatenation] = STATE(1455),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1455),
    [anon_sym_RBRACE] = ACTIONS(3207),
    [anon_sym_EQ] = ACTIONS(3209),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3211),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3209),
    [anon_sym_COLON_QMARK] = ACTIONS(3209),
    [anon_sym_COLON_DASH] = ACTIONS(3209),
    [anon_sym_PERCENT] = ACTIONS(3209),
    [anon_sym_DASH] = ACTIONS(3209),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [965] = {
    [sym__simple_heredoc_body] = ACTIONS(3213),
    [sym__heredoc_body_beginning] = ACTIONS(3213),
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [ts_builtin_sym_end] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3215),
    [anon_sym_EQ_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [anon_sym_LT_LT] = ACTIONS(3215),
    [anon_sym_LT_LT_DASH] = ACTIONS(3213),
    [anon_sym_LT_LT_LT] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [966] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3217),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [967] = {
    [sym_file_redirect] = STATE(1457),
    [sym_heredoc_redirect] = STATE(1457),
    [sym_heredoc_body] = STATE(632),
    [sym_herestring_redirect] = STATE(1457),
    [aux_sym_while_statement_repeat1] = STATE(1457),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(1191),
    [anon_sym_SEMI_SEMI] = ACTIONS(1189),
    [anon_sym_PIPE_AMP] = ACTIONS(1189),
    [anon_sym_AMP_AMP] = ACTIONS(1189),
    [anon_sym_PIPE_PIPE] = ACTIONS(1189),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [anon_sym_BQUOTE] = ACTIONS(1189),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1191),
    [anon_sym_LF] = ACTIONS(1189),
    [anon_sym_AMP] = ACTIONS(1191),
  },
  [968] = {
    [anon_sym_RPAREN] = ACTIONS(3219),
    [sym_comment] = ACTIONS(53),
  },
  [969] = {
    [sym_file_redirect] = STATE(694),
    [sym_file_descriptor] = ACTIONS(3221),
    [anon_sym_PIPE] = ACTIONS(1291),
    [anon_sym_SEMI_SEMI] = ACTIONS(1289),
    [anon_sym_PIPE_AMP] = ACTIONS(1289),
    [anon_sym_AMP_AMP] = ACTIONS(1289),
    [anon_sym_PIPE_PIPE] = ACTIONS(1289),
    [anon_sym_LT] = ACTIONS(3223),
    [anon_sym_GT] = ACTIONS(3223),
    [anon_sym_GT_GT] = ACTIONS(3225),
    [anon_sym_AMP_GT] = ACTIONS(3223),
    [anon_sym_AMP_GT_GT] = ACTIONS(3225),
    [anon_sym_LT_AMP] = ACTIONS(3225),
    [anon_sym_GT_AMP] = ACTIONS(3225),
    [anon_sym_BQUOTE] = ACTIONS(1289),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1291),
    [anon_sym_LF] = ACTIONS(1289),
    [anon_sym_AMP] = ACTIONS(1291),
  },
  [970] = {
    [sym_file_redirect] = STATE(1464),
    [sym_heredoc_redirect] = STATE(1464),
    [sym_herestring_redirect] = STATE(1464),
    [aux_sym_while_statement_repeat1] = STATE(1464),
    [sym_file_descriptor] = ACTIONS(3227),
    [anon_sym_PIPE] = ACTIONS(1413),
    [anon_sym_SEMI_SEMI] = ACTIONS(1411),
    [anon_sym_PIPE_AMP] = ACTIONS(1411),
    [anon_sym_AMP_AMP] = ACTIONS(1411),
    [anon_sym_PIPE_PIPE] = ACTIONS(1411),
    [anon_sym_LT] = ACTIONS(3229),
    [anon_sym_GT] = ACTIONS(3229),
    [anon_sym_GT_GT] = ACTIONS(3231),
    [anon_sym_AMP_GT] = ACTIONS(3229),
    [anon_sym_AMP_GT_GT] = ACTIONS(3231),
    [anon_sym_LT_AMP] = ACTIONS(3231),
    [anon_sym_GT_AMP] = ACTIONS(3231),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(3233),
    [anon_sym_BQUOTE] = ACTIONS(1411),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1413),
    [anon_sym_LF] = ACTIONS(1411),
    [anon_sym_AMP] = ACTIONS(1413),
  },
  [971] = {
    [sym_compound_statement] = STATE(1465),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [972] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(1988),
    [anon_sym_SEMI_SEMI] = ACTIONS(1986),
    [anon_sym_PIPE_AMP] = ACTIONS(1986),
    [anon_sym_AMP_AMP] = ACTIONS(1986),
    [anon_sym_PIPE_PIPE] = ACTIONS(1986),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(1986),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1988),
    [anon_sym_LF] = ACTIONS(1986),
    [anon_sym_AMP] = ACTIONS(1988),
  },
  [973] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_BQUOTE] = ACTIONS(1990),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [974] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [975] = {
    [sym_concatenation] = STATE(998),
    [sym_string] = STATE(1467),
    [sym_simple_expansion] = STATE(1467),
    [sym_string_expansion] = STATE(1467),
    [sym_expansion] = STATE(1467),
    [sym_command_substitution] = STATE(1467),
    [sym_process_substitution] = STATE(1467),
    [sym__special_characters] = ACTIONS(3235),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(3237),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3237),
  },
  [976] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(727),
    [sym__heredoc_body_beginning] = ACTIONS(727),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [anon_sym_BQUOTE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [977] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [978] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(2034),
    [sym__heredoc_body_beginning] = ACTIONS(2034),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [anon_sym_BQUOTE] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [979] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [anon_sym_BQUOTE] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [980] = {
    [sym_file_redirect] = STATE(980),
    [sym_heredoc_redirect] = STATE(980),
    [sym_herestring_redirect] = STATE(980),
    [aux_sym_while_statement_repeat1] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(2046),
    [sym__heredoc_body_beginning] = ACTIONS(2046),
    [sym_file_descriptor] = ACTIONS(3239),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(3242),
    [anon_sym_GT] = ACTIONS(3242),
    [anon_sym_GT_GT] = ACTIONS(3245),
    [anon_sym_AMP_GT] = ACTIONS(3242),
    [anon_sym_AMP_GT_GT] = ACTIONS(3245),
    [anon_sym_LT_AMP] = ACTIONS(3245),
    [anon_sym_GT_AMP] = ACTIONS(3245),
    [anon_sym_LT_LT] = ACTIONS(2059),
    [anon_sym_LT_LT_DASH] = ACTIONS(2062),
    [anon_sym_LT_LT_LT] = ACTIONS(3248),
    [anon_sym_BQUOTE] = ACTIONS(2046),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [981] = {
    [sym_file_redirect] = STATE(980),
    [sym_heredoc_redirect] = STATE(980),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(980),
    [aux_sym_while_statement_repeat1] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [anon_sym_BQUOTE] = ACTIONS(2042),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [982] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3217),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [983] = {
    [sym_file_redirect] = STATE(1469),
    [sym_heredoc_redirect] = STATE(1469),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(1469),
    [sym_concatenation] = STATE(645),
    [sym_string] = STATE(252),
    [sym_simple_expansion] = STATE(252),
    [sym_string_expansion] = STATE(252),
    [sym_expansion] = STATE(252),
    [sym_command_substitution] = STATE(252),
    [sym_process_substitution] = STATE(252),
    [aux_sym_while_statement_repeat1] = STATE(1469),
    [aux_sym_command_repeat2] = STATE(645),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_EQ_TILDE] = ACTIONS(451),
    [anon_sym_EQ_EQ] = ACTIONS(451),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [sym__special_characters] = ACTIONS(459),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(2042),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(463),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [984] = {
    [sym__simple_heredoc_body] = ACTIONS(3251),
    [sym__heredoc_body_beginning] = ACTIONS(3251),
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [ts_builtin_sym_end] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3253),
    [anon_sym_EQ_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [anon_sym_LT_LT] = ACTIONS(3253),
    [anon_sym_LT_LT_DASH] = ACTIONS(3251),
    [anon_sym_LT_LT_LT] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [985] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3255),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [986] = {
    [sym_file_redirect] = STATE(1471),
    [sym_file_descriptor] = ACTIONS(1287),
    [ts_builtin_sym_end] = ACTIONS(2546),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_LT] = ACTIONS(1293),
    [anon_sym_GT] = ACTIONS(1293),
    [anon_sym_GT_GT] = ACTIONS(1295),
    [anon_sym_AMP_GT] = ACTIONS(1293),
    [anon_sym_AMP_GT_GT] = ACTIONS(1295),
    [anon_sym_LT_AMP] = ACTIONS(1295),
    [anon_sym_GT_AMP] = ACTIONS(1295),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [987] = {
    [sym__heredoc_body_middle] = ACTIONS(797),
    [sym__heredoc_body_end] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
  },
  [988] = {
    [sym__heredoc_body_middle] = ACTIONS(805),
    [sym__heredoc_body_end] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
  },
  [989] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3257),
    [sym_comment] = ACTIONS(53),
  },
  [990] = {
    [sym_subscript] = STATE(1476),
    [sym_variable_name] = ACTIONS(3259),
    [anon_sym_DOLLAR] = ACTIONS(3261),
    [anon_sym_DASH] = ACTIONS(3261),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3263),
    [anon_sym_STAR] = ACTIONS(3261),
    [anon_sym_AT] = ACTIONS(3261),
    [anon_sym_QMARK] = ACTIONS(3261),
    [anon_sym_0] = ACTIONS(3265),
    [anon_sym__] = ACTIONS(3265),
  },
  [991] = {
    [sym_concatenation] = STATE(1479),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1479),
    [anon_sym_RBRACE] = ACTIONS(3267),
    [anon_sym_EQ] = ACTIONS(3269),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3271),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3273),
    [anon_sym_COLON] = ACTIONS(3269),
    [anon_sym_COLON_QMARK] = ACTIONS(3269),
    [anon_sym_COLON_DASH] = ACTIONS(3269),
    [anon_sym_PERCENT] = ACTIONS(3269),
    [anon_sym_DASH] = ACTIONS(3269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [992] = {
    [sym_concatenation] = STATE(1482),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1482),
    [anon_sym_RBRACE] = ACTIONS(3275),
    [anon_sym_EQ] = ACTIONS(3277),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3279),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3281),
    [anon_sym_COLON] = ACTIONS(3277),
    [anon_sym_COLON_QMARK] = ACTIONS(3277),
    [anon_sym_COLON_DASH] = ACTIONS(3277),
    [anon_sym_PERCENT] = ACTIONS(3277),
    [anon_sym_DASH] = ACTIONS(3277),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [993] = {
    [sym_concatenation] = STATE(1485),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1485),
    [anon_sym_RBRACE] = ACTIONS(3283),
    [anon_sym_EQ] = ACTIONS(3285),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3287),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3289),
    [anon_sym_COLON] = ACTIONS(3285),
    [anon_sym_COLON_QMARK] = ACTIONS(3285),
    [anon_sym_COLON_DASH] = ACTIONS(3285),
    [anon_sym_PERCENT] = ACTIONS(3285),
    [anon_sym_DASH] = ACTIONS(3285),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [994] = {
    [ts_builtin_sym_end] = ACTIONS(3291),
    [anon_sym_esac] = ACTIONS(3291),
    [anon_sym_PIPE] = ACTIONS(3293),
    [anon_sym_RPAREN] = ACTIONS(3291),
    [anon_sym_SEMI_SEMI] = ACTIONS(3291),
    [anon_sym_PIPE_AMP] = ACTIONS(3291),
    [anon_sym_AMP_AMP] = ACTIONS(3291),
    [anon_sym_PIPE_PIPE] = ACTIONS(3291),
    [anon_sym_BQUOTE] = ACTIONS(3291),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3293),
    [anon_sym_LF] = ACTIONS(3291),
    [anon_sym_AMP] = ACTIONS(3293),
  },
  [995] = {
    [sym_simple_expansion] = STATE(995),
    [sym_expansion] = STATE(995),
    [aux_sym_heredoc_body_repeat1] = STATE(995),
    [sym__heredoc_body_middle] = ACTIONS(3295),
    [sym__heredoc_body_end] = ACTIONS(3298),
    [anon_sym_DOLLAR] = ACTIONS(3300),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3303),
    [sym_comment] = ACTIONS(53),
  },
  [996] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(1051),
    [sym__heredoc_body_beginning] = ACTIONS(1051),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [997] = {
    [aux_sym_concatenation_repeat1] = STATE(999),
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [998] = {
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [999] = {
    [aux_sym_concatenation_repeat1] = STATE(1486),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1000] = {
    [ts_builtin_sym_end] = ACTIONS(3306),
    [anon_sym_esac] = ACTIONS(3306),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_RPAREN] = ACTIONS(3306),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_BQUOTE] = ACTIONS(3306),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [1001] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_done] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_fi] = ACTIONS(903),
    [anon_sym_elif] = ACTIONS(903),
    [anon_sym_else] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1002] = {
    [sym_file_redirect] = STATE(532),
    [sym_heredoc_redirect] = STATE(532),
    [sym_heredoc_body] = STATE(1487),
    [sym_herestring_redirect] = STATE(532),
    [aux_sym_while_statement_repeat1] = STATE(532),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(325),
    [ts_builtin_sym_end] = ACTIONS(3306),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_LT] = ACTIONS(333),
    [anon_sym_GT] = ACTIONS(333),
    [anon_sym_GT_GT] = ACTIONS(335),
    [anon_sym_AMP_GT] = ACTIONS(333),
    [anon_sym_AMP_GT_GT] = ACTIONS(335),
    [anon_sym_LT_AMP] = ACTIONS(335),
    [anon_sym_GT_AMP] = ACTIONS(335),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(341),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [1003] = {
    [sym__concat] = ACTIONS(3310),
    [anon_sym_EQ] = ACTIONS(3312),
    [anon_sym_PLUS_EQ] = ACTIONS(3312),
    [sym_comment] = ACTIONS(53),
  },
  [1004] = {
    [anon_sym_EQ] = ACTIONS(3312),
    [anon_sym_PLUS_EQ] = ACTIONS(3312),
    [sym_comment] = ACTIONS(53),
  },
  [1005] = {
    [aux_sym_concatenation_repeat1] = STATE(1005),
    [sym__concat] = ACTIONS(2633),
    [anon_sym_RBRACK] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
  },
  [1006] = {
    [sym__concat] = ACTIONS(3314),
    [anon_sym_EQ] = ACTIONS(3316),
    [anon_sym_PLUS_EQ] = ACTIONS(3316),
    [sym_comment] = ACTIONS(53),
  },
  [1007] = {
    [anon_sym_EQ] = ACTIONS(3316),
    [anon_sym_PLUS_EQ] = ACTIONS(3316),
    [sym_comment] = ACTIONS(53),
  },
  [1008] = {
    [sym_string] = STATE(1490),
    [sym_simple_expansion] = STATE(1490),
    [sym_string_expansion] = STATE(1490),
    [sym_expansion] = STATE(1490),
    [sym_command_substitution] = STATE(1490),
    [sym_process_substitution] = STATE(1490),
    [sym__special_characters] = ACTIONS(3318),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(3318),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3318),
  },
  [1009] = {
    [aux_sym_concatenation_repeat1] = STATE(1491),
    [sym__concat] = ACTIONS(2122),
    [anon_sym_RPAREN] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(761),
  },
  [1010] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_RPAREN] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(765),
  },
  [1011] = {
    [anon_sym_DQUOTE] = ACTIONS(3320),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1012] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(3320),
    [anon_sym_DOLLAR] = ACTIONS(3322),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1013] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_RPAREN] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(797),
  },
  [1014] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_RPAREN] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(801),
  },
  [1015] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_RPAREN] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(805),
  },
  [1016] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3324),
    [sym_comment] = ACTIONS(53),
  },
  [1017] = {
    [sym_subscript] = STATE(1498),
    [sym_variable_name] = ACTIONS(3326),
    [anon_sym_DOLLAR] = ACTIONS(3328),
    [anon_sym_DASH] = ACTIONS(3328),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3330),
    [anon_sym_STAR] = ACTIONS(3328),
    [anon_sym_AT] = ACTIONS(3328),
    [anon_sym_QMARK] = ACTIONS(3328),
    [anon_sym_0] = ACTIONS(3332),
    [anon_sym__] = ACTIONS(3332),
  },
  [1018] = {
    [sym_concatenation] = STATE(1501),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1501),
    [anon_sym_RBRACE] = ACTIONS(3334),
    [anon_sym_EQ] = ACTIONS(3336),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3338),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3340),
    [anon_sym_COLON] = ACTIONS(3336),
    [anon_sym_COLON_QMARK] = ACTIONS(3336),
    [anon_sym_COLON_DASH] = ACTIONS(3336),
    [anon_sym_PERCENT] = ACTIONS(3336),
    [anon_sym_DASH] = ACTIONS(3336),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1019] = {
    [sym_concatenation] = STATE(1504),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1504),
    [anon_sym_RBRACE] = ACTIONS(3342),
    [anon_sym_EQ] = ACTIONS(3344),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3346),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3348),
    [anon_sym_COLON] = ACTIONS(3344),
    [anon_sym_COLON_QMARK] = ACTIONS(3344),
    [anon_sym_COLON_DASH] = ACTIONS(3344),
    [anon_sym_PERCENT] = ACTIONS(3344),
    [anon_sym_DASH] = ACTIONS(3344),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1020] = {
    [sym_concatenation] = STATE(1507),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1507),
    [anon_sym_RBRACE] = ACTIONS(3350),
    [anon_sym_EQ] = ACTIONS(3352),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3354),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3356),
    [anon_sym_COLON] = ACTIONS(3352),
    [anon_sym_COLON_QMARK] = ACTIONS(3352),
    [anon_sym_COLON_DASH] = ACTIONS(3352),
    [anon_sym_PERCENT] = ACTIONS(3352),
    [anon_sym_DASH] = ACTIONS(3352),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1021] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3358),
    [anon_sym_SEMI_SEMI] = ACTIONS(3360),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3362),
    [anon_sym_LF] = ACTIONS(3360),
    [anon_sym_AMP] = ACTIONS(3362),
  },
  [1022] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3358),
    [anon_sym_SEMI_SEMI] = ACTIONS(3360),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3362),
    [anon_sym_LF] = ACTIONS(3360),
    [anon_sym_AMP] = ACTIONS(3362),
  },
  [1023] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1510),
    [sym_c_style_for_statement] = STATE(1510),
    [sym_while_statement] = STATE(1510),
    [sym_if_statement] = STATE(1510),
    [sym_case_statement] = STATE(1510),
    [sym_function_definition] = STATE(1510),
    [sym_subshell] = STATE(1510),
    [sym_pipeline] = STATE(1510),
    [sym_list] = STATE(1510),
    [sym_negated_command] = STATE(1510),
    [sym_test_command] = STATE(1510),
    [sym_declaration_command] = STATE(1510),
    [sym_unset_command] = STATE(1510),
    [sym_command] = STATE(1510),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1511),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1024] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3364),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3358),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3366),
    [anon_sym_LF] = ACTIONS(3364),
    [anon_sym_AMP] = ACTIONS(3366),
  },
  [1025] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3364),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3358),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3366),
    [anon_sym_LF] = ACTIONS(3364),
    [anon_sym_AMP] = ACTIONS(3366),
  },
  [1026] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1513),
    [sym_c_style_for_statement] = STATE(1513),
    [sym_while_statement] = STATE(1513),
    [sym_if_statement] = STATE(1513),
    [sym_case_statement] = STATE(1513),
    [sym_function_definition] = STATE(1513),
    [sym_subshell] = STATE(1513),
    [sym_pipeline] = STATE(1513),
    [sym_list] = STATE(1513),
    [sym_negated_command] = STATE(1513),
    [sym_test_command] = STATE(1513),
    [sym_declaration_command] = STATE(1513),
    [sym_unset_command] = STATE(1513),
    [sym_command] = STATE(1513),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1514),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1027] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3368),
    [anon_sym_SEMI_SEMI] = ACTIONS(3370),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3372),
    [anon_sym_LF] = ACTIONS(3370),
    [anon_sym_AMP] = ACTIONS(3372),
  },
  [1028] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3368),
    [anon_sym_SEMI_SEMI] = ACTIONS(3370),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3372),
    [anon_sym_LF] = ACTIONS(3370),
    [anon_sym_AMP] = ACTIONS(3372),
  },
  [1029] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1517),
    [sym_c_style_for_statement] = STATE(1517),
    [sym_while_statement] = STATE(1517),
    [sym_if_statement] = STATE(1517),
    [sym_case_statement] = STATE(1517),
    [sym_function_definition] = STATE(1517),
    [sym_subshell] = STATE(1517),
    [sym_pipeline] = STATE(1517),
    [sym_list] = STATE(1517),
    [sym_negated_command] = STATE(1517),
    [sym_test_command] = STATE(1517),
    [sym_declaration_command] = STATE(1517),
    [sym_unset_command] = STATE(1517),
    [sym_command] = STATE(1517),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1518),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1030] = {
    [sym_file_descriptor] = ACTIONS(3374),
    [sym_variable_name] = ACTIONS(3374),
    [ts_builtin_sym_end] = ACTIONS(3374),
    [anon_sym_PIPE] = ACTIONS(3376),
    [anon_sym_RPAREN] = ACTIONS(3374),
    [anon_sym_SEMI_SEMI] = ACTIONS(3374),
    [anon_sym_PIPE_AMP] = ACTIONS(3374),
    [anon_sym_AMP_AMP] = ACTIONS(3374),
    [anon_sym_PIPE_PIPE] = ACTIONS(3374),
    [anon_sym_LT] = ACTIONS(3376),
    [anon_sym_GT] = ACTIONS(3376),
    [anon_sym_GT_GT] = ACTIONS(3374),
    [anon_sym_AMP_GT] = ACTIONS(3376),
    [anon_sym_AMP_GT_GT] = ACTIONS(3374),
    [anon_sym_LT_AMP] = ACTIONS(3374),
    [anon_sym_GT_AMP] = ACTIONS(3374),
    [sym__special_characters] = ACTIONS(3374),
    [anon_sym_DQUOTE] = ACTIONS(3374),
    [anon_sym_DOLLAR] = ACTIONS(3376),
    [sym_raw_string] = ACTIONS(3374),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3374),
    [anon_sym_BQUOTE] = ACTIONS(3374),
    [anon_sym_LT_LPAREN] = ACTIONS(3374),
    [anon_sym_GT_LPAREN] = ACTIONS(3374),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3376),
    [anon_sym_SEMI] = ACTIONS(3376),
    [anon_sym_LF] = ACTIONS(3374),
    [anon_sym_AMP] = ACTIONS(3376),
  },
  [1031] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(3378),
    [sym__special_characters] = ACTIONS(3380),
    [anon_sym_DQUOTE] = ACTIONS(3383),
    [anon_sym_DOLLAR] = ACTIONS(3386),
    [sym_raw_string] = ACTIONS(3389),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3392),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3395),
    [anon_sym_BQUOTE] = ACTIONS(3398),
    [anon_sym_LT_LPAREN] = ACTIONS(3401),
    [anon_sym_GT_LPAREN] = ACTIONS(3401),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3389),
  },
  [1032] = {
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [sym_variable_name] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1033] = {
    [aux_sym_concatenation_repeat1] = STATE(1033),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(3404),
    [sym_variable_name] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1034] = {
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [sym_variable_name] = ACTIONS(1769),
    [ts_builtin_sym_end] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [1035] = {
    [anon_sym_DQUOTE] = ACTIONS(3407),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1036] = {
    [sym_concatenation] = STATE(1523),
    [sym_string] = STATE(1522),
    [sym_simple_expansion] = STATE(1522),
    [sym_string_expansion] = STATE(1522),
    [sym_expansion] = STATE(1522),
    [sym_command_substitution] = STATE(1522),
    [sym_process_substitution] = STATE(1522),
    [anon_sym_RBRACE] = ACTIONS(3409),
    [sym__special_characters] = ACTIONS(3411),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3413),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3413),
  },
  [1037] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3415),
    [sym_comment] = ACTIONS(53),
  },
  [1038] = {
    [sym_concatenation] = STATE(1527),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1527),
    [anon_sym_RBRACE] = ACTIONS(3417),
    [anon_sym_EQ] = ACTIONS(3419),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3421),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3423),
    [anon_sym_COLON] = ACTIONS(3419),
    [anon_sym_COLON_QMARK] = ACTIONS(3419),
    [anon_sym_COLON_DASH] = ACTIONS(3419),
    [anon_sym_PERCENT] = ACTIONS(3419),
    [anon_sym_DASH] = ACTIONS(3419),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1039] = {
    [sym_concatenation] = STATE(1530),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1530),
    [anon_sym_RBRACE] = ACTIONS(3425),
    [anon_sym_EQ] = ACTIONS(3427),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3429),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3431),
    [anon_sym_COLON] = ACTIONS(3427),
    [anon_sym_COLON_QMARK] = ACTIONS(3427),
    [anon_sym_COLON_DASH] = ACTIONS(3427),
    [anon_sym_PERCENT] = ACTIONS(3427),
    [anon_sym_DASH] = ACTIONS(3427),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1040] = {
    [sym_concatenation] = STATE(1532),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1532),
    [anon_sym_RBRACE] = ACTIONS(3409),
    [anon_sym_EQ] = ACTIONS(3433),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3435),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3437),
    [anon_sym_COLON] = ACTIONS(3433),
    [anon_sym_COLON_QMARK] = ACTIONS(3433),
    [anon_sym_COLON_DASH] = ACTIONS(3433),
    [anon_sym_PERCENT] = ACTIONS(3433),
    [anon_sym_DASH] = ACTIONS(3433),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1041] = {
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [sym_variable_name] = ACTIONS(1886),
    [ts_builtin_sym_end] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [1042] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3439),
  },
  [1043] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3441),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1044] = {
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [sym_variable_name] = ACTIONS(1930),
    [ts_builtin_sym_end] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [1045] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3443),
  },
  [1046] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3445),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1047] = {
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [sym_variable_name] = ACTIONS(1938),
    [ts_builtin_sym_end] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [1048] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3447),
  },
  [1049] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3409),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1050] = {
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [sym_variable_name] = ACTIONS(1944),
    [ts_builtin_sym_end] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [1051] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3449),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1052] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3449),
    [anon_sym_SEMI_SEMI] = ACTIONS(3451),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3453),
    [anon_sym_LF] = ACTIONS(3451),
    [anon_sym_AMP] = ACTIONS(3453),
  },
  [1053] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3449),
    [anon_sym_SEMI_SEMI] = ACTIONS(3451),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3453),
    [anon_sym_LF] = ACTIONS(3451),
    [anon_sym_AMP] = ACTIONS(3453),
  },
  [1054] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3449),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1055] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3455),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3449),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3457),
    [anon_sym_LF] = ACTIONS(3455),
    [anon_sym_AMP] = ACTIONS(3457),
  },
  [1056] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3455),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3449),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3457),
    [anon_sym_LF] = ACTIONS(3455),
    [anon_sym_AMP] = ACTIONS(3457),
  },
  [1057] = {
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [sym_variable_name] = ACTIONS(1976),
    [ts_builtin_sym_end] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [1058] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3459),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1059] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3459),
    [anon_sym_SEMI_SEMI] = ACTIONS(3461),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3463),
    [anon_sym_LF] = ACTIONS(3461),
    [anon_sym_AMP] = ACTIONS(3463),
  },
  [1060] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3459),
    [anon_sym_SEMI_SEMI] = ACTIONS(3461),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3463),
    [anon_sym_LF] = ACTIONS(3461),
    [anon_sym_AMP] = ACTIONS(3463),
  },
  [1061] = {
    [sym_do_group] = STATE(1544),
    [sym_compound_statement] = STATE(1544),
    [anon_sym_do] = ACTIONS(1173),
    [anon_sym_LBRACE] = ACTIONS(3465),
    [sym_comment] = ACTIONS(53),
  },
  [1062] = {
    [sym__expression] = STATE(1545),
    [sym_binary_expression] = STATE(1545),
    [sym_unary_expression] = STATE(1545),
    [sym_parenthesized_expression] = STATE(1545),
    [sym_concatenation] = STATE(1545),
    [sym_string] = STATE(319),
    [sym_simple_expansion] = STATE(319),
    [sym_string_expansion] = STATE(319),
    [sym_expansion] = STATE(319),
    [sym_command_substitution] = STATE(319),
    [sym_process_substitution] = STATE(319),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(565),
    [sym__special_characters] = ACTIONS(567),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(571),
    [sym_test_operator] = ACTIONS(573),
  },
  [1063] = {
    [sym__expression] = STATE(1546),
    [sym_binary_expression] = STATE(1546),
    [sym_unary_expression] = STATE(1546),
    [sym_parenthesized_expression] = STATE(1546),
    [sym_concatenation] = STATE(1546),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_LPAREN] = ACTIONS(2214),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(2218),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2224),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2236),
  },
  [1064] = {
    [aux_sym_concatenation_repeat1] = STATE(1548),
    [sym__concat] = ACTIONS(3467),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(577),
    [anon_sym_AMP_AMP] = ACTIONS(577),
    [anon_sym_PIPE_PIPE] = ACTIONS(577),
    [anon_sym_EQ_TILDE] = ACTIONS(577),
    [anon_sym_EQ_EQ] = ACTIONS(577),
    [anon_sym_EQ] = ACTIONS(579),
    [anon_sym_LT] = ACTIONS(577),
    [anon_sym_GT] = ACTIONS(577),
    [anon_sym_BANG_EQ] = ACTIONS(577),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(577),
  },
  [1065] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(1551),
    [anon_sym_DQUOTE] = ACTIONS(3469),
    [anon_sym_DOLLAR] = ACTIONS(3471),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1066] = {
    [sym_string] = STATE(1553),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(3473),
    [sym_raw_string] = ACTIONS(3475),
    [anon_sym_POUND] = ACTIONS(3473),
    [anon_sym_DASH] = ACTIONS(3473),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3477),
    [anon_sym_STAR] = ACTIONS(3473),
    [anon_sym_AT] = ACTIONS(3473),
    [anon_sym_QMARK] = ACTIONS(3473),
    [anon_sym_0] = ACTIONS(3479),
    [anon_sym__] = ACTIONS(3479),
  },
  [1067] = {
    [aux_sym_concatenation_repeat1] = STATE(1548),
    [sym__concat] = ACTIONS(3467),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(593),
    [anon_sym_AMP_AMP] = ACTIONS(593),
    [anon_sym_PIPE_PIPE] = ACTIONS(593),
    [anon_sym_EQ_TILDE] = ACTIONS(593),
    [anon_sym_EQ_EQ] = ACTIONS(593),
    [anon_sym_EQ] = ACTIONS(595),
    [anon_sym_LT] = ACTIONS(593),
    [anon_sym_GT] = ACTIONS(593),
    [anon_sym_BANG_EQ] = ACTIONS(593),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(593),
  },
  [1068] = {
    [sym_subscript] = STATE(1559),
    [sym_variable_name] = ACTIONS(3481),
    [anon_sym_BANG] = ACTIONS(3483),
    [anon_sym_DOLLAR] = ACTIONS(3485),
    [anon_sym_POUND] = ACTIONS(3483),
    [anon_sym_DASH] = ACTIONS(3485),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3487),
    [anon_sym_STAR] = ACTIONS(3485),
    [anon_sym_AT] = ACTIONS(3485),
    [anon_sym_QMARK] = ACTIONS(3485),
    [anon_sym_0] = ACTIONS(3489),
    [anon_sym__] = ACTIONS(3489),
  },
  [1069] = {
    [sym__terminated_statement] = STATE(1562),
    [sym_for_statement] = STATE(1560),
    [sym_c_style_for_statement] = STATE(1560),
    [sym_while_statement] = STATE(1560),
    [sym_if_statement] = STATE(1560),
    [sym_case_statement] = STATE(1560),
    [sym_function_definition] = STATE(1560),
    [sym_subshell] = STATE(1560),
    [sym_pipeline] = STATE(1560),
    [sym_list] = STATE(1560),
    [sym_negated_command] = STATE(1560),
    [sym_test_command] = STATE(1560),
    [sym_declaration_command] = STATE(1560),
    [sym_unset_command] = STATE(1560),
    [sym_command] = STATE(1560),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1561),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1562),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1070] = {
    [sym__terminated_statement] = STATE(1565),
    [sym_for_statement] = STATE(1563),
    [sym_c_style_for_statement] = STATE(1563),
    [sym_while_statement] = STATE(1563),
    [sym_if_statement] = STATE(1563),
    [sym_case_statement] = STATE(1563),
    [sym_function_definition] = STATE(1563),
    [sym_subshell] = STATE(1563),
    [sym_pipeline] = STATE(1563),
    [sym_list] = STATE(1563),
    [sym_negated_command] = STATE(1563),
    [sym_test_command] = STATE(1563),
    [sym_declaration_command] = STATE(1563),
    [sym_unset_command] = STATE(1563),
    [sym_command] = STATE(1563),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1564),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1565),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1071] = {
    [sym__terminated_statement] = STATE(1568),
    [sym_for_statement] = STATE(1566),
    [sym_c_style_for_statement] = STATE(1566),
    [sym_while_statement] = STATE(1566),
    [sym_if_statement] = STATE(1566),
    [sym_case_statement] = STATE(1566),
    [sym_function_definition] = STATE(1566),
    [sym_subshell] = STATE(1566),
    [sym_pipeline] = STATE(1566),
    [sym_list] = STATE(1566),
    [sym_negated_command] = STATE(1566),
    [sym_test_command] = STATE(1566),
    [sym_declaration_command] = STATE(1566),
    [sym_unset_command] = STATE(1566),
    [sym_command] = STATE(1566),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1567),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1568),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1072] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3491),
    [anon_sym_AMP_AMP] = ACTIONS(3493),
    [anon_sym_PIPE_PIPE] = ACTIONS(3493),
    [anon_sym_EQ_TILDE] = ACTIONS(3495),
    [anon_sym_EQ_EQ] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3497),
    [anon_sym_LT] = ACTIONS(3493),
    [anon_sym_GT] = ACTIONS(3493),
    [anon_sym_BANG_EQ] = ACTIONS(3493),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3493),
  },
  [1073] = {
    [sym__expression] = STATE(1572),
    [sym_binary_expression] = STATE(1572),
    [sym_unary_expression] = STATE(1572),
    [sym_parenthesized_expression] = STATE(1572),
    [sym_concatenation] = STATE(1572),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3491),
    [anon_sym_LPAREN] = ACTIONS(2214),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(2218),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2224),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2236),
  },
  [1074] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2627),
    [anon_sym_AMP_AMP] = ACTIONS(2627),
    [anon_sym_PIPE_PIPE] = ACTIONS(2627),
    [anon_sym_EQ_TILDE] = ACTIONS(2627),
    [anon_sym_EQ_EQ] = ACTIONS(2627),
    [anon_sym_EQ] = ACTIONS(2629),
    [anon_sym_LT] = ACTIONS(2627),
    [anon_sym_GT] = ACTIONS(2627),
    [anon_sym_BANG_EQ] = ACTIONS(2627),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2627),
    [anon_sym_SEMI] = ACTIONS(2629),
    [anon_sym_LF] = ACTIONS(2627),
    [anon_sym_AMP] = ACTIONS(2629),
  },
  [1075] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1076] = {
    [aux_sym_concatenation_repeat1] = STATE(1076),
    [sym__concat] = ACTIONS(3499),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1077] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1769),
    [anon_sym_EQ_EQ] = ACTIONS(1769),
    [anon_sym_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1769),
    [anon_sym_GT] = ACTIONS(1769),
    [anon_sym_BANG_EQ] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1769),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [1078] = {
    [anon_sym_DQUOTE] = ACTIONS(3502),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1079] = {
    [sym_concatenation] = STATE(1577),
    [sym_string] = STATE(1576),
    [sym_simple_expansion] = STATE(1576),
    [sym_string_expansion] = STATE(1576),
    [sym_expansion] = STATE(1576),
    [sym_command_substitution] = STATE(1576),
    [sym_process_substitution] = STATE(1576),
    [anon_sym_RBRACE] = ACTIONS(3504),
    [sym__special_characters] = ACTIONS(3506),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3508),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3508),
  },
  [1080] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3510),
    [sym_comment] = ACTIONS(53),
  },
  [1081] = {
    [sym_concatenation] = STATE(1581),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1581),
    [anon_sym_RBRACE] = ACTIONS(3512),
    [anon_sym_EQ] = ACTIONS(3514),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3516),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3518),
    [anon_sym_COLON] = ACTIONS(3514),
    [anon_sym_COLON_QMARK] = ACTIONS(3514),
    [anon_sym_COLON_DASH] = ACTIONS(3514),
    [anon_sym_PERCENT] = ACTIONS(3514),
    [anon_sym_DASH] = ACTIONS(3514),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1082] = {
    [sym_concatenation] = STATE(1584),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1584),
    [anon_sym_RBRACE] = ACTIONS(3520),
    [anon_sym_EQ] = ACTIONS(3522),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3524),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3526),
    [anon_sym_COLON] = ACTIONS(3522),
    [anon_sym_COLON_QMARK] = ACTIONS(3522),
    [anon_sym_COLON_DASH] = ACTIONS(3522),
    [anon_sym_PERCENT] = ACTIONS(3522),
    [anon_sym_DASH] = ACTIONS(3522),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1083] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1586),
    [anon_sym_RBRACE] = ACTIONS(3504),
    [anon_sym_EQ] = ACTIONS(3528),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3530),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3532),
    [anon_sym_COLON] = ACTIONS(3528),
    [anon_sym_COLON_QMARK] = ACTIONS(3528),
    [anon_sym_COLON_DASH] = ACTIONS(3528),
    [anon_sym_PERCENT] = ACTIONS(3528),
    [anon_sym_DASH] = ACTIONS(3528),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1084] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1886),
    [anon_sym_EQ_EQ] = ACTIONS(1886),
    [anon_sym_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1886),
    [anon_sym_GT] = ACTIONS(1886),
    [anon_sym_BANG_EQ] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1886),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [1085] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3534),
  },
  [1086] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3536),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1087] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1930),
    [anon_sym_EQ_EQ] = ACTIONS(1930),
    [anon_sym_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1930),
    [anon_sym_GT] = ACTIONS(1930),
    [anon_sym_BANG_EQ] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1930),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [1088] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3538),
  },
  [1089] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3540),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1090] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1938),
    [anon_sym_EQ_EQ] = ACTIONS(1938),
    [anon_sym_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1938),
    [anon_sym_GT] = ACTIONS(1938),
    [anon_sym_BANG_EQ] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1938),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [1091] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3542),
  },
  [1092] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3504),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1093] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1944),
    [anon_sym_EQ_EQ] = ACTIONS(1944),
    [anon_sym_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1944),
    [anon_sym_GT] = ACTIONS(1944),
    [anon_sym_BANG_EQ] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1944),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [1094] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3544),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1095] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3544),
    [anon_sym_SEMI_SEMI] = ACTIONS(3546),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3548),
    [anon_sym_LF] = ACTIONS(3546),
    [anon_sym_AMP] = ACTIONS(3548),
  },
  [1096] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3544),
    [anon_sym_SEMI_SEMI] = ACTIONS(3546),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3548),
    [anon_sym_LF] = ACTIONS(3546),
    [anon_sym_AMP] = ACTIONS(3548),
  },
  [1097] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3544),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1098] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3550),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3544),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3552),
    [anon_sym_LF] = ACTIONS(3550),
    [anon_sym_AMP] = ACTIONS(3552),
  },
  [1099] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3550),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3544),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3552),
    [anon_sym_LF] = ACTIONS(3550),
    [anon_sym_AMP] = ACTIONS(3552),
  },
  [1100] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1976),
    [anon_sym_EQ_EQ] = ACTIONS(1976),
    [anon_sym_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1976),
    [anon_sym_GT] = ACTIONS(1976),
    [anon_sym_BANG_EQ] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1976),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [1101] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3554),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1102] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3554),
    [anon_sym_SEMI_SEMI] = ACTIONS(3556),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3558),
    [anon_sym_LF] = ACTIONS(3556),
    [anon_sym_AMP] = ACTIONS(3558),
  },
  [1103] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3554),
    [anon_sym_SEMI_SEMI] = ACTIONS(3556),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3558),
    [anon_sym_LF] = ACTIONS(3556),
    [anon_sym_AMP] = ACTIONS(3558),
  },
  [1104] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(3560),
    [anon_sym_AMP_AMP] = ACTIONS(1149),
    [anon_sym_PIPE_PIPE] = ACTIONS(1149),
    [anon_sym_EQ_TILDE] = ACTIONS(1151),
    [anon_sym_EQ_EQ] = ACTIONS(1151),
    [anon_sym_EQ] = ACTIONS(1153),
    [anon_sym_LT] = ACTIONS(1149),
    [anon_sym_GT] = ACTIONS(1149),
    [anon_sym_BANG_EQ] = ACTIONS(1149),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1149),
    [anon_sym_SEMI] = ACTIONS(3562),
    [anon_sym_LF] = ACTIONS(3560),
    [anon_sym_AMP] = ACTIONS(3562),
  },
  [1105] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
    [anon_sym_SEMI] = ACTIONS(2696),
    [anon_sym_LF] = ACTIONS(2694),
    [anon_sym_AMP] = ACTIONS(2696),
  },
  [1106] = {
    [anon_sym_SEMI_SEMI] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
    [anon_sym_SEMI] = ACTIONS(2696),
    [anon_sym_LF] = ACTIONS(2694),
    [anon_sym_AMP] = ACTIONS(2696),
  },
  [1107] = {
    [sym_string] = STATE(1598),
    [sym_simple_expansion] = STATE(1598),
    [sym_string_expansion] = STATE(1598),
    [sym_expansion] = STATE(1598),
    [sym_command_substitution] = STATE(1598),
    [sym_process_substitution] = STATE(1598),
    [sym__special_characters] = ACTIONS(3564),
    [anon_sym_DQUOTE] = ACTIONS(1159),
    [anon_sym_DOLLAR] = ACTIONS(1161),
    [sym_raw_string] = ACTIONS(3564),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1165),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1167),
    [anon_sym_BQUOTE] = ACTIONS(1169),
    [anon_sym_LT_LPAREN] = ACTIONS(1171),
    [anon_sym_GT_LPAREN] = ACTIONS(1171),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3564),
  },
  [1108] = {
    [aux_sym_concatenation_repeat1] = STATE(1599),
    [sym__concat] = ACTIONS(2318),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(761),
  },
  [1109] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(765),
  },
  [1110] = {
    [anon_sym_DQUOTE] = ACTIONS(3566),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1111] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(3566),
    [anon_sym_DOLLAR] = ACTIONS(3568),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1112] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(797),
  },
  [1113] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(801),
  },
  [1114] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(805),
  },
  [1115] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(3570),
    [sym_comment] = ACTIONS(53),
  },
  [1116] = {
    [sym_subscript] = STATE(1606),
    [sym_variable_name] = ACTIONS(3572),
    [anon_sym_DOLLAR] = ACTIONS(3574),
    [anon_sym_DASH] = ACTIONS(3574),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3576),
    [anon_sym_STAR] = ACTIONS(3574),
    [anon_sym_AT] = ACTIONS(3574),
    [anon_sym_QMARK] = ACTIONS(3574),
    [anon_sym_0] = ACTIONS(3578),
    [anon_sym__] = ACTIONS(3578),
  },
  [1117] = {
    [sym_concatenation] = STATE(1609),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1609),
    [anon_sym_RBRACE] = ACTIONS(3580),
    [anon_sym_EQ] = ACTIONS(3582),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3584),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3586),
    [anon_sym_COLON] = ACTIONS(3582),
    [anon_sym_COLON_QMARK] = ACTIONS(3582),
    [anon_sym_COLON_DASH] = ACTIONS(3582),
    [anon_sym_PERCENT] = ACTIONS(3582),
    [anon_sym_DASH] = ACTIONS(3582),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1118] = {
    [sym_concatenation] = STATE(1612),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1612),
    [anon_sym_RBRACE] = ACTIONS(3588),
    [anon_sym_EQ] = ACTIONS(3590),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3592),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3594),
    [anon_sym_COLON] = ACTIONS(3590),
    [anon_sym_COLON_QMARK] = ACTIONS(3590),
    [anon_sym_COLON_DASH] = ACTIONS(3590),
    [anon_sym_PERCENT] = ACTIONS(3590),
    [anon_sym_DASH] = ACTIONS(3590),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1119] = {
    [sym_concatenation] = STATE(1615),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1615),
    [anon_sym_RBRACE] = ACTIONS(3596),
    [anon_sym_EQ] = ACTIONS(3598),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3600),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(3602),
    [anon_sym_COLON] = ACTIONS(3598),
    [anon_sym_COLON_QMARK] = ACTIONS(3598),
    [anon_sym_COLON_DASH] = ACTIONS(3598),
    [anon_sym_PERCENT] = ACTIONS(3598),
    [anon_sym_DASH] = ACTIONS(3598),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1120] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3604),
    [anon_sym_SEMI_SEMI] = ACTIONS(3606),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3608),
    [anon_sym_LF] = ACTIONS(3606),
    [anon_sym_AMP] = ACTIONS(3608),
  },
  [1121] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3604),
    [anon_sym_SEMI_SEMI] = ACTIONS(3606),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3608),
    [anon_sym_LF] = ACTIONS(3606),
    [anon_sym_AMP] = ACTIONS(3608),
  },
  [1122] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1618),
    [sym_c_style_for_statement] = STATE(1618),
    [sym_while_statement] = STATE(1618),
    [sym_if_statement] = STATE(1618),
    [sym_case_statement] = STATE(1618),
    [sym_function_definition] = STATE(1618),
    [sym_subshell] = STATE(1618),
    [sym_pipeline] = STATE(1618),
    [sym_list] = STATE(1618),
    [sym_negated_command] = STATE(1618),
    [sym_test_command] = STATE(1618),
    [sym_declaration_command] = STATE(1618),
    [sym_unset_command] = STATE(1618),
    [sym_command] = STATE(1618),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1619),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1123] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3610),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(3604),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3612),
    [anon_sym_LF] = ACTIONS(3610),
    [anon_sym_AMP] = ACTIONS(3612),
  },
  [1124] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(3610),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(3604),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3612),
    [anon_sym_LF] = ACTIONS(3610),
    [anon_sym_AMP] = ACTIONS(3612),
  },
  [1125] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1621),
    [sym_c_style_for_statement] = STATE(1621),
    [sym_while_statement] = STATE(1621),
    [sym_if_statement] = STATE(1621),
    [sym_case_statement] = STATE(1621),
    [sym_function_definition] = STATE(1621),
    [sym_subshell] = STATE(1621),
    [sym_pipeline] = STATE(1621),
    [sym_list] = STATE(1621),
    [sym_negated_command] = STATE(1621),
    [sym_test_command] = STATE(1621),
    [sym_declaration_command] = STATE(1621),
    [sym_unset_command] = STATE(1621),
    [sym_command] = STATE(1621),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1622),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1126] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3614),
    [anon_sym_SEMI_SEMI] = ACTIONS(3616),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3618),
    [anon_sym_LF] = ACTIONS(3616),
    [anon_sym_AMP] = ACTIONS(3618),
  },
  [1127] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(3614),
    [anon_sym_SEMI_SEMI] = ACTIONS(3616),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(3618),
    [anon_sym_LF] = ACTIONS(3616),
    [anon_sym_AMP] = ACTIONS(3618),
  },
  [1128] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1625),
    [sym_c_style_for_statement] = STATE(1625),
    [sym_while_statement] = STATE(1625),
    [sym_if_statement] = STATE(1625),
    [sym_case_statement] = STATE(1625),
    [sym_function_definition] = STATE(1625),
    [sym_subshell] = STATE(1625),
    [sym_pipeline] = STATE(1625),
    [sym_list] = STATE(1625),
    [sym_negated_command] = STATE(1625),
    [sym_test_command] = STATE(1625),
    [sym_declaration_command] = STATE(1625),
    [sym_unset_command] = STATE(1625),
    [sym_command] = STATE(1625),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1626),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1129] = {
    [sym_do_group] = STATE(1627),
    [anon_sym_do] = ACTIONS(1173),
    [sym_comment] = ACTIONS(53),
  },
  [1130] = {
    [sym_concatenation] = STATE(1130),
    [sym_string] = STATE(609),
    [sym_simple_expansion] = STATE(609),
    [sym_string_expansion] = STATE(609),
    [sym_expansion] = STATE(609),
    [sym_command_substitution] = STATE(609),
    [sym_process_substitution] = STATE(609),
    [aux_sym_for_statement_repeat1] = STATE(1130),
    [anon_sym_SEMI_SEMI] = ACTIONS(3378),
    [sym__special_characters] = ACTIONS(3620),
    [anon_sym_DQUOTE] = ACTIONS(3623),
    [anon_sym_DOLLAR] = ACTIONS(3626),
    [sym_raw_string] = ACTIONS(3629),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3632),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3635),
    [anon_sym_BQUOTE] = ACTIONS(3638),
    [anon_sym_LT_LPAREN] = ACTIONS(3641),
    [anon_sym_GT_LPAREN] = ACTIONS(3641),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3644),
    [anon_sym_SEMI] = ACTIONS(3647),
    [anon_sym_LF] = ACTIONS(3378),
    [anon_sym_AMP] = ACTIONS(3378),
  },
  [1131] = {
    [ts_builtin_sym_end] = ACTIONS(2395),
    [anon_sym_esac] = ACTIONS(2395),
    [anon_sym_PIPE] = ACTIONS(2397),
    [anon_sym_RPAREN] = ACTIONS(2395),
    [anon_sym_SEMI_SEMI] = ACTIONS(2395),
    [anon_sym_PIPE_AMP] = ACTIONS(2395),
    [anon_sym_AMP_AMP] = ACTIONS(2395),
    [anon_sym_PIPE_PIPE] = ACTIONS(2395),
    [anon_sym_BQUOTE] = ACTIONS(2395),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2397),
    [anon_sym_LF] = ACTIONS(2395),
    [anon_sym_AMP] = ACTIONS(2397),
  },
  [1132] = {
    [sym__terminated_statement] = STATE(1148),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1148),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_done] = ACTIONS(3649),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [1133] = {
    [aux_sym_concatenation_repeat1] = STATE(1629),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1134] = {
    [sym_file_redirect] = STATE(643),
    [sym_heredoc_redirect] = STATE(643),
    [sym_heredoc_body] = STATE(1149),
    [sym_herestring_redirect] = STATE(643),
    [aux_sym_while_statement_repeat1] = STATE(643),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [1135] = {
    [sym_compound_statement] = STATE(1630),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [1136] = {
    [anon_sym_LT] = ACTIONS(3651),
    [anon_sym_GT] = ACTIONS(3651),
    [anon_sym_GT_GT] = ACTIONS(3653),
    [anon_sym_AMP_GT] = ACTIONS(3651),
    [anon_sym_AMP_GT_GT] = ACTIONS(3653),
    [anon_sym_LT_AMP] = ACTIONS(3653),
    [anon_sym_GT_AMP] = ACTIONS(3653),
    [sym_comment] = ACTIONS(53),
  },
  [1137] = {
    [sym_concatenation] = STATE(1203),
    [sym_string] = STATE(1633),
    [sym_simple_expansion] = STATE(1633),
    [sym_string_expansion] = STATE(1633),
    [sym_expansion] = STATE(1633),
    [sym_command_substitution] = STATE(1633),
    [sym_process_substitution] = STATE(1633),
    [sym__special_characters] = ACTIONS(3655),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(3657),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3657),
  },
  [1138] = {
    [anon_sym_LT] = ACTIONS(3659),
    [anon_sym_GT] = ACTIONS(3659),
    [anon_sym_GT_GT] = ACTIONS(3661),
    [anon_sym_AMP_GT] = ACTIONS(3659),
    [anon_sym_AMP_GT_GT] = ACTIONS(3661),
    [anon_sym_LT_AMP] = ACTIONS(3661),
    [anon_sym_GT_AMP] = ACTIONS(3661),
    [sym_comment] = ACTIONS(53),
  },
  [1139] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(1636),
    [sym_simple_expansion] = STATE(1636),
    [sym_string_expansion] = STATE(1636),
    [sym_expansion] = STATE(1636),
    [sym_command_substitution] = STATE(1636),
    [sym_process_substitution] = STATE(1636),
    [sym__special_characters] = ACTIONS(3663),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(3665),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3665),
  },
  [1140] = {
    [sym_concatenation] = STATE(1263),
    [sym_string] = STATE(1638),
    [sym_simple_expansion] = STATE(1638),
    [sym_string_expansion] = STATE(1638),
    [sym_expansion] = STATE(1638),
    [sym_command_substitution] = STATE(1638),
    [sym_process_substitution] = STATE(1638),
    [sym__special_characters] = ACTIONS(3667),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(3669),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3669),
  },
  [1141] = {
    [sym_file_redirect] = STATE(1639),
    [sym_heredoc_redirect] = STATE(1639),
    [sym_herestring_redirect] = STATE(1639),
    [aux_sym_while_statement_repeat1] = STATE(1639),
    [sym_file_descriptor] = ACTIONS(2362),
    [anon_sym_PIPE] = ACTIONS(2726),
    [anon_sym_SEMI_SEMI] = ACTIONS(2724),
    [anon_sym_PIPE_AMP] = ACTIONS(2724),
    [anon_sym_AMP_AMP] = ACTIONS(2724),
    [anon_sym_PIPE_PIPE] = ACTIONS(2724),
    [anon_sym_LT] = ACTIONS(2364),
    [anon_sym_GT] = ACTIONS(2364),
    [anon_sym_GT_GT] = ACTIONS(2366),
    [anon_sym_AMP_GT] = ACTIONS(2364),
    [anon_sym_AMP_GT_GT] = ACTIONS(2366),
    [anon_sym_LT_AMP] = ACTIONS(2366),
    [anon_sym_GT_AMP] = ACTIONS(2366),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(2368),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2726),
    [anon_sym_LF] = ACTIONS(2724),
    [anon_sym_AMP] = ACTIONS(2726),
  },
  [1142] = {
    [aux_sym_concatenation_repeat1] = STATE(624),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1095),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [1143] = {
    [aux_sym_concatenation_repeat1] = STATE(624),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [1144] = {
    [aux_sym_concatenation_repeat1] = STATE(1144),
    [sym__concat] = ACTIONS(2791),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1145] = {
    [aux_sym_concatenation_repeat1] = STATE(1145),
    [sym__concat] = ACTIONS(2852),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1146] = {
    [sym_file_redirect] = STATE(1471),
    [sym_file_descriptor] = ACTIONS(2356),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_LT] = ACTIONS(2358),
    [anon_sym_GT] = ACTIONS(2358),
    [anon_sym_GT_GT] = ACTIONS(2360),
    [anon_sym_AMP_GT] = ACTIONS(2358),
    [anon_sym_AMP_GT_GT] = ACTIONS(2360),
    [anon_sym_LT_AMP] = ACTIONS(2360),
    [anon_sym_GT_AMP] = ACTIONS(2360),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [1147] = {
    [sym__simple_heredoc_body] = ACTIONS(3671),
    [sym__heredoc_body_beginning] = ACTIONS(3671),
    [sym_file_descriptor] = ACTIONS(3671),
    [ts_builtin_sym_end] = ACTIONS(3671),
    [anon_sym_esac] = ACTIONS(3671),
    [anon_sym_PIPE] = ACTIONS(3673),
    [anon_sym_RPAREN] = ACTIONS(3671),
    [anon_sym_SEMI_SEMI] = ACTIONS(3671),
    [anon_sym_PIPE_AMP] = ACTIONS(3671),
    [anon_sym_AMP_AMP] = ACTIONS(3671),
    [anon_sym_PIPE_PIPE] = ACTIONS(3671),
    [anon_sym_LT] = ACTIONS(3673),
    [anon_sym_GT] = ACTIONS(3673),
    [anon_sym_GT_GT] = ACTIONS(3671),
    [anon_sym_AMP_GT] = ACTIONS(3673),
    [anon_sym_AMP_GT_GT] = ACTIONS(3671),
    [anon_sym_LT_AMP] = ACTIONS(3671),
    [anon_sym_GT_AMP] = ACTIONS(3671),
    [anon_sym_LT_LT] = ACTIONS(3673),
    [anon_sym_LT_LT_DASH] = ACTIONS(3671),
    [anon_sym_LT_LT_LT] = ACTIONS(3671),
    [anon_sym_BQUOTE] = ACTIONS(3671),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3673),
    [anon_sym_LF] = ACTIONS(3671),
    [anon_sym_AMP] = ACTIONS(3673),
  },
  [1148] = {
    [sym__terminated_statement] = STATE(1148),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1148),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_done] = ACTIONS(3675),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [1149] = {
    [ts_builtin_sym_end] = ACTIONS(3677),
    [anon_sym_esac] = ACTIONS(3677),
    [anon_sym_PIPE] = ACTIONS(3679),
    [anon_sym_RPAREN] = ACTIONS(3677),
    [anon_sym_SEMI_SEMI] = ACTIONS(3677),
    [anon_sym_PIPE_AMP] = ACTIONS(3677),
    [anon_sym_AMP_AMP] = ACTIONS(3677),
    [anon_sym_PIPE_PIPE] = ACTIONS(3677),
    [anon_sym_BQUOTE] = ACTIONS(3677),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3679),
    [anon_sym_LF] = ACTIONS(3677),
    [anon_sym_AMP] = ACTIONS(3679),
  },
  [1150] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(1051),
    [sym__heredoc_body_beginning] = ACTIONS(1051),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [1151] = {
    [aux_sym_concatenation_repeat1] = STATE(1152),
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1152] = {
    [aux_sym_concatenation_repeat1] = STATE(1640),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1153] = {
    [sym_file_redirect] = STATE(643),
    [sym_heredoc_redirect] = STATE(643),
    [sym_heredoc_body] = STATE(1487),
    [sym_herestring_redirect] = STATE(643),
    [aux_sym_while_statement_repeat1] = STATE(643),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(449),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_LT] = ACTIONS(453),
    [anon_sym_GT] = ACTIONS(453),
    [anon_sym_GT_GT] = ACTIONS(455),
    [anon_sym_AMP_GT] = ACTIONS(453),
    [anon_sym_AMP_GT_GT] = ACTIONS(455),
    [anon_sym_LT_AMP] = ACTIONS(455),
    [anon_sym_GT_AMP] = ACTIONS(455),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(457),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [1154] = {
    [anon_sym_then] = ACTIONS(3681),
    [sym_comment] = ACTIONS(53),
  },
  [1155] = {
    [sym__terminated_statement] = STATE(1642),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1642),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(3683),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [1156] = {
    [ts_builtin_sym_end] = ACTIONS(3685),
    [anon_sym_esac] = ACTIONS(3685),
    [anon_sym_PIPE] = ACTIONS(3687),
    [anon_sym_RPAREN] = ACTIONS(3685),
    [anon_sym_SEMI_SEMI] = ACTIONS(3685),
    [anon_sym_PIPE_AMP] = ACTIONS(3685),
    [anon_sym_AMP_AMP] = ACTIONS(3685),
    [anon_sym_PIPE_PIPE] = ACTIONS(3685),
    [anon_sym_BQUOTE] = ACTIONS(3685),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3687),
    [anon_sym_LF] = ACTIONS(3685),
    [anon_sym_AMP] = ACTIONS(3687),
  },
  [1157] = {
    [anon_sym_fi] = ACTIONS(3689),
    [sym_comment] = ACTIONS(53),
  },
  [1158] = {
    [sym__terminated_statement] = STATE(1158),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1158),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_fi] = ACTIONS(3675),
    [anon_sym_elif] = ACTIONS(3675),
    [anon_sym_else] = ACTIONS(3675),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [1159] = {
    [sym_elif_clause] = STATE(650),
    [sym_else_clause] = STATE(1644),
    [aux_sym_if_statement_repeat1] = STATE(1160),
    [anon_sym_fi] = ACTIONS(3689),
    [anon_sym_elif] = ACTIONS(2445),
    [anon_sym_else] = ACTIONS(2447),
    [sym_comment] = ACTIONS(53),
  },
  [1160] = {
    [sym_elif_clause] = STATE(650),
    [aux_sym_if_statement_repeat1] = STATE(1160),
    [anon_sym_fi] = ACTIONS(3691),
    [anon_sym_elif] = ACTIONS(3693),
    [anon_sym_else] = ACTIONS(3691),
    [sym_comment] = ACTIONS(53),
  },
  [1161] = {
    [ts_builtin_sym_end] = ACTIONS(3696),
    [anon_sym_esac] = ACTIONS(3696),
    [anon_sym_PIPE] = ACTIONS(3698),
    [anon_sym_RPAREN] = ACTIONS(3696),
    [anon_sym_SEMI_SEMI] = ACTIONS(3696),
    [anon_sym_PIPE_AMP] = ACTIONS(3696),
    [anon_sym_AMP_AMP] = ACTIONS(3696),
    [anon_sym_PIPE_PIPE] = ACTIONS(3696),
    [anon_sym_BQUOTE] = ACTIONS(3696),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3698),
    [anon_sym_LF] = ACTIONS(3696),
    [anon_sym_AMP] = ACTIONS(3698),
  },
  [1162] = {
    [aux_sym_case_item_repeat1] = STATE(1647),
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(3702),
    [sym_comment] = ACTIONS(53),
  },
  [1163] = {
    [aux_sym_case_item_repeat1] = STATE(1650),
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(3704),
    [sym_comment] = ACTIONS(53),
  },
  [1164] = {
    [anon_sym_esac] = ACTIONS(3706),
    [sym_comment] = ACTIONS(53),
  },
  [1165] = {
    [aux_sym_case_item_repeat1] = STATE(1650),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(3704),
    [sym_comment] = ACTIONS(53),
  },
  [1166] = {
    [sym_case_item] = STATE(1653),
    [sym_last_case_item] = STATE(1652),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1653),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2453),
  },
  [1167] = {
    [sym_case_item] = STATE(1655),
    [sym_last_case_item] = STATE(1652),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1655),
    [anon_sym_esac] = ACTIONS(3708),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2455),
  },
  [1168] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_in] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3028),
  },
  [1169] = {
    [ts_builtin_sym_end] = ACTIONS(3710),
    [anon_sym_esac] = ACTIONS(3710),
    [anon_sym_PIPE] = ACTIONS(3712),
    [anon_sym_RPAREN] = ACTIONS(3710),
    [anon_sym_SEMI_SEMI] = ACTIONS(3710),
    [anon_sym_PIPE_AMP] = ACTIONS(3710),
    [anon_sym_AMP_AMP] = ACTIONS(3710),
    [anon_sym_PIPE_PIPE] = ACTIONS(3710),
    [anon_sym_BQUOTE] = ACTIONS(3710),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3712),
    [anon_sym_LF] = ACTIONS(3710),
    [anon_sym_AMP] = ACTIONS(3712),
  },
  [1170] = {
    [anon_sym_esac] = ACTIONS(3714),
    [sym_comment] = ACTIONS(53),
  },
  [1171] = {
    [sym_case_item] = STATE(1653),
    [sym_last_case_item] = STATE(1657),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1653),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2453),
  },
  [1172] = {
    [sym_case_item] = STATE(1659),
    [sym_last_case_item] = STATE(1657),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1659),
    [anon_sym_esac] = ACTIONS(3716),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2455),
  },
  [1173] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_in] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3042),
  },
  [1174] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3718),
    [sym_comment] = ACTIONS(53),
  },
  [1175] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3720),
    [sym_comment] = ACTIONS(53),
  },
  [1176] = {
    [anon_sym_RBRACE] = ACTIONS(3720),
    [sym_comment] = ACTIONS(53),
  },
  [1177] = {
    [sym_concatenation] = STATE(1664),
    [sym_string] = STATE(1663),
    [sym_simple_expansion] = STATE(1663),
    [sym_string_expansion] = STATE(1663),
    [sym_expansion] = STATE(1663),
    [sym_command_substitution] = STATE(1663),
    [sym_process_substitution] = STATE(1663),
    [anon_sym_RBRACE] = ACTIONS(3720),
    [sym__special_characters] = ACTIONS(3722),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3724),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3724),
  },
  [1178] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_in] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3078),
  },
  [1179] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3726),
  },
  [1180] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3728),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1181] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_in] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3086),
  },
  [1182] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3730),
  },
  [1183] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3732),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1184] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3734),
  },
  [1185] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3720),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1186] = {
    [sym_concatenation] = STATE(1671),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1671),
    [anon_sym_RBRACE] = ACTIONS(3736),
    [anon_sym_EQ] = ACTIONS(3738),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3740),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3738),
    [anon_sym_COLON_QMARK] = ACTIONS(3738),
    [anon_sym_COLON_DASH] = ACTIONS(3738),
    [anon_sym_PERCENT] = ACTIONS(3738),
    [anon_sym_DASH] = ACTIONS(3738),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1187] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_in] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3158),
  },
  [1188] = {
    [sym_concatenation] = STATE(1673),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1673),
    [anon_sym_RBRACE] = ACTIONS(3742),
    [anon_sym_EQ] = ACTIONS(3744),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3746),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3744),
    [anon_sym_COLON_QMARK] = ACTIONS(3744),
    [anon_sym_COLON_DASH] = ACTIONS(3744),
    [anon_sym_PERCENT] = ACTIONS(3744),
    [anon_sym_DASH] = ACTIONS(3744),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1189] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_in] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3203),
  },
  [1190] = {
    [sym_concatenation] = STATE(1675),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1675),
    [anon_sym_RBRACE] = ACTIONS(3748),
    [anon_sym_EQ] = ACTIONS(3750),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3752),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3750),
    [anon_sym_COLON_QMARK] = ACTIONS(3750),
    [anon_sym_COLON_DASH] = ACTIONS(3750),
    [anon_sym_PERCENT] = ACTIONS(3750),
    [anon_sym_DASH] = ACTIONS(3750),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1191] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_in] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3213),
  },
  [1192] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3754),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1193] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3754),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1194] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_in] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3251),
  },
  [1195] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3756),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1196] = {
    [sym_file_redirect] = STATE(1678),
    [sym_file_descriptor] = ACTIONS(1287),
    [ts_builtin_sym_end] = ACTIONS(3758),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_LT] = ACTIONS(1293),
    [anon_sym_GT] = ACTIONS(1293),
    [anon_sym_GT_GT] = ACTIONS(1295),
    [anon_sym_AMP_GT] = ACTIONS(1293),
    [anon_sym_AMP_GT_GT] = ACTIONS(1295),
    [anon_sym_LT_AMP] = ACTIONS(1295),
    [anon_sym_GT_AMP] = ACTIONS(1295),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [1197] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_RBRACE] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1198] = {
    [sym_file_descriptor] = ACTIONS(3762),
    [ts_builtin_sym_end] = ACTIONS(3762),
    [anon_sym_esac] = ACTIONS(3762),
    [anon_sym_PIPE] = ACTIONS(3764),
    [anon_sym_RPAREN] = ACTIONS(3762),
    [anon_sym_SEMI_SEMI] = ACTIONS(3762),
    [anon_sym_PIPE_AMP] = ACTIONS(3762),
    [anon_sym_AMP_AMP] = ACTIONS(3762),
    [anon_sym_PIPE_PIPE] = ACTIONS(3762),
    [anon_sym_LT] = ACTIONS(3764),
    [anon_sym_GT] = ACTIONS(3764),
    [anon_sym_GT_GT] = ACTIONS(3762),
    [anon_sym_AMP_GT] = ACTIONS(3764),
    [anon_sym_AMP_GT_GT] = ACTIONS(3762),
    [anon_sym_LT_AMP] = ACTIONS(3762),
    [anon_sym_GT_AMP] = ACTIONS(3762),
    [anon_sym_BQUOTE] = ACTIONS(3762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3764),
    [anon_sym_LF] = ACTIONS(3762),
    [anon_sym_AMP] = ACTIONS(3764),
  },
  [1199] = {
    [sym__terminated_statement] = STATE(1199),
    [sym_for_statement] = STATE(689),
    [sym_c_style_for_statement] = STATE(689),
    [sym_while_statement] = STATE(689),
    [sym_if_statement] = STATE(689),
    [sym_case_statement] = STATE(689),
    [sym_function_definition] = STATE(689),
    [sym_subshell] = STATE(689),
    [sym_pipeline] = STATE(689),
    [sym_list] = STATE(689),
    [sym_negated_command] = STATE(689),
    [sym_test_command] = STATE(689),
    [sym_declaration_command] = STATE(689),
    [sym_unset_command] = STATE(689),
    [sym_command] = STATE(689),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(690),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1199),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_RBRACE] = ACTIONS(3766),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [1200] = {
    [sym_concatenation] = STATE(1681),
    [sym_string] = STATE(1680),
    [sym_simple_expansion] = STATE(1680),
    [sym_string_expansion] = STATE(1680),
    [sym_expansion] = STATE(1680),
    [sym_command_substitution] = STATE(1680),
    [sym_process_substitution] = STATE(1680),
    [sym__special_characters] = ACTIONS(3768),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(3770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3770),
  },
  [1201] = {
    [aux_sym_concatenation_repeat1] = STATE(1682),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1202] = {
    [aux_sym_concatenation_repeat1] = STATE(1682),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1203] = {
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1204] = {
    [aux_sym_concatenation_repeat1] = STATE(1683),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(1093),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1205] = {
    [sym_file_redirect] = STATE(718),
    [sym_heredoc_redirect] = STATE(718),
    [sym_heredoc_body] = STATE(1149),
    [sym_herestring_redirect] = STATE(718),
    [aux_sym_while_statement_repeat1] = STATE(718),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_RPAREN] = ACTIONS(2401),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [1206] = {
    [sym_compound_statement] = STATE(1684),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [1207] = {
    [anon_sym_LT] = ACTIONS(3772),
    [anon_sym_GT] = ACTIONS(3772),
    [anon_sym_GT_GT] = ACTIONS(3774),
    [anon_sym_AMP_GT] = ACTIONS(3772),
    [anon_sym_AMP_GT_GT] = ACTIONS(3774),
    [anon_sym_LT_AMP] = ACTIONS(3774),
    [anon_sym_GT_AMP] = ACTIONS(3774),
    [sym_comment] = ACTIONS(53),
  },
  [1208] = {
    [sym_concatenation] = STATE(1203),
    [sym_string] = STATE(1687),
    [sym_simple_expansion] = STATE(1687),
    [sym_string_expansion] = STATE(1687),
    [sym_expansion] = STATE(1687),
    [sym_command_substitution] = STATE(1687),
    [sym_process_substitution] = STATE(1687),
    [sym__special_characters] = ACTIONS(3776),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(3778),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3778),
  },
  [1209] = {
    [anon_sym_LT] = ACTIONS(3780),
    [anon_sym_GT] = ACTIONS(3780),
    [anon_sym_GT_GT] = ACTIONS(3782),
    [anon_sym_AMP_GT] = ACTIONS(3780),
    [anon_sym_AMP_GT_GT] = ACTIONS(3782),
    [anon_sym_LT_AMP] = ACTIONS(3782),
    [anon_sym_GT_AMP] = ACTIONS(3782),
    [sym_comment] = ACTIONS(53),
  },
  [1210] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(1690),
    [sym_simple_expansion] = STATE(1690),
    [sym_string_expansion] = STATE(1690),
    [sym_expansion] = STATE(1690),
    [sym_command_substitution] = STATE(1690),
    [sym_process_substitution] = STATE(1690),
    [sym__special_characters] = ACTIONS(3784),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(3786),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3786),
  },
  [1211] = {
    [sym_concatenation] = STATE(1263),
    [sym_string] = STATE(1692),
    [sym_simple_expansion] = STATE(1692),
    [sym_string_expansion] = STATE(1692),
    [sym_expansion] = STATE(1692),
    [sym_command_substitution] = STATE(1692),
    [sym_process_substitution] = STATE(1692),
    [sym__special_characters] = ACTIONS(3788),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(3790),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3790),
  },
  [1212] = {
    [sym_file_redirect] = STATE(1693),
    [sym_heredoc_redirect] = STATE(1693),
    [sym_herestring_redirect] = STATE(1693),
    [aux_sym_while_statement_repeat1] = STATE(1693),
    [sym_file_descriptor] = ACTIONS(2558),
    [anon_sym_PIPE] = ACTIONS(2726),
    [anon_sym_RPAREN] = ACTIONS(2724),
    [anon_sym_SEMI_SEMI] = ACTIONS(2724),
    [anon_sym_PIPE_AMP] = ACTIONS(2724),
    [anon_sym_AMP_AMP] = ACTIONS(2724),
    [anon_sym_PIPE_PIPE] = ACTIONS(2724),
    [anon_sym_LT] = ACTIONS(2560),
    [anon_sym_GT] = ACTIONS(2560),
    [anon_sym_GT_GT] = ACTIONS(2562),
    [anon_sym_AMP_GT] = ACTIONS(2560),
    [anon_sym_AMP_GT_GT] = ACTIONS(2562),
    [anon_sym_LT_AMP] = ACTIONS(2562),
    [anon_sym_GT_AMP] = ACTIONS(2562),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(2564),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2726),
    [anon_sym_LF] = ACTIONS(2724),
    [anon_sym_AMP] = ACTIONS(2726),
  },
  [1213] = {
    [aux_sym_concatenation_repeat1] = STATE(702),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_RPAREN] = ACTIONS(1091),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1095),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [1214] = {
    [aux_sym_concatenation_repeat1] = STATE(702),
    [sym__concat] = ACTIONS(647),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_RPAREN] = ACTIONS(1069),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [1215] = {
    [aux_sym_concatenation_repeat1] = STATE(1215),
    [sym__concat] = ACTIONS(2791),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1216] = {
    [aux_sym_concatenation_repeat1] = STATE(1216),
    [sym__concat] = ACTIONS(2852),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1217] = {
    [sym_file_redirect] = STATE(1471),
    [sym_file_descriptor] = ACTIONS(2552),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_RPAREN] = ACTIONS(2546),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_LT] = ACTIONS(2554),
    [anon_sym_GT] = ACTIONS(2554),
    [anon_sym_GT_GT] = ACTIONS(2556),
    [anon_sym_AMP_GT] = ACTIONS(2554),
    [anon_sym_AMP_GT_GT] = ACTIONS(2556),
    [anon_sym_LT_AMP] = ACTIONS(2556),
    [anon_sym_GT_AMP] = ACTIONS(2556),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [1218] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(1051),
    [sym__heredoc_body_beginning] = ACTIONS(1051),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_RPAREN] = ACTIONS(1051),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [1219] = {
    [aux_sym_concatenation_repeat1] = STATE(1220),
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1220] = {
    [aux_sym_concatenation_repeat1] = STATE(1694),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1221] = {
    [ts_builtin_sym_end] = ACTIONS(3792),
    [anon_sym_esac] = ACTIONS(3792),
    [anon_sym_PIPE] = ACTIONS(3794),
    [anon_sym_RPAREN] = ACTIONS(3792),
    [anon_sym_SEMI_SEMI] = ACTIONS(3792),
    [anon_sym_PIPE_AMP] = ACTIONS(3792),
    [anon_sym_AMP_AMP] = ACTIONS(3792),
    [anon_sym_PIPE_PIPE] = ACTIONS(3792),
    [anon_sym_BQUOTE] = ACTIONS(3792),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3794),
    [anon_sym_LF] = ACTIONS(3792),
    [anon_sym_AMP] = ACTIONS(3794),
  },
  [1222] = {
    [sym_file_redirect] = STATE(718),
    [sym_heredoc_redirect] = STATE(718),
    [sym_heredoc_body] = STATE(1487),
    [sym_herestring_redirect] = STATE(718),
    [aux_sym_while_statement_repeat1] = STATE(718),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(541),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_RPAREN] = ACTIONS(3306),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_LT] = ACTIONS(545),
    [anon_sym_GT] = ACTIONS(545),
    [anon_sym_GT_GT] = ACTIONS(547),
    [anon_sym_AMP_GT] = ACTIONS(545),
    [anon_sym_AMP_GT_GT] = ACTIONS(547),
    [anon_sym_LT_AMP] = ACTIONS(547),
    [anon_sym_GT_AMP] = ACTIONS(547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [1223] = {
    [sym_file_descriptor] = ACTIONS(2118),
    [sym_variable_name] = ACTIONS(2118),
    [anon_sym_LT] = ACTIONS(2120),
    [anon_sym_GT] = ACTIONS(2120),
    [anon_sym_GT_GT] = ACTIONS(2118),
    [anon_sym_AMP_GT] = ACTIONS(2120),
    [anon_sym_AMP_GT_GT] = ACTIONS(2118),
    [anon_sym_LT_AMP] = ACTIONS(2118),
    [anon_sym_GT_AMP] = ACTIONS(2118),
    [sym__special_characters] = ACTIONS(2118),
    [anon_sym_DQUOTE] = ACTIONS(2118),
    [anon_sym_DOLLAR] = ACTIONS(2120),
    [sym_raw_string] = ACTIONS(2118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2118),
    [anon_sym_BQUOTE] = ACTIONS(2118),
    [anon_sym_LT_LPAREN] = ACTIONS(2118),
    [anon_sym_GT_LPAREN] = ACTIONS(2118),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2118),
  },
  [1224] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(3796),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [1225] = {
    [aux_sym_concatenation_repeat1] = STATE(1225),
    [sym__concat] = ACTIONS(2728),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [1226] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_RBRACK] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3028),
    [anon_sym_EQ_EQ] = ACTIONS(3028),
    [anon_sym_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3028),
    [anon_sym_GT] = ACTIONS(3028),
    [anon_sym_BANG_EQ] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3028),
  },
  [1227] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_RBRACK] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3042),
    [anon_sym_EQ_EQ] = ACTIONS(3042),
    [anon_sym_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3042),
    [anon_sym_GT] = ACTIONS(3042),
    [anon_sym_BANG_EQ] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3042),
  },
  [1228] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3798),
    [sym_comment] = ACTIONS(53),
  },
  [1229] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3800),
    [sym_comment] = ACTIONS(53),
  },
  [1230] = {
    [anon_sym_RBRACE] = ACTIONS(3800),
    [sym_comment] = ACTIONS(53),
  },
  [1231] = {
    [sym_concatenation] = STATE(1700),
    [sym_string] = STATE(1699),
    [sym_simple_expansion] = STATE(1699),
    [sym_string_expansion] = STATE(1699),
    [sym_expansion] = STATE(1699),
    [sym_command_substitution] = STATE(1699),
    [sym_process_substitution] = STATE(1699),
    [anon_sym_RBRACE] = ACTIONS(3800),
    [sym__special_characters] = ACTIONS(3802),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3804),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3804),
  },
  [1232] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_RBRACK] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3078),
    [anon_sym_EQ_EQ] = ACTIONS(3078),
    [anon_sym_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3078),
    [anon_sym_GT] = ACTIONS(3078),
    [anon_sym_BANG_EQ] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3078),
  },
  [1233] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3806),
  },
  [1234] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3808),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1235] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_RBRACK] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3086),
    [anon_sym_EQ_EQ] = ACTIONS(3086),
    [anon_sym_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3086),
    [anon_sym_GT] = ACTIONS(3086),
    [anon_sym_BANG_EQ] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3086),
  },
  [1236] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3810),
  },
  [1237] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3812),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1238] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3814),
  },
  [1239] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3800),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1240] = {
    [sym_concatenation] = STATE(1707),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1707),
    [anon_sym_RBRACE] = ACTIONS(3816),
    [anon_sym_EQ] = ACTIONS(3818),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3820),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3818),
    [anon_sym_COLON_QMARK] = ACTIONS(3818),
    [anon_sym_COLON_DASH] = ACTIONS(3818),
    [anon_sym_PERCENT] = ACTIONS(3818),
    [anon_sym_DASH] = ACTIONS(3818),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1241] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_RBRACK] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3158),
    [anon_sym_EQ_EQ] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3158),
    [anon_sym_GT] = ACTIONS(3158),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3158),
  },
  [1242] = {
    [sym_concatenation] = STATE(1709),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1709),
    [anon_sym_RBRACE] = ACTIONS(3822),
    [anon_sym_EQ] = ACTIONS(3824),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3826),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3824),
    [anon_sym_COLON_QMARK] = ACTIONS(3824),
    [anon_sym_COLON_DASH] = ACTIONS(3824),
    [anon_sym_PERCENT] = ACTIONS(3824),
    [anon_sym_DASH] = ACTIONS(3824),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1243] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_RBRACK] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3203),
    [anon_sym_EQ_EQ] = ACTIONS(3203),
    [anon_sym_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3203),
    [anon_sym_GT] = ACTIONS(3203),
    [anon_sym_BANG_EQ] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3203),
  },
  [1244] = {
    [sym_concatenation] = STATE(1711),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1711),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [anon_sym_EQ] = ACTIONS(3830),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3832),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3830),
    [anon_sym_COLON_QMARK] = ACTIONS(3830),
    [anon_sym_COLON_DASH] = ACTIONS(3830),
    [anon_sym_PERCENT] = ACTIONS(3830),
    [anon_sym_DASH] = ACTIONS(3830),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1245] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_RBRACK] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3213),
    [anon_sym_EQ_EQ] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3213),
    [anon_sym_GT] = ACTIONS(3213),
    [anon_sym_BANG_EQ] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3213),
  },
  [1246] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3834),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1247] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3834),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1248] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_RBRACK] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3251),
    [anon_sym_EQ_EQ] = ACTIONS(3251),
    [anon_sym_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3251),
    [anon_sym_GT] = ACTIONS(3251),
    [anon_sym_BANG_EQ] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3251),
  },
  [1249] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3836),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1250] = {
    [sym_concatenation] = STATE(1716),
    [sym_string] = STATE(1715),
    [sym_simple_expansion] = STATE(1715),
    [sym_string_expansion] = STATE(1715),
    [sym_expansion] = STATE(1715),
    [sym_command_substitution] = STATE(1715),
    [sym_process_substitution] = STATE(1715),
    [sym__special_characters] = ACTIONS(3838),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(3840),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3840),
  },
  [1251] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1252] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(1721),
    [anon_sym_DQUOTE] = ACTIONS(3844),
    [anon_sym_DOLLAR] = ACTIONS(3846),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1253] = {
    [sym_string] = STATE(1723),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(3848),
    [sym_raw_string] = ACTIONS(3850),
    [anon_sym_POUND] = ACTIONS(3848),
    [anon_sym_DASH] = ACTIONS(3848),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3852),
    [anon_sym_STAR] = ACTIONS(3848),
    [anon_sym_AT] = ACTIONS(3848),
    [anon_sym_QMARK] = ACTIONS(3848),
    [anon_sym_0] = ACTIONS(3854),
    [anon_sym__] = ACTIONS(3854),
  },
  [1254] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1255] = {
    [sym_subscript] = STATE(1729),
    [sym_variable_name] = ACTIONS(3856),
    [anon_sym_BANG] = ACTIONS(3858),
    [anon_sym_DOLLAR] = ACTIONS(3860),
    [anon_sym_POUND] = ACTIONS(3858),
    [anon_sym_DASH] = ACTIONS(3860),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3862),
    [anon_sym_STAR] = ACTIONS(3860),
    [anon_sym_AT] = ACTIONS(3860),
    [anon_sym_QMARK] = ACTIONS(3860),
    [anon_sym_0] = ACTIONS(3864),
    [anon_sym__] = ACTIONS(3864),
  },
  [1256] = {
    [sym__terminated_statement] = STATE(1732),
    [sym_for_statement] = STATE(1730),
    [sym_c_style_for_statement] = STATE(1730),
    [sym_while_statement] = STATE(1730),
    [sym_if_statement] = STATE(1730),
    [sym_case_statement] = STATE(1730),
    [sym_function_definition] = STATE(1730),
    [sym_subshell] = STATE(1730),
    [sym_pipeline] = STATE(1730),
    [sym_list] = STATE(1730),
    [sym_negated_command] = STATE(1730),
    [sym_test_command] = STATE(1730),
    [sym_declaration_command] = STATE(1730),
    [sym_unset_command] = STATE(1730),
    [sym_command] = STATE(1730),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1731),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1732),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1257] = {
    [sym__terminated_statement] = STATE(1735),
    [sym_for_statement] = STATE(1733),
    [sym_c_style_for_statement] = STATE(1733),
    [sym_while_statement] = STATE(1733),
    [sym_if_statement] = STATE(1733),
    [sym_case_statement] = STATE(1733),
    [sym_function_definition] = STATE(1733),
    [sym_subshell] = STATE(1733),
    [sym_pipeline] = STATE(1733),
    [sym_list] = STATE(1733),
    [sym_negated_command] = STATE(1733),
    [sym_test_command] = STATE(1733),
    [sym_declaration_command] = STATE(1733),
    [sym_unset_command] = STATE(1733),
    [sym_command] = STATE(1733),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1734),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1735),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1258] = {
    [sym__terminated_statement] = STATE(1738),
    [sym_for_statement] = STATE(1736),
    [sym_c_style_for_statement] = STATE(1736),
    [sym_while_statement] = STATE(1736),
    [sym_if_statement] = STATE(1736),
    [sym_case_statement] = STATE(1736),
    [sym_function_definition] = STATE(1736),
    [sym_subshell] = STATE(1736),
    [sym_pipeline] = STATE(1736),
    [sym_list] = STATE(1736),
    [sym_negated_command] = STATE(1736),
    [sym_test_command] = STATE(1736),
    [sym_declaration_command] = STATE(1736),
    [sym_unset_command] = STATE(1736),
    [sym_command] = STATE(1736),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1737),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(1738),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1259] = {
    [sym_file_descriptor] = ACTIONS(745),
    [ts_builtin_sym_end] = ACTIONS(745),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1260] = {
    [sym_file_descriptor] = ACTIONS(2030),
    [ts_builtin_sym_end] = ACTIONS(2030),
    [anon_sym_esac] = ACTIONS(2030),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_RPAREN] = ACTIONS(2030),
    [anon_sym_SEMI_SEMI] = ACTIONS(2030),
    [anon_sym_PIPE_AMP] = ACTIONS(2030),
    [anon_sym_AMP_AMP] = ACTIONS(2030),
    [anon_sym_PIPE_PIPE] = ACTIONS(2030),
    [anon_sym_LT] = ACTIONS(2032),
    [anon_sym_GT] = ACTIONS(2032),
    [anon_sym_GT_GT] = ACTIONS(2030),
    [anon_sym_AMP_GT] = ACTIONS(2032),
    [anon_sym_AMP_GT_GT] = ACTIONS(2030),
    [anon_sym_LT_AMP] = ACTIONS(2030),
    [anon_sym_GT_AMP] = ACTIONS(2030),
    [anon_sym_LT_LT] = ACTIONS(2032),
    [anon_sym_LT_LT_DASH] = ACTIONS(2030),
    [anon_sym_LT_LT_LT] = ACTIONS(2030),
    [anon_sym_BQUOTE] = ACTIONS(2030),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_LF] = ACTIONS(2030),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [1261] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(2034),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [1262] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [1263] = {
    [sym_file_descriptor] = ACTIONS(2038),
    [ts_builtin_sym_end] = ACTIONS(2038),
    [anon_sym_esac] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_RPAREN] = ACTIONS(2038),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [anon_sym_BQUOTE] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [1264] = {
    [sym_file_redirect] = STATE(1264),
    [sym_heredoc_redirect] = STATE(1264),
    [sym_herestring_redirect] = STATE(1264),
    [aux_sym_while_statement_repeat1] = STATE(1264),
    [sym_file_descriptor] = ACTIONS(3866),
    [ts_builtin_sym_end] = ACTIONS(2046),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(3869),
    [anon_sym_GT] = ACTIONS(3869),
    [anon_sym_GT_GT] = ACTIONS(3872),
    [anon_sym_AMP_GT] = ACTIONS(3869),
    [anon_sym_AMP_GT_GT] = ACTIONS(3872),
    [anon_sym_LT_AMP] = ACTIONS(3872),
    [anon_sym_GT_AMP] = ACTIONS(3872),
    [anon_sym_LT_LT] = ACTIONS(3875),
    [anon_sym_LT_LT_DASH] = ACTIONS(3878),
    [anon_sym_LT_LT_LT] = ACTIONS(3881),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [1265] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3028),
    [anon_sym_EQ_EQ] = ACTIONS(3028),
    [anon_sym_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3028),
    [anon_sym_GT] = ACTIONS(3028),
    [anon_sym_BANG_EQ] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3028),
  },
  [1266] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3042),
    [anon_sym_EQ_EQ] = ACTIONS(3042),
    [anon_sym_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3042),
    [anon_sym_GT] = ACTIONS(3042),
    [anon_sym_BANG_EQ] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3042),
  },
  [1267] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3884),
    [sym_comment] = ACTIONS(53),
  },
  [1268] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3886),
    [sym_comment] = ACTIONS(53),
  },
  [1269] = {
    [anon_sym_RBRACE] = ACTIONS(3886),
    [sym_comment] = ACTIONS(53),
  },
  [1270] = {
    [sym_concatenation] = STATE(1743),
    [sym_string] = STATE(1742),
    [sym_simple_expansion] = STATE(1742),
    [sym_string_expansion] = STATE(1742),
    [sym_expansion] = STATE(1742),
    [sym_command_substitution] = STATE(1742),
    [sym_process_substitution] = STATE(1742),
    [anon_sym_RBRACE] = ACTIONS(3886),
    [sym__special_characters] = ACTIONS(3888),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3890),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3890),
  },
  [1271] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3078),
    [anon_sym_EQ_EQ] = ACTIONS(3078),
    [anon_sym_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3078),
    [anon_sym_GT] = ACTIONS(3078),
    [anon_sym_BANG_EQ] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3078),
  },
  [1272] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3892),
  },
  [1273] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3894),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1274] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3086),
    [anon_sym_EQ_EQ] = ACTIONS(3086),
    [anon_sym_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3086),
    [anon_sym_GT] = ACTIONS(3086),
    [anon_sym_BANG_EQ] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3086),
  },
  [1275] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3896),
  },
  [1276] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3898),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1277] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3900),
  },
  [1278] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3886),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1279] = {
    [sym_concatenation] = STATE(1750),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1750),
    [anon_sym_RBRACE] = ACTIONS(3902),
    [anon_sym_EQ] = ACTIONS(3904),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3906),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3904),
    [anon_sym_COLON_QMARK] = ACTIONS(3904),
    [anon_sym_COLON_DASH] = ACTIONS(3904),
    [anon_sym_PERCENT] = ACTIONS(3904),
    [anon_sym_DASH] = ACTIONS(3904),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1280] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3158),
    [anon_sym_EQ_EQ] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3158),
    [anon_sym_GT] = ACTIONS(3158),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3158),
  },
  [1281] = {
    [sym_concatenation] = STATE(1752),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1752),
    [anon_sym_RBRACE] = ACTIONS(3908),
    [anon_sym_EQ] = ACTIONS(3910),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3912),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3910),
    [anon_sym_COLON_QMARK] = ACTIONS(3910),
    [anon_sym_COLON_DASH] = ACTIONS(3910),
    [anon_sym_PERCENT] = ACTIONS(3910),
    [anon_sym_DASH] = ACTIONS(3910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1282] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3203),
    [anon_sym_EQ_EQ] = ACTIONS(3203),
    [anon_sym_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3203),
    [anon_sym_GT] = ACTIONS(3203),
    [anon_sym_BANG_EQ] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3203),
  },
  [1283] = {
    [sym_concatenation] = STATE(1754),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1754),
    [anon_sym_RBRACE] = ACTIONS(3914),
    [anon_sym_EQ] = ACTIONS(3916),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3918),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3916),
    [anon_sym_COLON_QMARK] = ACTIONS(3916),
    [anon_sym_COLON_DASH] = ACTIONS(3916),
    [anon_sym_PERCENT] = ACTIONS(3916),
    [anon_sym_DASH] = ACTIONS(3916),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1284] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3213),
    [anon_sym_EQ_EQ] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3213),
    [anon_sym_GT] = ACTIONS(3213),
    [anon_sym_BANG_EQ] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3213),
  },
  [1285] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3920),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1286] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3920),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1287] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3251),
    [anon_sym_EQ_EQ] = ACTIONS(3251),
    [anon_sym_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3251),
    [anon_sym_GT] = ACTIONS(3251),
    [anon_sym_BANG_EQ] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3251),
  },
  [1288] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3922),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1289] = {
    [sym_variable_name] = ACTIONS(2118),
    [ts_builtin_sym_end] = ACTIONS(2118),
    [anon_sym_PIPE] = ACTIONS(2120),
    [anon_sym_RPAREN] = ACTIONS(2118),
    [anon_sym_SEMI_SEMI] = ACTIONS(2118),
    [anon_sym_PIPE_AMP] = ACTIONS(2118),
    [anon_sym_AMP_AMP] = ACTIONS(2118),
    [anon_sym_PIPE_PIPE] = ACTIONS(2118),
    [sym__special_characters] = ACTIONS(2118),
    [anon_sym_DQUOTE] = ACTIONS(2118),
    [anon_sym_DOLLAR] = ACTIONS(2120),
    [sym_raw_string] = ACTIONS(2118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2118),
    [anon_sym_BQUOTE] = ACTIONS(2118),
    [anon_sym_LT_LPAREN] = ACTIONS(2118),
    [anon_sym_GT_LPAREN] = ACTIONS(2118),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2120),
    [sym_word] = ACTIONS(2120),
    [anon_sym_SEMI] = ACTIONS(2120),
    [anon_sym_LF] = ACTIONS(2118),
    [anon_sym_AMP] = ACTIONS(2120),
  },
  [1290] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(3924),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [1291] = {
    [sym__concat] = ACTIONS(3028),
    [sym_variable_name] = ACTIONS(3028),
    [ts_builtin_sym_end] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3030),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [1292] = {
    [sym__concat] = ACTIONS(3042),
    [sym_variable_name] = ACTIONS(3042),
    [ts_builtin_sym_end] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3044),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [1293] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3926),
    [sym_comment] = ACTIONS(53),
  },
  [1294] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3928),
    [sym_comment] = ACTIONS(53),
  },
  [1295] = {
    [anon_sym_RBRACE] = ACTIONS(3928),
    [sym_comment] = ACTIONS(53),
  },
  [1296] = {
    [sym_concatenation] = STATE(1762),
    [sym_string] = STATE(1761),
    [sym_simple_expansion] = STATE(1761),
    [sym_string_expansion] = STATE(1761),
    [sym_expansion] = STATE(1761),
    [sym_command_substitution] = STATE(1761),
    [sym_process_substitution] = STATE(1761),
    [anon_sym_RBRACE] = ACTIONS(3928),
    [sym__special_characters] = ACTIONS(3930),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3932),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3932),
  },
  [1297] = {
    [sym__concat] = ACTIONS(3078),
    [sym_variable_name] = ACTIONS(3078),
    [ts_builtin_sym_end] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3080),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [1298] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3934),
  },
  [1299] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3936),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1300] = {
    [sym__concat] = ACTIONS(3086),
    [sym_variable_name] = ACTIONS(3086),
    [ts_builtin_sym_end] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3088),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [1301] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3938),
  },
  [1302] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3940),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1303] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3942),
  },
  [1304] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3928),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1305] = {
    [sym_concatenation] = STATE(1769),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1769),
    [anon_sym_RBRACE] = ACTIONS(3944),
    [anon_sym_EQ] = ACTIONS(3946),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3948),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3946),
    [anon_sym_COLON_QMARK] = ACTIONS(3946),
    [anon_sym_COLON_DASH] = ACTIONS(3946),
    [anon_sym_PERCENT] = ACTIONS(3946),
    [anon_sym_DASH] = ACTIONS(3946),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1306] = {
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1307] = {
    [sym_concatenation] = STATE(1771),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1771),
    [anon_sym_RBRACE] = ACTIONS(3950),
    [anon_sym_EQ] = ACTIONS(3952),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3954),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3952),
    [anon_sym_COLON_QMARK] = ACTIONS(3952),
    [anon_sym_COLON_DASH] = ACTIONS(3952),
    [anon_sym_PERCENT] = ACTIONS(3952),
    [anon_sym_DASH] = ACTIONS(3952),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1308] = {
    [sym__concat] = ACTIONS(3203),
    [sym_variable_name] = ACTIONS(3203),
    [ts_builtin_sym_end] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3205),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [1309] = {
    [sym_concatenation] = STATE(1773),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1773),
    [anon_sym_RBRACE] = ACTIONS(3956),
    [anon_sym_EQ] = ACTIONS(3958),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3960),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3958),
    [anon_sym_COLON_QMARK] = ACTIONS(3958),
    [anon_sym_COLON_DASH] = ACTIONS(3958),
    [anon_sym_PERCENT] = ACTIONS(3958),
    [anon_sym_DASH] = ACTIONS(3958),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1310] = {
    [sym__concat] = ACTIONS(3213),
    [sym_variable_name] = ACTIONS(3213),
    [ts_builtin_sym_end] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3215),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [1311] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3962),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1312] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(3962),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1313] = {
    [sym__concat] = ACTIONS(3251),
    [sym_variable_name] = ACTIONS(3251),
    [ts_builtin_sym_end] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3253),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [1314] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(3964),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1315] = {
    [sym__concat] = ACTIONS(3028),
    [ts_builtin_sym_end] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3030),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [1316] = {
    [sym__concat] = ACTIONS(3042),
    [ts_builtin_sym_end] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3044),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [1317] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3966),
    [sym_comment] = ACTIONS(53),
  },
  [1318] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(3968),
    [sym_comment] = ACTIONS(53),
  },
  [1319] = {
    [anon_sym_RBRACE] = ACTIONS(3968),
    [sym_comment] = ACTIONS(53),
  },
  [1320] = {
    [sym_concatenation] = STATE(1780),
    [sym_string] = STATE(1779),
    [sym_simple_expansion] = STATE(1779),
    [sym_string_expansion] = STATE(1779),
    [sym_expansion] = STATE(1779),
    [sym_command_substitution] = STATE(1779),
    [sym_process_substitution] = STATE(1779),
    [anon_sym_RBRACE] = ACTIONS(3968),
    [sym__special_characters] = ACTIONS(3970),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(3972),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3972),
  },
  [1321] = {
    [sym__concat] = ACTIONS(3078),
    [ts_builtin_sym_end] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3080),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [1322] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3974),
  },
  [1323] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3976),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1324] = {
    [sym__concat] = ACTIONS(3086),
    [ts_builtin_sym_end] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3088),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [1325] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3978),
  },
  [1326] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3980),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1327] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(3982),
  },
  [1328] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(3968),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1329] = {
    [sym_concatenation] = STATE(1787),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1787),
    [anon_sym_RBRACE] = ACTIONS(3984),
    [anon_sym_EQ] = ACTIONS(3986),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3988),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3986),
    [anon_sym_COLON_QMARK] = ACTIONS(3986),
    [anon_sym_COLON_DASH] = ACTIONS(3986),
    [anon_sym_PERCENT] = ACTIONS(3986),
    [anon_sym_DASH] = ACTIONS(3986),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1330] = {
    [sym__concat] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1331] = {
    [sym_concatenation] = STATE(1789),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1789),
    [anon_sym_RBRACE] = ACTIONS(3990),
    [anon_sym_EQ] = ACTIONS(3992),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(3994),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3992),
    [anon_sym_COLON_QMARK] = ACTIONS(3992),
    [anon_sym_COLON_DASH] = ACTIONS(3992),
    [anon_sym_PERCENT] = ACTIONS(3992),
    [anon_sym_DASH] = ACTIONS(3992),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1332] = {
    [sym__concat] = ACTIONS(3203),
    [ts_builtin_sym_end] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3205),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [1333] = {
    [sym_concatenation] = STATE(1791),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1791),
    [anon_sym_RBRACE] = ACTIONS(3996),
    [anon_sym_EQ] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4000),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(3998),
    [anon_sym_COLON_QMARK] = ACTIONS(3998),
    [anon_sym_COLON_DASH] = ACTIONS(3998),
    [anon_sym_PERCENT] = ACTIONS(3998),
    [anon_sym_DASH] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1334] = {
    [sym__concat] = ACTIONS(3213),
    [ts_builtin_sym_end] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3215),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [1335] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4002),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1336] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4002),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1337] = {
    [sym__concat] = ACTIONS(3251),
    [ts_builtin_sym_end] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3253),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [1338] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4004),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1339] = {
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [sym_variable_name] = ACTIONS(3028),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3028),
  },
  [1340] = {
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [sym_variable_name] = ACTIONS(3042),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3042),
  },
  [1341] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4006),
    [sym_comment] = ACTIONS(53),
  },
  [1342] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4008),
    [sym_comment] = ACTIONS(53),
  },
  [1343] = {
    [anon_sym_RBRACE] = ACTIONS(4008),
    [sym_comment] = ACTIONS(53),
  },
  [1344] = {
    [sym_concatenation] = STATE(1798),
    [sym_string] = STATE(1797),
    [sym_simple_expansion] = STATE(1797),
    [sym_string_expansion] = STATE(1797),
    [sym_expansion] = STATE(1797),
    [sym_command_substitution] = STATE(1797),
    [sym_process_substitution] = STATE(1797),
    [anon_sym_RBRACE] = ACTIONS(4008),
    [sym__special_characters] = ACTIONS(4010),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4012),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4012),
  },
  [1345] = {
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [sym_variable_name] = ACTIONS(3078),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3078),
  },
  [1346] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4014),
  },
  [1347] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4016),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1348] = {
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [sym_variable_name] = ACTIONS(3086),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3086),
  },
  [1349] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4018),
  },
  [1350] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4020),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1351] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4022),
  },
  [1352] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4008),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1353] = {
    [sym_concatenation] = STATE(1805),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1805),
    [anon_sym_RBRACE] = ACTIONS(4024),
    [anon_sym_EQ] = ACTIONS(4026),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4026),
    [anon_sym_COLON_QMARK] = ACTIONS(4026),
    [anon_sym_COLON_DASH] = ACTIONS(4026),
    [anon_sym_PERCENT] = ACTIONS(4026),
    [anon_sym_DASH] = ACTIONS(4026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1354] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3158),
  },
  [1355] = {
    [sym_concatenation] = STATE(1807),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1807),
    [anon_sym_RBRACE] = ACTIONS(4030),
    [anon_sym_EQ] = ACTIONS(4032),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4034),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4032),
    [anon_sym_COLON_QMARK] = ACTIONS(4032),
    [anon_sym_COLON_DASH] = ACTIONS(4032),
    [anon_sym_PERCENT] = ACTIONS(4032),
    [anon_sym_DASH] = ACTIONS(4032),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1356] = {
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [sym_variable_name] = ACTIONS(3203),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3203),
  },
  [1357] = {
    [sym_concatenation] = STATE(1809),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1809),
    [anon_sym_RBRACE] = ACTIONS(4036),
    [anon_sym_EQ] = ACTIONS(4038),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4040),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4038),
    [anon_sym_COLON_QMARK] = ACTIONS(4038),
    [anon_sym_COLON_DASH] = ACTIONS(4038),
    [anon_sym_PERCENT] = ACTIONS(4038),
    [anon_sym_DASH] = ACTIONS(4038),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1358] = {
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [sym_variable_name] = ACTIONS(3213),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3213),
  },
  [1359] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4042),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1360] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4042),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1361] = {
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [sym_variable_name] = ACTIONS(3251),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3251),
  },
  [1362] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4044),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1363] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3044),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym__string_content] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3044),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3044),
    [anon_sym_BQUOTE] = ACTIONS(3044),
    [sym_comment] = ACTIONS(265),
  },
  [1364] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4046),
    [sym_comment] = ACTIONS(53),
  },
  [1365] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4048),
    [sym_comment] = ACTIONS(53),
  },
  [1366] = {
    [anon_sym_RBRACE] = ACTIONS(4048),
    [sym_comment] = ACTIONS(53),
  },
  [1367] = {
    [sym_concatenation] = STATE(1816),
    [sym_string] = STATE(1815),
    [sym_simple_expansion] = STATE(1815),
    [sym_string_expansion] = STATE(1815),
    [sym_expansion] = STATE(1815),
    [sym_command_substitution] = STATE(1815),
    [sym_process_substitution] = STATE(1815),
    [anon_sym_RBRACE] = ACTIONS(4048),
    [sym__special_characters] = ACTIONS(4050),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4052),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4052),
  },
  [1368] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3080),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym__string_content] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3080),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3080),
    [anon_sym_BQUOTE] = ACTIONS(3080),
    [sym_comment] = ACTIONS(265),
  },
  [1369] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4054),
  },
  [1370] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4056),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1371] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3088),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym__string_content] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3088),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3088),
    [anon_sym_BQUOTE] = ACTIONS(3088),
    [sym_comment] = ACTIONS(265),
  },
  [1372] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4058),
  },
  [1373] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4060),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1374] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4062),
  },
  [1375] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4048),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1376] = {
    [sym_concatenation] = STATE(1823),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1823),
    [anon_sym_RBRACE] = ACTIONS(4064),
    [anon_sym_EQ] = ACTIONS(4066),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4068),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4066),
    [anon_sym_COLON_QMARK] = ACTIONS(4066),
    [anon_sym_COLON_DASH] = ACTIONS(4066),
    [anon_sym_PERCENT] = ACTIONS(4066),
    [anon_sym_DASH] = ACTIONS(4066),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1377] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3160),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym__string_content] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3160),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3160),
    [anon_sym_BQUOTE] = ACTIONS(3160),
    [sym_comment] = ACTIONS(265),
  },
  [1378] = {
    [sym_concatenation] = STATE(1825),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1825),
    [anon_sym_RBRACE] = ACTIONS(4070),
    [anon_sym_EQ] = ACTIONS(4072),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4074),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4072),
    [anon_sym_COLON_QMARK] = ACTIONS(4072),
    [anon_sym_COLON_DASH] = ACTIONS(4072),
    [anon_sym_PERCENT] = ACTIONS(4072),
    [anon_sym_DASH] = ACTIONS(4072),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1379] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3205),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym__string_content] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3205),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3205),
    [anon_sym_BQUOTE] = ACTIONS(3205),
    [sym_comment] = ACTIONS(265),
  },
  [1380] = {
    [sym_concatenation] = STATE(1827),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1827),
    [anon_sym_RBRACE] = ACTIONS(4076),
    [anon_sym_EQ] = ACTIONS(4078),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4080),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4078),
    [anon_sym_COLON_QMARK] = ACTIONS(4078),
    [anon_sym_COLON_DASH] = ACTIONS(4078),
    [anon_sym_PERCENT] = ACTIONS(4078),
    [anon_sym_DASH] = ACTIONS(4078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1381] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3215),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym__string_content] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3215),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3215),
    [anon_sym_BQUOTE] = ACTIONS(3215),
    [sym_comment] = ACTIONS(265),
  },
  [1382] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4082),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1383] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4082),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1384] = {
    [sym_string] = STATE(732),
    [sym_simple_expansion] = STATE(732),
    [sym_string_expansion] = STATE(732),
    [sym_expansion] = STATE(732),
    [sym_command_substitution] = STATE(732),
    [sym_process_substitution] = STATE(732),
    [anon_sym_RBRACK] = ACTIONS(4084),
    [sym__special_characters] = ACTIONS(2106),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1353),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1353),
  },
  [1385] = {
    [sym__concat] = ACTIONS(4086),
    [anon_sym_RBRACE] = ACTIONS(2110),
    [anon_sym_EQ] = ACTIONS(4088),
    [sym__special_characters] = ACTIONS(4088),
    [anon_sym_DQUOTE] = ACTIONS(2110),
    [anon_sym_DOLLAR] = ACTIONS(4088),
    [sym_raw_string] = ACTIONS(2110),
    [anon_sym_POUND] = ACTIONS(2110),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2110),
    [anon_sym_SLASH] = ACTIONS(2110),
    [anon_sym_COLON] = ACTIONS(4088),
    [anon_sym_COLON_QMARK] = ACTIONS(4088),
    [anon_sym_COLON_DASH] = ACTIONS(4088),
    [anon_sym_PERCENT] = ACTIONS(4088),
    [anon_sym_DASH] = ACTIONS(4088),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2110),
    [anon_sym_BQUOTE] = ACTIONS(2110),
    [anon_sym_LT_LPAREN] = ACTIONS(2110),
    [anon_sym_GT_LPAREN] = ACTIONS(2110),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4088),
  },
  [1386] = {
    [sym_string] = STATE(732),
    [sym_simple_expansion] = STATE(732),
    [sym_string_expansion] = STATE(732),
    [sym_expansion] = STATE(732),
    [sym_command_substitution] = STATE(732),
    [sym_process_substitution] = STATE(732),
    [anon_sym_RBRACK] = ACTIONS(4090),
    [sym__special_characters] = ACTIONS(2106),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(1353),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1353),
  },
  [1387] = {
    [sym__concat] = ACTIONS(4092),
    [anon_sym_RBRACE] = ACTIONS(2116),
    [anon_sym_EQ] = ACTIONS(4094),
    [sym__special_characters] = ACTIONS(4094),
    [anon_sym_DQUOTE] = ACTIONS(2116),
    [anon_sym_DOLLAR] = ACTIONS(4094),
    [sym_raw_string] = ACTIONS(2116),
    [anon_sym_POUND] = ACTIONS(2116),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2116),
    [anon_sym_SLASH] = ACTIONS(2116),
    [anon_sym_COLON] = ACTIONS(4094),
    [anon_sym_COLON_QMARK] = ACTIONS(4094),
    [anon_sym_COLON_DASH] = ACTIONS(4094),
    [anon_sym_PERCENT] = ACTIONS(4094),
    [anon_sym_DASH] = ACTIONS(4094),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2116),
    [anon_sym_BQUOTE] = ACTIONS(2116),
    [anon_sym_LT_LPAREN] = ACTIONS(2116),
    [anon_sym_GT_LPAREN] = ACTIONS(2116),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4094),
  },
  [1388] = {
    [anon_sym_RBRACK] = ACTIONS(4090),
    [sym_comment] = ACTIONS(53),
  },
  [1389] = {
    [sym_string] = STATE(1833),
    [sym_simple_expansion] = STATE(1833),
    [sym_string_expansion] = STATE(1833),
    [sym_expansion] = STATE(1833),
    [sym_command_substitution] = STATE(1833),
    [sym_process_substitution] = STATE(1833),
    [sym__special_characters] = ACTIONS(4096),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4096),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4096),
  },
  [1390] = {
    [sym__simple_heredoc_body] = ACTIONS(4098),
    [sym__heredoc_body_beginning] = ACTIONS(4098),
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [ts_builtin_sym_end] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4100),
    [anon_sym_EQ_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [anon_sym_LT_LT] = ACTIONS(4100),
    [anon_sym_LT_LT_DASH] = ACTIONS(4098),
    [anon_sym_LT_LT_LT] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [1391] = {
    [aux_sym_concatenation_repeat1] = STATE(1834),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
  },
  [1392] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_RBRACE] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
  },
  [1393] = {
    [anon_sym_DQUOTE] = ACTIONS(4102),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1394] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(4102),
    [anon_sym_DOLLAR] = ACTIONS(4104),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1395] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_RBRACE] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
  },
  [1396] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_RBRACE] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
  },
  [1397] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_RBRACE] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
  },
  [1398] = {
    [sym__simple_heredoc_body] = ACTIONS(4106),
    [sym__heredoc_body_beginning] = ACTIONS(4106),
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [ts_builtin_sym_end] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4108),
    [anon_sym_EQ_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [anon_sym_LT_LT] = ACTIONS(4108),
    [anon_sym_LT_LT_DASH] = ACTIONS(4106),
    [anon_sym_LT_LT_LT] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [1399] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4110),
    [sym_comment] = ACTIONS(53),
  },
  [1400] = {
    [sym_subscript] = STATE(1841),
    [sym_variable_name] = ACTIONS(4112),
    [anon_sym_DOLLAR] = ACTIONS(4114),
    [anon_sym_DASH] = ACTIONS(4114),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4116),
    [anon_sym_STAR] = ACTIONS(4114),
    [anon_sym_AT] = ACTIONS(4114),
    [anon_sym_QMARK] = ACTIONS(4114),
    [anon_sym_0] = ACTIONS(4118),
    [anon_sym__] = ACTIONS(4118),
  },
  [1401] = {
    [sym_concatenation] = STATE(1844),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1844),
    [anon_sym_RBRACE] = ACTIONS(4120),
    [anon_sym_EQ] = ACTIONS(4122),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4124),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4126),
    [anon_sym_COLON] = ACTIONS(4122),
    [anon_sym_COLON_QMARK] = ACTIONS(4122),
    [anon_sym_COLON_DASH] = ACTIONS(4122),
    [anon_sym_PERCENT] = ACTIONS(4122),
    [anon_sym_DASH] = ACTIONS(4122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1402] = {
    [sym_concatenation] = STATE(1847),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1847),
    [anon_sym_RBRACE] = ACTIONS(4128),
    [anon_sym_EQ] = ACTIONS(4130),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4132),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4134),
    [anon_sym_COLON] = ACTIONS(4130),
    [anon_sym_COLON_QMARK] = ACTIONS(4130),
    [anon_sym_COLON_DASH] = ACTIONS(4130),
    [anon_sym_PERCENT] = ACTIONS(4130),
    [anon_sym_DASH] = ACTIONS(4130),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1403] = {
    [sym_concatenation] = STATE(1850),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1850),
    [anon_sym_RBRACE] = ACTIONS(4136),
    [anon_sym_EQ] = ACTIONS(4138),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4140),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4142),
    [anon_sym_COLON] = ACTIONS(4138),
    [anon_sym_COLON_QMARK] = ACTIONS(4138),
    [anon_sym_COLON_DASH] = ACTIONS(4138),
    [anon_sym_PERCENT] = ACTIONS(4138),
    [anon_sym_DASH] = ACTIONS(4138),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1404] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4144),
    [anon_sym_SEMI_SEMI] = ACTIONS(4146),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4148),
    [anon_sym_LF] = ACTIONS(4146),
    [anon_sym_AMP] = ACTIONS(4148),
  },
  [1405] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4144),
    [anon_sym_SEMI_SEMI] = ACTIONS(4146),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4148),
    [anon_sym_LF] = ACTIONS(4146),
    [anon_sym_AMP] = ACTIONS(4148),
  },
  [1406] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1853),
    [sym_c_style_for_statement] = STATE(1853),
    [sym_while_statement] = STATE(1853),
    [sym_if_statement] = STATE(1853),
    [sym_case_statement] = STATE(1853),
    [sym_function_definition] = STATE(1853),
    [sym_subshell] = STATE(1853),
    [sym_pipeline] = STATE(1853),
    [sym_list] = STATE(1853),
    [sym_negated_command] = STATE(1853),
    [sym_test_command] = STATE(1853),
    [sym_declaration_command] = STATE(1853),
    [sym_unset_command] = STATE(1853),
    [sym_command] = STATE(1853),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1854),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1407] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4150),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4144),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4152),
    [anon_sym_LF] = ACTIONS(4150),
    [anon_sym_AMP] = ACTIONS(4152),
  },
  [1408] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4150),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4144),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4152),
    [anon_sym_LF] = ACTIONS(4150),
    [anon_sym_AMP] = ACTIONS(4152),
  },
  [1409] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1856),
    [sym_c_style_for_statement] = STATE(1856),
    [sym_while_statement] = STATE(1856),
    [sym_if_statement] = STATE(1856),
    [sym_case_statement] = STATE(1856),
    [sym_function_definition] = STATE(1856),
    [sym_subshell] = STATE(1856),
    [sym_pipeline] = STATE(1856),
    [sym_list] = STATE(1856),
    [sym_negated_command] = STATE(1856),
    [sym_test_command] = STATE(1856),
    [sym_declaration_command] = STATE(1856),
    [sym_unset_command] = STATE(1856),
    [sym_command] = STATE(1856),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1857),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1410] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4154),
    [anon_sym_SEMI_SEMI] = ACTIONS(4156),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4158),
    [anon_sym_LF] = ACTIONS(4156),
    [anon_sym_AMP] = ACTIONS(4158),
  },
  [1411] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4154),
    [anon_sym_SEMI_SEMI] = ACTIONS(4156),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4158),
    [anon_sym_LF] = ACTIONS(4156),
    [anon_sym_AMP] = ACTIONS(4158),
  },
  [1412] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1860),
    [sym_c_style_for_statement] = STATE(1860),
    [sym_while_statement] = STATE(1860),
    [sym_if_statement] = STATE(1860),
    [sym_case_statement] = STATE(1860),
    [sym_function_definition] = STATE(1860),
    [sym_subshell] = STATE(1860),
    [sym_pipeline] = STATE(1860),
    [sym_list] = STATE(1860),
    [sym_negated_command] = STATE(1860),
    [sym_test_command] = STATE(1860),
    [sym_declaration_command] = STATE(1860),
    [sym_unset_command] = STATE(1860),
    [sym_command] = STATE(1860),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1861),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1413] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4160),
    [sym_comment] = ACTIONS(53),
  },
  [1414] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4162),
    [sym_comment] = ACTIONS(53),
  },
  [1415] = {
    [anon_sym_RBRACE] = ACTIONS(4162),
    [sym_comment] = ACTIONS(53),
  },
  [1416] = {
    [sym_concatenation] = STATE(1865),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1865),
    [anon_sym_RBRACE] = ACTIONS(4164),
    [anon_sym_EQ] = ACTIONS(4166),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4168),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4166),
    [anon_sym_COLON_QMARK] = ACTIONS(4166),
    [anon_sym_COLON_DASH] = ACTIONS(4166),
    [anon_sym_PERCENT] = ACTIONS(4166),
    [anon_sym_DASH] = ACTIONS(4166),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1417] = {
    [sym__simple_heredoc_body] = ACTIONS(4170),
    [sym__heredoc_body_beginning] = ACTIONS(4170),
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [ts_builtin_sym_end] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4172),
    [anon_sym_EQ_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [anon_sym_LT_LT] = ACTIONS(4172),
    [anon_sym_LT_LT_DASH] = ACTIONS(4170),
    [anon_sym_LT_LT_LT] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1418] = {
    [sym_concatenation] = STATE(1867),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1867),
    [anon_sym_RBRACE] = ACTIONS(4174),
    [anon_sym_EQ] = ACTIONS(4176),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4178),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4176),
    [anon_sym_COLON_QMARK] = ACTIONS(4176),
    [anon_sym_COLON_DASH] = ACTIONS(4176),
    [anon_sym_PERCENT] = ACTIONS(4176),
    [anon_sym_DASH] = ACTIONS(4176),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1419] = {
    [sym__simple_heredoc_body] = ACTIONS(4180),
    [sym__heredoc_body_beginning] = ACTIONS(4180),
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [ts_builtin_sym_end] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4182),
    [anon_sym_EQ_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [anon_sym_LT_LT] = ACTIONS(4182),
    [anon_sym_LT_LT_DASH] = ACTIONS(4180),
    [anon_sym_LT_LT_LT] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1420] = {
    [sym_concatenation] = STATE(1869),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1869),
    [anon_sym_RBRACE] = ACTIONS(4184),
    [anon_sym_EQ] = ACTIONS(4186),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4188),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4186),
    [anon_sym_COLON_QMARK] = ACTIONS(4186),
    [anon_sym_COLON_DASH] = ACTIONS(4186),
    [anon_sym_PERCENT] = ACTIONS(4186),
    [anon_sym_DASH] = ACTIONS(4186),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1421] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_RBRACE] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [sym__special_characters] = ACTIONS(1764),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_POUND] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_COLON] = ACTIONS(1764),
    [anon_sym_COLON_QMARK] = ACTIONS(1764),
    [anon_sym_COLON_DASH] = ACTIONS(1764),
    [anon_sym_PERCENT] = ACTIONS(1764),
    [anon_sym_DASH] = ACTIONS(1764),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1764),
  },
  [1422] = {
    [aux_sym_concatenation_repeat1] = STATE(1422),
    [sym__concat] = ACTIONS(4190),
    [anon_sym_RBRACE] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [sym__special_characters] = ACTIONS(1764),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_POUND] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_COLON] = ACTIONS(1764),
    [anon_sym_COLON_QMARK] = ACTIONS(1764),
    [anon_sym_COLON_DASH] = ACTIONS(1764),
    [anon_sym_PERCENT] = ACTIONS(1764),
    [anon_sym_DASH] = ACTIONS(1764),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1764),
  },
  [1423] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_RBRACE] = ACTIONS(1769),
    [anon_sym_EQ] = ACTIONS(1771),
    [sym__special_characters] = ACTIONS(1771),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_POUND] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_COLON] = ACTIONS(1771),
    [anon_sym_COLON_QMARK] = ACTIONS(1771),
    [anon_sym_COLON_DASH] = ACTIONS(1771),
    [anon_sym_PERCENT] = ACTIONS(1771),
    [anon_sym_DASH] = ACTIONS(1771),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1771),
  },
  [1424] = {
    [anon_sym_DQUOTE] = ACTIONS(4193),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1425] = {
    [sym_concatenation] = STATE(1874),
    [sym_string] = STATE(1873),
    [sym_simple_expansion] = STATE(1873),
    [sym_string_expansion] = STATE(1873),
    [sym_expansion] = STATE(1873),
    [sym_command_substitution] = STATE(1873),
    [sym_process_substitution] = STATE(1873),
    [anon_sym_RBRACE] = ACTIONS(4195),
    [sym__special_characters] = ACTIONS(4197),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4199),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4199),
  },
  [1426] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4201),
    [sym_comment] = ACTIONS(53),
  },
  [1427] = {
    [sym_concatenation] = STATE(1878),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1878),
    [anon_sym_RBRACE] = ACTIONS(4203),
    [anon_sym_EQ] = ACTIONS(4205),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4207),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4209),
    [anon_sym_COLON] = ACTIONS(4205),
    [anon_sym_COLON_QMARK] = ACTIONS(4205),
    [anon_sym_COLON_DASH] = ACTIONS(4205),
    [anon_sym_PERCENT] = ACTIONS(4205),
    [anon_sym_DASH] = ACTIONS(4205),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1428] = {
    [sym_concatenation] = STATE(1881),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1881),
    [anon_sym_RBRACE] = ACTIONS(4211),
    [anon_sym_EQ] = ACTIONS(4213),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4215),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4217),
    [anon_sym_COLON] = ACTIONS(4213),
    [anon_sym_COLON_QMARK] = ACTIONS(4213),
    [anon_sym_COLON_DASH] = ACTIONS(4213),
    [anon_sym_PERCENT] = ACTIONS(4213),
    [anon_sym_DASH] = ACTIONS(4213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1429] = {
    [sym_concatenation] = STATE(1883),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1883),
    [anon_sym_RBRACE] = ACTIONS(4195),
    [anon_sym_EQ] = ACTIONS(4219),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4221),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4223),
    [anon_sym_COLON] = ACTIONS(4219),
    [anon_sym_COLON_QMARK] = ACTIONS(4219),
    [anon_sym_COLON_DASH] = ACTIONS(4219),
    [anon_sym_PERCENT] = ACTIONS(4219),
    [anon_sym_DASH] = ACTIONS(4219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1430] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_RBRACE] = ACTIONS(1886),
    [anon_sym_EQ] = ACTIONS(1888),
    [sym__special_characters] = ACTIONS(1888),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_POUND] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_COLON] = ACTIONS(1888),
    [anon_sym_COLON_QMARK] = ACTIONS(1888),
    [anon_sym_COLON_DASH] = ACTIONS(1888),
    [anon_sym_PERCENT] = ACTIONS(1888),
    [anon_sym_DASH] = ACTIONS(1888),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1888),
  },
  [1431] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4225),
  },
  [1432] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4227),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1433] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_RBRACE] = ACTIONS(1930),
    [anon_sym_EQ] = ACTIONS(1932),
    [sym__special_characters] = ACTIONS(1932),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_POUND] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_COLON] = ACTIONS(1932),
    [anon_sym_COLON_QMARK] = ACTIONS(1932),
    [anon_sym_COLON_DASH] = ACTIONS(1932),
    [anon_sym_PERCENT] = ACTIONS(1932),
    [anon_sym_DASH] = ACTIONS(1932),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1932),
  },
  [1434] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4229),
  },
  [1435] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4231),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1436] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_RBRACE] = ACTIONS(1938),
    [anon_sym_EQ] = ACTIONS(1940),
    [sym__special_characters] = ACTIONS(1940),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_POUND] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_COLON] = ACTIONS(1940),
    [anon_sym_COLON_QMARK] = ACTIONS(1940),
    [anon_sym_COLON_DASH] = ACTIONS(1940),
    [anon_sym_PERCENT] = ACTIONS(1940),
    [anon_sym_DASH] = ACTIONS(1940),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1940),
  },
  [1437] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4233),
  },
  [1438] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4195),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1439] = {
    [sym__simple_heredoc_body] = ACTIONS(4235),
    [sym__heredoc_body_beginning] = ACTIONS(4235),
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [ts_builtin_sym_end] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4237),
    [anon_sym_EQ_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [anon_sym_LT_LT] = ACTIONS(4237),
    [anon_sym_LT_LT_DASH] = ACTIONS(4235),
    [anon_sym_LT_LT_LT] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [1440] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4239),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1441] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_RBRACE] = ACTIONS(1944),
    [anon_sym_EQ] = ACTIONS(1946),
    [sym__special_characters] = ACTIONS(1946),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_POUND] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_COLON] = ACTIONS(1946),
    [anon_sym_COLON_QMARK] = ACTIONS(1946),
    [anon_sym_COLON_DASH] = ACTIONS(1946),
    [anon_sym_PERCENT] = ACTIONS(1946),
    [anon_sym_DASH] = ACTIONS(1946),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1946),
  },
  [1442] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4241),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1443] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4241),
    [anon_sym_SEMI_SEMI] = ACTIONS(4243),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4245),
    [anon_sym_LF] = ACTIONS(4243),
    [anon_sym_AMP] = ACTIONS(4245),
  },
  [1444] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4241),
    [anon_sym_SEMI_SEMI] = ACTIONS(4243),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4245),
    [anon_sym_LF] = ACTIONS(4243),
    [anon_sym_AMP] = ACTIONS(4245),
  },
  [1445] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4241),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1446] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4247),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4241),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4249),
    [anon_sym_LF] = ACTIONS(4247),
    [anon_sym_AMP] = ACTIONS(4249),
  },
  [1447] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4247),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4241),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4249),
    [anon_sym_LF] = ACTIONS(4247),
    [anon_sym_AMP] = ACTIONS(4249),
  },
  [1448] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_RBRACE] = ACTIONS(1976),
    [anon_sym_EQ] = ACTIONS(1978),
    [sym__special_characters] = ACTIONS(1978),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_POUND] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_COLON] = ACTIONS(1978),
    [anon_sym_COLON_QMARK] = ACTIONS(1978),
    [anon_sym_COLON_DASH] = ACTIONS(1978),
    [anon_sym_PERCENT] = ACTIONS(1978),
    [anon_sym_DASH] = ACTIONS(1978),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(1978),
  },
  [1449] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4251),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1450] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4251),
    [anon_sym_SEMI_SEMI] = ACTIONS(4253),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4255),
    [anon_sym_LF] = ACTIONS(4253),
    [anon_sym_AMP] = ACTIONS(4255),
  },
  [1451] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4251),
    [anon_sym_SEMI_SEMI] = ACTIONS(4253),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4255),
    [anon_sym_LF] = ACTIONS(4253),
    [anon_sym_AMP] = ACTIONS(4255),
  },
  [1452] = {
    [sym__simple_heredoc_body] = ACTIONS(4257),
    [sym__heredoc_body_beginning] = ACTIONS(4257),
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [ts_builtin_sym_end] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4259),
    [anon_sym_EQ_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [anon_sym_LT_LT] = ACTIONS(4259),
    [anon_sym_LT_LT_DASH] = ACTIONS(4257),
    [anon_sym_LT_LT_LT] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [1453] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4261),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1454] = {
    [sym__simple_heredoc_body] = ACTIONS(4263),
    [sym__heredoc_body_beginning] = ACTIONS(4263),
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [ts_builtin_sym_end] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4265),
    [anon_sym_EQ_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [anon_sym_LT_LT] = ACTIONS(4265),
    [anon_sym_LT_LT_DASH] = ACTIONS(4263),
    [anon_sym_LT_LT_LT] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [1455] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4267),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1456] = {
    [sym__simple_heredoc_body] = ACTIONS(4269),
    [sym__heredoc_body_beginning] = ACTIONS(4269),
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [ts_builtin_sym_end] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4271),
    [anon_sym_EQ_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [anon_sym_LT_LT] = ACTIONS(4271),
    [anon_sym_LT_LT_DASH] = ACTIONS(4269),
    [anon_sym_LT_LT_LT] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [1457] = {
    [sym_file_redirect] = STATE(980),
    [sym_heredoc_redirect] = STATE(980),
    [sym_heredoc_body] = STATE(1149),
    [sym_herestring_redirect] = STATE(980),
    [aux_sym_while_statement_repeat1] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [anon_sym_BQUOTE] = ACTIONS(2401),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [1458] = {
    [sym_compound_statement] = STATE(1897),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [1459] = {
    [anon_sym_LT] = ACTIONS(4273),
    [anon_sym_GT] = ACTIONS(4273),
    [anon_sym_GT_GT] = ACTIONS(4275),
    [anon_sym_AMP_GT] = ACTIONS(4273),
    [anon_sym_AMP_GT_GT] = ACTIONS(4275),
    [anon_sym_LT_AMP] = ACTIONS(4275),
    [anon_sym_GT_AMP] = ACTIONS(4275),
    [sym_comment] = ACTIONS(53),
  },
  [1460] = {
    [sym_concatenation] = STATE(1203),
    [sym_string] = STATE(1900),
    [sym_simple_expansion] = STATE(1900),
    [sym_string_expansion] = STATE(1900),
    [sym_expansion] = STATE(1900),
    [sym_command_substitution] = STATE(1900),
    [sym_process_substitution] = STATE(1900),
    [sym__special_characters] = ACTIONS(4277),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(4279),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4279),
  },
  [1461] = {
    [anon_sym_LT] = ACTIONS(4281),
    [anon_sym_GT] = ACTIONS(4281),
    [anon_sym_GT_GT] = ACTIONS(4283),
    [anon_sym_AMP_GT] = ACTIONS(4281),
    [anon_sym_AMP_GT_GT] = ACTIONS(4283),
    [anon_sym_LT_AMP] = ACTIONS(4283),
    [anon_sym_GT_AMP] = ACTIONS(4283),
    [sym_comment] = ACTIONS(53),
  },
  [1462] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(1903),
    [sym_simple_expansion] = STATE(1903),
    [sym_string_expansion] = STATE(1903),
    [sym_expansion] = STATE(1903),
    [sym_command_substitution] = STATE(1903),
    [sym_process_substitution] = STATE(1903),
    [sym__special_characters] = ACTIONS(4285),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(4287),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4287),
  },
  [1463] = {
    [sym_concatenation] = STATE(1263),
    [sym_string] = STATE(1905),
    [sym_simple_expansion] = STATE(1905),
    [sym_string_expansion] = STATE(1905),
    [sym_expansion] = STATE(1905),
    [sym_command_substitution] = STATE(1905),
    [sym_process_substitution] = STATE(1905),
    [sym__special_characters] = ACTIONS(4289),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(4291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4291),
  },
  [1464] = {
    [sym_file_redirect] = STATE(1906),
    [sym_heredoc_redirect] = STATE(1906),
    [sym_herestring_redirect] = STATE(1906),
    [aux_sym_while_statement_repeat1] = STATE(1906),
    [sym_file_descriptor] = ACTIONS(3227),
    [anon_sym_PIPE] = ACTIONS(2726),
    [anon_sym_SEMI_SEMI] = ACTIONS(2724),
    [anon_sym_PIPE_AMP] = ACTIONS(2724),
    [anon_sym_AMP_AMP] = ACTIONS(2724),
    [anon_sym_PIPE_PIPE] = ACTIONS(2724),
    [anon_sym_LT] = ACTIONS(3229),
    [anon_sym_GT] = ACTIONS(3229),
    [anon_sym_GT_GT] = ACTIONS(3231),
    [anon_sym_AMP_GT] = ACTIONS(3229),
    [anon_sym_AMP_GT_GT] = ACTIONS(3231),
    [anon_sym_LT_AMP] = ACTIONS(3231),
    [anon_sym_GT_AMP] = ACTIONS(3231),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(3233),
    [anon_sym_BQUOTE] = ACTIONS(2724),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2726),
    [anon_sym_LF] = ACTIONS(2724),
    [anon_sym_AMP] = ACTIONS(2726),
  },
  [1465] = {
    [sym_file_redirect] = STATE(1471),
    [sym_file_descriptor] = ACTIONS(3221),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_LT] = ACTIONS(3223),
    [anon_sym_GT] = ACTIONS(3223),
    [anon_sym_GT_GT] = ACTIONS(3225),
    [anon_sym_AMP_GT] = ACTIONS(3223),
    [anon_sym_AMP_GT_GT] = ACTIONS(3225),
    [anon_sym_LT_AMP] = ACTIONS(3225),
    [anon_sym_GT_AMP] = ACTIONS(3225),
    [anon_sym_BQUOTE] = ACTIONS(2546),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [1466] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(1051),
    [sym__heredoc_body_beginning] = ACTIONS(1051),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [anon_sym_BQUOTE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [1467] = {
    [aux_sym_concatenation_repeat1] = STATE(1468),
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1468] = {
    [aux_sym_concatenation_repeat1] = STATE(1907),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(249),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1469] = {
    [sym_file_redirect] = STATE(980),
    [sym_heredoc_redirect] = STATE(980),
    [sym_heredoc_body] = STATE(1487),
    [sym_herestring_redirect] = STATE(980),
    [aux_sym_while_statement_repeat1] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(883),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_LT] = ACTIONS(885),
    [anon_sym_GT] = ACTIONS(885),
    [anon_sym_GT_GT] = ACTIONS(887),
    [anon_sym_AMP_GT] = ACTIONS(885),
    [anon_sym_AMP_GT_GT] = ACTIONS(887),
    [anon_sym_LT_AMP] = ACTIONS(887),
    [anon_sym_GT_AMP] = ACTIONS(887),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(889),
    [anon_sym_BQUOTE] = ACTIONS(3306),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [1470] = {
    [sym__simple_heredoc_body] = ACTIONS(4293),
    [sym__heredoc_body_beginning] = ACTIONS(4293),
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [ts_builtin_sym_end] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4295),
    [anon_sym_EQ_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [anon_sym_LT_LT] = ACTIONS(4295),
    [anon_sym_LT_LT_DASH] = ACTIONS(4293),
    [anon_sym_LT_LT_LT] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [1471] = {
    [ts_builtin_sym_end] = ACTIONS(3758),
    [anon_sym_esac] = ACTIONS(3758),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_RPAREN] = ACTIONS(3758),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_BQUOTE] = ACTIONS(3758),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [1472] = {
    [sym_concatenation] = STATE(1911),
    [sym_string] = STATE(1910),
    [sym_simple_expansion] = STATE(1910),
    [sym_string_expansion] = STATE(1910),
    [sym_expansion] = STATE(1910),
    [sym_command_substitution] = STATE(1910),
    [sym_process_substitution] = STATE(1910),
    [anon_sym_RBRACE] = ACTIONS(4297),
    [sym__special_characters] = ACTIONS(4299),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4301),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4301),
  },
  [1473] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4303),
    [sym_comment] = ACTIONS(53),
  },
  [1474] = {
    [sym_concatenation] = STATE(1915),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1915),
    [anon_sym_RBRACE] = ACTIONS(4305),
    [anon_sym_EQ] = ACTIONS(4307),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4309),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4311),
    [anon_sym_COLON] = ACTIONS(4307),
    [anon_sym_COLON_QMARK] = ACTIONS(4307),
    [anon_sym_COLON_DASH] = ACTIONS(4307),
    [anon_sym_PERCENT] = ACTIONS(4307),
    [anon_sym_DASH] = ACTIONS(4307),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1475] = {
    [sym_concatenation] = STATE(1918),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1918),
    [anon_sym_RBRACE] = ACTIONS(4313),
    [anon_sym_EQ] = ACTIONS(4315),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4317),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4319),
    [anon_sym_COLON] = ACTIONS(4315),
    [anon_sym_COLON_QMARK] = ACTIONS(4315),
    [anon_sym_COLON_DASH] = ACTIONS(4315),
    [anon_sym_PERCENT] = ACTIONS(4315),
    [anon_sym_DASH] = ACTIONS(4315),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1476] = {
    [sym_concatenation] = STATE(1920),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1920),
    [anon_sym_RBRACE] = ACTIONS(4297),
    [anon_sym_EQ] = ACTIONS(4321),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4323),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4325),
    [anon_sym_COLON] = ACTIONS(4321),
    [anon_sym_COLON_QMARK] = ACTIONS(4321),
    [anon_sym_COLON_DASH] = ACTIONS(4321),
    [anon_sym_PERCENT] = ACTIONS(4321),
    [anon_sym_DASH] = ACTIONS(4321),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1477] = {
    [sym__heredoc_body_middle] = ACTIONS(1886),
    [sym__heredoc_body_end] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
  },
  [1478] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4327),
  },
  [1479] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4329),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1480] = {
    [sym__heredoc_body_middle] = ACTIONS(1930),
    [sym__heredoc_body_end] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
  },
  [1481] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4331),
  },
  [1482] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4333),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1483] = {
    [sym__heredoc_body_middle] = ACTIONS(1938),
    [sym__heredoc_body_end] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
  },
  [1484] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4335),
  },
  [1485] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4297),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1486] = {
    [aux_sym_concatenation_repeat1] = STATE(1486),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1487] = {
    [ts_builtin_sym_end] = ACTIONS(4337),
    [anon_sym_esac] = ACTIONS(4337),
    [anon_sym_PIPE] = ACTIONS(4339),
    [anon_sym_RPAREN] = ACTIONS(4337),
    [anon_sym_SEMI_SEMI] = ACTIONS(4337),
    [anon_sym_PIPE_AMP] = ACTIONS(4337),
    [anon_sym_AMP_AMP] = ACTIONS(4337),
    [anon_sym_PIPE_PIPE] = ACTIONS(4337),
    [anon_sym_BQUOTE] = ACTIONS(4337),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4339),
    [anon_sym_LF] = ACTIONS(4337),
    [anon_sym_AMP] = ACTIONS(4339),
  },
  [1488] = {
    [anon_sym_EQ] = ACTIONS(4341),
    [anon_sym_PLUS_EQ] = ACTIONS(4341),
    [sym_comment] = ACTIONS(53),
  },
  [1489] = {
    [anon_sym_EQ] = ACTIONS(4343),
    [anon_sym_PLUS_EQ] = ACTIONS(4343),
    [sym_comment] = ACTIONS(53),
  },
  [1490] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1762),
  },
  [1491] = {
    [aux_sym_concatenation_repeat1] = STATE(1491),
    [sym__concat] = ACTIONS(4345),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1762),
  },
  [1492] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1769),
  },
  [1493] = {
    [anon_sym_DQUOTE] = ACTIONS(4348),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1494] = {
    [sym_concatenation] = STATE(1930),
    [sym_string] = STATE(1929),
    [sym_simple_expansion] = STATE(1929),
    [sym_string_expansion] = STATE(1929),
    [sym_expansion] = STATE(1929),
    [sym_command_substitution] = STATE(1929),
    [sym_process_substitution] = STATE(1929),
    [anon_sym_RBRACE] = ACTIONS(4350),
    [sym__special_characters] = ACTIONS(4352),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4354),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4354),
  },
  [1495] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4356),
    [sym_comment] = ACTIONS(53),
  },
  [1496] = {
    [sym_concatenation] = STATE(1934),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1934),
    [anon_sym_RBRACE] = ACTIONS(4358),
    [anon_sym_EQ] = ACTIONS(4360),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4362),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4364),
    [anon_sym_COLON] = ACTIONS(4360),
    [anon_sym_COLON_QMARK] = ACTIONS(4360),
    [anon_sym_COLON_DASH] = ACTIONS(4360),
    [anon_sym_PERCENT] = ACTIONS(4360),
    [anon_sym_DASH] = ACTIONS(4360),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1497] = {
    [sym_concatenation] = STATE(1937),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1937),
    [anon_sym_RBRACE] = ACTIONS(4366),
    [anon_sym_EQ] = ACTIONS(4368),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4370),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4372),
    [anon_sym_COLON] = ACTIONS(4368),
    [anon_sym_COLON_QMARK] = ACTIONS(4368),
    [anon_sym_COLON_DASH] = ACTIONS(4368),
    [anon_sym_PERCENT] = ACTIONS(4368),
    [anon_sym_DASH] = ACTIONS(4368),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1498] = {
    [sym_concatenation] = STATE(1939),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1939),
    [anon_sym_RBRACE] = ACTIONS(4350),
    [anon_sym_EQ] = ACTIONS(4374),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4376),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4378),
    [anon_sym_COLON] = ACTIONS(4374),
    [anon_sym_COLON_QMARK] = ACTIONS(4374),
    [anon_sym_COLON_DASH] = ACTIONS(4374),
    [anon_sym_PERCENT] = ACTIONS(4374),
    [anon_sym_DASH] = ACTIONS(4374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1499] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1886),
  },
  [1500] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4380),
  },
  [1501] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4382),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1502] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1930),
  },
  [1503] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4384),
  },
  [1504] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4386),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1505] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1938),
  },
  [1506] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4388),
  },
  [1507] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4350),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1508] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1944),
  },
  [1509] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4390),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1510] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4390),
    [anon_sym_SEMI_SEMI] = ACTIONS(4392),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4394),
    [anon_sym_LF] = ACTIONS(4392),
    [anon_sym_AMP] = ACTIONS(4394),
  },
  [1511] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4390),
    [anon_sym_SEMI_SEMI] = ACTIONS(4392),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4394),
    [anon_sym_LF] = ACTIONS(4392),
    [anon_sym_AMP] = ACTIONS(4394),
  },
  [1512] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4390),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1513] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4396),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4390),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4398),
    [anon_sym_LF] = ACTIONS(4396),
    [anon_sym_AMP] = ACTIONS(4398),
  },
  [1514] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4396),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4390),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4398),
    [anon_sym_LF] = ACTIONS(4396),
    [anon_sym_AMP] = ACTIONS(4398),
  },
  [1515] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1976),
  },
  [1516] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4400),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1517] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4400),
    [anon_sym_SEMI_SEMI] = ACTIONS(4402),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4404),
    [anon_sym_LF] = ACTIONS(4402),
    [anon_sym_AMP] = ACTIONS(4404),
  },
  [1518] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4400),
    [anon_sym_SEMI_SEMI] = ACTIONS(4402),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4404),
    [anon_sym_LF] = ACTIONS(4402),
    [anon_sym_AMP] = ACTIONS(4404),
  },
  [1519] = {
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [sym_variable_name] = ACTIONS(3028),
    [ts_builtin_sym_end] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [1520] = {
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [sym_variable_name] = ACTIONS(3042),
    [ts_builtin_sym_end] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [1521] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4406),
    [sym_comment] = ACTIONS(53),
  },
  [1522] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4408),
    [sym_comment] = ACTIONS(53),
  },
  [1523] = {
    [anon_sym_RBRACE] = ACTIONS(4408),
    [sym_comment] = ACTIONS(53),
  },
  [1524] = {
    [sym_concatenation] = STATE(1954),
    [sym_string] = STATE(1953),
    [sym_simple_expansion] = STATE(1953),
    [sym_string_expansion] = STATE(1953),
    [sym_expansion] = STATE(1953),
    [sym_command_substitution] = STATE(1953),
    [sym_process_substitution] = STATE(1953),
    [anon_sym_RBRACE] = ACTIONS(4408),
    [sym__special_characters] = ACTIONS(4410),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4412),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4412),
  },
  [1525] = {
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [sym_variable_name] = ACTIONS(3078),
    [ts_builtin_sym_end] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [1526] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4414),
  },
  [1527] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4416),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1528] = {
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [sym_variable_name] = ACTIONS(3086),
    [ts_builtin_sym_end] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [1529] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4418),
  },
  [1530] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4420),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1531] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4422),
  },
  [1532] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4408),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1533] = {
    [sym_concatenation] = STATE(1961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1961),
    [anon_sym_RBRACE] = ACTIONS(4424),
    [anon_sym_EQ] = ACTIONS(4426),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4428),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4426),
    [anon_sym_COLON_QMARK] = ACTIONS(4426),
    [anon_sym_COLON_DASH] = ACTIONS(4426),
    [anon_sym_PERCENT] = ACTIONS(4426),
    [anon_sym_DASH] = ACTIONS(4426),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1534] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1535] = {
    [sym_concatenation] = STATE(1963),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1963),
    [anon_sym_RBRACE] = ACTIONS(4430),
    [anon_sym_EQ] = ACTIONS(4432),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4434),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4432),
    [anon_sym_COLON_QMARK] = ACTIONS(4432),
    [anon_sym_COLON_DASH] = ACTIONS(4432),
    [anon_sym_PERCENT] = ACTIONS(4432),
    [anon_sym_DASH] = ACTIONS(4432),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1536] = {
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [sym_variable_name] = ACTIONS(3203),
    [ts_builtin_sym_end] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [1537] = {
    [sym_concatenation] = STATE(1965),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1965),
    [anon_sym_RBRACE] = ACTIONS(4436),
    [anon_sym_EQ] = ACTIONS(4438),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4440),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4438),
    [anon_sym_COLON_QMARK] = ACTIONS(4438),
    [anon_sym_COLON_DASH] = ACTIONS(4438),
    [anon_sym_PERCENT] = ACTIONS(4438),
    [anon_sym_DASH] = ACTIONS(4438),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1538] = {
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [sym_variable_name] = ACTIONS(3213),
    [ts_builtin_sym_end] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [1539] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4442),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1540] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4442),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1541] = {
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [sym_variable_name] = ACTIONS(3251),
    [ts_builtin_sym_end] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [1542] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4444),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1543] = {
    [sym__terminated_statement] = STATE(1969),
    [sym_for_statement] = STATE(689),
    [sym_c_style_for_statement] = STATE(689),
    [sym_while_statement] = STATE(689),
    [sym_if_statement] = STATE(689),
    [sym_case_statement] = STATE(689),
    [sym_function_definition] = STATE(689),
    [sym_subshell] = STATE(689),
    [sym_pipeline] = STATE(689),
    [sym_list] = STATE(689),
    [sym_negated_command] = STATE(689),
    [sym_test_command] = STATE(689),
    [sym_declaration_command] = STATE(689),
    [sym_unset_command] = STATE(689),
    [sym_command] = STATE(689),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(690),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1969),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_RBRACE] = ACTIONS(4446),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [1544] = {
    [ts_builtin_sym_end] = ACTIONS(4448),
    [anon_sym_esac] = ACTIONS(4448),
    [anon_sym_PIPE] = ACTIONS(4450),
    [anon_sym_RPAREN] = ACTIONS(4448),
    [anon_sym_SEMI_SEMI] = ACTIONS(4448),
    [anon_sym_PIPE_AMP] = ACTIONS(4448),
    [anon_sym_AMP_AMP] = ACTIONS(4448),
    [anon_sym_PIPE_PIPE] = ACTIONS(4448),
    [anon_sym_BQUOTE] = ACTIONS(4448),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4450),
    [anon_sym_LF] = ACTIONS(4448),
    [anon_sym_AMP] = ACTIONS(4450),
  },
  [1545] = {
    [anon_sym_RPAREN] = ACTIONS(4452),
    [anon_sym_AMP_AMP] = ACTIONS(1345),
    [anon_sym_PIPE_PIPE] = ACTIONS(1345),
    [anon_sym_EQ_TILDE] = ACTIONS(1347),
    [anon_sym_EQ_EQ] = ACTIONS(1347),
    [anon_sym_EQ] = ACTIONS(1349),
    [anon_sym_LT] = ACTIONS(1345),
    [anon_sym_GT] = ACTIONS(1345),
    [anon_sym_BANG_EQ] = ACTIONS(1345),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1345),
  },
  [1546] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1351),
    [anon_sym_AMP_AMP] = ACTIONS(3493),
    [anon_sym_PIPE_PIPE] = ACTIONS(3493),
    [anon_sym_EQ_TILDE] = ACTIONS(3495),
    [anon_sym_EQ_EQ] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3497),
    [anon_sym_LT] = ACTIONS(3493),
    [anon_sym_GT] = ACTIONS(3493),
    [anon_sym_BANG_EQ] = ACTIONS(3493),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3493),
  },
  [1547] = {
    [sym_string] = STATE(1971),
    [sym_simple_expansion] = STATE(1971),
    [sym_string_expansion] = STATE(1971),
    [sym_expansion] = STATE(1971),
    [sym_command_substitution] = STATE(1971),
    [sym_process_substitution] = STATE(1971),
    [sym__special_characters] = ACTIONS(4454),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(4454),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4454),
  },
  [1548] = {
    [aux_sym_concatenation_repeat1] = STATE(1972),
    [sym__concat] = ACTIONS(3467),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(761),
    [anon_sym_EQ_EQ] = ACTIONS(761),
    [anon_sym_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(761),
    [anon_sym_GT] = ACTIONS(761),
    [anon_sym_BANG_EQ] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(761),
  },
  [1549] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(765),
    [anon_sym_EQ_EQ] = ACTIONS(765),
    [anon_sym_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(765),
    [anon_sym_GT] = ACTIONS(765),
    [anon_sym_BANG_EQ] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(765),
  },
  [1550] = {
    [anon_sym_DQUOTE] = ACTIONS(4456),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1551] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(4456),
    [anon_sym_DOLLAR] = ACTIONS(4458),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1552] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(797),
    [anon_sym_EQ_EQ] = ACTIONS(797),
    [anon_sym_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(797),
    [anon_sym_GT] = ACTIONS(797),
    [anon_sym_BANG_EQ] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(797),
  },
  [1553] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(801),
    [anon_sym_EQ_EQ] = ACTIONS(801),
    [anon_sym_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(801),
    [anon_sym_GT] = ACTIONS(801),
    [anon_sym_BANG_EQ] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(801),
  },
  [1554] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(805),
    [anon_sym_EQ_EQ] = ACTIONS(805),
    [anon_sym_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(805),
    [anon_sym_GT] = ACTIONS(805),
    [anon_sym_BANG_EQ] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(805),
  },
  [1555] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4460),
    [sym_comment] = ACTIONS(53),
  },
  [1556] = {
    [sym_subscript] = STATE(1979),
    [sym_variable_name] = ACTIONS(4462),
    [anon_sym_DOLLAR] = ACTIONS(4464),
    [anon_sym_DASH] = ACTIONS(4464),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4466),
    [anon_sym_STAR] = ACTIONS(4464),
    [anon_sym_AT] = ACTIONS(4464),
    [anon_sym_QMARK] = ACTIONS(4464),
    [anon_sym_0] = ACTIONS(4468),
    [anon_sym__] = ACTIONS(4468),
  },
  [1557] = {
    [sym_concatenation] = STATE(1982),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1982),
    [anon_sym_RBRACE] = ACTIONS(4470),
    [anon_sym_EQ] = ACTIONS(4472),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4474),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4476),
    [anon_sym_COLON] = ACTIONS(4472),
    [anon_sym_COLON_QMARK] = ACTIONS(4472),
    [anon_sym_COLON_DASH] = ACTIONS(4472),
    [anon_sym_PERCENT] = ACTIONS(4472),
    [anon_sym_DASH] = ACTIONS(4472),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1558] = {
    [sym_concatenation] = STATE(1985),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1985),
    [anon_sym_RBRACE] = ACTIONS(4478),
    [anon_sym_EQ] = ACTIONS(4480),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4482),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4484),
    [anon_sym_COLON] = ACTIONS(4480),
    [anon_sym_COLON_QMARK] = ACTIONS(4480),
    [anon_sym_COLON_DASH] = ACTIONS(4480),
    [anon_sym_PERCENT] = ACTIONS(4480),
    [anon_sym_DASH] = ACTIONS(4480),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1559] = {
    [sym_concatenation] = STATE(1988),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(1988),
    [anon_sym_RBRACE] = ACTIONS(4486),
    [anon_sym_EQ] = ACTIONS(4488),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4492),
    [anon_sym_COLON] = ACTIONS(4488),
    [anon_sym_COLON_QMARK] = ACTIONS(4488),
    [anon_sym_COLON_DASH] = ACTIONS(4488),
    [anon_sym_PERCENT] = ACTIONS(4488),
    [anon_sym_DASH] = ACTIONS(4488),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1560] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4494),
    [anon_sym_SEMI_SEMI] = ACTIONS(4496),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4498),
    [anon_sym_LF] = ACTIONS(4496),
    [anon_sym_AMP] = ACTIONS(4498),
  },
  [1561] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4494),
    [anon_sym_SEMI_SEMI] = ACTIONS(4496),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4498),
    [anon_sym_LF] = ACTIONS(4496),
    [anon_sym_AMP] = ACTIONS(4498),
  },
  [1562] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1991),
    [sym_c_style_for_statement] = STATE(1991),
    [sym_while_statement] = STATE(1991),
    [sym_if_statement] = STATE(1991),
    [sym_case_statement] = STATE(1991),
    [sym_function_definition] = STATE(1991),
    [sym_subshell] = STATE(1991),
    [sym_pipeline] = STATE(1991),
    [sym_list] = STATE(1991),
    [sym_negated_command] = STATE(1991),
    [sym_test_command] = STATE(1991),
    [sym_declaration_command] = STATE(1991),
    [sym_unset_command] = STATE(1991),
    [sym_command] = STATE(1991),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1992),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1563] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4500),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4494),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4502),
    [anon_sym_LF] = ACTIONS(4500),
    [anon_sym_AMP] = ACTIONS(4502),
  },
  [1564] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4500),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4494),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4502),
    [anon_sym_LF] = ACTIONS(4500),
    [anon_sym_AMP] = ACTIONS(4502),
  },
  [1565] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1994),
    [sym_c_style_for_statement] = STATE(1994),
    [sym_while_statement] = STATE(1994),
    [sym_if_statement] = STATE(1994),
    [sym_case_statement] = STATE(1994),
    [sym_function_definition] = STATE(1994),
    [sym_subshell] = STATE(1994),
    [sym_pipeline] = STATE(1994),
    [sym_list] = STATE(1994),
    [sym_negated_command] = STATE(1994),
    [sym_test_command] = STATE(1994),
    [sym_declaration_command] = STATE(1994),
    [sym_unset_command] = STATE(1994),
    [sym_command] = STATE(1994),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(1995),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1566] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4504),
    [anon_sym_SEMI_SEMI] = ACTIONS(4506),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4508),
    [anon_sym_LF] = ACTIONS(4506),
    [anon_sym_AMP] = ACTIONS(4508),
  },
  [1567] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4504),
    [anon_sym_SEMI_SEMI] = ACTIONS(4506),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4508),
    [anon_sym_LF] = ACTIONS(4506),
    [anon_sym_AMP] = ACTIONS(4508),
  },
  [1568] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(1998),
    [sym_c_style_for_statement] = STATE(1998),
    [sym_while_statement] = STATE(1998),
    [sym_if_statement] = STATE(1998),
    [sym_case_statement] = STATE(1998),
    [sym_function_definition] = STATE(1998),
    [sym_subshell] = STATE(1998),
    [sym_pipeline] = STATE(1998),
    [sym_list] = STATE(1998),
    [sym_negated_command] = STATE(1998),
    [sym_test_command] = STATE(1998),
    [sym_declaration_command] = STATE(1998),
    [sym_unset_command] = STATE(1998),
    [sym_command] = STATE(1998),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(1999),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1569] = {
    [sym_do_group] = STATE(2000),
    [sym_compound_statement] = STATE(2000),
    [anon_sym_do] = ACTIONS(1173),
    [anon_sym_LBRACE] = ACTIONS(3465),
    [sym_comment] = ACTIONS(53),
  },
  [1570] = {
    [sym__expression] = STATE(2001),
    [sym_binary_expression] = STATE(2001),
    [sym_unary_expression] = STATE(2001),
    [sym_parenthesized_expression] = STATE(2001),
    [sym_concatenation] = STATE(2001),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_LPAREN] = ACTIONS(2214),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(2218),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2224),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2236),
  },
  [1571] = {
    [sym__expression] = STATE(2001),
    [sym_binary_expression] = STATE(2001),
    [sym_unary_expression] = STATE(2001),
    [sym_parenthesized_expression] = STATE(2001),
    [sym_concatenation] = STATE(2001),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_LPAREN] = ACTIONS(4510),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(4512),
    [anon_sym_DQUOTE] = ACTIONS(4514),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2234),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4516),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4518),
    [anon_sym_BQUOTE] = ACTIONS(4520),
    [anon_sym_LT_LPAREN] = ACTIONS(4522),
    [anon_sym_GT_LPAREN] = ACTIONS(4522),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2216),
    [sym_regex] = ACTIONS(4524),
  },
  [1572] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4526),
    [anon_sym_AMP_AMP] = ACTIONS(3493),
    [anon_sym_PIPE_PIPE] = ACTIONS(3493),
    [anon_sym_EQ_TILDE] = ACTIONS(3495),
    [anon_sym_EQ_EQ] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3497),
    [anon_sym_LT] = ACTIONS(3493),
    [anon_sym_GT] = ACTIONS(3493),
    [anon_sym_BANG_EQ] = ACTIONS(3493),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3493),
  },
  [1573] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3028),
    [anon_sym_EQ_EQ] = ACTIONS(3028),
    [anon_sym_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3028),
    [anon_sym_GT] = ACTIONS(3028),
    [anon_sym_BANG_EQ] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3028),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [1574] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3042),
    [anon_sym_EQ_EQ] = ACTIONS(3042),
    [anon_sym_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3042),
    [anon_sym_GT] = ACTIONS(3042),
    [anon_sym_BANG_EQ] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3042),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [1575] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4528),
    [sym_comment] = ACTIONS(53),
  },
  [1576] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4530),
    [sym_comment] = ACTIONS(53),
  },
  [1577] = {
    [anon_sym_RBRACE] = ACTIONS(4530),
    [sym_comment] = ACTIONS(53),
  },
  [1578] = {
    [sym_concatenation] = STATE(2008),
    [sym_string] = STATE(2007),
    [sym_simple_expansion] = STATE(2007),
    [sym_string_expansion] = STATE(2007),
    [sym_expansion] = STATE(2007),
    [sym_command_substitution] = STATE(2007),
    [sym_process_substitution] = STATE(2007),
    [anon_sym_RBRACE] = ACTIONS(4530),
    [sym__special_characters] = ACTIONS(4532),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4534),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4534),
  },
  [1579] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3078),
    [anon_sym_EQ_EQ] = ACTIONS(3078),
    [anon_sym_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3078),
    [anon_sym_GT] = ACTIONS(3078),
    [anon_sym_BANG_EQ] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3078),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [1580] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4536),
  },
  [1581] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4538),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1582] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3086),
    [anon_sym_EQ_EQ] = ACTIONS(3086),
    [anon_sym_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3086),
    [anon_sym_GT] = ACTIONS(3086),
    [anon_sym_BANG_EQ] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3086),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [1583] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4540),
  },
  [1584] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4542),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1585] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4544),
  },
  [1586] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4530),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1587] = {
    [sym_concatenation] = STATE(2015),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2015),
    [anon_sym_RBRACE] = ACTIONS(4546),
    [anon_sym_EQ] = ACTIONS(4548),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4550),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4548),
    [anon_sym_COLON_QMARK] = ACTIONS(4548),
    [anon_sym_COLON_DASH] = ACTIONS(4548),
    [anon_sym_PERCENT] = ACTIONS(4548),
    [anon_sym_DASH] = ACTIONS(4548),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1588] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3158),
    [anon_sym_EQ_EQ] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3158),
    [anon_sym_GT] = ACTIONS(3158),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1589] = {
    [sym_concatenation] = STATE(2017),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2017),
    [anon_sym_RBRACE] = ACTIONS(4552),
    [anon_sym_EQ] = ACTIONS(4554),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4556),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4554),
    [anon_sym_COLON_QMARK] = ACTIONS(4554),
    [anon_sym_COLON_DASH] = ACTIONS(4554),
    [anon_sym_PERCENT] = ACTIONS(4554),
    [anon_sym_DASH] = ACTIONS(4554),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1590] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3203),
    [anon_sym_EQ_EQ] = ACTIONS(3203),
    [anon_sym_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3203),
    [anon_sym_GT] = ACTIONS(3203),
    [anon_sym_BANG_EQ] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3203),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [1591] = {
    [sym_concatenation] = STATE(2019),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2019),
    [anon_sym_RBRACE] = ACTIONS(4558),
    [anon_sym_EQ] = ACTIONS(4560),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4562),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4560),
    [anon_sym_COLON_QMARK] = ACTIONS(4560),
    [anon_sym_COLON_DASH] = ACTIONS(4560),
    [anon_sym_PERCENT] = ACTIONS(4560),
    [anon_sym_DASH] = ACTIONS(4560),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1592] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3213),
    [anon_sym_EQ_EQ] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3213),
    [anon_sym_GT] = ACTIONS(3213),
    [anon_sym_BANG_EQ] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3213),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [1593] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4564),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1594] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4564),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1595] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3251),
    [anon_sym_EQ_EQ] = ACTIONS(3251),
    [anon_sym_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3251),
    [anon_sym_GT] = ACTIONS(3251),
    [anon_sym_BANG_EQ] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3251),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [1596] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4566),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1597] = {
    [sym__expression] = STATE(2022),
    [sym_binary_expression] = STATE(2022),
    [sym_unary_expression] = STATE(2022),
    [sym_parenthesized_expression] = STATE(2022),
    [sym_concatenation] = STATE(2022),
    [sym_string] = STATE(1067),
    [sym_simple_expansion] = STATE(1067),
    [sym_string_expansion] = STATE(1067),
    [sym_expansion] = STATE(1067),
    [sym_command_substitution] = STATE(1067),
    [sym_process_substitution] = STATE(1067),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4526),
    [anon_sym_LPAREN] = ACTIONS(2214),
    [anon_sym_BANG] = ACTIONS(2216),
    [sym__special_characters] = ACTIONS(2218),
    [anon_sym_DQUOTE] = ACTIONS(2220),
    [anon_sym_DOLLAR] = ACTIONS(2222),
    [sym_raw_string] = ACTIONS(2224),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2226),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2228),
    [anon_sym_BQUOTE] = ACTIONS(2230),
    [anon_sym_LT_LPAREN] = ACTIONS(2232),
    [anon_sym_GT_LPAREN] = ACTIONS(2232),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2234),
    [sym_test_operator] = ACTIONS(2236),
  },
  [1598] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1762),
  },
  [1599] = {
    [aux_sym_concatenation_repeat1] = STATE(1599),
    [sym__concat] = ACTIONS(4568),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1762),
  },
  [1600] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1769),
  },
  [1601] = {
    [anon_sym_DQUOTE] = ACTIONS(4571),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1602] = {
    [sym_concatenation] = STATE(2027),
    [sym_string] = STATE(2026),
    [sym_simple_expansion] = STATE(2026),
    [sym_string_expansion] = STATE(2026),
    [sym_expansion] = STATE(2026),
    [sym_command_substitution] = STATE(2026),
    [sym_process_substitution] = STATE(2026),
    [anon_sym_RBRACE] = ACTIONS(4573),
    [sym__special_characters] = ACTIONS(4575),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(4577),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4577),
  },
  [1603] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4579),
    [sym_comment] = ACTIONS(53),
  },
  [1604] = {
    [sym_concatenation] = STATE(2031),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2031),
    [anon_sym_RBRACE] = ACTIONS(4581),
    [anon_sym_EQ] = ACTIONS(4583),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4585),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4587),
    [anon_sym_COLON] = ACTIONS(4583),
    [anon_sym_COLON_QMARK] = ACTIONS(4583),
    [anon_sym_COLON_DASH] = ACTIONS(4583),
    [anon_sym_PERCENT] = ACTIONS(4583),
    [anon_sym_DASH] = ACTIONS(4583),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1605] = {
    [sym_concatenation] = STATE(2034),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2034),
    [anon_sym_RBRACE] = ACTIONS(4589),
    [anon_sym_EQ] = ACTIONS(4591),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4593),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4595),
    [anon_sym_COLON] = ACTIONS(4591),
    [anon_sym_COLON_QMARK] = ACTIONS(4591),
    [anon_sym_COLON_DASH] = ACTIONS(4591),
    [anon_sym_PERCENT] = ACTIONS(4591),
    [anon_sym_DASH] = ACTIONS(4591),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1606] = {
    [sym_concatenation] = STATE(2036),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2036),
    [anon_sym_RBRACE] = ACTIONS(4573),
    [anon_sym_EQ] = ACTIONS(4597),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4599),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4601),
    [anon_sym_COLON] = ACTIONS(4597),
    [anon_sym_COLON_QMARK] = ACTIONS(4597),
    [anon_sym_COLON_DASH] = ACTIONS(4597),
    [anon_sym_PERCENT] = ACTIONS(4597),
    [anon_sym_DASH] = ACTIONS(4597),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1607] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1886),
  },
  [1608] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4603),
  },
  [1609] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4605),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1610] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1930),
  },
  [1611] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4607),
  },
  [1612] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4609),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1613] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1938),
  },
  [1614] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(4611),
  },
  [1615] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4573),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1616] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1944),
  },
  [1617] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4613),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1618] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4613),
    [anon_sym_SEMI_SEMI] = ACTIONS(4615),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4617),
    [anon_sym_LF] = ACTIONS(4615),
    [anon_sym_AMP] = ACTIONS(4617),
  },
  [1619] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4613),
    [anon_sym_SEMI_SEMI] = ACTIONS(4615),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4617),
    [anon_sym_LF] = ACTIONS(4615),
    [anon_sym_AMP] = ACTIONS(4617),
  },
  [1620] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(4613),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1621] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4619),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4613),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4621),
    [anon_sym_LF] = ACTIONS(4619),
    [anon_sym_AMP] = ACTIONS(4621),
  },
  [1622] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4619),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4613),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4621),
    [anon_sym_LF] = ACTIONS(4619),
    [anon_sym_AMP] = ACTIONS(4621),
  },
  [1623] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1976),
  },
  [1624] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(4623),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1625] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4623),
    [anon_sym_SEMI_SEMI] = ACTIONS(4625),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4627),
    [anon_sym_LF] = ACTIONS(4625),
    [anon_sym_AMP] = ACTIONS(4627),
  },
  [1626] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4623),
    [anon_sym_SEMI_SEMI] = ACTIONS(4625),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4627),
    [anon_sym_LF] = ACTIONS(4625),
    [anon_sym_AMP] = ACTIONS(4627),
  },
  [1627] = {
    [ts_builtin_sym_end] = ACTIONS(4629),
    [anon_sym_esac] = ACTIONS(4629),
    [anon_sym_PIPE] = ACTIONS(4631),
    [anon_sym_RPAREN] = ACTIONS(4629),
    [anon_sym_SEMI_SEMI] = ACTIONS(4629),
    [anon_sym_PIPE_AMP] = ACTIONS(4629),
    [anon_sym_AMP_AMP] = ACTIONS(4629),
    [anon_sym_PIPE_PIPE] = ACTIONS(4629),
    [anon_sym_BQUOTE] = ACTIONS(4629),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4631),
    [anon_sym_LF] = ACTIONS(4629),
    [anon_sym_AMP] = ACTIONS(4631),
  },
  [1628] = {
    [ts_builtin_sym_end] = ACTIONS(3671),
    [anon_sym_esac] = ACTIONS(3671),
    [anon_sym_PIPE] = ACTIONS(3673),
    [anon_sym_RPAREN] = ACTIONS(3671),
    [anon_sym_SEMI_SEMI] = ACTIONS(3671),
    [anon_sym_PIPE_AMP] = ACTIONS(3671),
    [anon_sym_AMP_AMP] = ACTIONS(3671),
    [anon_sym_PIPE_PIPE] = ACTIONS(3671),
    [anon_sym_BQUOTE] = ACTIONS(3671),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3673),
    [anon_sym_LF] = ACTIONS(3671),
    [anon_sym_AMP] = ACTIONS(3673),
  },
  [1629] = {
    [aux_sym_concatenation_repeat1] = STATE(1629),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(3404),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1630] = {
    [sym_file_redirect] = STATE(1678),
    [sym_file_descriptor] = ACTIONS(2356),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_LT] = ACTIONS(2358),
    [anon_sym_GT] = ACTIONS(2358),
    [anon_sym_GT_GT] = ACTIONS(2360),
    [anon_sym_AMP_GT] = ACTIONS(2358),
    [anon_sym_AMP_GT_GT] = ACTIONS(2360),
    [anon_sym_LT_AMP] = ACTIONS(2360),
    [anon_sym_GT_AMP] = ACTIONS(2360),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [1631] = {
    [sym_concatenation] = STATE(1681),
    [sym_string] = STATE(2048),
    [sym_simple_expansion] = STATE(2048),
    [sym_string_expansion] = STATE(2048),
    [sym_expansion] = STATE(2048),
    [sym_command_substitution] = STATE(2048),
    [sym_process_substitution] = STATE(2048),
    [sym__special_characters] = ACTIONS(4633),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(4635),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4635),
  },
  [1632] = {
    [aux_sym_concatenation_repeat1] = STATE(2049),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1633] = {
    [aux_sym_concatenation_repeat1] = STATE(2049),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1634] = {
    [sym_concatenation] = STATE(1716),
    [sym_string] = STATE(2051),
    [sym_simple_expansion] = STATE(2051),
    [sym_string_expansion] = STATE(2051),
    [sym_expansion] = STATE(2051),
    [sym_command_substitution] = STATE(2051),
    [sym_process_substitution] = STATE(2051),
    [sym__special_characters] = ACTIONS(4637),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(4639),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4639),
  },
  [1635] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1636] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1637] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [1638] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [1639] = {
    [sym_file_redirect] = STATE(1639),
    [sym_heredoc_redirect] = STATE(1639),
    [sym_herestring_redirect] = STATE(1639),
    [aux_sym_while_statement_repeat1] = STATE(1639),
    [sym_file_descriptor] = ACTIONS(4641),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(4644),
    [anon_sym_GT] = ACTIONS(4644),
    [anon_sym_GT_GT] = ACTIONS(4647),
    [anon_sym_AMP_GT] = ACTIONS(4644),
    [anon_sym_AMP_GT_GT] = ACTIONS(4647),
    [anon_sym_LT_AMP] = ACTIONS(4647),
    [anon_sym_GT_AMP] = ACTIONS(4647),
    [anon_sym_LT_LT] = ACTIONS(3875),
    [anon_sym_LT_LT_DASH] = ACTIONS(3878),
    [anon_sym_LT_LT_LT] = ACTIONS(4650),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [1640] = {
    [aux_sym_concatenation_repeat1] = STATE(1640),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1641] = {
    [sym__terminated_statement] = STATE(2053),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2053),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(4653),
    [anon_sym_elif] = ACTIONS(4653),
    [anon_sym_else] = ACTIONS(4653),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [1642] = {
    [sym__terminated_statement] = STATE(1642),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1642),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_fi] = ACTIONS(3675),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [1643] = {
    [ts_builtin_sym_end] = ACTIONS(4655),
    [anon_sym_esac] = ACTIONS(4655),
    [anon_sym_PIPE] = ACTIONS(4657),
    [anon_sym_RPAREN] = ACTIONS(4655),
    [anon_sym_SEMI_SEMI] = ACTIONS(4655),
    [anon_sym_PIPE_AMP] = ACTIONS(4655),
    [anon_sym_AMP_AMP] = ACTIONS(4655),
    [anon_sym_PIPE_PIPE] = ACTIONS(4655),
    [anon_sym_BQUOTE] = ACTIONS(4655),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4657),
    [anon_sym_LF] = ACTIONS(4655),
    [anon_sym_AMP] = ACTIONS(4657),
  },
  [1644] = {
    [anon_sym_fi] = ACTIONS(4659),
    [sym_comment] = ACTIONS(53),
  },
  [1645] = {
    [sym_concatenation] = STATE(2057),
    [sym_string] = STATE(2056),
    [sym_simple_expansion] = STATE(2056),
    [sym_string_expansion] = STATE(2056),
    [sym_expansion] = STATE(2056),
    [sym_command_substitution] = STATE(2056),
    [sym_process_substitution] = STATE(2056),
    [sym__special_characters] = ACTIONS(4661),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(4663),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4663),
  },
  [1646] = {
    [sym__terminated_statement] = STATE(2081),
    [sym_for_statement] = STATE(2076),
    [sym_c_style_for_statement] = STATE(2076),
    [sym_while_statement] = STATE(2076),
    [sym_if_statement] = STATE(2076),
    [sym_case_statement] = STATE(2076),
    [sym_function_definition] = STATE(2076),
    [sym_subshell] = STATE(2076),
    [sym_pipeline] = STATE(2076),
    [sym_list] = STATE(2076),
    [sym_negated_command] = STATE(2076),
    [sym_test_command] = STATE(2076),
    [sym_declaration_command] = STATE(2076),
    [sym_unset_command] = STATE(2076),
    [sym_command] = STATE(2076),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2078),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2081),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(4669),
    [anon_sym_SEMI_SEMI] = ACTIONS(4671),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [1647] = {
    [aux_sym_case_item_repeat1] = STATE(2084),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(4703),
    [sym_comment] = ACTIONS(53),
  },
  [1648] = {
    [aux_sym_concatenation_repeat1] = STATE(2085),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(761),
    [anon_sym_RPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
  },
  [1649] = {
    [sym__terminated_statement] = STATE(2089),
    [sym_for_statement] = STATE(2087),
    [sym_c_style_for_statement] = STATE(2087),
    [sym_while_statement] = STATE(2087),
    [sym_if_statement] = STATE(2087),
    [sym_case_statement] = STATE(2087),
    [sym_function_definition] = STATE(2087),
    [sym_subshell] = STATE(2087),
    [sym_pipeline] = STATE(2087),
    [sym_list] = STATE(2087),
    [sym_negated_command] = STATE(2087),
    [sym_test_command] = STATE(2087),
    [sym_declaration_command] = STATE(2087),
    [sym_unset_command] = STATE(2087),
    [sym_command] = STATE(2087),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2088),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2089),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(4705),
    [anon_sym_SEMI_SEMI] = ACTIONS(4707),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [1650] = {
    [aux_sym_case_item_repeat1] = STATE(2084),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(4709),
    [sym_comment] = ACTIONS(53),
  },
  [1651] = {
    [ts_builtin_sym_end] = ACTIONS(4711),
    [anon_sym_esac] = ACTIONS(4711),
    [anon_sym_PIPE] = ACTIONS(4713),
    [anon_sym_RPAREN] = ACTIONS(4711),
    [anon_sym_SEMI_SEMI] = ACTIONS(4711),
    [anon_sym_PIPE_AMP] = ACTIONS(4711),
    [anon_sym_AMP_AMP] = ACTIONS(4711),
    [anon_sym_PIPE_PIPE] = ACTIONS(4711),
    [anon_sym_BQUOTE] = ACTIONS(4711),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4713),
    [anon_sym_LF] = ACTIONS(4711),
    [anon_sym_AMP] = ACTIONS(4713),
  },
  [1652] = {
    [anon_sym_esac] = ACTIONS(4715),
    [sym_comment] = ACTIONS(53),
  },
  [1653] = {
    [sym_case_item] = STATE(1653),
    [sym_concatenation] = STATE(2094),
    [sym_string] = STATE(2093),
    [sym_simple_expansion] = STATE(2093),
    [sym_string_expansion] = STATE(2093),
    [sym_expansion] = STATE(2093),
    [sym_command_substitution] = STATE(2093),
    [sym_process_substitution] = STATE(2093),
    [aux_sym_case_statement_repeat1] = STATE(1653),
    [sym__special_characters] = ACTIONS(4717),
    [anon_sym_DQUOTE] = ACTIONS(4720),
    [anon_sym_DOLLAR] = ACTIONS(4723),
    [sym_raw_string] = ACTIONS(4726),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4729),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4732),
    [anon_sym_BQUOTE] = ACTIONS(4735),
    [anon_sym_LT_LPAREN] = ACTIONS(4738),
    [anon_sym_GT_LPAREN] = ACTIONS(4738),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4726),
  },
  [1654] = {
    [ts_builtin_sym_end] = ACTIONS(4741),
    [anon_sym_esac] = ACTIONS(4741),
    [anon_sym_PIPE] = ACTIONS(4743),
    [anon_sym_RPAREN] = ACTIONS(4741),
    [anon_sym_SEMI_SEMI] = ACTIONS(4741),
    [anon_sym_PIPE_AMP] = ACTIONS(4741),
    [anon_sym_AMP_AMP] = ACTIONS(4741),
    [anon_sym_PIPE_PIPE] = ACTIONS(4741),
    [anon_sym_BQUOTE] = ACTIONS(4741),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4743),
    [anon_sym_LF] = ACTIONS(4741),
    [anon_sym_AMP] = ACTIONS(4743),
  },
  [1655] = {
    [sym_case_item] = STATE(1653),
    [sym_last_case_item] = STATE(2095),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1653),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2453),
  },
  [1656] = {
    [ts_builtin_sym_end] = ACTIONS(4745),
    [anon_sym_esac] = ACTIONS(4745),
    [anon_sym_PIPE] = ACTIONS(4747),
    [anon_sym_RPAREN] = ACTIONS(4745),
    [anon_sym_SEMI_SEMI] = ACTIONS(4745),
    [anon_sym_PIPE_AMP] = ACTIONS(4745),
    [anon_sym_AMP_AMP] = ACTIONS(4745),
    [anon_sym_PIPE_PIPE] = ACTIONS(4745),
    [anon_sym_BQUOTE] = ACTIONS(4745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4747),
    [anon_sym_LF] = ACTIONS(4745),
    [anon_sym_AMP] = ACTIONS(4747),
  },
  [1657] = {
    [anon_sym_esac] = ACTIONS(4749),
    [sym_comment] = ACTIONS(53),
  },
  [1658] = {
    [ts_builtin_sym_end] = ACTIONS(4751),
    [anon_sym_esac] = ACTIONS(4751),
    [anon_sym_PIPE] = ACTIONS(4753),
    [anon_sym_RPAREN] = ACTIONS(4751),
    [anon_sym_SEMI_SEMI] = ACTIONS(4751),
    [anon_sym_PIPE_AMP] = ACTIONS(4751),
    [anon_sym_AMP_AMP] = ACTIONS(4751),
    [anon_sym_PIPE_PIPE] = ACTIONS(4751),
    [anon_sym_BQUOTE] = ACTIONS(4751),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4753),
    [anon_sym_LF] = ACTIONS(4751),
    [anon_sym_AMP] = ACTIONS(4753),
  },
  [1659] = {
    [sym_case_item] = STATE(1653),
    [sym_last_case_item] = STATE(2097),
    [sym_concatenation] = STATE(1165),
    [sym_string] = STATE(1163),
    [sym_simple_expansion] = STATE(1163),
    [sym_string_expansion] = STATE(1163),
    [sym_expansion] = STATE(1163),
    [sym_command_substitution] = STATE(1163),
    [sym_process_substitution] = STATE(1163),
    [aux_sym_case_statement_repeat1] = STATE(1653),
    [sym__special_characters] = ACTIONS(2451),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(2453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2453),
  },
  [1660] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_in] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4098),
  },
  [1661] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_in] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4106),
  },
  [1662] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4755),
    [sym_comment] = ACTIONS(53),
  },
  [1663] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4757),
    [sym_comment] = ACTIONS(53),
  },
  [1664] = {
    [anon_sym_RBRACE] = ACTIONS(4757),
    [sym_comment] = ACTIONS(53),
  },
  [1665] = {
    [sym_concatenation] = STATE(2101),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2101),
    [anon_sym_RBRACE] = ACTIONS(4759),
    [anon_sym_EQ] = ACTIONS(4761),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4761),
    [anon_sym_COLON_QMARK] = ACTIONS(4761),
    [anon_sym_COLON_DASH] = ACTIONS(4761),
    [anon_sym_PERCENT] = ACTIONS(4761),
    [anon_sym_DASH] = ACTIONS(4761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1666] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_in] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4170),
  },
  [1667] = {
    [sym_concatenation] = STATE(2103),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2103),
    [anon_sym_RBRACE] = ACTIONS(4765),
    [anon_sym_EQ] = ACTIONS(4767),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4767),
    [anon_sym_COLON_QMARK] = ACTIONS(4767),
    [anon_sym_COLON_DASH] = ACTIONS(4767),
    [anon_sym_PERCENT] = ACTIONS(4767),
    [anon_sym_DASH] = ACTIONS(4767),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1668] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_in] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4180),
  },
  [1669] = {
    [sym_concatenation] = STATE(2105),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2105),
    [anon_sym_RBRACE] = ACTIONS(4771),
    [anon_sym_EQ] = ACTIONS(4773),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4775),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4773),
    [anon_sym_COLON_QMARK] = ACTIONS(4773),
    [anon_sym_COLON_DASH] = ACTIONS(4773),
    [anon_sym_PERCENT] = ACTIONS(4773),
    [anon_sym_DASH] = ACTIONS(4773),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1670] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_in] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4235),
  },
  [1671] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4777),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1672] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_in] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4257),
  },
  [1673] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4779),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1674] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_in] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4263),
  },
  [1675] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4781),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1676] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_in] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4269),
  },
  [1677] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_in] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4293),
  },
  [1678] = {
    [ts_builtin_sym_end] = ACTIONS(4783),
    [anon_sym_esac] = ACTIONS(4783),
    [anon_sym_PIPE] = ACTIONS(4785),
    [anon_sym_RPAREN] = ACTIONS(4783),
    [anon_sym_SEMI_SEMI] = ACTIONS(4783),
    [anon_sym_PIPE_AMP] = ACTIONS(4783),
    [anon_sym_AMP_AMP] = ACTIONS(4783),
    [anon_sym_PIPE_PIPE] = ACTIONS(4783),
    [anon_sym_BQUOTE] = ACTIONS(4783),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4785),
    [anon_sym_LF] = ACTIONS(4783),
    [anon_sym_AMP] = ACTIONS(4785),
  },
  [1679] = {
    [aux_sym_concatenation_repeat1] = STATE(1682),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [1680] = {
    [aux_sym_concatenation_repeat1] = STATE(1682),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1681] = {
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1682] = {
    [aux_sym_concatenation_repeat1] = STATE(2109),
    [sym__concat] = ACTIONS(687),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1683] = {
    [aux_sym_concatenation_repeat1] = STATE(1683),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(3404),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1684] = {
    [sym_file_redirect] = STATE(1678),
    [sym_file_descriptor] = ACTIONS(2552),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_RPAREN] = ACTIONS(3758),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_LT] = ACTIONS(2554),
    [anon_sym_GT] = ACTIONS(2554),
    [anon_sym_GT_GT] = ACTIONS(2556),
    [anon_sym_AMP_GT] = ACTIONS(2554),
    [anon_sym_AMP_GT_GT] = ACTIONS(2556),
    [anon_sym_LT_AMP] = ACTIONS(2556),
    [anon_sym_GT_AMP] = ACTIONS(2556),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [1685] = {
    [sym_concatenation] = STATE(1681),
    [sym_string] = STATE(2111),
    [sym_simple_expansion] = STATE(2111),
    [sym_string_expansion] = STATE(2111),
    [sym_expansion] = STATE(2111),
    [sym_command_substitution] = STATE(2111),
    [sym_process_substitution] = STATE(2111),
    [sym__special_characters] = ACTIONS(4787),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(4789),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4789),
  },
  [1686] = {
    [aux_sym_concatenation_repeat1] = STATE(2112),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_RPAREN] = ACTIONS(727),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1687] = {
    [aux_sym_concatenation_repeat1] = STATE(2112),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1688] = {
    [sym_concatenation] = STATE(1716),
    [sym_string] = STATE(2114),
    [sym_simple_expansion] = STATE(2114),
    [sym_string_expansion] = STATE(2114),
    [sym_expansion] = STATE(2114),
    [sym_command_substitution] = STATE(2114),
    [sym_process_substitution] = STATE(2114),
    [sym__special_characters] = ACTIONS(4791),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(4793),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4793),
  },
  [1689] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_RPAREN] = ACTIONS(727),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1690] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_RPAREN] = ACTIONS(745),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1691] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_RPAREN] = ACTIONS(2034),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [1692] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_RPAREN] = ACTIONS(2038),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [1693] = {
    [sym_file_redirect] = STATE(1693),
    [sym_heredoc_redirect] = STATE(1693),
    [sym_herestring_redirect] = STATE(1693),
    [aux_sym_while_statement_repeat1] = STATE(1693),
    [sym_file_descriptor] = ACTIONS(4795),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_RPAREN] = ACTIONS(2046),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(4798),
    [anon_sym_GT] = ACTIONS(4798),
    [anon_sym_GT_GT] = ACTIONS(4801),
    [anon_sym_AMP_GT] = ACTIONS(4798),
    [anon_sym_AMP_GT_GT] = ACTIONS(4801),
    [anon_sym_LT_AMP] = ACTIONS(4801),
    [anon_sym_GT_AMP] = ACTIONS(4801),
    [anon_sym_LT_LT] = ACTIONS(3875),
    [anon_sym_LT_LT_DASH] = ACTIONS(3878),
    [anon_sym_LT_LT_LT] = ACTIONS(4804),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [1694] = {
    [aux_sym_concatenation_repeat1] = STATE(1694),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1695] = {
    [sym_file_descriptor] = ACTIONS(3374),
    [sym_variable_name] = ACTIONS(3374),
    [anon_sym_LT] = ACTIONS(3376),
    [anon_sym_GT] = ACTIONS(3376),
    [anon_sym_GT_GT] = ACTIONS(3374),
    [anon_sym_AMP_GT] = ACTIONS(3376),
    [anon_sym_AMP_GT_GT] = ACTIONS(3374),
    [anon_sym_LT_AMP] = ACTIONS(3374),
    [anon_sym_GT_AMP] = ACTIONS(3374),
    [sym__special_characters] = ACTIONS(3374),
    [anon_sym_DQUOTE] = ACTIONS(3374),
    [anon_sym_DOLLAR] = ACTIONS(3376),
    [sym_raw_string] = ACTIONS(3374),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3374),
    [anon_sym_BQUOTE] = ACTIONS(3374),
    [anon_sym_LT_LPAREN] = ACTIONS(3374),
    [anon_sym_GT_LPAREN] = ACTIONS(3374),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3374),
  },
  [1696] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_RBRACK] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4098),
    [anon_sym_EQ_EQ] = ACTIONS(4098),
    [anon_sym_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4098),
    [anon_sym_GT] = ACTIONS(4098),
    [anon_sym_BANG_EQ] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4098),
  },
  [1697] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_RBRACK] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4106),
    [anon_sym_EQ_EQ] = ACTIONS(4106),
    [anon_sym_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4106),
    [anon_sym_GT] = ACTIONS(4106),
    [anon_sym_BANG_EQ] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4106),
  },
  [1698] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4807),
    [sym_comment] = ACTIONS(53),
  },
  [1699] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4809),
    [sym_comment] = ACTIONS(53),
  },
  [1700] = {
    [anon_sym_RBRACE] = ACTIONS(4809),
    [sym_comment] = ACTIONS(53),
  },
  [1701] = {
    [sym_concatenation] = STATE(2119),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2119),
    [anon_sym_RBRACE] = ACTIONS(4811),
    [anon_sym_EQ] = ACTIONS(4813),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4815),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4813),
    [anon_sym_COLON_QMARK] = ACTIONS(4813),
    [anon_sym_COLON_DASH] = ACTIONS(4813),
    [anon_sym_PERCENT] = ACTIONS(4813),
    [anon_sym_DASH] = ACTIONS(4813),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1702] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_RBRACK] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4170),
    [anon_sym_EQ_EQ] = ACTIONS(4170),
    [anon_sym_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4170),
    [anon_sym_GT] = ACTIONS(4170),
    [anon_sym_BANG_EQ] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4170),
  },
  [1703] = {
    [sym_concatenation] = STATE(2121),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2121),
    [anon_sym_RBRACE] = ACTIONS(4817),
    [anon_sym_EQ] = ACTIONS(4819),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4821),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4819),
    [anon_sym_COLON_QMARK] = ACTIONS(4819),
    [anon_sym_COLON_DASH] = ACTIONS(4819),
    [anon_sym_PERCENT] = ACTIONS(4819),
    [anon_sym_DASH] = ACTIONS(4819),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1704] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_RBRACK] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4180),
    [anon_sym_EQ_EQ] = ACTIONS(4180),
    [anon_sym_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4180),
    [anon_sym_GT] = ACTIONS(4180),
    [anon_sym_BANG_EQ] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4180),
  },
  [1705] = {
    [sym_concatenation] = STATE(2123),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2123),
    [anon_sym_RBRACE] = ACTIONS(4823),
    [anon_sym_EQ] = ACTIONS(4825),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4827),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4825),
    [anon_sym_COLON_QMARK] = ACTIONS(4825),
    [anon_sym_COLON_DASH] = ACTIONS(4825),
    [anon_sym_PERCENT] = ACTIONS(4825),
    [anon_sym_DASH] = ACTIONS(4825),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1706] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_RBRACK] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4235),
    [anon_sym_EQ_EQ] = ACTIONS(4235),
    [anon_sym_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4235),
    [anon_sym_GT] = ACTIONS(4235),
    [anon_sym_BANG_EQ] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4235),
  },
  [1707] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4829),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1708] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_RBRACK] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4257),
    [anon_sym_EQ_EQ] = ACTIONS(4257),
    [anon_sym_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4257),
    [anon_sym_GT] = ACTIONS(4257),
    [anon_sym_BANG_EQ] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4257),
  },
  [1709] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4831),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1710] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_RBRACK] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4263),
    [anon_sym_EQ_EQ] = ACTIONS(4263),
    [anon_sym_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4263),
    [anon_sym_GT] = ACTIONS(4263),
    [anon_sym_BANG_EQ] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4263),
  },
  [1711] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4833),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1712] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_RBRACK] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4269),
    [anon_sym_EQ_EQ] = ACTIONS(4269),
    [anon_sym_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4269),
    [anon_sym_GT] = ACTIONS(4269),
    [anon_sym_BANG_EQ] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4269),
  },
  [1713] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_RBRACK] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4293),
    [anon_sym_EQ_EQ] = ACTIONS(4293),
    [anon_sym_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4293),
    [anon_sym_GT] = ACTIONS(4293),
    [anon_sym_BANG_EQ] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4293),
  },
  [1714] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [1715] = {
    [aux_sym_concatenation_repeat1] = STATE(1718),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1716] = {
    [sym_file_descriptor] = ACTIONS(1055),
    [ts_builtin_sym_end] = ACTIONS(1055),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [1717] = {
    [sym_string] = STATE(2127),
    [sym_simple_expansion] = STATE(2127),
    [sym_string_expansion] = STATE(2127),
    [sym_expansion] = STATE(2127),
    [sym_command_substitution] = STATE(2127),
    [sym_process_substitution] = STATE(2127),
    [sym__special_characters] = ACTIONS(4835),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(4835),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4835),
  },
  [1718] = {
    [aux_sym_concatenation_repeat1] = STATE(2128),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(3842),
    [ts_builtin_sym_end] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [1719] = {
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [ts_builtin_sym_end] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_RPAREN] = ACTIONS(765),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [anon_sym_LT_LT] = ACTIONS(767),
    [anon_sym_LT_LT_DASH] = ACTIONS(765),
    [anon_sym_LT_LT_LT] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [1720] = {
    [anon_sym_DQUOTE] = ACTIONS(4837),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1721] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(4837),
    [anon_sym_DOLLAR] = ACTIONS(4839),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [1722] = {
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [ts_builtin_sym_end] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_RPAREN] = ACTIONS(797),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [anon_sym_LT_LT] = ACTIONS(799),
    [anon_sym_LT_LT_DASH] = ACTIONS(797),
    [anon_sym_LT_LT_LT] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [1723] = {
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [ts_builtin_sym_end] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_RPAREN] = ACTIONS(801),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [anon_sym_LT_LT] = ACTIONS(803),
    [anon_sym_LT_LT_DASH] = ACTIONS(801),
    [anon_sym_LT_LT_LT] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [1724] = {
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [ts_builtin_sym_end] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(805),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [anon_sym_LT_LT] = ACTIONS(807),
    [anon_sym_LT_LT_DASH] = ACTIONS(805),
    [anon_sym_LT_LT_LT] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [1725] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(4841),
    [sym_comment] = ACTIONS(53),
  },
  [1726] = {
    [sym_subscript] = STATE(2135),
    [sym_variable_name] = ACTIONS(4843),
    [anon_sym_DOLLAR] = ACTIONS(4845),
    [anon_sym_DASH] = ACTIONS(4845),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4847),
    [anon_sym_STAR] = ACTIONS(4845),
    [anon_sym_AT] = ACTIONS(4845),
    [anon_sym_QMARK] = ACTIONS(4845),
    [anon_sym_0] = ACTIONS(4849),
    [anon_sym__] = ACTIONS(4849),
  },
  [1727] = {
    [sym_concatenation] = STATE(2138),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2138),
    [anon_sym_RBRACE] = ACTIONS(4851),
    [anon_sym_EQ] = ACTIONS(4853),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4855),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4857),
    [anon_sym_COLON] = ACTIONS(4853),
    [anon_sym_COLON_QMARK] = ACTIONS(4853),
    [anon_sym_COLON_DASH] = ACTIONS(4853),
    [anon_sym_PERCENT] = ACTIONS(4853),
    [anon_sym_DASH] = ACTIONS(4853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1728] = {
    [sym_concatenation] = STATE(2141),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2141),
    [anon_sym_RBRACE] = ACTIONS(4859),
    [anon_sym_EQ] = ACTIONS(4861),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4863),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4865),
    [anon_sym_COLON] = ACTIONS(4861),
    [anon_sym_COLON_QMARK] = ACTIONS(4861),
    [anon_sym_COLON_DASH] = ACTIONS(4861),
    [anon_sym_PERCENT] = ACTIONS(4861),
    [anon_sym_DASH] = ACTIONS(4861),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1729] = {
    [sym_concatenation] = STATE(2144),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2144),
    [anon_sym_RBRACE] = ACTIONS(4867),
    [anon_sym_EQ] = ACTIONS(4869),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(4873),
    [anon_sym_COLON] = ACTIONS(4869),
    [anon_sym_COLON_QMARK] = ACTIONS(4869),
    [anon_sym_COLON_DASH] = ACTIONS(4869),
    [anon_sym_PERCENT] = ACTIONS(4869),
    [anon_sym_DASH] = ACTIONS(4869),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1730] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4875),
    [anon_sym_SEMI_SEMI] = ACTIONS(4877),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4879),
    [anon_sym_LF] = ACTIONS(4877),
    [anon_sym_AMP] = ACTIONS(4879),
  },
  [1731] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4875),
    [anon_sym_SEMI_SEMI] = ACTIONS(4877),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4879),
    [anon_sym_LF] = ACTIONS(4877),
    [anon_sym_AMP] = ACTIONS(4879),
  },
  [1732] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2147),
    [sym_c_style_for_statement] = STATE(2147),
    [sym_while_statement] = STATE(2147),
    [sym_if_statement] = STATE(2147),
    [sym_case_statement] = STATE(2147),
    [sym_function_definition] = STATE(2147),
    [sym_subshell] = STATE(2147),
    [sym_pipeline] = STATE(2147),
    [sym_list] = STATE(2147),
    [sym_negated_command] = STATE(2147),
    [sym_test_command] = STATE(2147),
    [sym_declaration_command] = STATE(2147),
    [sym_unset_command] = STATE(2147),
    [sym_command] = STATE(2147),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2148),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1733] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4881),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(4875),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4883),
    [anon_sym_LF] = ACTIONS(4881),
    [anon_sym_AMP] = ACTIONS(4883),
  },
  [1734] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(4881),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(4875),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4883),
    [anon_sym_LF] = ACTIONS(4881),
    [anon_sym_AMP] = ACTIONS(4883),
  },
  [1735] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2150),
    [sym_c_style_for_statement] = STATE(2150),
    [sym_while_statement] = STATE(2150),
    [sym_if_statement] = STATE(2150),
    [sym_case_statement] = STATE(2150),
    [sym_function_definition] = STATE(2150),
    [sym_subshell] = STATE(2150),
    [sym_pipeline] = STATE(2150),
    [sym_list] = STATE(2150),
    [sym_negated_command] = STATE(2150),
    [sym_test_command] = STATE(2150),
    [sym_declaration_command] = STATE(2150),
    [sym_unset_command] = STATE(2150),
    [sym_command] = STATE(2150),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2151),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [1736] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4885),
    [anon_sym_SEMI_SEMI] = ACTIONS(4887),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4889),
    [anon_sym_LF] = ACTIONS(4887),
    [anon_sym_AMP] = ACTIONS(4889),
  },
  [1737] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(4885),
    [anon_sym_SEMI_SEMI] = ACTIONS(4887),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(4889),
    [anon_sym_LF] = ACTIONS(4887),
    [anon_sym_AMP] = ACTIONS(4889),
  },
  [1738] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2154),
    [sym_c_style_for_statement] = STATE(2154),
    [sym_while_statement] = STATE(2154),
    [sym_if_statement] = STATE(2154),
    [sym_case_statement] = STATE(2154),
    [sym_function_definition] = STATE(2154),
    [sym_subshell] = STATE(2154),
    [sym_pipeline] = STATE(2154),
    [sym_list] = STATE(2154),
    [sym_negated_command] = STATE(2154),
    [sym_test_command] = STATE(2154),
    [sym_declaration_command] = STATE(2154),
    [sym_unset_command] = STATE(2154),
    [sym_command] = STATE(2154),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2155),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [1739] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4098),
    [anon_sym_EQ_EQ] = ACTIONS(4098),
    [anon_sym_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4098),
    [anon_sym_GT] = ACTIONS(4098),
    [anon_sym_BANG_EQ] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4098),
  },
  [1740] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4106),
    [anon_sym_EQ_EQ] = ACTIONS(4106),
    [anon_sym_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4106),
    [anon_sym_GT] = ACTIONS(4106),
    [anon_sym_BANG_EQ] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4106),
  },
  [1741] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4891),
    [sym_comment] = ACTIONS(53),
  },
  [1742] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4893),
    [sym_comment] = ACTIONS(53),
  },
  [1743] = {
    [anon_sym_RBRACE] = ACTIONS(4893),
    [sym_comment] = ACTIONS(53),
  },
  [1744] = {
    [sym_concatenation] = STATE(2159),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2159),
    [anon_sym_RBRACE] = ACTIONS(4895),
    [anon_sym_EQ] = ACTIONS(4897),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4897),
    [anon_sym_COLON_QMARK] = ACTIONS(4897),
    [anon_sym_COLON_DASH] = ACTIONS(4897),
    [anon_sym_PERCENT] = ACTIONS(4897),
    [anon_sym_DASH] = ACTIONS(4897),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1745] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4170),
    [anon_sym_EQ_EQ] = ACTIONS(4170),
    [anon_sym_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4170),
    [anon_sym_GT] = ACTIONS(4170),
    [anon_sym_BANG_EQ] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4170),
  },
  [1746] = {
    [sym_concatenation] = STATE(2161),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2161),
    [anon_sym_RBRACE] = ACTIONS(4901),
    [anon_sym_EQ] = ACTIONS(4903),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4905),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4903),
    [anon_sym_COLON_QMARK] = ACTIONS(4903),
    [anon_sym_COLON_DASH] = ACTIONS(4903),
    [anon_sym_PERCENT] = ACTIONS(4903),
    [anon_sym_DASH] = ACTIONS(4903),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1747] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4180),
    [anon_sym_EQ_EQ] = ACTIONS(4180),
    [anon_sym_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4180),
    [anon_sym_GT] = ACTIONS(4180),
    [anon_sym_BANG_EQ] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4180),
  },
  [1748] = {
    [sym_concatenation] = STATE(2163),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2163),
    [anon_sym_RBRACE] = ACTIONS(4907),
    [anon_sym_EQ] = ACTIONS(4909),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4911),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4909),
    [anon_sym_COLON_QMARK] = ACTIONS(4909),
    [anon_sym_COLON_DASH] = ACTIONS(4909),
    [anon_sym_PERCENT] = ACTIONS(4909),
    [anon_sym_DASH] = ACTIONS(4909),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1749] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4235),
    [anon_sym_EQ_EQ] = ACTIONS(4235),
    [anon_sym_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4235),
    [anon_sym_GT] = ACTIONS(4235),
    [anon_sym_BANG_EQ] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4235),
  },
  [1750] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4913),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1751] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4257),
    [anon_sym_EQ_EQ] = ACTIONS(4257),
    [anon_sym_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4257),
    [anon_sym_GT] = ACTIONS(4257),
    [anon_sym_BANG_EQ] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4257),
  },
  [1752] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4915),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1753] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4263),
    [anon_sym_EQ_EQ] = ACTIONS(4263),
    [anon_sym_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4263),
    [anon_sym_GT] = ACTIONS(4263),
    [anon_sym_BANG_EQ] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4263),
  },
  [1754] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4917),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1755] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4269),
    [anon_sym_EQ_EQ] = ACTIONS(4269),
    [anon_sym_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4269),
    [anon_sym_GT] = ACTIONS(4269),
    [anon_sym_BANG_EQ] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4269),
  },
  [1756] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4293),
    [anon_sym_EQ_EQ] = ACTIONS(4293),
    [anon_sym_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4293),
    [anon_sym_GT] = ACTIONS(4293),
    [anon_sym_BANG_EQ] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4293),
  },
  [1757] = {
    [sym_variable_name] = ACTIONS(3374),
    [ts_builtin_sym_end] = ACTIONS(3374),
    [anon_sym_PIPE] = ACTIONS(3376),
    [anon_sym_RPAREN] = ACTIONS(3374),
    [anon_sym_SEMI_SEMI] = ACTIONS(3374),
    [anon_sym_PIPE_AMP] = ACTIONS(3374),
    [anon_sym_AMP_AMP] = ACTIONS(3374),
    [anon_sym_PIPE_PIPE] = ACTIONS(3374),
    [sym__special_characters] = ACTIONS(3374),
    [anon_sym_DQUOTE] = ACTIONS(3374),
    [anon_sym_DOLLAR] = ACTIONS(3376),
    [sym_raw_string] = ACTIONS(3374),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3374),
    [anon_sym_BQUOTE] = ACTIONS(3374),
    [anon_sym_LT_LPAREN] = ACTIONS(3374),
    [anon_sym_GT_LPAREN] = ACTIONS(3374),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3376),
    [sym_word] = ACTIONS(3376),
    [anon_sym_SEMI] = ACTIONS(3376),
    [anon_sym_LF] = ACTIONS(3374),
    [anon_sym_AMP] = ACTIONS(3376),
  },
  [1758] = {
    [sym__concat] = ACTIONS(4098),
    [sym_variable_name] = ACTIONS(4098),
    [ts_builtin_sym_end] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4100),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [1759] = {
    [sym__concat] = ACTIONS(4106),
    [sym_variable_name] = ACTIONS(4106),
    [ts_builtin_sym_end] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4108),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [1760] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4919),
    [sym_comment] = ACTIONS(53),
  },
  [1761] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4921),
    [sym_comment] = ACTIONS(53),
  },
  [1762] = {
    [anon_sym_RBRACE] = ACTIONS(4921),
    [sym_comment] = ACTIONS(53),
  },
  [1763] = {
    [sym_concatenation] = STATE(2170),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2170),
    [anon_sym_RBRACE] = ACTIONS(4923),
    [anon_sym_EQ] = ACTIONS(4925),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4925),
    [anon_sym_COLON_QMARK] = ACTIONS(4925),
    [anon_sym_COLON_DASH] = ACTIONS(4925),
    [anon_sym_PERCENT] = ACTIONS(4925),
    [anon_sym_DASH] = ACTIONS(4925),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1764] = {
    [sym__concat] = ACTIONS(4170),
    [sym_variable_name] = ACTIONS(4170),
    [ts_builtin_sym_end] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4172),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1765] = {
    [sym_concatenation] = STATE(2172),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2172),
    [anon_sym_RBRACE] = ACTIONS(4929),
    [anon_sym_EQ] = ACTIONS(4931),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4933),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4931),
    [anon_sym_COLON_QMARK] = ACTIONS(4931),
    [anon_sym_COLON_DASH] = ACTIONS(4931),
    [anon_sym_PERCENT] = ACTIONS(4931),
    [anon_sym_DASH] = ACTIONS(4931),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1766] = {
    [sym__concat] = ACTIONS(4180),
    [sym_variable_name] = ACTIONS(4180),
    [ts_builtin_sym_end] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4182),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1767] = {
    [sym_concatenation] = STATE(2174),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2174),
    [anon_sym_RBRACE] = ACTIONS(4935),
    [anon_sym_EQ] = ACTIONS(4937),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4939),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4937),
    [anon_sym_COLON_QMARK] = ACTIONS(4937),
    [anon_sym_COLON_DASH] = ACTIONS(4937),
    [anon_sym_PERCENT] = ACTIONS(4937),
    [anon_sym_DASH] = ACTIONS(4937),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1768] = {
    [sym__concat] = ACTIONS(4235),
    [sym_variable_name] = ACTIONS(4235),
    [ts_builtin_sym_end] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4237),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [1769] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4941),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1770] = {
    [sym__concat] = ACTIONS(4257),
    [sym_variable_name] = ACTIONS(4257),
    [ts_builtin_sym_end] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4259),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [1771] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4943),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1772] = {
    [sym__concat] = ACTIONS(4263),
    [sym_variable_name] = ACTIONS(4263),
    [ts_builtin_sym_end] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4265),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [1773] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4945),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1774] = {
    [sym__concat] = ACTIONS(4269),
    [sym_variable_name] = ACTIONS(4269),
    [ts_builtin_sym_end] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4271),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [1775] = {
    [sym__concat] = ACTIONS(4293),
    [sym_variable_name] = ACTIONS(4293),
    [ts_builtin_sym_end] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4295),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [1776] = {
    [sym__concat] = ACTIONS(4098),
    [ts_builtin_sym_end] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4100),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [1777] = {
    [sym__concat] = ACTIONS(4106),
    [ts_builtin_sym_end] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4108),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [1778] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4947),
    [sym_comment] = ACTIONS(53),
  },
  [1779] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4949),
    [sym_comment] = ACTIONS(53),
  },
  [1780] = {
    [anon_sym_RBRACE] = ACTIONS(4949),
    [sym_comment] = ACTIONS(53),
  },
  [1781] = {
    [sym_concatenation] = STATE(2181),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2181),
    [anon_sym_RBRACE] = ACTIONS(4951),
    [anon_sym_EQ] = ACTIONS(4953),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4955),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4953),
    [anon_sym_COLON_QMARK] = ACTIONS(4953),
    [anon_sym_COLON_DASH] = ACTIONS(4953),
    [anon_sym_PERCENT] = ACTIONS(4953),
    [anon_sym_DASH] = ACTIONS(4953),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1782] = {
    [sym__concat] = ACTIONS(4170),
    [ts_builtin_sym_end] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4172),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1783] = {
    [sym_concatenation] = STATE(2183),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2183),
    [anon_sym_RBRACE] = ACTIONS(4957),
    [anon_sym_EQ] = ACTIONS(4959),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4961),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4959),
    [anon_sym_COLON_QMARK] = ACTIONS(4959),
    [anon_sym_COLON_DASH] = ACTIONS(4959),
    [anon_sym_PERCENT] = ACTIONS(4959),
    [anon_sym_DASH] = ACTIONS(4959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1784] = {
    [sym__concat] = ACTIONS(4180),
    [ts_builtin_sym_end] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4182),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1785] = {
    [sym_concatenation] = STATE(2185),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2185),
    [anon_sym_RBRACE] = ACTIONS(4963),
    [anon_sym_EQ] = ACTIONS(4965),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4967),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4965),
    [anon_sym_COLON_QMARK] = ACTIONS(4965),
    [anon_sym_COLON_DASH] = ACTIONS(4965),
    [anon_sym_PERCENT] = ACTIONS(4965),
    [anon_sym_DASH] = ACTIONS(4965),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1786] = {
    [sym__concat] = ACTIONS(4235),
    [ts_builtin_sym_end] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4237),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [1787] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4969),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1788] = {
    [sym__concat] = ACTIONS(4257),
    [ts_builtin_sym_end] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4259),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [1789] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4971),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1790] = {
    [sym__concat] = ACTIONS(4263),
    [ts_builtin_sym_end] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4265),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [1791] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4973),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1792] = {
    [sym__concat] = ACTIONS(4269),
    [ts_builtin_sym_end] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4271),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [1793] = {
    [sym__concat] = ACTIONS(4293),
    [ts_builtin_sym_end] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4295),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [1794] = {
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [sym_variable_name] = ACTIONS(4098),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4098),
  },
  [1795] = {
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [sym_variable_name] = ACTIONS(4106),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4106),
  },
  [1796] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4975),
    [sym_comment] = ACTIONS(53),
  },
  [1797] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(4977),
    [sym_comment] = ACTIONS(53),
  },
  [1798] = {
    [anon_sym_RBRACE] = ACTIONS(4977),
    [sym_comment] = ACTIONS(53),
  },
  [1799] = {
    [sym_concatenation] = STATE(2192),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2192),
    [anon_sym_RBRACE] = ACTIONS(4979),
    [anon_sym_EQ] = ACTIONS(4981),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4983),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4981),
    [anon_sym_COLON_QMARK] = ACTIONS(4981),
    [anon_sym_COLON_DASH] = ACTIONS(4981),
    [anon_sym_PERCENT] = ACTIONS(4981),
    [anon_sym_DASH] = ACTIONS(4981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1800] = {
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [sym_variable_name] = ACTIONS(4170),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4170),
  },
  [1801] = {
    [sym_concatenation] = STATE(2194),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2194),
    [anon_sym_RBRACE] = ACTIONS(4985),
    [anon_sym_EQ] = ACTIONS(4987),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4989),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4987),
    [anon_sym_COLON_QMARK] = ACTIONS(4987),
    [anon_sym_COLON_DASH] = ACTIONS(4987),
    [anon_sym_PERCENT] = ACTIONS(4987),
    [anon_sym_DASH] = ACTIONS(4987),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1802] = {
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [sym_variable_name] = ACTIONS(4180),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4180),
  },
  [1803] = {
    [sym_concatenation] = STATE(2196),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2196),
    [anon_sym_RBRACE] = ACTIONS(4991),
    [anon_sym_EQ] = ACTIONS(4993),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(4995),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(4993),
    [anon_sym_COLON_QMARK] = ACTIONS(4993),
    [anon_sym_COLON_DASH] = ACTIONS(4993),
    [anon_sym_PERCENT] = ACTIONS(4993),
    [anon_sym_DASH] = ACTIONS(4993),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1804] = {
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [sym_variable_name] = ACTIONS(4235),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4235),
  },
  [1805] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4997),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1806] = {
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [sym_variable_name] = ACTIONS(4257),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4257),
  },
  [1807] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(4999),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1808] = {
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [sym_variable_name] = ACTIONS(4263),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4263),
  },
  [1809] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5001),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1810] = {
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [sym_variable_name] = ACTIONS(4269),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4269),
  },
  [1811] = {
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [sym_variable_name] = ACTIONS(4293),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4293),
  },
  [1812] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4100),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym__string_content] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4100),
    [anon_sym_BQUOTE] = ACTIONS(4100),
    [sym_comment] = ACTIONS(265),
  },
  [1813] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4108),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym__string_content] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4108),
    [anon_sym_BQUOTE] = ACTIONS(4108),
    [sym_comment] = ACTIONS(265),
  },
  [1814] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5003),
    [sym_comment] = ACTIONS(53),
  },
  [1815] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5005),
    [sym_comment] = ACTIONS(53),
  },
  [1816] = {
    [anon_sym_RBRACE] = ACTIONS(5005),
    [sym_comment] = ACTIONS(53),
  },
  [1817] = {
    [sym_concatenation] = STATE(2203),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2203),
    [anon_sym_RBRACE] = ACTIONS(5007),
    [anon_sym_EQ] = ACTIONS(5009),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5011),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5009),
    [anon_sym_COLON_QMARK] = ACTIONS(5009),
    [anon_sym_COLON_DASH] = ACTIONS(5009),
    [anon_sym_PERCENT] = ACTIONS(5009),
    [anon_sym_DASH] = ACTIONS(5009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1818] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4172),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym__string_content] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4172),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4172),
    [anon_sym_BQUOTE] = ACTIONS(4172),
    [sym_comment] = ACTIONS(265),
  },
  [1819] = {
    [sym_concatenation] = STATE(2205),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2205),
    [anon_sym_RBRACE] = ACTIONS(5013),
    [anon_sym_EQ] = ACTIONS(5015),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5015),
    [anon_sym_COLON_QMARK] = ACTIONS(5015),
    [anon_sym_COLON_DASH] = ACTIONS(5015),
    [anon_sym_PERCENT] = ACTIONS(5015),
    [anon_sym_DASH] = ACTIONS(5015),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1820] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4182),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym__string_content] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4182),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4182),
    [anon_sym_BQUOTE] = ACTIONS(4182),
    [sym_comment] = ACTIONS(265),
  },
  [1821] = {
    [sym_concatenation] = STATE(2207),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2207),
    [anon_sym_RBRACE] = ACTIONS(5019),
    [anon_sym_EQ] = ACTIONS(5021),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5023),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5021),
    [anon_sym_COLON_QMARK] = ACTIONS(5021),
    [anon_sym_COLON_DASH] = ACTIONS(5021),
    [anon_sym_PERCENT] = ACTIONS(5021),
    [anon_sym_DASH] = ACTIONS(5021),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1822] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4237),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym__string_content] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4237),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4237),
    [anon_sym_BQUOTE] = ACTIONS(4237),
    [sym_comment] = ACTIONS(265),
  },
  [1823] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5025),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1824] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4259),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym__string_content] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4259),
    [anon_sym_BQUOTE] = ACTIONS(4259),
    [sym_comment] = ACTIONS(265),
  },
  [1825] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5027),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1826] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4265),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym__string_content] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4265),
    [anon_sym_BQUOTE] = ACTIONS(4265),
    [sym_comment] = ACTIONS(265),
  },
  [1827] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5029),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1828] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4271),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym__string_content] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4271),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4271),
    [anon_sym_BQUOTE] = ACTIONS(4271),
    [sym_comment] = ACTIONS(265),
  },
  [1829] = {
    [sym__concat] = ACTIONS(5031),
    [anon_sym_RBRACE] = ACTIONS(3312),
    [anon_sym_EQ] = ACTIONS(5033),
    [sym__special_characters] = ACTIONS(5033),
    [anon_sym_DQUOTE] = ACTIONS(3312),
    [anon_sym_DOLLAR] = ACTIONS(5033),
    [sym_raw_string] = ACTIONS(3312),
    [anon_sym_POUND] = ACTIONS(3312),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3312),
    [anon_sym_SLASH] = ACTIONS(3312),
    [anon_sym_COLON] = ACTIONS(5033),
    [anon_sym_COLON_QMARK] = ACTIONS(5033),
    [anon_sym_COLON_DASH] = ACTIONS(5033),
    [anon_sym_PERCENT] = ACTIONS(5033),
    [anon_sym_DASH] = ACTIONS(5033),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3312),
    [anon_sym_BQUOTE] = ACTIONS(3312),
    [anon_sym_LT_LPAREN] = ACTIONS(3312),
    [anon_sym_GT_LPAREN] = ACTIONS(3312),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5033),
  },
  [1830] = {
    [anon_sym_RBRACE] = ACTIONS(3312),
    [anon_sym_EQ] = ACTIONS(5033),
    [sym__special_characters] = ACTIONS(5033),
    [anon_sym_DQUOTE] = ACTIONS(3312),
    [anon_sym_DOLLAR] = ACTIONS(5033),
    [sym_raw_string] = ACTIONS(3312),
    [anon_sym_POUND] = ACTIONS(3312),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3312),
    [anon_sym_SLASH] = ACTIONS(3312),
    [anon_sym_COLON] = ACTIONS(5033),
    [anon_sym_COLON_QMARK] = ACTIONS(5033),
    [anon_sym_COLON_DASH] = ACTIONS(5033),
    [anon_sym_PERCENT] = ACTIONS(5033),
    [anon_sym_DASH] = ACTIONS(5033),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3312),
    [anon_sym_BQUOTE] = ACTIONS(3312),
    [anon_sym_LT_LPAREN] = ACTIONS(3312),
    [anon_sym_GT_LPAREN] = ACTIONS(3312),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5033),
  },
  [1831] = {
    [sym__concat] = ACTIONS(5035),
    [anon_sym_RBRACE] = ACTIONS(3316),
    [anon_sym_EQ] = ACTIONS(5037),
    [sym__special_characters] = ACTIONS(5037),
    [anon_sym_DQUOTE] = ACTIONS(3316),
    [anon_sym_DOLLAR] = ACTIONS(5037),
    [sym_raw_string] = ACTIONS(3316),
    [anon_sym_POUND] = ACTIONS(3316),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3316),
    [anon_sym_SLASH] = ACTIONS(3316),
    [anon_sym_COLON] = ACTIONS(5037),
    [anon_sym_COLON_QMARK] = ACTIONS(5037),
    [anon_sym_COLON_DASH] = ACTIONS(5037),
    [anon_sym_PERCENT] = ACTIONS(5037),
    [anon_sym_DASH] = ACTIONS(5037),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3316),
    [anon_sym_BQUOTE] = ACTIONS(3316),
    [anon_sym_LT_LPAREN] = ACTIONS(3316),
    [anon_sym_GT_LPAREN] = ACTIONS(3316),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5037),
  },
  [1832] = {
    [anon_sym_RBRACE] = ACTIONS(3316),
    [anon_sym_EQ] = ACTIONS(5037),
    [sym__special_characters] = ACTIONS(5037),
    [anon_sym_DQUOTE] = ACTIONS(3316),
    [anon_sym_DOLLAR] = ACTIONS(5037),
    [sym_raw_string] = ACTIONS(3316),
    [anon_sym_POUND] = ACTIONS(3316),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3316),
    [anon_sym_SLASH] = ACTIONS(3316),
    [anon_sym_COLON] = ACTIONS(5037),
    [anon_sym_COLON_QMARK] = ACTIONS(5037),
    [anon_sym_COLON_DASH] = ACTIONS(5037),
    [anon_sym_PERCENT] = ACTIONS(5037),
    [anon_sym_DASH] = ACTIONS(5037),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3316),
    [anon_sym_BQUOTE] = ACTIONS(3316),
    [anon_sym_LT_LPAREN] = ACTIONS(3316),
    [anon_sym_GT_LPAREN] = ACTIONS(3316),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5037),
  },
  [1833] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_RBRACE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
  },
  [1834] = {
    [aux_sym_concatenation_repeat1] = STATE(1834),
    [sym__concat] = ACTIONS(5039),
    [anon_sym_RBRACE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
  },
  [1835] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_RBRACE] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
  },
  [1836] = {
    [anon_sym_DQUOTE] = ACTIONS(5042),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1837] = {
    [sym_concatenation] = STATE(2217),
    [sym_string] = STATE(2216),
    [sym_simple_expansion] = STATE(2216),
    [sym_string_expansion] = STATE(2216),
    [sym_expansion] = STATE(2216),
    [sym_command_substitution] = STATE(2216),
    [sym_process_substitution] = STATE(2216),
    [anon_sym_RBRACE] = ACTIONS(5044),
    [sym__special_characters] = ACTIONS(5046),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5048),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5048),
  },
  [1838] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(5050),
    [sym_comment] = ACTIONS(53),
  },
  [1839] = {
    [sym_concatenation] = STATE(2221),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2221),
    [anon_sym_RBRACE] = ACTIONS(5052),
    [anon_sym_EQ] = ACTIONS(5054),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5056),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5058),
    [anon_sym_COLON] = ACTIONS(5054),
    [anon_sym_COLON_QMARK] = ACTIONS(5054),
    [anon_sym_COLON_DASH] = ACTIONS(5054),
    [anon_sym_PERCENT] = ACTIONS(5054),
    [anon_sym_DASH] = ACTIONS(5054),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1840] = {
    [sym_concatenation] = STATE(2224),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2224),
    [anon_sym_RBRACE] = ACTIONS(5060),
    [anon_sym_EQ] = ACTIONS(5062),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5064),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5066),
    [anon_sym_COLON] = ACTIONS(5062),
    [anon_sym_COLON_QMARK] = ACTIONS(5062),
    [anon_sym_COLON_DASH] = ACTIONS(5062),
    [anon_sym_PERCENT] = ACTIONS(5062),
    [anon_sym_DASH] = ACTIONS(5062),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1841] = {
    [sym_concatenation] = STATE(2226),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2226),
    [anon_sym_RBRACE] = ACTIONS(5044),
    [anon_sym_EQ] = ACTIONS(5068),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5070),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5072),
    [anon_sym_COLON] = ACTIONS(5068),
    [anon_sym_COLON_QMARK] = ACTIONS(5068),
    [anon_sym_COLON_DASH] = ACTIONS(5068),
    [anon_sym_PERCENT] = ACTIONS(5068),
    [anon_sym_DASH] = ACTIONS(5068),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1842] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_RBRACE] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
  },
  [1843] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5074),
  },
  [1844] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5076),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1845] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_RBRACE] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
  },
  [1846] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5078),
  },
  [1847] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5080),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1848] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_RBRACE] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
  },
  [1849] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5082),
  },
  [1850] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5044),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1851] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_RBRACE] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
  },
  [1852] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5084),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1853] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5084),
    [anon_sym_SEMI_SEMI] = ACTIONS(5086),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5088),
    [anon_sym_LF] = ACTIONS(5086),
    [anon_sym_AMP] = ACTIONS(5088),
  },
  [1854] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5084),
    [anon_sym_SEMI_SEMI] = ACTIONS(5086),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5088),
    [anon_sym_LF] = ACTIONS(5086),
    [anon_sym_AMP] = ACTIONS(5088),
  },
  [1855] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5084),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1856] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5090),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(5084),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5092),
    [anon_sym_LF] = ACTIONS(5090),
    [anon_sym_AMP] = ACTIONS(5092),
  },
  [1857] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5090),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(5084),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5092),
    [anon_sym_LF] = ACTIONS(5090),
    [anon_sym_AMP] = ACTIONS(5092),
  },
  [1858] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_RBRACE] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
  },
  [1859] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5094),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1860] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5094),
    [anon_sym_SEMI_SEMI] = ACTIONS(5096),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5098),
    [anon_sym_LF] = ACTIONS(5096),
    [anon_sym_AMP] = ACTIONS(5098),
  },
  [1861] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5094),
    [anon_sym_SEMI_SEMI] = ACTIONS(5096),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5098),
    [anon_sym_LF] = ACTIONS(5096),
    [anon_sym_AMP] = ACTIONS(5098),
  },
  [1862] = {
    [sym__simple_heredoc_body] = ACTIONS(5100),
    [sym__heredoc_body_beginning] = ACTIONS(5100),
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [ts_builtin_sym_end] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5102),
    [anon_sym_EQ_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [anon_sym_LT_LT] = ACTIONS(5102),
    [anon_sym_LT_LT_DASH] = ACTIONS(5100),
    [anon_sym_LT_LT_LT] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [1863] = {
    [sym__simple_heredoc_body] = ACTIONS(5104),
    [sym__heredoc_body_beginning] = ACTIONS(5104),
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [ts_builtin_sym_end] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5106),
    [anon_sym_EQ_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [anon_sym_LT_LT] = ACTIONS(5106),
    [anon_sym_LT_LT_DASH] = ACTIONS(5104),
    [anon_sym_LT_LT_LT] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [1864] = {
    [sym__simple_heredoc_body] = ACTIONS(5108),
    [sym__heredoc_body_beginning] = ACTIONS(5108),
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [ts_builtin_sym_end] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5110),
    [anon_sym_EQ_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [anon_sym_LT_LT] = ACTIONS(5110),
    [anon_sym_LT_LT_DASH] = ACTIONS(5108),
    [anon_sym_LT_LT_LT] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [1865] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5112),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1866] = {
    [sym__simple_heredoc_body] = ACTIONS(5114),
    [sym__heredoc_body_beginning] = ACTIONS(5114),
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [ts_builtin_sym_end] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5116),
    [anon_sym_EQ_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [anon_sym_LT_LT] = ACTIONS(5116),
    [anon_sym_LT_LT_DASH] = ACTIONS(5114),
    [anon_sym_LT_LT_LT] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [1867] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5118),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1868] = {
    [sym__simple_heredoc_body] = ACTIONS(5120),
    [sym__heredoc_body_beginning] = ACTIONS(5120),
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [ts_builtin_sym_end] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5122),
    [anon_sym_EQ_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [anon_sym_LT_LT] = ACTIONS(5122),
    [anon_sym_LT_LT_DASH] = ACTIONS(5120),
    [anon_sym_LT_LT_LT] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [1869] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5124),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1870] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_RBRACE] = ACTIONS(3028),
    [anon_sym_EQ] = ACTIONS(3030),
    [sym__special_characters] = ACTIONS(3030),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_POUND] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_COLON] = ACTIONS(3030),
    [anon_sym_COLON_QMARK] = ACTIONS(3030),
    [anon_sym_COLON_DASH] = ACTIONS(3030),
    [anon_sym_PERCENT] = ACTIONS(3030),
    [anon_sym_DASH] = ACTIONS(3030),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3030),
  },
  [1871] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_RBRACE] = ACTIONS(3042),
    [anon_sym_EQ] = ACTIONS(3044),
    [sym__special_characters] = ACTIONS(3044),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_POUND] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_COLON] = ACTIONS(3044),
    [anon_sym_COLON_QMARK] = ACTIONS(3044),
    [anon_sym_COLON_DASH] = ACTIONS(3044),
    [anon_sym_PERCENT] = ACTIONS(3044),
    [anon_sym_DASH] = ACTIONS(3044),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3044),
  },
  [1872] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5126),
    [sym_comment] = ACTIONS(53),
  },
  [1873] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5128),
    [sym_comment] = ACTIONS(53),
  },
  [1874] = {
    [anon_sym_RBRACE] = ACTIONS(5128),
    [sym_comment] = ACTIONS(53),
  },
  [1875] = {
    [sym_concatenation] = STATE(2244),
    [sym_string] = STATE(2243),
    [sym_simple_expansion] = STATE(2243),
    [sym_string_expansion] = STATE(2243),
    [sym_expansion] = STATE(2243),
    [sym_command_substitution] = STATE(2243),
    [sym_process_substitution] = STATE(2243),
    [anon_sym_RBRACE] = ACTIONS(5128),
    [sym__special_characters] = ACTIONS(5130),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5132),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5132),
  },
  [1876] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_RBRACE] = ACTIONS(3078),
    [anon_sym_EQ] = ACTIONS(3080),
    [sym__special_characters] = ACTIONS(3080),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_POUND] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_COLON] = ACTIONS(3080),
    [anon_sym_COLON_QMARK] = ACTIONS(3080),
    [anon_sym_COLON_DASH] = ACTIONS(3080),
    [anon_sym_PERCENT] = ACTIONS(3080),
    [anon_sym_DASH] = ACTIONS(3080),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3080),
  },
  [1877] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5134),
  },
  [1878] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5136),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1879] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_RBRACE] = ACTIONS(3086),
    [anon_sym_EQ] = ACTIONS(3088),
    [sym__special_characters] = ACTIONS(3088),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_POUND] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_COLON] = ACTIONS(3088),
    [anon_sym_COLON_QMARK] = ACTIONS(3088),
    [anon_sym_COLON_DASH] = ACTIONS(3088),
    [anon_sym_PERCENT] = ACTIONS(3088),
    [anon_sym_DASH] = ACTIONS(3088),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3088),
  },
  [1880] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5138),
  },
  [1881] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5140),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1882] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5142),
  },
  [1883] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5128),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1884] = {
    [sym_concatenation] = STATE(2251),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2251),
    [anon_sym_RBRACE] = ACTIONS(5144),
    [anon_sym_EQ] = ACTIONS(5146),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5148),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5146),
    [anon_sym_COLON_QMARK] = ACTIONS(5146),
    [anon_sym_COLON_DASH] = ACTIONS(5146),
    [anon_sym_PERCENT] = ACTIONS(5146),
    [anon_sym_DASH] = ACTIONS(5146),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1885] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RBRACE] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [sym__special_characters] = ACTIONS(3160),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_POUND] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_COLON] = ACTIONS(3160),
    [anon_sym_COLON_QMARK] = ACTIONS(3160),
    [anon_sym_COLON_DASH] = ACTIONS(3160),
    [anon_sym_PERCENT] = ACTIONS(3160),
    [anon_sym_DASH] = ACTIONS(3160),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3160),
  },
  [1886] = {
    [sym_concatenation] = STATE(2253),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2253),
    [anon_sym_RBRACE] = ACTIONS(5150),
    [anon_sym_EQ] = ACTIONS(5152),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5154),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5152),
    [anon_sym_COLON_QMARK] = ACTIONS(5152),
    [anon_sym_COLON_DASH] = ACTIONS(5152),
    [anon_sym_PERCENT] = ACTIONS(5152),
    [anon_sym_DASH] = ACTIONS(5152),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1887] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_RBRACE] = ACTIONS(3203),
    [anon_sym_EQ] = ACTIONS(3205),
    [sym__special_characters] = ACTIONS(3205),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_POUND] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_COLON] = ACTIONS(3205),
    [anon_sym_COLON_QMARK] = ACTIONS(3205),
    [anon_sym_COLON_DASH] = ACTIONS(3205),
    [anon_sym_PERCENT] = ACTIONS(3205),
    [anon_sym_DASH] = ACTIONS(3205),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3205),
  },
  [1888] = {
    [sym_concatenation] = STATE(2255),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2255),
    [anon_sym_RBRACE] = ACTIONS(5156),
    [anon_sym_EQ] = ACTIONS(5158),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5160),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5158),
    [anon_sym_COLON_QMARK] = ACTIONS(5158),
    [anon_sym_COLON_DASH] = ACTIONS(5158),
    [anon_sym_PERCENT] = ACTIONS(5158),
    [anon_sym_DASH] = ACTIONS(5158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1889] = {
    [sym__simple_heredoc_body] = ACTIONS(5162),
    [sym__heredoc_body_beginning] = ACTIONS(5162),
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [ts_builtin_sym_end] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5164),
    [anon_sym_EQ_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [anon_sym_LT_LT] = ACTIONS(5164),
    [anon_sym_LT_LT_DASH] = ACTIONS(5162),
    [anon_sym_LT_LT_LT] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [1890] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_RBRACE] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [sym__special_characters] = ACTIONS(3215),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_POUND] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_COLON] = ACTIONS(3215),
    [anon_sym_COLON_QMARK] = ACTIONS(3215),
    [anon_sym_COLON_DASH] = ACTIONS(3215),
    [anon_sym_PERCENT] = ACTIONS(3215),
    [anon_sym_DASH] = ACTIONS(3215),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3215),
  },
  [1891] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5166),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1892] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5166),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1893] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_RBRACE] = ACTIONS(3251),
    [anon_sym_EQ] = ACTIONS(3253),
    [sym__special_characters] = ACTIONS(3253),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_POUND] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_COLON] = ACTIONS(3253),
    [anon_sym_COLON_QMARK] = ACTIONS(3253),
    [anon_sym_COLON_DASH] = ACTIONS(3253),
    [anon_sym_PERCENT] = ACTIONS(3253),
    [anon_sym_DASH] = ACTIONS(3253),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(3253),
  },
  [1894] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5168),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1895] = {
    [sym__simple_heredoc_body] = ACTIONS(5170),
    [sym__heredoc_body_beginning] = ACTIONS(5170),
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [ts_builtin_sym_end] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5172),
    [anon_sym_EQ_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [anon_sym_LT_LT] = ACTIONS(5172),
    [anon_sym_LT_LT_DASH] = ACTIONS(5170),
    [anon_sym_LT_LT_LT] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [1896] = {
    [sym__simple_heredoc_body] = ACTIONS(5174),
    [sym__heredoc_body_beginning] = ACTIONS(5174),
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [ts_builtin_sym_end] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5176),
    [anon_sym_EQ_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [anon_sym_LT_LT] = ACTIONS(5176),
    [anon_sym_LT_LT_DASH] = ACTIONS(5174),
    [anon_sym_LT_LT_LT] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [1897] = {
    [sym_file_redirect] = STATE(1678),
    [sym_file_descriptor] = ACTIONS(3221),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_LT] = ACTIONS(3223),
    [anon_sym_GT] = ACTIONS(3223),
    [anon_sym_GT_GT] = ACTIONS(3225),
    [anon_sym_AMP_GT] = ACTIONS(3223),
    [anon_sym_AMP_GT_GT] = ACTIONS(3225),
    [anon_sym_LT_AMP] = ACTIONS(3225),
    [anon_sym_GT_AMP] = ACTIONS(3225),
    [anon_sym_BQUOTE] = ACTIONS(3758),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [1898] = {
    [sym_concatenation] = STATE(1681),
    [sym_string] = STATE(2259),
    [sym_simple_expansion] = STATE(2259),
    [sym_string_expansion] = STATE(2259),
    [sym_expansion] = STATE(2259),
    [sym_command_substitution] = STATE(2259),
    [sym_process_substitution] = STATE(2259),
    [sym__special_characters] = ACTIONS(5178),
    [anon_sym_DQUOTE] = ACTIONS(213),
    [anon_sym_DOLLAR] = ACTIONS(215),
    [sym_raw_string] = ACTIONS(5180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(219),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(221),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(225),
    [anon_sym_GT_LPAREN] = ACTIONS(225),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5180),
  },
  [1899] = {
    [aux_sym_concatenation_repeat1] = STATE(2260),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_BQUOTE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1900] = {
    [aux_sym_concatenation_repeat1] = STATE(2260),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1901] = {
    [sym_concatenation] = STATE(1716),
    [sym_string] = STATE(2262),
    [sym_simple_expansion] = STATE(2262),
    [sym_string_expansion] = STATE(2262),
    [sym_expansion] = STATE(2262),
    [sym_command_substitution] = STATE(2262),
    [sym_process_substitution] = STATE(2262),
    [sym__special_characters] = ACTIONS(5182),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(5184),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5184),
  },
  [1902] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [anon_sym_BQUOTE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [1903] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [anon_sym_BQUOTE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [1904] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [anon_sym_BQUOTE] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [1905] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [anon_sym_BQUOTE] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [1906] = {
    [sym_file_redirect] = STATE(1906),
    [sym_heredoc_redirect] = STATE(1906),
    [sym_herestring_redirect] = STATE(1906),
    [aux_sym_while_statement_repeat1] = STATE(1906),
    [sym_file_descriptor] = ACTIONS(5186),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(5189),
    [anon_sym_GT] = ACTIONS(5189),
    [anon_sym_GT_GT] = ACTIONS(5192),
    [anon_sym_AMP_GT] = ACTIONS(5189),
    [anon_sym_AMP_GT_GT] = ACTIONS(5192),
    [anon_sym_LT_AMP] = ACTIONS(5192),
    [anon_sym_GT_AMP] = ACTIONS(5192),
    [anon_sym_LT_LT] = ACTIONS(3875),
    [anon_sym_LT_LT_DASH] = ACTIONS(3878),
    [anon_sym_LT_LT_LT] = ACTIONS(5195),
    [anon_sym_BQUOTE] = ACTIONS(2046),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [1907] = {
    [aux_sym_concatenation_repeat1] = STATE(1907),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1766),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [1908] = {
    [sym__heredoc_body_middle] = ACTIONS(3042),
    [sym__heredoc_body_end] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
  },
  [1909] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5198),
    [sym_comment] = ACTIONS(53),
  },
  [1910] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5200),
    [sym_comment] = ACTIONS(53),
  },
  [1911] = {
    [anon_sym_RBRACE] = ACTIONS(5200),
    [sym_comment] = ACTIONS(53),
  },
  [1912] = {
    [sym_concatenation] = STATE(2268),
    [sym_string] = STATE(2267),
    [sym_simple_expansion] = STATE(2267),
    [sym_string_expansion] = STATE(2267),
    [sym_expansion] = STATE(2267),
    [sym_command_substitution] = STATE(2267),
    [sym_process_substitution] = STATE(2267),
    [anon_sym_RBRACE] = ACTIONS(5200),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5204),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5204),
  },
  [1913] = {
    [sym__heredoc_body_middle] = ACTIONS(3078),
    [sym__heredoc_body_end] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
  },
  [1914] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5206),
  },
  [1915] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5208),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1916] = {
    [sym__heredoc_body_middle] = ACTIONS(3086),
    [sym__heredoc_body_end] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
  },
  [1917] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5210),
  },
  [1918] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5212),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1919] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5214),
  },
  [1920] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5200),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1921] = {
    [sym_concatenation] = STATE(2275),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2275),
    [anon_sym_RBRACE] = ACTIONS(5216),
    [anon_sym_EQ] = ACTIONS(5218),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5220),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5218),
    [anon_sym_COLON_QMARK] = ACTIONS(5218),
    [anon_sym_COLON_DASH] = ACTIONS(5218),
    [anon_sym_PERCENT] = ACTIONS(5218),
    [anon_sym_DASH] = ACTIONS(5218),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1922] = {
    [sym__heredoc_body_middle] = ACTIONS(3158),
    [sym__heredoc_body_end] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
  },
  [1923] = {
    [sym_concatenation] = STATE(2277),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2277),
    [anon_sym_RBRACE] = ACTIONS(5222),
    [anon_sym_EQ] = ACTIONS(5224),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5226),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5224),
    [anon_sym_COLON_QMARK] = ACTIONS(5224),
    [anon_sym_COLON_DASH] = ACTIONS(5224),
    [anon_sym_PERCENT] = ACTIONS(5224),
    [anon_sym_DASH] = ACTIONS(5224),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1924] = {
    [sym__heredoc_body_middle] = ACTIONS(3203),
    [sym__heredoc_body_end] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
  },
  [1925] = {
    [sym_concatenation] = STATE(2279),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2279),
    [anon_sym_RBRACE] = ACTIONS(5228),
    [anon_sym_EQ] = ACTIONS(5230),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5232),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5230),
    [anon_sym_COLON_QMARK] = ACTIONS(5230),
    [anon_sym_COLON_DASH] = ACTIONS(5230),
    [anon_sym_PERCENT] = ACTIONS(5230),
    [anon_sym_DASH] = ACTIONS(5230),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1926] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3028),
  },
  [1927] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3042),
  },
  [1928] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5234),
    [sym_comment] = ACTIONS(53),
  },
  [1929] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5236),
    [sym_comment] = ACTIONS(53),
  },
  [1930] = {
    [anon_sym_RBRACE] = ACTIONS(5236),
    [sym_comment] = ACTIONS(53),
  },
  [1931] = {
    [sym_concatenation] = STATE(2284),
    [sym_string] = STATE(2283),
    [sym_simple_expansion] = STATE(2283),
    [sym_string_expansion] = STATE(2283),
    [sym_expansion] = STATE(2283),
    [sym_command_substitution] = STATE(2283),
    [sym_process_substitution] = STATE(2283),
    [anon_sym_RBRACE] = ACTIONS(5236),
    [sym__special_characters] = ACTIONS(5238),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5240),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5240),
  },
  [1932] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3078),
  },
  [1933] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5242),
  },
  [1934] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5244),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1935] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3086),
  },
  [1936] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5246),
  },
  [1937] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5248),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1938] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5250),
  },
  [1939] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5236),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1940] = {
    [sym_concatenation] = STATE(2291),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2291),
    [anon_sym_RBRACE] = ACTIONS(5252),
    [anon_sym_EQ] = ACTIONS(5254),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5256),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5254),
    [anon_sym_COLON_QMARK] = ACTIONS(5254),
    [anon_sym_COLON_DASH] = ACTIONS(5254),
    [anon_sym_PERCENT] = ACTIONS(5254),
    [anon_sym_DASH] = ACTIONS(5254),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1941] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3158),
  },
  [1942] = {
    [sym_concatenation] = STATE(2293),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2293),
    [anon_sym_RBRACE] = ACTIONS(5258),
    [anon_sym_EQ] = ACTIONS(5260),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5262),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5260),
    [anon_sym_COLON_QMARK] = ACTIONS(5260),
    [anon_sym_COLON_DASH] = ACTIONS(5260),
    [anon_sym_PERCENT] = ACTIONS(5260),
    [anon_sym_DASH] = ACTIONS(5260),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1943] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3203),
  },
  [1944] = {
    [sym_concatenation] = STATE(2295),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2295),
    [anon_sym_RBRACE] = ACTIONS(5264),
    [anon_sym_EQ] = ACTIONS(5266),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5268),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5266),
    [anon_sym_COLON_QMARK] = ACTIONS(5266),
    [anon_sym_COLON_DASH] = ACTIONS(5266),
    [anon_sym_PERCENT] = ACTIONS(5266),
    [anon_sym_DASH] = ACTIONS(5266),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1945] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3213),
  },
  [1946] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5270),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1947] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5270),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1948] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3251),
  },
  [1949] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5272),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1950] = {
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [sym_variable_name] = ACTIONS(4098),
    [ts_builtin_sym_end] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [1951] = {
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [sym_variable_name] = ACTIONS(4106),
    [ts_builtin_sym_end] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [1952] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5274),
    [sym_comment] = ACTIONS(53),
  },
  [1953] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5276),
    [sym_comment] = ACTIONS(53),
  },
  [1954] = {
    [anon_sym_RBRACE] = ACTIONS(5276),
    [sym_comment] = ACTIONS(53),
  },
  [1955] = {
    [sym_concatenation] = STATE(2301),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2301),
    [anon_sym_RBRACE] = ACTIONS(5278),
    [anon_sym_EQ] = ACTIONS(5280),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5282),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5280),
    [anon_sym_COLON_QMARK] = ACTIONS(5280),
    [anon_sym_COLON_DASH] = ACTIONS(5280),
    [anon_sym_PERCENT] = ACTIONS(5280),
    [anon_sym_DASH] = ACTIONS(5280),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1956] = {
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [sym_variable_name] = ACTIONS(4170),
    [ts_builtin_sym_end] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1957] = {
    [sym_concatenation] = STATE(2303),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2303),
    [anon_sym_RBRACE] = ACTIONS(5284),
    [anon_sym_EQ] = ACTIONS(5286),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5288),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5286),
    [anon_sym_COLON_QMARK] = ACTIONS(5286),
    [anon_sym_COLON_DASH] = ACTIONS(5286),
    [anon_sym_PERCENT] = ACTIONS(5286),
    [anon_sym_DASH] = ACTIONS(5286),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1958] = {
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [sym_variable_name] = ACTIONS(4180),
    [ts_builtin_sym_end] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1959] = {
    [sym_concatenation] = STATE(2305),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2305),
    [anon_sym_RBRACE] = ACTIONS(5290),
    [anon_sym_EQ] = ACTIONS(5292),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5294),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5292),
    [anon_sym_COLON_QMARK] = ACTIONS(5292),
    [anon_sym_COLON_DASH] = ACTIONS(5292),
    [anon_sym_PERCENT] = ACTIONS(5292),
    [anon_sym_DASH] = ACTIONS(5292),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1960] = {
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [sym_variable_name] = ACTIONS(4235),
    [ts_builtin_sym_end] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [1961] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5296),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1962] = {
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [sym_variable_name] = ACTIONS(4257),
    [ts_builtin_sym_end] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [1963] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5298),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1964] = {
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [sym_variable_name] = ACTIONS(4263),
    [ts_builtin_sym_end] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [1965] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5300),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1966] = {
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [sym_variable_name] = ACTIONS(4269),
    [ts_builtin_sym_end] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [1967] = {
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [sym_variable_name] = ACTIONS(4293),
    [ts_builtin_sym_end] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [1968] = {
    [ts_builtin_sym_end] = ACTIONS(2528),
    [anon_sym_esac] = ACTIONS(2528),
    [anon_sym_PIPE] = ACTIONS(2530),
    [anon_sym_RPAREN] = ACTIONS(2528),
    [anon_sym_SEMI_SEMI] = ACTIONS(2528),
    [anon_sym_PIPE_AMP] = ACTIONS(2528),
    [anon_sym_AMP_AMP] = ACTIONS(2528),
    [anon_sym_PIPE_PIPE] = ACTIONS(2528),
    [anon_sym_BQUOTE] = ACTIONS(2528),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2530),
    [anon_sym_LF] = ACTIONS(2528),
    [anon_sym_AMP] = ACTIONS(2530),
  },
  [1969] = {
    [sym__terminated_statement] = STATE(1199),
    [sym_for_statement] = STATE(689),
    [sym_c_style_for_statement] = STATE(689),
    [sym_while_statement] = STATE(689),
    [sym_if_statement] = STATE(689),
    [sym_case_statement] = STATE(689),
    [sym_function_definition] = STATE(689),
    [sym_subshell] = STATE(689),
    [sym_pipeline] = STATE(689),
    [sym_list] = STATE(689),
    [sym_negated_command] = STATE(689),
    [sym_test_command] = STATE(689),
    [sym_declaration_command] = STATE(689),
    [sym_unset_command] = STATE(689),
    [sym_command] = STATE(689),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(690),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1199),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_RBRACE] = ACTIONS(5302),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [1970] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2627),
    [anon_sym_AMP_AMP] = ACTIONS(2627),
    [anon_sym_PIPE_PIPE] = ACTIONS(2627),
    [anon_sym_EQ_TILDE] = ACTIONS(2627),
    [anon_sym_EQ_EQ] = ACTIONS(2627),
    [anon_sym_EQ] = ACTIONS(2629),
    [anon_sym_LT] = ACTIONS(2627),
    [anon_sym_GT] = ACTIONS(2627),
    [anon_sym_BANG_EQ] = ACTIONS(2627),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2627),
  },
  [1971] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [1972] = {
    [aux_sym_concatenation_repeat1] = STATE(1972),
    [sym__concat] = ACTIONS(5304),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1762),
    [anon_sym_EQ_EQ] = ACTIONS(1762),
    [anon_sym_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1762),
    [anon_sym_GT] = ACTIONS(1762),
    [anon_sym_BANG_EQ] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1762),
  },
  [1973] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1769),
    [anon_sym_EQ_EQ] = ACTIONS(1769),
    [anon_sym_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1769),
    [anon_sym_GT] = ACTIONS(1769),
    [anon_sym_BANG_EQ] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1769),
  },
  [1974] = {
    [anon_sym_DQUOTE] = ACTIONS(5307),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [1975] = {
    [sym_concatenation] = STATE(2314),
    [sym_string] = STATE(2313),
    [sym_simple_expansion] = STATE(2313),
    [sym_string_expansion] = STATE(2313),
    [sym_expansion] = STATE(2313),
    [sym_command_substitution] = STATE(2313),
    [sym_process_substitution] = STATE(2313),
    [anon_sym_RBRACE] = ACTIONS(5309),
    [sym__special_characters] = ACTIONS(5311),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5313),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5313),
  },
  [1976] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(5315),
    [sym_comment] = ACTIONS(53),
  },
  [1977] = {
    [sym_concatenation] = STATE(2318),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2318),
    [anon_sym_RBRACE] = ACTIONS(5317),
    [anon_sym_EQ] = ACTIONS(5319),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5321),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5323),
    [anon_sym_COLON] = ACTIONS(5319),
    [anon_sym_COLON_QMARK] = ACTIONS(5319),
    [anon_sym_COLON_DASH] = ACTIONS(5319),
    [anon_sym_PERCENT] = ACTIONS(5319),
    [anon_sym_DASH] = ACTIONS(5319),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1978] = {
    [sym_concatenation] = STATE(2321),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2321),
    [anon_sym_RBRACE] = ACTIONS(5325),
    [anon_sym_EQ] = ACTIONS(5327),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5329),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5331),
    [anon_sym_COLON] = ACTIONS(5327),
    [anon_sym_COLON_QMARK] = ACTIONS(5327),
    [anon_sym_COLON_DASH] = ACTIONS(5327),
    [anon_sym_PERCENT] = ACTIONS(5327),
    [anon_sym_DASH] = ACTIONS(5327),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1979] = {
    [sym_concatenation] = STATE(2323),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2323),
    [anon_sym_RBRACE] = ACTIONS(5309),
    [anon_sym_EQ] = ACTIONS(5333),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5335),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5337),
    [anon_sym_COLON] = ACTIONS(5333),
    [anon_sym_COLON_QMARK] = ACTIONS(5333),
    [anon_sym_COLON_DASH] = ACTIONS(5333),
    [anon_sym_PERCENT] = ACTIONS(5333),
    [anon_sym_DASH] = ACTIONS(5333),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1980] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1886),
    [anon_sym_EQ_EQ] = ACTIONS(1886),
    [anon_sym_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1886),
    [anon_sym_GT] = ACTIONS(1886),
    [anon_sym_BANG_EQ] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1886),
  },
  [1981] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5339),
  },
  [1982] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5341),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1983] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1930),
    [anon_sym_EQ_EQ] = ACTIONS(1930),
    [anon_sym_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1930),
    [anon_sym_GT] = ACTIONS(1930),
    [anon_sym_BANG_EQ] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1930),
  },
  [1984] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5343),
  },
  [1985] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5345),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1986] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1938),
    [anon_sym_EQ_EQ] = ACTIONS(1938),
    [anon_sym_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1938),
    [anon_sym_GT] = ACTIONS(1938),
    [anon_sym_BANG_EQ] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1938),
  },
  [1987] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5347),
  },
  [1988] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5309),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [1989] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1944),
    [anon_sym_EQ_EQ] = ACTIONS(1944),
    [anon_sym_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1944),
    [anon_sym_GT] = ACTIONS(1944),
    [anon_sym_BANG_EQ] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1944),
  },
  [1990] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5349),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1991] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5349),
    [anon_sym_SEMI_SEMI] = ACTIONS(5351),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5353),
    [anon_sym_LF] = ACTIONS(5351),
    [anon_sym_AMP] = ACTIONS(5353),
  },
  [1992] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5349),
    [anon_sym_SEMI_SEMI] = ACTIONS(5351),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5353),
    [anon_sym_LF] = ACTIONS(5351),
    [anon_sym_AMP] = ACTIONS(5353),
  },
  [1993] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5349),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1994] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5355),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(5349),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5357),
    [anon_sym_LF] = ACTIONS(5355),
    [anon_sym_AMP] = ACTIONS(5357),
  },
  [1995] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5355),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(5349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5357),
    [anon_sym_LF] = ACTIONS(5355),
    [anon_sym_AMP] = ACTIONS(5357),
  },
  [1996] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1976),
    [anon_sym_EQ_EQ] = ACTIONS(1976),
    [anon_sym_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1976),
    [anon_sym_GT] = ACTIONS(1976),
    [anon_sym_BANG_EQ] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(1976),
  },
  [1997] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5359),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [1998] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5359),
    [anon_sym_SEMI_SEMI] = ACTIONS(5361),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5363),
    [anon_sym_LF] = ACTIONS(5361),
    [anon_sym_AMP] = ACTIONS(5363),
  },
  [1999] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5359),
    [anon_sym_SEMI_SEMI] = ACTIONS(5361),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5363),
    [anon_sym_LF] = ACTIONS(5361),
    [anon_sym_AMP] = ACTIONS(5363),
  },
  [2000] = {
    [ts_builtin_sym_end] = ACTIONS(5365),
    [anon_sym_esac] = ACTIONS(5365),
    [anon_sym_PIPE] = ACTIONS(5367),
    [anon_sym_RPAREN] = ACTIONS(5365),
    [anon_sym_SEMI_SEMI] = ACTIONS(5365),
    [anon_sym_PIPE_AMP] = ACTIONS(5365),
    [anon_sym_AMP_AMP] = ACTIONS(5365),
    [anon_sym_PIPE_PIPE] = ACTIONS(5365),
    [anon_sym_BQUOTE] = ACTIONS(5365),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5367),
    [anon_sym_LF] = ACTIONS(5365),
    [anon_sym_AMP] = ACTIONS(5367),
  },
  [2001] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [2002] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2694),
    [anon_sym_AMP_AMP] = ACTIONS(2694),
    [anon_sym_PIPE_PIPE] = ACTIONS(2694),
    [anon_sym_EQ_TILDE] = ACTIONS(2694),
    [anon_sym_EQ_EQ] = ACTIONS(2694),
    [anon_sym_EQ] = ACTIONS(2696),
    [anon_sym_LT] = ACTIONS(2694),
    [anon_sym_GT] = ACTIONS(2694),
    [anon_sym_BANG_EQ] = ACTIONS(2694),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(2694),
  },
  [2003] = {
    [sym_do_group] = STATE(2334),
    [sym_compound_statement] = STATE(2334),
    [anon_sym_do] = ACTIONS(1173),
    [anon_sym_LBRACE] = ACTIONS(3465),
    [sym_comment] = ACTIONS(53),
  },
  [2004] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4098),
    [anon_sym_EQ_EQ] = ACTIONS(4098),
    [anon_sym_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4098),
    [anon_sym_GT] = ACTIONS(4098),
    [anon_sym_BANG_EQ] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4098),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [2005] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4106),
    [anon_sym_EQ_EQ] = ACTIONS(4106),
    [anon_sym_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4106),
    [anon_sym_GT] = ACTIONS(4106),
    [anon_sym_BANG_EQ] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4106),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [2006] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5369),
    [sym_comment] = ACTIONS(53),
  },
  [2007] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5371),
    [sym_comment] = ACTIONS(53),
  },
  [2008] = {
    [anon_sym_RBRACE] = ACTIONS(5371),
    [sym_comment] = ACTIONS(53),
  },
  [2009] = {
    [sym_concatenation] = STATE(2338),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2338),
    [anon_sym_RBRACE] = ACTIONS(5373),
    [anon_sym_EQ] = ACTIONS(5375),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5377),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5375),
    [anon_sym_COLON_QMARK] = ACTIONS(5375),
    [anon_sym_COLON_DASH] = ACTIONS(5375),
    [anon_sym_PERCENT] = ACTIONS(5375),
    [anon_sym_DASH] = ACTIONS(5375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2010] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4170),
    [anon_sym_EQ_EQ] = ACTIONS(4170),
    [anon_sym_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4170),
    [anon_sym_GT] = ACTIONS(4170),
    [anon_sym_BANG_EQ] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4170),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [2011] = {
    [sym_concatenation] = STATE(2340),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2340),
    [anon_sym_RBRACE] = ACTIONS(5379),
    [anon_sym_EQ] = ACTIONS(5381),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5383),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5381),
    [anon_sym_COLON_QMARK] = ACTIONS(5381),
    [anon_sym_COLON_DASH] = ACTIONS(5381),
    [anon_sym_PERCENT] = ACTIONS(5381),
    [anon_sym_DASH] = ACTIONS(5381),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2012] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4180),
    [anon_sym_EQ_EQ] = ACTIONS(4180),
    [anon_sym_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4180),
    [anon_sym_GT] = ACTIONS(4180),
    [anon_sym_BANG_EQ] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4180),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [2013] = {
    [sym_concatenation] = STATE(2342),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2342),
    [anon_sym_RBRACE] = ACTIONS(5385),
    [anon_sym_EQ] = ACTIONS(5387),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5389),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5387),
    [anon_sym_COLON_QMARK] = ACTIONS(5387),
    [anon_sym_COLON_DASH] = ACTIONS(5387),
    [anon_sym_PERCENT] = ACTIONS(5387),
    [anon_sym_DASH] = ACTIONS(5387),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2014] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4235),
    [anon_sym_EQ_EQ] = ACTIONS(4235),
    [anon_sym_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4235),
    [anon_sym_GT] = ACTIONS(4235),
    [anon_sym_BANG_EQ] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4235),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [2015] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5391),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2016] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4257),
    [anon_sym_EQ_EQ] = ACTIONS(4257),
    [anon_sym_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4257),
    [anon_sym_GT] = ACTIONS(4257),
    [anon_sym_BANG_EQ] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4257),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [2017] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5393),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2018] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4263),
    [anon_sym_EQ_EQ] = ACTIONS(4263),
    [anon_sym_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4263),
    [anon_sym_GT] = ACTIONS(4263),
    [anon_sym_BANG_EQ] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4263),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [2019] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5395),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2020] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4269),
    [anon_sym_EQ_EQ] = ACTIONS(4269),
    [anon_sym_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4269),
    [anon_sym_GT] = ACTIONS(4269),
    [anon_sym_BANG_EQ] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4269),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [2021] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4293),
    [anon_sym_EQ_EQ] = ACTIONS(4293),
    [anon_sym_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4293),
    [anon_sym_GT] = ACTIONS(4293),
    [anon_sym_BANG_EQ] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4293),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [2022] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5397),
    [anon_sym_AMP_AMP] = ACTIONS(3493),
    [anon_sym_PIPE_PIPE] = ACTIONS(3493),
    [anon_sym_EQ_TILDE] = ACTIONS(3495),
    [anon_sym_EQ_EQ] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3497),
    [anon_sym_LT] = ACTIONS(3493),
    [anon_sym_GT] = ACTIONS(3493),
    [anon_sym_BANG_EQ] = ACTIONS(3493),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3493),
  },
  [2023] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3028),
  },
  [2024] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3042),
  },
  [2025] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5399),
    [sym_comment] = ACTIONS(53),
  },
  [2026] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5401),
    [sym_comment] = ACTIONS(53),
  },
  [2027] = {
    [anon_sym_RBRACE] = ACTIONS(5401),
    [sym_comment] = ACTIONS(53),
  },
  [2028] = {
    [sym_concatenation] = STATE(2351),
    [sym_string] = STATE(2350),
    [sym_simple_expansion] = STATE(2350),
    [sym_string_expansion] = STATE(2350),
    [sym_expansion] = STATE(2350),
    [sym_command_substitution] = STATE(2350),
    [sym_process_substitution] = STATE(2350),
    [anon_sym_RBRACE] = ACTIONS(5401),
    [sym__special_characters] = ACTIONS(5403),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5405),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5405),
  },
  [2029] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3078),
  },
  [2030] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5407),
  },
  [2031] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5409),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2032] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3086),
  },
  [2033] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5411),
  },
  [2034] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5413),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2035] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5415),
  },
  [2036] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5401),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2037] = {
    [sym_concatenation] = STATE(2358),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2358),
    [anon_sym_RBRACE] = ACTIONS(5417),
    [anon_sym_EQ] = ACTIONS(5419),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5421),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5419),
    [anon_sym_COLON_QMARK] = ACTIONS(5419),
    [anon_sym_COLON_DASH] = ACTIONS(5419),
    [anon_sym_PERCENT] = ACTIONS(5419),
    [anon_sym_DASH] = ACTIONS(5419),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2038] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3158),
  },
  [2039] = {
    [sym_concatenation] = STATE(2360),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2360),
    [anon_sym_RBRACE] = ACTIONS(5423),
    [anon_sym_EQ] = ACTIONS(5425),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5427),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5425),
    [anon_sym_COLON_QMARK] = ACTIONS(5425),
    [anon_sym_COLON_DASH] = ACTIONS(5425),
    [anon_sym_PERCENT] = ACTIONS(5425),
    [anon_sym_DASH] = ACTIONS(5425),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2040] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3203),
  },
  [2041] = {
    [sym_concatenation] = STATE(2362),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2362),
    [anon_sym_RBRACE] = ACTIONS(5429),
    [anon_sym_EQ] = ACTIONS(5431),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5433),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5431),
    [anon_sym_COLON_QMARK] = ACTIONS(5431),
    [anon_sym_COLON_DASH] = ACTIONS(5431),
    [anon_sym_PERCENT] = ACTIONS(5431),
    [anon_sym_DASH] = ACTIONS(5431),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2042] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3213),
  },
  [2043] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5435),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2044] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5435),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2045] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3251),
  },
  [2046] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5437),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2047] = {
    [aux_sym_concatenation_repeat1] = STATE(2049),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2048] = {
    [aux_sym_concatenation_repeat1] = STATE(2049),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2049] = {
    [aux_sym_concatenation_repeat1] = STATE(2365),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2050] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2051] = {
    [aux_sym_concatenation_repeat1] = STATE(2052),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2052] = {
    [aux_sym_concatenation_repeat1] = STATE(2366),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2053] = {
    [sym__terminated_statement] = STATE(1158),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(1158),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_fi] = ACTIONS(5439),
    [anon_sym_elif] = ACTIONS(5439),
    [anon_sym_else] = ACTIONS(5439),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2054] = {
    [ts_builtin_sym_end] = ACTIONS(5441),
    [anon_sym_esac] = ACTIONS(5441),
    [anon_sym_PIPE] = ACTIONS(5443),
    [anon_sym_RPAREN] = ACTIONS(5441),
    [anon_sym_SEMI_SEMI] = ACTIONS(5441),
    [anon_sym_PIPE_AMP] = ACTIONS(5441),
    [anon_sym_AMP_AMP] = ACTIONS(5441),
    [anon_sym_PIPE_PIPE] = ACTIONS(5441),
    [anon_sym_BQUOTE] = ACTIONS(5441),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5443),
    [anon_sym_LF] = ACTIONS(5441),
    [anon_sym_AMP] = ACTIONS(5443),
  },
  [2055] = {
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(5445),
    [anon_sym_RPAREN] = ACTIONS(5445),
    [sym_comment] = ACTIONS(53),
  },
  [2056] = {
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(5447),
    [anon_sym_RPAREN] = ACTIONS(5447),
    [sym_comment] = ACTIONS(53),
  },
  [2057] = {
    [anon_sym_PIPE] = ACTIONS(5447),
    [anon_sym_RPAREN] = ACTIONS(5447),
    [sym_comment] = ACTIONS(53),
  },
  [2058] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(5449),
    [anon_sym_PLUS_EQ] = ACTIONS(5449),
    [sym_comment] = ACTIONS(53),
  },
  [2059] = {
    [sym__terminated_statement] = STATE(2368),
    [sym_for_statement] = STATE(51),
    [sym_c_style_for_statement] = STATE(51),
    [sym_while_statement] = STATE(51),
    [sym_if_statement] = STATE(51),
    [sym_case_statement] = STATE(51),
    [sym_function_definition] = STATE(51),
    [sym_subshell] = STATE(51),
    [sym_pipeline] = STATE(51),
    [sym_list] = STATE(51),
    [sym_negated_command] = STATE(51),
    [sym_test_command] = STATE(51),
    [sym_declaration_command] = STATE(51),
    [sym_unset_command] = STATE(51),
    [sym_command] = STATE(51),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(53),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2060] = {
    [anon_sym_esac] = ACTIONS(5451),
    [sym__special_characters] = ACTIONS(5453),
    [anon_sym_DQUOTE] = ACTIONS(5453),
    [anon_sym_DOLLAR] = ACTIONS(5455),
    [sym_raw_string] = ACTIONS(5453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5453),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5453),
    [anon_sym_BQUOTE] = ACTIONS(5453),
    [anon_sym_LT_LPAREN] = ACTIONS(5453),
    [anon_sym_GT_LPAREN] = ACTIONS(5453),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5455),
  },
  [2061] = {
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5457),
  },
  [2062] = {
    [sym_subshell] = STATE(85),
    [sym_test_command] = STATE(85),
    [sym_command] = STATE(85),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4691),
  },
  [2063] = {
    [sym__expression] = STATE(2370),
    [sym_binary_expression] = STATE(2370),
    [sym_unary_expression] = STATE(2370),
    [sym_parenthesized_expression] = STATE(2370),
    [sym_concatenation] = STATE(2370),
    [sym_string] = STATE(92),
    [sym_simple_expansion] = STATE(92),
    [sym_string_expansion] = STATE(92),
    [sym_expansion] = STATE(92),
    [sym_command_substitution] = STATE(92),
    [sym_process_substitution] = STATE(92),
    [anon_sym_LPAREN] = ACTIONS(133),
    [anon_sym_BANG] = ACTIONS(135),
    [sym__special_characters] = ACTIONS(137),
    [anon_sym_DQUOTE] = ACTIONS(139),
    [anon_sym_DOLLAR] = ACTIONS(141),
    [sym_raw_string] = ACTIONS(143),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(145),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(147),
    [anon_sym_BQUOTE] = ACTIONS(149),
    [anon_sym_LT_LPAREN] = ACTIONS(151),
    [anon_sym_GT_LPAREN] = ACTIONS(151),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(153),
    [sym_test_operator] = ACTIONS(155),
  },
  [2064] = {
    [sym__expression] = STATE(2371),
    [sym_binary_expression] = STATE(2371),
    [sym_unary_expression] = STATE(2371),
    [sym_parenthesized_expression] = STATE(2371),
    [sym_concatenation] = STATE(2371),
    [sym_string] = STATE(103),
    [sym_simple_expansion] = STATE(103),
    [sym_string_expansion] = STATE(103),
    [sym_expansion] = STATE(103),
    [sym_command_substitution] = STATE(103),
    [sym_process_substitution] = STATE(103),
    [anon_sym_LPAREN] = ACTIONS(157),
    [anon_sym_BANG] = ACTIONS(159),
    [sym__special_characters] = ACTIONS(161),
    [anon_sym_DQUOTE] = ACTIONS(163),
    [anon_sym_DOLLAR] = ACTIONS(165),
    [sym_raw_string] = ACTIONS(167),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(169),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(171),
    [anon_sym_BQUOTE] = ACTIONS(173),
    [anon_sym_LT_LPAREN] = ACTIONS(175),
    [anon_sym_GT_LPAREN] = ACTIONS(175),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(177),
    [sym_test_operator] = ACTIONS(179),
  },
  [2065] = {
    [sym_variable_assignment] = STATE(2383),
    [sym_subscript] = STATE(2382),
    [sym_concatenation] = STATE(2383),
    [sym_string] = STATE(2376),
    [sym_simple_expansion] = STATE(2376),
    [sym_string_expansion] = STATE(2376),
    [sym_expansion] = STATE(2376),
    [sym_command_substitution] = STATE(2376),
    [sym_process_substitution] = STATE(2376),
    [aux_sym_declaration_command_repeat1] = STATE(2383),
    [sym_variable_name] = ACTIONS(5459),
    [anon_sym_esac] = ACTIONS(185),
    [anon_sym_PIPE] = ACTIONS(185),
    [anon_sym_SEMI_SEMI] = ACTIONS(183),
    [anon_sym_PIPE_AMP] = ACTIONS(183),
    [anon_sym_AMP_AMP] = ACTIONS(183),
    [anon_sym_PIPE_PIPE] = ACTIONS(183),
    [sym__special_characters] = ACTIONS(5461),
    [anon_sym_DQUOTE] = ACTIONS(5463),
    [anon_sym_DOLLAR] = ACTIONS(5465),
    [sym_raw_string] = ACTIONS(5467),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5469),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5471),
    [anon_sym_BQUOTE] = ACTIONS(5473),
    [anon_sym_LT_LPAREN] = ACTIONS(5475),
    [anon_sym_GT_LPAREN] = ACTIONS(5475),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5477),
    [sym_word] = ACTIONS(5479),
    [anon_sym_SEMI] = ACTIONS(185),
    [anon_sym_LF] = ACTIONS(183),
    [anon_sym_AMP] = ACTIONS(185),
  },
  [2066] = {
    [sym_concatenation] = STATE(2393),
    [sym_string] = STATE(2387),
    [sym_simple_expansion] = STATE(2387),
    [sym_string_expansion] = STATE(2387),
    [sym_expansion] = STATE(2387),
    [sym_command_substitution] = STATE(2387),
    [sym_process_substitution] = STATE(2387),
    [aux_sym_unset_command_repeat1] = STATE(2393),
    [anon_sym_esac] = ACTIONS(209),
    [anon_sym_PIPE] = ACTIONS(209),
    [anon_sym_SEMI_SEMI] = ACTIONS(207),
    [anon_sym_PIPE_AMP] = ACTIONS(207),
    [anon_sym_AMP_AMP] = ACTIONS(207),
    [anon_sym_PIPE_PIPE] = ACTIONS(207),
    [sym__special_characters] = ACTIONS(5481),
    [anon_sym_DQUOTE] = ACTIONS(5483),
    [anon_sym_DOLLAR] = ACTIONS(5485),
    [sym_raw_string] = ACTIONS(5487),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5489),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5491),
    [anon_sym_BQUOTE] = ACTIONS(5493),
    [anon_sym_LT_LPAREN] = ACTIONS(5495),
    [anon_sym_GT_LPAREN] = ACTIONS(5495),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5497),
    [sym_word] = ACTIONS(5499),
    [anon_sym_SEMI] = ACTIONS(209),
    [anon_sym_LF] = ACTIONS(207),
    [anon_sym_AMP] = ACTIONS(209),
  },
  [2067] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(247),
    [sym__heredoc_body_beginning] = ACTIONS(247),
    [sym_file_descriptor] = ACTIONS(247),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(251),
    [anon_sym_PIPE] = ACTIONS(251),
    [anon_sym_SEMI_SEMI] = ACTIONS(247),
    [anon_sym_PIPE_AMP] = ACTIONS(247),
    [anon_sym_AMP_AMP] = ACTIONS(247),
    [anon_sym_PIPE_PIPE] = ACTIONS(247),
    [anon_sym_EQ_TILDE] = ACTIONS(251),
    [anon_sym_EQ_EQ] = ACTIONS(251),
    [anon_sym_LT] = ACTIONS(251),
    [anon_sym_GT] = ACTIONS(251),
    [anon_sym_GT_GT] = ACTIONS(247),
    [anon_sym_AMP_GT] = ACTIONS(251),
    [anon_sym_AMP_GT_GT] = ACTIONS(247),
    [anon_sym_LT_AMP] = ACTIONS(247),
    [anon_sym_GT_AMP] = ACTIONS(247),
    [anon_sym_LT_LT] = ACTIONS(251),
    [anon_sym_LT_LT_DASH] = ACTIONS(247),
    [anon_sym_LT_LT_LT] = ACTIONS(247),
    [sym__special_characters] = ACTIONS(247),
    [anon_sym_DQUOTE] = ACTIONS(247),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(247),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(247),
    [anon_sym_BQUOTE] = ACTIONS(247),
    [anon_sym_LT_LPAREN] = ACTIONS(247),
    [anon_sym_GT_LPAREN] = ACTIONS(247),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(251),
    [anon_sym_SEMI] = ACTIONS(251),
    [anon_sym_LF] = ACTIONS(247),
    [anon_sym_AMP] = ACTIONS(251),
  },
  [2068] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(2398),
    [anon_sym_DQUOTE] = ACTIONS(5503),
    [anon_sym_DOLLAR] = ACTIONS(5505),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2069] = {
    [sym_string] = STATE(2400),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(5507),
    [sym_raw_string] = ACTIONS(5509),
    [anon_sym_POUND] = ACTIONS(5507),
    [anon_sym_DASH] = ACTIONS(5507),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5511),
    [anon_sym_STAR] = ACTIONS(5507),
    [anon_sym_AT] = ACTIONS(5507),
    [anon_sym_QMARK] = ACTIONS(5507),
    [anon_sym_0] = ACTIONS(5513),
    [anon_sym__] = ACTIONS(5513),
  },
  [2070] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(277),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [2071] = {
    [sym_subscript] = STATE(2406),
    [sym_variable_name] = ACTIONS(5515),
    [anon_sym_BANG] = ACTIONS(5517),
    [anon_sym_DOLLAR] = ACTIONS(5519),
    [anon_sym_POUND] = ACTIONS(5517),
    [anon_sym_DASH] = ACTIONS(5519),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5521),
    [anon_sym_STAR] = ACTIONS(5519),
    [anon_sym_AT] = ACTIONS(5519),
    [anon_sym_QMARK] = ACTIONS(5519),
    [anon_sym_0] = ACTIONS(5523),
    [anon_sym__] = ACTIONS(5523),
  },
  [2072] = {
    [sym__terminated_statement] = STATE(2409),
    [sym_for_statement] = STATE(2407),
    [sym_c_style_for_statement] = STATE(2407),
    [sym_while_statement] = STATE(2407),
    [sym_if_statement] = STATE(2407),
    [sym_case_statement] = STATE(2407),
    [sym_function_definition] = STATE(2407),
    [sym_subshell] = STATE(2407),
    [sym_pipeline] = STATE(2407),
    [sym_list] = STATE(2407),
    [sym_negated_command] = STATE(2407),
    [sym_test_command] = STATE(2407),
    [sym_declaration_command] = STATE(2407),
    [sym_unset_command] = STATE(2407),
    [sym_command] = STATE(2407),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2408),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2409),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2073] = {
    [sym__terminated_statement] = STATE(2412),
    [sym_for_statement] = STATE(2410),
    [sym_c_style_for_statement] = STATE(2410),
    [sym_while_statement] = STATE(2410),
    [sym_if_statement] = STATE(2410),
    [sym_case_statement] = STATE(2410),
    [sym_function_definition] = STATE(2410),
    [sym_subshell] = STATE(2410),
    [sym_pipeline] = STATE(2410),
    [sym_list] = STATE(2410),
    [sym_negated_command] = STATE(2410),
    [sym_test_command] = STATE(2410),
    [sym_declaration_command] = STATE(2410),
    [sym_unset_command] = STATE(2410),
    [sym_command] = STATE(2410),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2411),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2412),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2074] = {
    [sym__terminated_statement] = STATE(2415),
    [sym_for_statement] = STATE(2413),
    [sym_c_style_for_statement] = STATE(2413),
    [sym_while_statement] = STATE(2413),
    [sym_if_statement] = STATE(2413),
    [sym_case_statement] = STATE(2413),
    [sym_function_definition] = STATE(2413),
    [sym_subshell] = STATE(2413),
    [sym_pipeline] = STATE(2413),
    [sym_list] = STATE(2413),
    [sym_negated_command] = STATE(2413),
    [sym_test_command] = STATE(2413),
    [sym_declaration_command] = STATE(2413),
    [sym_unset_command] = STATE(2413),
    [sym_command] = STATE(2413),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2414),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2415),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2075] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(277),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_LPAREN] = ACTIONS(5525),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [2076] = {
    [anon_sym_esac] = ACTIONS(5527),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5531),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2077] = {
    [sym_file_redirect] = STATE(2427),
    [sym_heredoc_redirect] = STATE(2427),
    [sym_heredoc_body] = STATE(189),
    [sym_herestring_redirect] = STATE(2427),
    [sym_concatenation] = STATE(2428),
    [sym_string] = STATE(2426),
    [sym_simple_expansion] = STATE(2426),
    [sym_string_expansion] = STATE(2426),
    [sym_expansion] = STATE(2426),
    [sym_command_substitution] = STATE(2426),
    [sym_process_substitution] = STATE(2426),
    [aux_sym_while_statement_repeat1] = STATE(2427),
    [aux_sym_command_repeat2] = STATE(2428),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(329),
    [anon_sym_PIPE] = ACTIONS(329),
    [anon_sym_SEMI_SEMI] = ACTIONS(327),
    [anon_sym_PIPE_AMP] = ACTIONS(327),
    [anon_sym_AMP_AMP] = ACTIONS(327),
    [anon_sym_PIPE_PIPE] = ACTIONS(327),
    [anon_sym_EQ_TILDE] = ACTIONS(5543),
    [anon_sym_EQ_EQ] = ACTIONS(5543),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym__special_characters] = ACTIONS(5551),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(5553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5555),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_LF] = ACTIONS(327),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [2078] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(5451),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5531),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2079] = {
    [anon_sym_EQ] = ACTIONS(5449),
    [anon_sym_PLUS_EQ] = ACTIONS(5449),
    [sym_comment] = ACTIONS(53),
  },
  [2080] = {
    [sym__simple_heredoc_body] = ACTIONS(275),
    [sym__heredoc_body_beginning] = ACTIONS(275),
    [sym_file_descriptor] = ACTIONS(275),
    [anon_sym_esac] = ACTIONS(277),
    [anon_sym_PIPE] = ACTIONS(277),
    [anon_sym_SEMI_SEMI] = ACTIONS(275),
    [anon_sym_PIPE_AMP] = ACTIONS(275),
    [anon_sym_AMP_AMP] = ACTIONS(275),
    [anon_sym_PIPE_PIPE] = ACTIONS(275),
    [anon_sym_EQ_TILDE] = ACTIONS(277),
    [anon_sym_EQ_EQ] = ACTIONS(277),
    [anon_sym_LT] = ACTIONS(277),
    [anon_sym_GT] = ACTIONS(277),
    [anon_sym_GT_GT] = ACTIONS(275),
    [anon_sym_AMP_GT] = ACTIONS(277),
    [anon_sym_AMP_GT_GT] = ACTIONS(275),
    [anon_sym_LT_AMP] = ACTIONS(275),
    [anon_sym_GT_AMP] = ACTIONS(275),
    [anon_sym_LT_LT] = ACTIONS(277),
    [anon_sym_LT_LT_DASH] = ACTIONS(275),
    [anon_sym_LT_LT_LT] = ACTIONS(275),
    [sym__special_characters] = ACTIONS(275),
    [anon_sym_DQUOTE] = ACTIONS(275),
    [anon_sym_DOLLAR] = ACTIONS(277),
    [sym_raw_string] = ACTIONS(275),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(275),
    [anon_sym_BQUOTE] = ACTIONS(275),
    [anon_sym_LT_LPAREN] = ACTIONS(275),
    [anon_sym_GT_LPAREN] = ACTIONS(275),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(277),
    [anon_sym_SEMI] = ACTIONS(277),
    [anon_sym_LF] = ACTIONS(275),
    [anon_sym_AMP] = ACTIONS(277),
  },
  [2081] = {
    [sym__terminated_statement] = STATE(2432),
    [sym_for_statement] = STATE(2430),
    [sym_c_style_for_statement] = STATE(2430),
    [sym_while_statement] = STATE(2430),
    [sym_if_statement] = STATE(2430),
    [sym_case_statement] = STATE(2430),
    [sym_function_definition] = STATE(2430),
    [sym_subshell] = STATE(2430),
    [sym_pipeline] = STATE(2430),
    [sym_list] = STATE(2430),
    [sym_negated_command] = STATE(2430),
    [sym_test_command] = STATE(2430),
    [sym_declaration_command] = STATE(2430),
    [sym_unset_command] = STATE(2430),
    [sym_command] = STATE(2430),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2431),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2432),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(5451),
    [anon_sym_SEMI_SEMI] = ACTIONS(5557),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2082] = {
    [sym_command_name] = STATE(2433),
    [sym_variable_assignment] = STATE(30),
    [sym_subscript] = STATE(86),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym_command_repeat1] = STATE(196),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(131),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(5559),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4691),
  },
  [2083] = {
    [sym__terminated_statement] = STATE(2434),
    [sym_for_statement] = STATE(2430),
    [sym_c_style_for_statement] = STATE(2430),
    [sym_while_statement] = STATE(2430),
    [sym_if_statement] = STATE(2430),
    [sym_case_statement] = STATE(2430),
    [sym_function_definition] = STATE(2430),
    [sym_subshell] = STATE(2430),
    [sym_pipeline] = STATE(2430),
    [sym_list] = STATE(2430),
    [sym_negated_command] = STATE(2430),
    [sym_test_command] = STATE(2430),
    [sym_declaration_command] = STATE(2430),
    [sym_unset_command] = STATE(2430),
    [sym_command] = STATE(2430),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2431),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2434),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(5451),
    [anon_sym_SEMI_SEMI] = ACTIONS(5557),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2084] = {
    [aux_sym_case_item_repeat1] = STATE(2084),
    [anon_sym_PIPE] = ACTIONS(5561),
    [anon_sym_RPAREN] = ACTIONS(5447),
    [sym_comment] = ACTIONS(53),
  },
  [2085] = {
    [aux_sym_concatenation_repeat1] = STATE(2085),
    [sym__concat] = ACTIONS(2728),
    [anon_sym_PIPE] = ACTIONS(1762),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
  },
  [2086] = {
    [anon_sym_esac] = ACTIONS(5564),
    [sym__special_characters] = ACTIONS(5566),
    [anon_sym_DQUOTE] = ACTIONS(5566),
    [anon_sym_DOLLAR] = ACTIONS(5568),
    [sym_raw_string] = ACTIONS(5566),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5566),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5566),
    [anon_sym_BQUOTE] = ACTIONS(5566),
    [anon_sym_LT_LPAREN] = ACTIONS(5566),
    [anon_sym_GT_LPAREN] = ACTIONS(5566),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5568),
  },
  [2087] = {
    [anon_sym_esac] = ACTIONS(5570),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5572),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2088] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(5564),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5572),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2089] = {
    [sym__terminated_statement] = STATE(2432),
    [sym_for_statement] = STATE(2437),
    [sym_c_style_for_statement] = STATE(2437),
    [sym_while_statement] = STATE(2437),
    [sym_if_statement] = STATE(2437),
    [sym_case_statement] = STATE(2437),
    [sym_function_definition] = STATE(2437),
    [sym_subshell] = STATE(2437),
    [sym_pipeline] = STATE(2437),
    [sym_list] = STATE(2437),
    [sym_negated_command] = STATE(2437),
    [sym_test_command] = STATE(2437),
    [sym_declaration_command] = STATE(2437),
    [sym_unset_command] = STATE(2437),
    [sym_command] = STATE(2437),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2438),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2432),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(5564),
    [anon_sym_SEMI_SEMI] = ACTIONS(5574),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2090] = {
    [sym__terminated_statement] = STATE(2439),
    [sym_for_statement] = STATE(2437),
    [sym_c_style_for_statement] = STATE(2437),
    [sym_while_statement] = STATE(2437),
    [sym_if_statement] = STATE(2437),
    [sym_case_statement] = STATE(2437),
    [sym_function_definition] = STATE(2437),
    [sym_subshell] = STATE(2437),
    [sym_pipeline] = STATE(2437),
    [sym_list] = STATE(2437),
    [sym_negated_command] = STATE(2437),
    [sym_test_command] = STATE(2437),
    [sym_declaration_command] = STATE(2437),
    [sym_unset_command] = STATE(2437),
    [sym_command] = STATE(2437),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2438),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2439),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(5564),
    [anon_sym_SEMI_SEMI] = ACTIONS(5574),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2091] = {
    [ts_builtin_sym_end] = ACTIONS(5576),
    [anon_sym_esac] = ACTIONS(5576),
    [anon_sym_PIPE] = ACTIONS(5578),
    [anon_sym_RPAREN] = ACTIONS(5576),
    [anon_sym_SEMI_SEMI] = ACTIONS(5576),
    [anon_sym_PIPE_AMP] = ACTIONS(5576),
    [anon_sym_AMP_AMP] = ACTIONS(5576),
    [anon_sym_PIPE_PIPE] = ACTIONS(5576),
    [anon_sym_BQUOTE] = ACTIONS(5576),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5578),
    [anon_sym_LF] = ACTIONS(5576),
    [anon_sym_AMP] = ACTIONS(5578),
  },
  [2092] = {
    [aux_sym_case_item_repeat1] = STATE(2441),
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(5580),
    [sym_comment] = ACTIONS(53),
  },
  [2093] = {
    [aux_sym_case_item_repeat1] = STATE(2443),
    [aux_sym_concatenation_repeat1] = STATE(1648),
    [sym__concat] = ACTIONS(615),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(5582),
    [sym_comment] = ACTIONS(53),
  },
  [2094] = {
    [aux_sym_case_item_repeat1] = STATE(2443),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(5582),
    [sym_comment] = ACTIONS(53),
  },
  [2095] = {
    [anon_sym_esac] = ACTIONS(5584),
    [sym_comment] = ACTIONS(53),
  },
  [2096] = {
    [ts_builtin_sym_end] = ACTIONS(5586),
    [anon_sym_esac] = ACTIONS(5586),
    [anon_sym_PIPE] = ACTIONS(5588),
    [anon_sym_RPAREN] = ACTIONS(5586),
    [anon_sym_SEMI_SEMI] = ACTIONS(5586),
    [anon_sym_PIPE_AMP] = ACTIONS(5586),
    [anon_sym_AMP_AMP] = ACTIONS(5586),
    [anon_sym_PIPE_PIPE] = ACTIONS(5586),
    [anon_sym_BQUOTE] = ACTIONS(5586),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5588),
    [anon_sym_LF] = ACTIONS(5586),
    [anon_sym_AMP] = ACTIONS(5588),
  },
  [2097] = {
    [anon_sym_esac] = ACTIONS(5590),
    [sym_comment] = ACTIONS(53),
  },
  [2098] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_in] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5100),
  },
  [2099] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_in] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5104),
  },
  [2100] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_in] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5108),
  },
  [2101] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5592),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2102] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_in] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5114),
  },
  [2103] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5594),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2104] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_in] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5120),
  },
  [2105] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5596),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2106] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_in] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5162),
  },
  [2107] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_in] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5170),
  },
  [2108] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_in] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5174),
  },
  [2109] = {
    [aux_sym_concatenation_repeat1] = STATE(2109),
    [sym__concat] = ACTIONS(2852),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2110] = {
    [aux_sym_concatenation_repeat1] = STATE(2112),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_RPAREN] = ACTIONS(1051),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2111] = {
    [aux_sym_concatenation_repeat1] = STATE(2112),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2112] = {
    [aux_sym_concatenation_repeat1] = STATE(2449),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2113] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_RPAREN] = ACTIONS(1051),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2114] = {
    [aux_sym_concatenation_repeat1] = STATE(2115),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_RPAREN] = ACTIONS(1055),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2115] = {
    [aux_sym_concatenation_repeat1] = STATE(2450),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_RPAREN] = ACTIONS(761),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2116] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_RBRACK] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5100),
    [anon_sym_EQ_EQ] = ACTIONS(5100),
    [anon_sym_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5100),
    [anon_sym_GT] = ACTIONS(5100),
    [anon_sym_BANG_EQ] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5100),
  },
  [2117] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_RBRACK] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5104),
    [anon_sym_EQ_EQ] = ACTIONS(5104),
    [anon_sym_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5104),
    [anon_sym_GT] = ACTIONS(5104),
    [anon_sym_BANG_EQ] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5104),
  },
  [2118] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_RBRACK] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5108),
    [anon_sym_EQ_EQ] = ACTIONS(5108),
    [anon_sym_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5108),
    [anon_sym_GT] = ACTIONS(5108),
    [anon_sym_BANG_EQ] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5108),
  },
  [2119] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5598),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2120] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_RBRACK] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5114),
    [anon_sym_EQ_EQ] = ACTIONS(5114),
    [anon_sym_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5114),
    [anon_sym_GT] = ACTIONS(5114),
    [anon_sym_BANG_EQ] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5114),
  },
  [2121] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5600),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2122] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_RBRACK] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5120),
    [anon_sym_EQ_EQ] = ACTIONS(5120),
    [anon_sym_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5120),
    [anon_sym_GT] = ACTIONS(5120),
    [anon_sym_BANG_EQ] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5120),
  },
  [2123] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5602),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2124] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_RBRACK] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5162),
    [anon_sym_EQ_EQ] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5162),
    [anon_sym_GT] = ACTIONS(5162),
    [anon_sym_BANG_EQ] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5162),
  },
  [2125] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_RBRACK] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5170),
    [anon_sym_EQ_EQ] = ACTIONS(5170),
    [anon_sym_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5170),
    [anon_sym_GT] = ACTIONS(5170),
    [anon_sym_BANG_EQ] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5170),
  },
  [2126] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_RBRACK] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5174),
    [anon_sym_EQ_EQ] = ACTIONS(5174),
    [anon_sym_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5174),
    [anon_sym_GT] = ACTIONS(5174),
    [anon_sym_BANG_EQ] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5174),
  },
  [2127] = {
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2128] = {
    [aux_sym_concatenation_repeat1] = STATE(2128),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(5604),
    [ts_builtin_sym_end] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2129] = {
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [ts_builtin_sym_end] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_RPAREN] = ACTIONS(1769),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [anon_sym_LT_LT] = ACTIONS(1771),
    [anon_sym_LT_LT_DASH] = ACTIONS(1769),
    [anon_sym_LT_LT_LT] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [2130] = {
    [anon_sym_DQUOTE] = ACTIONS(5607),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2131] = {
    [sym_concatenation] = STATE(2458),
    [sym_string] = STATE(2457),
    [sym_simple_expansion] = STATE(2457),
    [sym_string_expansion] = STATE(2457),
    [sym_expansion] = STATE(2457),
    [sym_command_substitution] = STATE(2457),
    [sym_process_substitution] = STATE(2457),
    [anon_sym_RBRACE] = ACTIONS(5609),
    [sym__special_characters] = ACTIONS(5611),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5613),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5613),
  },
  [2132] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(5615),
    [sym_comment] = ACTIONS(53),
  },
  [2133] = {
    [sym_concatenation] = STATE(2462),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2462),
    [anon_sym_RBRACE] = ACTIONS(5617),
    [anon_sym_EQ] = ACTIONS(5619),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5621),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5623),
    [anon_sym_COLON] = ACTIONS(5619),
    [anon_sym_COLON_QMARK] = ACTIONS(5619),
    [anon_sym_COLON_DASH] = ACTIONS(5619),
    [anon_sym_PERCENT] = ACTIONS(5619),
    [anon_sym_DASH] = ACTIONS(5619),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2134] = {
    [sym_concatenation] = STATE(2465),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2465),
    [anon_sym_RBRACE] = ACTIONS(5625),
    [anon_sym_EQ] = ACTIONS(5627),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5629),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5631),
    [anon_sym_COLON] = ACTIONS(5627),
    [anon_sym_COLON_QMARK] = ACTIONS(5627),
    [anon_sym_COLON_DASH] = ACTIONS(5627),
    [anon_sym_PERCENT] = ACTIONS(5627),
    [anon_sym_DASH] = ACTIONS(5627),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2135] = {
    [sym_concatenation] = STATE(2467),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2467),
    [anon_sym_RBRACE] = ACTIONS(5609),
    [anon_sym_EQ] = ACTIONS(5633),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5635),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(5637),
    [anon_sym_COLON] = ACTIONS(5633),
    [anon_sym_COLON_QMARK] = ACTIONS(5633),
    [anon_sym_COLON_DASH] = ACTIONS(5633),
    [anon_sym_PERCENT] = ACTIONS(5633),
    [anon_sym_DASH] = ACTIONS(5633),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2136] = {
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [ts_builtin_sym_end] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_RPAREN] = ACTIONS(1886),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [anon_sym_LT_LT] = ACTIONS(1888),
    [anon_sym_LT_LT_DASH] = ACTIONS(1886),
    [anon_sym_LT_LT_LT] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [2137] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5639),
  },
  [2138] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5641),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2139] = {
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [ts_builtin_sym_end] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_RPAREN] = ACTIONS(1930),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [anon_sym_LT_LT] = ACTIONS(1932),
    [anon_sym_LT_LT_DASH] = ACTIONS(1930),
    [anon_sym_LT_LT_LT] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [2140] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5643),
  },
  [2141] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5645),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2142] = {
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [ts_builtin_sym_end] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_RPAREN] = ACTIONS(1938),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [anon_sym_LT_LT] = ACTIONS(1940),
    [anon_sym_LT_LT_DASH] = ACTIONS(1938),
    [anon_sym_LT_LT_LT] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [2143] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5647),
  },
  [2144] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5609),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2145] = {
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [ts_builtin_sym_end] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_RPAREN] = ACTIONS(1944),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [anon_sym_LT_LT] = ACTIONS(1946),
    [anon_sym_LT_LT_DASH] = ACTIONS(1944),
    [anon_sym_LT_LT_LT] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [2146] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5649),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2147] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5649),
    [anon_sym_SEMI_SEMI] = ACTIONS(5651),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5653),
    [anon_sym_LF] = ACTIONS(5651),
    [anon_sym_AMP] = ACTIONS(5653),
  },
  [2148] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5649),
    [anon_sym_SEMI_SEMI] = ACTIONS(5651),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5653),
    [anon_sym_LF] = ACTIONS(5651),
    [anon_sym_AMP] = ACTIONS(5653),
  },
  [2149] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5649),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2150] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5655),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(5649),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5657),
    [anon_sym_LF] = ACTIONS(5655),
    [anon_sym_AMP] = ACTIONS(5657),
  },
  [2151] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(5655),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(5649),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5657),
    [anon_sym_LF] = ACTIONS(5655),
    [anon_sym_AMP] = ACTIONS(5657),
  },
  [2152] = {
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [ts_builtin_sym_end] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_RPAREN] = ACTIONS(1976),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [anon_sym_LT_LT] = ACTIONS(1978),
    [anon_sym_LT_LT_DASH] = ACTIONS(1976),
    [anon_sym_LT_LT_LT] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [2153] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5659),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2154] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5659),
    [anon_sym_SEMI_SEMI] = ACTIONS(5661),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5663),
    [anon_sym_LF] = ACTIONS(5661),
    [anon_sym_AMP] = ACTIONS(5663),
  },
  [2155] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(5659),
    [anon_sym_SEMI_SEMI] = ACTIONS(5661),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5663),
    [anon_sym_LF] = ACTIONS(5661),
    [anon_sym_AMP] = ACTIONS(5663),
  },
  [2156] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5100),
    [anon_sym_EQ_EQ] = ACTIONS(5100),
    [anon_sym_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5100),
    [anon_sym_GT] = ACTIONS(5100),
    [anon_sym_BANG_EQ] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5100),
  },
  [2157] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5104),
    [anon_sym_EQ_EQ] = ACTIONS(5104),
    [anon_sym_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5104),
    [anon_sym_GT] = ACTIONS(5104),
    [anon_sym_BANG_EQ] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5104),
  },
  [2158] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5108),
    [anon_sym_EQ_EQ] = ACTIONS(5108),
    [anon_sym_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5108),
    [anon_sym_GT] = ACTIONS(5108),
    [anon_sym_BANG_EQ] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5108),
  },
  [2159] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5665),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2160] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5114),
    [anon_sym_EQ_EQ] = ACTIONS(5114),
    [anon_sym_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5114),
    [anon_sym_GT] = ACTIONS(5114),
    [anon_sym_BANG_EQ] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5114),
  },
  [2161] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5667),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2162] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5120),
    [anon_sym_EQ_EQ] = ACTIONS(5120),
    [anon_sym_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5120),
    [anon_sym_GT] = ACTIONS(5120),
    [anon_sym_BANG_EQ] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5120),
  },
  [2163] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5669),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2164] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5162),
    [anon_sym_EQ_EQ] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5162),
    [anon_sym_GT] = ACTIONS(5162),
    [anon_sym_BANG_EQ] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5162),
  },
  [2165] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5170),
    [anon_sym_EQ_EQ] = ACTIONS(5170),
    [anon_sym_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5170),
    [anon_sym_GT] = ACTIONS(5170),
    [anon_sym_BANG_EQ] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5170),
  },
  [2166] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5174),
    [anon_sym_EQ_EQ] = ACTIONS(5174),
    [anon_sym_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5174),
    [anon_sym_GT] = ACTIONS(5174),
    [anon_sym_BANG_EQ] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5174),
  },
  [2167] = {
    [sym__concat] = ACTIONS(5100),
    [sym_variable_name] = ACTIONS(5100),
    [ts_builtin_sym_end] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5102),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [2168] = {
    [sym__concat] = ACTIONS(5104),
    [sym_variable_name] = ACTIONS(5104),
    [ts_builtin_sym_end] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5106),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [2169] = {
    [sym__concat] = ACTIONS(5108),
    [sym_variable_name] = ACTIONS(5108),
    [ts_builtin_sym_end] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5110),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [2170] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5671),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2171] = {
    [sym__concat] = ACTIONS(5114),
    [sym_variable_name] = ACTIONS(5114),
    [ts_builtin_sym_end] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5116),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [2172] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5673),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2173] = {
    [sym__concat] = ACTIONS(5120),
    [sym_variable_name] = ACTIONS(5120),
    [ts_builtin_sym_end] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5122),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [2174] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5675),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2175] = {
    [sym__concat] = ACTIONS(5162),
    [sym_variable_name] = ACTIONS(5162),
    [ts_builtin_sym_end] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5164),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [2176] = {
    [sym__concat] = ACTIONS(5170),
    [sym_variable_name] = ACTIONS(5170),
    [ts_builtin_sym_end] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5172),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [2177] = {
    [sym__concat] = ACTIONS(5174),
    [sym_variable_name] = ACTIONS(5174),
    [ts_builtin_sym_end] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5176),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [2178] = {
    [sym__concat] = ACTIONS(5100),
    [ts_builtin_sym_end] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5102),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [2179] = {
    [sym__concat] = ACTIONS(5104),
    [ts_builtin_sym_end] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5106),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [2180] = {
    [sym__concat] = ACTIONS(5108),
    [ts_builtin_sym_end] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5110),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [2181] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5677),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2182] = {
    [sym__concat] = ACTIONS(5114),
    [ts_builtin_sym_end] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5116),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [2183] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5679),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2184] = {
    [sym__concat] = ACTIONS(5120),
    [ts_builtin_sym_end] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5122),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [2185] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5681),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2186] = {
    [sym__concat] = ACTIONS(5162),
    [ts_builtin_sym_end] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5164),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [2187] = {
    [sym__concat] = ACTIONS(5170),
    [ts_builtin_sym_end] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5172),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [2188] = {
    [sym__concat] = ACTIONS(5174),
    [ts_builtin_sym_end] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5176),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [2189] = {
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [sym_variable_name] = ACTIONS(5100),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5100),
  },
  [2190] = {
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [sym_variable_name] = ACTIONS(5104),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5104),
  },
  [2191] = {
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [sym_variable_name] = ACTIONS(5108),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5108),
  },
  [2192] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5683),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2193] = {
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [sym_variable_name] = ACTIONS(5114),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5114),
  },
  [2194] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5685),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2195] = {
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [sym_variable_name] = ACTIONS(5120),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5120),
  },
  [2196] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5687),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2197] = {
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [sym_variable_name] = ACTIONS(5162),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5162),
  },
  [2198] = {
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [sym_variable_name] = ACTIONS(5170),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5170),
  },
  [2199] = {
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [sym_variable_name] = ACTIONS(5174),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5174),
  },
  [2200] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5102),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym__string_content] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5102),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5102),
    [anon_sym_BQUOTE] = ACTIONS(5102),
    [sym_comment] = ACTIONS(265),
  },
  [2201] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5106),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym__string_content] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5106),
    [anon_sym_BQUOTE] = ACTIONS(5106),
    [sym_comment] = ACTIONS(265),
  },
  [2202] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5110),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym__string_content] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5110),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5110),
    [anon_sym_BQUOTE] = ACTIONS(5110),
    [sym_comment] = ACTIONS(265),
  },
  [2203] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5689),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2204] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5116),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym__string_content] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5116),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5116),
    [anon_sym_BQUOTE] = ACTIONS(5116),
    [sym_comment] = ACTIONS(265),
  },
  [2205] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5691),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2206] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5122),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym__string_content] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5122),
    [anon_sym_BQUOTE] = ACTIONS(5122),
    [sym_comment] = ACTIONS(265),
  },
  [2207] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5693),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2208] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5164),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym__string_content] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5164),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5164),
    [anon_sym_BQUOTE] = ACTIONS(5164),
    [sym_comment] = ACTIONS(265),
  },
  [2209] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5172),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym__string_content] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5172),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5172),
    [anon_sym_BQUOTE] = ACTIONS(5172),
    [sym_comment] = ACTIONS(265),
  },
  [2210] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5176),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym__string_content] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5176),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5176),
    [anon_sym_BQUOTE] = ACTIONS(5176),
    [sym_comment] = ACTIONS(265),
  },
  [2211] = {
    [anon_sym_RBRACE] = ACTIONS(4341),
    [anon_sym_EQ] = ACTIONS(5695),
    [sym__special_characters] = ACTIONS(5695),
    [anon_sym_DQUOTE] = ACTIONS(4341),
    [anon_sym_DOLLAR] = ACTIONS(5695),
    [sym_raw_string] = ACTIONS(4341),
    [anon_sym_POUND] = ACTIONS(4341),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4341),
    [anon_sym_SLASH] = ACTIONS(4341),
    [anon_sym_COLON] = ACTIONS(5695),
    [anon_sym_COLON_QMARK] = ACTIONS(5695),
    [anon_sym_COLON_DASH] = ACTIONS(5695),
    [anon_sym_PERCENT] = ACTIONS(5695),
    [anon_sym_DASH] = ACTIONS(5695),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4341),
    [anon_sym_BQUOTE] = ACTIONS(4341),
    [anon_sym_LT_LPAREN] = ACTIONS(4341),
    [anon_sym_GT_LPAREN] = ACTIONS(4341),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5695),
  },
  [2212] = {
    [anon_sym_RBRACE] = ACTIONS(4343),
    [anon_sym_EQ] = ACTIONS(5697),
    [sym__special_characters] = ACTIONS(5697),
    [anon_sym_DQUOTE] = ACTIONS(4343),
    [anon_sym_DOLLAR] = ACTIONS(5697),
    [sym_raw_string] = ACTIONS(4343),
    [anon_sym_POUND] = ACTIONS(4343),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4343),
    [anon_sym_SLASH] = ACTIONS(4343),
    [anon_sym_COLON] = ACTIONS(5697),
    [anon_sym_COLON_QMARK] = ACTIONS(5697),
    [anon_sym_COLON_DASH] = ACTIONS(5697),
    [anon_sym_PERCENT] = ACTIONS(5697),
    [anon_sym_DASH] = ACTIONS(5697),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4343),
    [anon_sym_BQUOTE] = ACTIONS(4343),
    [anon_sym_LT_LPAREN] = ACTIONS(4343),
    [anon_sym_GT_LPAREN] = ACTIONS(4343),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5697),
  },
  [2213] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_RBRACE] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
  },
  [2214] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_RBRACE] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
  },
  [2215] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5699),
    [sym_comment] = ACTIONS(53),
  },
  [2216] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5701),
    [sym_comment] = ACTIONS(53),
  },
  [2217] = {
    [anon_sym_RBRACE] = ACTIONS(5701),
    [sym_comment] = ACTIONS(53),
  },
  [2218] = {
    [sym_concatenation] = STATE(2497),
    [sym_string] = STATE(2496),
    [sym_simple_expansion] = STATE(2496),
    [sym_string_expansion] = STATE(2496),
    [sym_expansion] = STATE(2496),
    [sym_command_substitution] = STATE(2496),
    [sym_process_substitution] = STATE(2496),
    [anon_sym_RBRACE] = ACTIONS(5701),
    [sym__special_characters] = ACTIONS(5703),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5705),
  },
  [2219] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_RBRACE] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
  },
  [2220] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5707),
  },
  [2221] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5709),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2222] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_RBRACE] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
  },
  [2223] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5711),
  },
  [2224] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5713),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2225] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5715),
  },
  [2226] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5701),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2227] = {
    [sym_concatenation] = STATE(2504),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2504),
    [anon_sym_RBRACE] = ACTIONS(5717),
    [anon_sym_EQ] = ACTIONS(5719),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5721),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5719),
    [anon_sym_COLON_QMARK] = ACTIONS(5719),
    [anon_sym_COLON_DASH] = ACTIONS(5719),
    [anon_sym_PERCENT] = ACTIONS(5719),
    [anon_sym_DASH] = ACTIONS(5719),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2228] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RBRACE] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
  },
  [2229] = {
    [sym_concatenation] = STATE(2506),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2506),
    [anon_sym_RBRACE] = ACTIONS(5723),
    [anon_sym_EQ] = ACTIONS(5725),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5727),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5725),
    [anon_sym_COLON_QMARK] = ACTIONS(5725),
    [anon_sym_COLON_DASH] = ACTIONS(5725),
    [anon_sym_PERCENT] = ACTIONS(5725),
    [anon_sym_DASH] = ACTIONS(5725),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2230] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_RBRACE] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
  },
  [2231] = {
    [sym_concatenation] = STATE(2508),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2508),
    [anon_sym_RBRACE] = ACTIONS(5729),
    [anon_sym_EQ] = ACTIONS(5731),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5733),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5731),
    [anon_sym_COLON_QMARK] = ACTIONS(5731),
    [anon_sym_COLON_DASH] = ACTIONS(5731),
    [anon_sym_PERCENT] = ACTIONS(5731),
    [anon_sym_DASH] = ACTIONS(5731),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2232] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_RBRACE] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
  },
  [2233] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5735),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2234] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5735),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2235] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_RBRACE] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
  },
  [2236] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5737),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2237] = {
    [sym__simple_heredoc_body] = ACTIONS(5739),
    [sym__heredoc_body_beginning] = ACTIONS(5739),
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [ts_builtin_sym_end] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5741),
    [anon_sym_EQ_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [anon_sym_LT_LT] = ACTIONS(5741),
    [anon_sym_LT_LT_DASH] = ACTIONS(5739),
    [anon_sym_LT_LT_LT] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [2238] = {
    [sym__simple_heredoc_body] = ACTIONS(5743),
    [sym__heredoc_body_beginning] = ACTIONS(5743),
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [ts_builtin_sym_end] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5745),
    [anon_sym_EQ_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [anon_sym_LT_LT] = ACTIONS(5745),
    [anon_sym_LT_LT_DASH] = ACTIONS(5743),
    [anon_sym_LT_LT_LT] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [2239] = {
    [sym__simple_heredoc_body] = ACTIONS(5747),
    [sym__heredoc_body_beginning] = ACTIONS(5747),
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [ts_builtin_sym_end] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5749),
    [anon_sym_EQ_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [anon_sym_LT_LT] = ACTIONS(5749),
    [anon_sym_LT_LT_DASH] = ACTIONS(5747),
    [anon_sym_LT_LT_LT] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [2240] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_RBRACE] = ACTIONS(4098),
    [anon_sym_EQ] = ACTIONS(4100),
    [sym__special_characters] = ACTIONS(4100),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_POUND] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_COLON] = ACTIONS(4100),
    [anon_sym_COLON_QMARK] = ACTIONS(4100),
    [anon_sym_COLON_DASH] = ACTIONS(4100),
    [anon_sym_PERCENT] = ACTIONS(4100),
    [anon_sym_DASH] = ACTIONS(4100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4100),
  },
  [2241] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_RBRACE] = ACTIONS(4106),
    [anon_sym_EQ] = ACTIONS(4108),
    [sym__special_characters] = ACTIONS(4108),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_POUND] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_COLON] = ACTIONS(4108),
    [anon_sym_COLON_QMARK] = ACTIONS(4108),
    [anon_sym_COLON_DASH] = ACTIONS(4108),
    [anon_sym_PERCENT] = ACTIONS(4108),
    [anon_sym_DASH] = ACTIONS(4108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4108),
  },
  [2242] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5751),
    [sym_comment] = ACTIONS(53),
  },
  [2243] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5753),
    [sym_comment] = ACTIONS(53),
  },
  [2244] = {
    [anon_sym_RBRACE] = ACTIONS(5753),
    [sym_comment] = ACTIONS(53),
  },
  [2245] = {
    [sym_concatenation] = STATE(2514),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2514),
    [anon_sym_RBRACE] = ACTIONS(5755),
    [anon_sym_EQ] = ACTIONS(5757),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5759),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5757),
    [anon_sym_COLON_QMARK] = ACTIONS(5757),
    [anon_sym_COLON_DASH] = ACTIONS(5757),
    [anon_sym_PERCENT] = ACTIONS(5757),
    [anon_sym_DASH] = ACTIONS(5757),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2246] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_RBRACE] = ACTIONS(4170),
    [anon_sym_EQ] = ACTIONS(4172),
    [sym__special_characters] = ACTIONS(4172),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_POUND] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_COLON] = ACTIONS(4172),
    [anon_sym_COLON_QMARK] = ACTIONS(4172),
    [anon_sym_COLON_DASH] = ACTIONS(4172),
    [anon_sym_PERCENT] = ACTIONS(4172),
    [anon_sym_DASH] = ACTIONS(4172),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4172),
  },
  [2247] = {
    [sym_concatenation] = STATE(2516),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2516),
    [anon_sym_RBRACE] = ACTIONS(5761),
    [anon_sym_EQ] = ACTIONS(5763),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5763),
    [anon_sym_COLON_QMARK] = ACTIONS(5763),
    [anon_sym_COLON_DASH] = ACTIONS(5763),
    [anon_sym_PERCENT] = ACTIONS(5763),
    [anon_sym_DASH] = ACTIONS(5763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2248] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_RBRACE] = ACTIONS(4180),
    [anon_sym_EQ] = ACTIONS(4182),
    [sym__special_characters] = ACTIONS(4182),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_POUND] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_COLON] = ACTIONS(4182),
    [anon_sym_COLON_QMARK] = ACTIONS(4182),
    [anon_sym_COLON_DASH] = ACTIONS(4182),
    [anon_sym_PERCENT] = ACTIONS(4182),
    [anon_sym_DASH] = ACTIONS(4182),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4182),
  },
  [2249] = {
    [sym_concatenation] = STATE(2518),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2518),
    [anon_sym_RBRACE] = ACTIONS(5767),
    [anon_sym_EQ] = ACTIONS(5769),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5771),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5769),
    [anon_sym_COLON_QMARK] = ACTIONS(5769),
    [anon_sym_COLON_DASH] = ACTIONS(5769),
    [anon_sym_PERCENT] = ACTIONS(5769),
    [anon_sym_DASH] = ACTIONS(5769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2250] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_RBRACE] = ACTIONS(4235),
    [anon_sym_EQ] = ACTIONS(4237),
    [sym__special_characters] = ACTIONS(4237),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_POUND] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_COLON] = ACTIONS(4237),
    [anon_sym_COLON_QMARK] = ACTIONS(4237),
    [anon_sym_COLON_DASH] = ACTIONS(4237),
    [anon_sym_PERCENT] = ACTIONS(4237),
    [anon_sym_DASH] = ACTIONS(4237),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4237),
  },
  [2251] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5773),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2252] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_RBRACE] = ACTIONS(4257),
    [anon_sym_EQ] = ACTIONS(4259),
    [sym__special_characters] = ACTIONS(4259),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_POUND] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_COLON] = ACTIONS(4259),
    [anon_sym_COLON_QMARK] = ACTIONS(4259),
    [anon_sym_COLON_DASH] = ACTIONS(4259),
    [anon_sym_PERCENT] = ACTIONS(4259),
    [anon_sym_DASH] = ACTIONS(4259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4259),
  },
  [2253] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5775),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2254] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_RBRACE] = ACTIONS(4263),
    [anon_sym_EQ] = ACTIONS(4265),
    [sym__special_characters] = ACTIONS(4265),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_POUND] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_COLON] = ACTIONS(4265),
    [anon_sym_COLON_QMARK] = ACTIONS(4265),
    [anon_sym_COLON_DASH] = ACTIONS(4265),
    [anon_sym_PERCENT] = ACTIONS(4265),
    [anon_sym_DASH] = ACTIONS(4265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4265),
  },
  [2255] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5777),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2256] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_RBRACE] = ACTIONS(4269),
    [anon_sym_EQ] = ACTIONS(4271),
    [sym__special_characters] = ACTIONS(4271),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_POUND] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_COLON] = ACTIONS(4271),
    [anon_sym_COLON_QMARK] = ACTIONS(4271),
    [anon_sym_COLON_DASH] = ACTIONS(4271),
    [anon_sym_PERCENT] = ACTIONS(4271),
    [anon_sym_DASH] = ACTIONS(4271),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4271),
  },
  [2257] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_RBRACE] = ACTIONS(4293),
    [anon_sym_EQ] = ACTIONS(4295),
    [sym__special_characters] = ACTIONS(4295),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_POUND] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_COLON] = ACTIONS(4295),
    [anon_sym_COLON_QMARK] = ACTIONS(4295),
    [anon_sym_COLON_DASH] = ACTIONS(4295),
    [anon_sym_PERCENT] = ACTIONS(4295),
    [anon_sym_DASH] = ACTIONS(4295),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(4295),
  },
  [2258] = {
    [aux_sym_concatenation_repeat1] = STATE(2260),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_BQUOTE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2259] = {
    [aux_sym_concatenation_repeat1] = STATE(2260),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2260] = {
    [aux_sym_concatenation_repeat1] = STATE(2522),
    [sym__concat] = ACTIONS(687),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2261] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [anon_sym_BQUOTE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2262] = {
    [aux_sym_concatenation_repeat1] = STATE(2263),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [anon_sym_BQUOTE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2263] = {
    [aux_sym_concatenation_repeat1] = STATE(2523),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2264] = {
    [sym__heredoc_body_middle] = ACTIONS(4098),
    [sym__heredoc_body_end] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
  },
  [2265] = {
    [sym__heredoc_body_middle] = ACTIONS(4106),
    [sym__heredoc_body_end] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
  },
  [2266] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5779),
    [sym_comment] = ACTIONS(53),
  },
  [2267] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5781),
    [sym_comment] = ACTIONS(53),
  },
  [2268] = {
    [anon_sym_RBRACE] = ACTIONS(5781),
    [sym_comment] = ACTIONS(53),
  },
  [2269] = {
    [sym_concatenation] = STATE(2527),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2527),
    [anon_sym_RBRACE] = ACTIONS(5783),
    [anon_sym_EQ] = ACTIONS(5785),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5787),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5785),
    [anon_sym_COLON_QMARK] = ACTIONS(5785),
    [anon_sym_COLON_DASH] = ACTIONS(5785),
    [anon_sym_PERCENT] = ACTIONS(5785),
    [anon_sym_DASH] = ACTIONS(5785),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2270] = {
    [sym__heredoc_body_middle] = ACTIONS(4170),
    [sym__heredoc_body_end] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
  },
  [2271] = {
    [sym_concatenation] = STATE(2529),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2529),
    [anon_sym_RBRACE] = ACTIONS(5789),
    [anon_sym_EQ] = ACTIONS(5791),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5793),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5791),
    [anon_sym_COLON_QMARK] = ACTIONS(5791),
    [anon_sym_COLON_DASH] = ACTIONS(5791),
    [anon_sym_PERCENT] = ACTIONS(5791),
    [anon_sym_DASH] = ACTIONS(5791),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2272] = {
    [sym__heredoc_body_middle] = ACTIONS(4180),
    [sym__heredoc_body_end] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
  },
  [2273] = {
    [sym_concatenation] = STATE(2531),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2531),
    [anon_sym_RBRACE] = ACTIONS(5795),
    [anon_sym_EQ] = ACTIONS(5797),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5799),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5797),
    [anon_sym_COLON_QMARK] = ACTIONS(5797),
    [anon_sym_COLON_DASH] = ACTIONS(5797),
    [anon_sym_PERCENT] = ACTIONS(5797),
    [anon_sym_DASH] = ACTIONS(5797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2274] = {
    [sym__heredoc_body_middle] = ACTIONS(4235),
    [sym__heredoc_body_end] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
  },
  [2275] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5801),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2276] = {
    [sym__heredoc_body_middle] = ACTIONS(4257),
    [sym__heredoc_body_end] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
  },
  [2277] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5803),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2278] = {
    [sym__heredoc_body_middle] = ACTIONS(4263),
    [sym__heredoc_body_end] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
  },
  [2279] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5805),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2280] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4098),
  },
  [2281] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4106),
  },
  [2282] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5807),
    [sym_comment] = ACTIONS(53),
  },
  [2283] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5809),
    [sym_comment] = ACTIONS(53),
  },
  [2284] = {
    [anon_sym_RBRACE] = ACTIONS(5809),
    [sym_comment] = ACTIONS(53),
  },
  [2285] = {
    [sym_concatenation] = STATE(2538),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2538),
    [anon_sym_RBRACE] = ACTIONS(5811),
    [anon_sym_EQ] = ACTIONS(5813),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5815),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5813),
    [anon_sym_COLON_QMARK] = ACTIONS(5813),
    [anon_sym_COLON_DASH] = ACTIONS(5813),
    [anon_sym_PERCENT] = ACTIONS(5813),
    [anon_sym_DASH] = ACTIONS(5813),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2286] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4170),
  },
  [2287] = {
    [sym_concatenation] = STATE(2540),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2540),
    [anon_sym_RBRACE] = ACTIONS(5817),
    [anon_sym_EQ] = ACTIONS(5819),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5821),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5819),
    [anon_sym_COLON_QMARK] = ACTIONS(5819),
    [anon_sym_COLON_DASH] = ACTIONS(5819),
    [anon_sym_PERCENT] = ACTIONS(5819),
    [anon_sym_DASH] = ACTIONS(5819),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2288] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4180),
  },
  [2289] = {
    [sym_concatenation] = STATE(2542),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2542),
    [anon_sym_RBRACE] = ACTIONS(5823),
    [anon_sym_EQ] = ACTIONS(5825),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5827),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5825),
    [anon_sym_COLON_QMARK] = ACTIONS(5825),
    [anon_sym_COLON_DASH] = ACTIONS(5825),
    [anon_sym_PERCENT] = ACTIONS(5825),
    [anon_sym_DASH] = ACTIONS(5825),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2290] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4235),
  },
  [2291] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5829),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2292] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4257),
  },
  [2293] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5831),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2294] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4263),
  },
  [2295] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5833),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2296] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4269),
  },
  [2297] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4293),
  },
  [2298] = {
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [sym_variable_name] = ACTIONS(5100),
    [ts_builtin_sym_end] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [2299] = {
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [sym_variable_name] = ACTIONS(5104),
    [ts_builtin_sym_end] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [2300] = {
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [sym_variable_name] = ACTIONS(5108),
    [ts_builtin_sym_end] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [2301] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5835),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2302] = {
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [sym_variable_name] = ACTIONS(5114),
    [ts_builtin_sym_end] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [2303] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5837),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2304] = {
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [sym_variable_name] = ACTIONS(5120),
    [ts_builtin_sym_end] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [2305] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5839),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2306] = {
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [sym_variable_name] = ACTIONS(5162),
    [ts_builtin_sym_end] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [2307] = {
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [sym_variable_name] = ACTIONS(5170),
    [ts_builtin_sym_end] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [2308] = {
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [sym_variable_name] = ACTIONS(5174),
    [ts_builtin_sym_end] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [2309] = {
    [ts_builtin_sym_end] = ACTIONS(3762),
    [anon_sym_esac] = ACTIONS(3762),
    [anon_sym_PIPE] = ACTIONS(3764),
    [anon_sym_RPAREN] = ACTIONS(3762),
    [anon_sym_SEMI_SEMI] = ACTIONS(3762),
    [anon_sym_PIPE_AMP] = ACTIONS(3762),
    [anon_sym_AMP_AMP] = ACTIONS(3762),
    [anon_sym_PIPE_PIPE] = ACTIONS(3762),
    [anon_sym_BQUOTE] = ACTIONS(3762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3764),
    [anon_sym_LF] = ACTIONS(3762),
    [anon_sym_AMP] = ACTIONS(3764),
  },
  [2310] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3028),
    [anon_sym_EQ_EQ] = ACTIONS(3028),
    [anon_sym_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3028),
    [anon_sym_GT] = ACTIONS(3028),
    [anon_sym_BANG_EQ] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3028),
  },
  [2311] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3042),
    [anon_sym_EQ_EQ] = ACTIONS(3042),
    [anon_sym_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3042),
    [anon_sym_GT] = ACTIONS(3042),
    [anon_sym_BANG_EQ] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3042),
  },
  [2312] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5841),
    [sym_comment] = ACTIONS(53),
  },
  [2313] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5843),
    [sym_comment] = ACTIONS(53),
  },
  [2314] = {
    [anon_sym_RBRACE] = ACTIONS(5843),
    [sym_comment] = ACTIONS(53),
  },
  [2315] = {
    [sym_concatenation] = STATE(2553),
    [sym_string] = STATE(2552),
    [sym_simple_expansion] = STATE(2552),
    [sym_string_expansion] = STATE(2552),
    [sym_expansion] = STATE(2552),
    [sym_command_substitution] = STATE(2552),
    [sym_process_substitution] = STATE(2552),
    [anon_sym_RBRACE] = ACTIONS(5843),
    [sym__special_characters] = ACTIONS(5845),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(5847),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5847),
  },
  [2316] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3078),
    [anon_sym_EQ_EQ] = ACTIONS(3078),
    [anon_sym_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3078),
    [anon_sym_GT] = ACTIONS(3078),
    [anon_sym_BANG_EQ] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3078),
  },
  [2317] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5849),
  },
  [2318] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5851),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2319] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3086),
    [anon_sym_EQ_EQ] = ACTIONS(3086),
    [anon_sym_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3086),
    [anon_sym_GT] = ACTIONS(3086),
    [anon_sym_BANG_EQ] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3086),
  },
  [2320] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5853),
  },
  [2321] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5855),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2322] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(5857),
  },
  [2323] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5843),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2324] = {
    [sym_concatenation] = STATE(2560),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2560),
    [anon_sym_RBRACE] = ACTIONS(5859),
    [anon_sym_EQ] = ACTIONS(5861),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5863),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5861),
    [anon_sym_COLON_QMARK] = ACTIONS(5861),
    [anon_sym_COLON_DASH] = ACTIONS(5861),
    [anon_sym_PERCENT] = ACTIONS(5861),
    [anon_sym_DASH] = ACTIONS(5861),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2325] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3158),
    [anon_sym_EQ_EQ] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3158),
    [anon_sym_GT] = ACTIONS(3158),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3158),
  },
  [2326] = {
    [sym_concatenation] = STATE(2562),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2562),
    [anon_sym_RBRACE] = ACTIONS(5865),
    [anon_sym_EQ] = ACTIONS(5867),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5869),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5867),
    [anon_sym_COLON_QMARK] = ACTIONS(5867),
    [anon_sym_COLON_DASH] = ACTIONS(5867),
    [anon_sym_PERCENT] = ACTIONS(5867),
    [anon_sym_DASH] = ACTIONS(5867),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2327] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3203),
    [anon_sym_EQ_EQ] = ACTIONS(3203),
    [anon_sym_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3203),
    [anon_sym_GT] = ACTIONS(3203),
    [anon_sym_BANG_EQ] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3203),
  },
  [2328] = {
    [sym_concatenation] = STATE(2564),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2564),
    [anon_sym_RBRACE] = ACTIONS(5871),
    [anon_sym_EQ] = ACTIONS(5873),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5875),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5873),
    [anon_sym_COLON_QMARK] = ACTIONS(5873),
    [anon_sym_COLON_DASH] = ACTIONS(5873),
    [anon_sym_PERCENT] = ACTIONS(5873),
    [anon_sym_DASH] = ACTIONS(5873),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2329] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3213),
    [anon_sym_EQ_EQ] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3213),
    [anon_sym_GT] = ACTIONS(3213),
    [anon_sym_BANG_EQ] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3213),
  },
  [2330] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5877),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2331] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(5877),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2332] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3251),
    [anon_sym_EQ_EQ] = ACTIONS(3251),
    [anon_sym_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3251),
    [anon_sym_GT] = ACTIONS(3251),
    [anon_sym_BANG_EQ] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(3251),
  },
  [2333] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(5879),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2334] = {
    [ts_builtin_sym_end] = ACTIONS(5881),
    [anon_sym_esac] = ACTIONS(5881),
    [anon_sym_PIPE] = ACTIONS(5883),
    [anon_sym_RPAREN] = ACTIONS(5881),
    [anon_sym_SEMI_SEMI] = ACTIONS(5881),
    [anon_sym_PIPE_AMP] = ACTIONS(5881),
    [anon_sym_AMP_AMP] = ACTIONS(5881),
    [anon_sym_PIPE_PIPE] = ACTIONS(5881),
    [anon_sym_BQUOTE] = ACTIONS(5881),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5883),
    [anon_sym_LF] = ACTIONS(5881),
    [anon_sym_AMP] = ACTIONS(5883),
  },
  [2335] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5100),
    [anon_sym_EQ_EQ] = ACTIONS(5100),
    [anon_sym_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5100),
    [anon_sym_GT] = ACTIONS(5100),
    [anon_sym_BANG_EQ] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5100),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [2336] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5104),
    [anon_sym_EQ_EQ] = ACTIONS(5104),
    [anon_sym_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5104),
    [anon_sym_GT] = ACTIONS(5104),
    [anon_sym_BANG_EQ] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5104),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [2337] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5108),
    [anon_sym_EQ_EQ] = ACTIONS(5108),
    [anon_sym_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5108),
    [anon_sym_GT] = ACTIONS(5108),
    [anon_sym_BANG_EQ] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5108),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [2338] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5885),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2339] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5114),
    [anon_sym_EQ_EQ] = ACTIONS(5114),
    [anon_sym_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5114),
    [anon_sym_GT] = ACTIONS(5114),
    [anon_sym_BANG_EQ] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5114),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [2340] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5887),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2341] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5120),
    [anon_sym_EQ_EQ] = ACTIONS(5120),
    [anon_sym_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5120),
    [anon_sym_GT] = ACTIONS(5120),
    [anon_sym_BANG_EQ] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5120),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [2342] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5889),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2343] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5162),
    [anon_sym_EQ_EQ] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5162),
    [anon_sym_GT] = ACTIONS(5162),
    [anon_sym_BANG_EQ] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5162),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [2344] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5170),
    [anon_sym_EQ_EQ] = ACTIONS(5170),
    [anon_sym_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5170),
    [anon_sym_GT] = ACTIONS(5170),
    [anon_sym_BANG_EQ] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5170),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [2345] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5174),
    [anon_sym_EQ_EQ] = ACTIONS(5174),
    [anon_sym_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5174),
    [anon_sym_GT] = ACTIONS(5174),
    [anon_sym_BANG_EQ] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5174),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [2346] = {
    [sym_do_group] = STATE(2570),
    [sym_compound_statement] = STATE(2570),
    [anon_sym_do] = ACTIONS(1173),
    [anon_sym_LBRACE] = ACTIONS(3465),
    [sym_comment] = ACTIONS(53),
  },
  [2347] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4098),
  },
  [2348] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4106),
  },
  [2349] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5891),
    [sym_comment] = ACTIONS(53),
  },
  [2350] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(5893),
    [sym_comment] = ACTIONS(53),
  },
  [2351] = {
    [anon_sym_RBRACE] = ACTIONS(5893),
    [sym_comment] = ACTIONS(53),
  },
  [2352] = {
    [sym_concatenation] = STATE(2574),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2574),
    [anon_sym_RBRACE] = ACTIONS(5895),
    [anon_sym_EQ] = ACTIONS(5897),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5897),
    [anon_sym_COLON_QMARK] = ACTIONS(5897),
    [anon_sym_COLON_DASH] = ACTIONS(5897),
    [anon_sym_PERCENT] = ACTIONS(5897),
    [anon_sym_DASH] = ACTIONS(5897),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2353] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4170),
  },
  [2354] = {
    [sym_concatenation] = STATE(2576),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2576),
    [anon_sym_RBRACE] = ACTIONS(5901),
    [anon_sym_EQ] = ACTIONS(5903),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5905),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5903),
    [anon_sym_COLON_QMARK] = ACTIONS(5903),
    [anon_sym_COLON_DASH] = ACTIONS(5903),
    [anon_sym_PERCENT] = ACTIONS(5903),
    [anon_sym_DASH] = ACTIONS(5903),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2355] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4180),
  },
  [2356] = {
    [sym_concatenation] = STATE(2578),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2578),
    [anon_sym_RBRACE] = ACTIONS(5907),
    [anon_sym_EQ] = ACTIONS(5909),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(5911),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(5909),
    [anon_sym_COLON_QMARK] = ACTIONS(5909),
    [anon_sym_COLON_DASH] = ACTIONS(5909),
    [anon_sym_PERCENT] = ACTIONS(5909),
    [anon_sym_DASH] = ACTIONS(5909),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2357] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4235),
  },
  [2358] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5913),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2359] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4257),
  },
  [2360] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5915),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2361] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4263),
  },
  [2362] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(5917),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2363] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4269),
  },
  [2364] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4293),
  },
  [2365] = {
    [aux_sym_concatenation_repeat1] = STATE(2365),
    [sym__concat] = ACTIONS(2852),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2366] = {
    [aux_sym_concatenation_repeat1] = STATE(2366),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(5604),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2367] = {
    [sym_concatenation] = STATE(2582),
    [sym_string] = STATE(2587),
    [sym_array] = STATE(2582),
    [sym_simple_expansion] = STATE(2587),
    [sym_string_expansion] = STATE(2587),
    [sym_expansion] = STATE(2587),
    [sym_command_substitution] = STATE(2587),
    [sym_process_substitution] = STATE(2587),
    [sym__empty_value] = ACTIONS(5919),
    [anon_sym_LPAREN] = ACTIONS(5921),
    [sym__special_characters] = ACTIONS(5923),
    [anon_sym_DQUOTE] = ACTIONS(5925),
    [anon_sym_DOLLAR] = ACTIONS(5927),
    [sym_raw_string] = ACTIONS(5929),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5931),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5933),
    [anon_sym_BQUOTE] = ACTIONS(5935),
    [anon_sym_LT_LPAREN] = ACTIONS(5937),
    [anon_sym_GT_LPAREN] = ACTIONS(5937),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5929),
  },
  [2368] = {
    [sym_do_group] = STATE(2592),
    [anon_sym_do] = ACTIONS(437),
    [sym_comment] = ACTIONS(53),
  },
  [2369] = {
    [sym_compound_statement] = STATE(2594),
    [anon_sym_LPAREN] = ACTIONS(5939),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [2370] = {
    [anon_sym_AMP_AMP] = ACTIONS(607),
    [anon_sym_PIPE_PIPE] = ACTIONS(607),
    [anon_sym_RBRACK] = ACTIONS(5941),
    [anon_sym_EQ_TILDE] = ACTIONS(611),
    [anon_sym_EQ_EQ] = ACTIONS(611),
    [anon_sym_EQ] = ACTIONS(613),
    [anon_sym_LT] = ACTIONS(607),
    [anon_sym_GT] = ACTIONS(607),
    [anon_sym_BANG_EQ] = ACTIONS(607),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(607),
  },
  [2371] = {
    [anon_sym_AMP_AMP] = ACTIONS(639),
    [anon_sym_PIPE_PIPE] = ACTIONS(639),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5941),
    [anon_sym_EQ_TILDE] = ACTIONS(641),
    [anon_sym_EQ_EQ] = ACTIONS(641),
    [anon_sym_EQ] = ACTIONS(643),
    [anon_sym_LT] = ACTIONS(639),
    [anon_sym_GT] = ACTIONS(639),
    [anon_sym_BANG_EQ] = ACTIONS(639),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(639),
  },
  [2372] = {
    [anon_sym_LBRACK] = ACTIONS(61),
    [anon_sym_EQ] = ACTIONS(5943),
    [anon_sym_PLUS_EQ] = ACTIONS(5943),
    [sym_comment] = ACTIONS(53),
  },
  [2373] = {
    [aux_sym_concatenation_repeat1] = STATE(2598),
    [sym__concat] = ACTIONS(5945),
    [sym_variable_name] = ACTIONS(649),
    [anon_sym_esac] = ACTIONS(651),
    [anon_sym_PIPE] = ACTIONS(651),
    [anon_sym_SEMI_SEMI] = ACTIONS(649),
    [anon_sym_PIPE_AMP] = ACTIONS(649),
    [anon_sym_AMP_AMP] = ACTIONS(649),
    [anon_sym_PIPE_PIPE] = ACTIONS(649),
    [sym__special_characters] = ACTIONS(649),
    [anon_sym_DQUOTE] = ACTIONS(649),
    [anon_sym_DOLLAR] = ACTIONS(651),
    [sym_raw_string] = ACTIONS(649),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(649),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(649),
    [anon_sym_BQUOTE] = ACTIONS(649),
    [anon_sym_LT_LPAREN] = ACTIONS(649),
    [anon_sym_GT_LPAREN] = ACTIONS(649),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(651),
    [sym_word] = ACTIONS(651),
    [anon_sym_SEMI] = ACTIONS(651),
    [anon_sym_LF] = ACTIONS(649),
    [anon_sym_AMP] = ACTIONS(651),
  },
  [2374] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(2601),
    [anon_sym_DQUOTE] = ACTIONS(5947),
    [anon_sym_DOLLAR] = ACTIONS(5949),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2375] = {
    [sym_string] = STATE(2603),
    [anon_sym_DQUOTE] = ACTIONS(5463),
    [anon_sym_DOLLAR] = ACTIONS(5951),
    [sym_raw_string] = ACTIONS(5953),
    [anon_sym_POUND] = ACTIONS(5951),
    [anon_sym_DASH] = ACTIONS(5951),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5955),
    [anon_sym_STAR] = ACTIONS(5951),
    [anon_sym_AT] = ACTIONS(5951),
    [anon_sym_QMARK] = ACTIONS(5951),
    [anon_sym_0] = ACTIONS(5957),
    [anon_sym__] = ACTIONS(5957),
  },
  [2376] = {
    [aux_sym_concatenation_repeat1] = STATE(2598),
    [sym__concat] = ACTIONS(5945),
    [sym_variable_name] = ACTIONS(665),
    [anon_sym_esac] = ACTIONS(667),
    [anon_sym_PIPE] = ACTIONS(667),
    [anon_sym_SEMI_SEMI] = ACTIONS(665),
    [anon_sym_PIPE_AMP] = ACTIONS(665),
    [anon_sym_AMP_AMP] = ACTIONS(665),
    [anon_sym_PIPE_PIPE] = ACTIONS(665),
    [sym__special_characters] = ACTIONS(665),
    [anon_sym_DQUOTE] = ACTIONS(665),
    [anon_sym_DOLLAR] = ACTIONS(667),
    [sym_raw_string] = ACTIONS(665),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(665),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(665),
    [anon_sym_BQUOTE] = ACTIONS(665),
    [anon_sym_LT_LPAREN] = ACTIONS(665),
    [anon_sym_GT_LPAREN] = ACTIONS(665),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(667),
    [sym_word] = ACTIONS(667),
    [anon_sym_SEMI] = ACTIONS(667),
    [anon_sym_LF] = ACTIONS(665),
    [anon_sym_AMP] = ACTIONS(667),
  },
  [2377] = {
    [sym_subscript] = STATE(2609),
    [sym_variable_name] = ACTIONS(5959),
    [anon_sym_BANG] = ACTIONS(5961),
    [anon_sym_DOLLAR] = ACTIONS(5963),
    [anon_sym_POUND] = ACTIONS(5961),
    [anon_sym_DASH] = ACTIONS(5963),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5965),
    [anon_sym_STAR] = ACTIONS(5963),
    [anon_sym_AT] = ACTIONS(5963),
    [anon_sym_QMARK] = ACTIONS(5963),
    [anon_sym_0] = ACTIONS(5967),
    [anon_sym__] = ACTIONS(5967),
  },
  [2378] = {
    [sym__terminated_statement] = STATE(2612),
    [sym_for_statement] = STATE(2610),
    [sym_c_style_for_statement] = STATE(2610),
    [sym_while_statement] = STATE(2610),
    [sym_if_statement] = STATE(2610),
    [sym_case_statement] = STATE(2610),
    [sym_function_definition] = STATE(2610),
    [sym_subshell] = STATE(2610),
    [sym_pipeline] = STATE(2610),
    [sym_list] = STATE(2610),
    [sym_negated_command] = STATE(2610),
    [sym_test_command] = STATE(2610),
    [sym_declaration_command] = STATE(2610),
    [sym_unset_command] = STATE(2610),
    [sym_command] = STATE(2610),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2611),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2612),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2379] = {
    [sym__terminated_statement] = STATE(2615),
    [sym_for_statement] = STATE(2613),
    [sym_c_style_for_statement] = STATE(2613),
    [sym_while_statement] = STATE(2613),
    [sym_if_statement] = STATE(2613),
    [sym_case_statement] = STATE(2613),
    [sym_function_definition] = STATE(2613),
    [sym_subshell] = STATE(2613),
    [sym_pipeline] = STATE(2613),
    [sym_list] = STATE(2613),
    [sym_negated_command] = STATE(2613),
    [sym_test_command] = STATE(2613),
    [sym_declaration_command] = STATE(2613),
    [sym_unset_command] = STATE(2613),
    [sym_command] = STATE(2613),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2614),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2615),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2380] = {
    [sym__terminated_statement] = STATE(2618),
    [sym_for_statement] = STATE(2616),
    [sym_c_style_for_statement] = STATE(2616),
    [sym_while_statement] = STATE(2616),
    [sym_if_statement] = STATE(2616),
    [sym_case_statement] = STATE(2616),
    [sym_function_definition] = STATE(2616),
    [sym_subshell] = STATE(2616),
    [sym_pipeline] = STATE(2616),
    [sym_list] = STATE(2616),
    [sym_negated_command] = STATE(2616),
    [sym_test_command] = STATE(2616),
    [sym_declaration_command] = STATE(2616),
    [sym_unset_command] = STATE(2616),
    [sym_command] = STATE(2616),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2617),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2618),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2381] = {
    [sym_variable_name] = ACTIONS(679),
    [anon_sym_esac] = ACTIONS(681),
    [anon_sym_PIPE] = ACTIONS(681),
    [anon_sym_SEMI_SEMI] = ACTIONS(679),
    [anon_sym_PIPE_AMP] = ACTIONS(679),
    [anon_sym_AMP_AMP] = ACTIONS(679),
    [anon_sym_PIPE_PIPE] = ACTIONS(679),
    [sym__special_characters] = ACTIONS(679),
    [anon_sym_DQUOTE] = ACTIONS(679),
    [anon_sym_DOLLAR] = ACTIONS(681),
    [sym_raw_string] = ACTIONS(679),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(679),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(679),
    [anon_sym_BQUOTE] = ACTIONS(679),
    [anon_sym_LT_LPAREN] = ACTIONS(679),
    [anon_sym_GT_LPAREN] = ACTIONS(679),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(681),
    [sym_word] = ACTIONS(681),
    [anon_sym_SEMI] = ACTIONS(681),
    [anon_sym_LF] = ACTIONS(679),
    [anon_sym_AMP] = ACTIONS(681),
  },
  [2382] = {
    [anon_sym_EQ] = ACTIONS(5943),
    [anon_sym_PLUS_EQ] = ACTIONS(5943),
    [sym_comment] = ACTIONS(53),
  },
  [2383] = {
    [sym_variable_assignment] = STATE(2619),
    [sym_subscript] = STATE(2382),
    [sym_concatenation] = STATE(2619),
    [sym_string] = STATE(2376),
    [sym_simple_expansion] = STATE(2376),
    [sym_string_expansion] = STATE(2376),
    [sym_expansion] = STATE(2376),
    [sym_command_substitution] = STATE(2376),
    [sym_process_substitution] = STATE(2376),
    [aux_sym_declaration_command_repeat1] = STATE(2619),
    [sym_variable_name] = ACTIONS(5459),
    [anon_sym_esac] = ACTIONS(685),
    [anon_sym_PIPE] = ACTIONS(685),
    [anon_sym_SEMI_SEMI] = ACTIONS(683),
    [anon_sym_PIPE_AMP] = ACTIONS(683),
    [anon_sym_AMP_AMP] = ACTIONS(683),
    [anon_sym_PIPE_PIPE] = ACTIONS(683),
    [sym__special_characters] = ACTIONS(5461),
    [anon_sym_DQUOTE] = ACTIONS(5463),
    [anon_sym_DOLLAR] = ACTIONS(5465),
    [sym_raw_string] = ACTIONS(5467),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5469),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5471),
    [anon_sym_BQUOTE] = ACTIONS(5473),
    [anon_sym_LT_LPAREN] = ACTIONS(5475),
    [anon_sym_GT_LPAREN] = ACTIONS(5475),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5477),
    [sym_word] = ACTIONS(5479),
    [anon_sym_SEMI] = ACTIONS(685),
    [anon_sym_LF] = ACTIONS(683),
    [anon_sym_AMP] = ACTIONS(685),
  },
  [2384] = {
    [aux_sym_concatenation_repeat1] = STATE(2621),
    [sym__concat] = ACTIONS(5969),
    [anon_sym_esac] = ACTIONS(691),
    [anon_sym_PIPE] = ACTIONS(691),
    [anon_sym_SEMI_SEMI] = ACTIONS(689),
    [anon_sym_PIPE_AMP] = ACTIONS(689),
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [sym__special_characters] = ACTIONS(689),
    [anon_sym_DQUOTE] = ACTIONS(689),
    [anon_sym_DOLLAR] = ACTIONS(691),
    [sym_raw_string] = ACTIONS(689),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(689),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(689),
    [anon_sym_BQUOTE] = ACTIONS(689),
    [anon_sym_LT_LPAREN] = ACTIONS(689),
    [anon_sym_GT_LPAREN] = ACTIONS(689),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(691),
    [sym_word] = ACTIONS(691),
    [anon_sym_SEMI] = ACTIONS(691),
    [anon_sym_LF] = ACTIONS(689),
    [anon_sym_AMP] = ACTIONS(691),
  },
  [2385] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(2624),
    [anon_sym_DQUOTE] = ACTIONS(5971),
    [anon_sym_DOLLAR] = ACTIONS(5973),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2386] = {
    [sym_string] = STATE(2626),
    [anon_sym_DQUOTE] = ACTIONS(5483),
    [anon_sym_DOLLAR] = ACTIONS(5975),
    [sym_raw_string] = ACTIONS(5977),
    [anon_sym_POUND] = ACTIONS(5975),
    [anon_sym_DASH] = ACTIONS(5975),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5979),
    [anon_sym_STAR] = ACTIONS(5975),
    [anon_sym_AT] = ACTIONS(5975),
    [anon_sym_QMARK] = ACTIONS(5975),
    [anon_sym_0] = ACTIONS(5981),
    [anon_sym__] = ACTIONS(5981),
  },
  [2387] = {
    [aux_sym_concatenation_repeat1] = STATE(2621),
    [sym__concat] = ACTIONS(5969),
    [anon_sym_esac] = ACTIONS(707),
    [anon_sym_PIPE] = ACTIONS(707),
    [anon_sym_SEMI_SEMI] = ACTIONS(705),
    [anon_sym_PIPE_AMP] = ACTIONS(705),
    [anon_sym_AMP_AMP] = ACTIONS(705),
    [anon_sym_PIPE_PIPE] = ACTIONS(705),
    [sym__special_characters] = ACTIONS(705),
    [anon_sym_DQUOTE] = ACTIONS(705),
    [anon_sym_DOLLAR] = ACTIONS(707),
    [sym_raw_string] = ACTIONS(705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(705),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(705),
    [anon_sym_BQUOTE] = ACTIONS(705),
    [anon_sym_LT_LPAREN] = ACTIONS(705),
    [anon_sym_GT_LPAREN] = ACTIONS(705),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(707),
    [sym_word] = ACTIONS(707),
    [anon_sym_SEMI] = ACTIONS(707),
    [anon_sym_LF] = ACTIONS(705),
    [anon_sym_AMP] = ACTIONS(707),
  },
  [2388] = {
    [sym_subscript] = STATE(2632),
    [sym_variable_name] = ACTIONS(5983),
    [anon_sym_BANG] = ACTIONS(5985),
    [anon_sym_DOLLAR] = ACTIONS(5987),
    [anon_sym_POUND] = ACTIONS(5985),
    [anon_sym_DASH] = ACTIONS(5987),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5989),
    [anon_sym_STAR] = ACTIONS(5987),
    [anon_sym_AT] = ACTIONS(5987),
    [anon_sym_QMARK] = ACTIONS(5987),
    [anon_sym_0] = ACTIONS(5991),
    [anon_sym__] = ACTIONS(5991),
  },
  [2389] = {
    [sym__terminated_statement] = STATE(2635),
    [sym_for_statement] = STATE(2633),
    [sym_c_style_for_statement] = STATE(2633),
    [sym_while_statement] = STATE(2633),
    [sym_if_statement] = STATE(2633),
    [sym_case_statement] = STATE(2633),
    [sym_function_definition] = STATE(2633),
    [sym_subshell] = STATE(2633),
    [sym_pipeline] = STATE(2633),
    [sym_list] = STATE(2633),
    [sym_negated_command] = STATE(2633),
    [sym_test_command] = STATE(2633),
    [sym_declaration_command] = STATE(2633),
    [sym_unset_command] = STATE(2633),
    [sym_command] = STATE(2633),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2634),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2635),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2390] = {
    [sym__terminated_statement] = STATE(2638),
    [sym_for_statement] = STATE(2636),
    [sym_c_style_for_statement] = STATE(2636),
    [sym_while_statement] = STATE(2636),
    [sym_if_statement] = STATE(2636),
    [sym_case_statement] = STATE(2636),
    [sym_function_definition] = STATE(2636),
    [sym_subshell] = STATE(2636),
    [sym_pipeline] = STATE(2636),
    [sym_list] = STATE(2636),
    [sym_negated_command] = STATE(2636),
    [sym_test_command] = STATE(2636),
    [sym_declaration_command] = STATE(2636),
    [sym_unset_command] = STATE(2636),
    [sym_command] = STATE(2636),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2637),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2638),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2391] = {
    [sym__terminated_statement] = STATE(2641),
    [sym_for_statement] = STATE(2639),
    [sym_c_style_for_statement] = STATE(2639),
    [sym_while_statement] = STATE(2639),
    [sym_if_statement] = STATE(2639),
    [sym_case_statement] = STATE(2639),
    [sym_function_definition] = STATE(2639),
    [sym_subshell] = STATE(2639),
    [sym_pipeline] = STATE(2639),
    [sym_list] = STATE(2639),
    [sym_negated_command] = STATE(2639),
    [sym_test_command] = STATE(2639),
    [sym_declaration_command] = STATE(2639),
    [sym_unset_command] = STATE(2639),
    [sym_command] = STATE(2639),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2640),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2641),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2392] = {
    [anon_sym_esac] = ACTIONS(721),
    [anon_sym_PIPE] = ACTIONS(721),
    [anon_sym_SEMI_SEMI] = ACTIONS(719),
    [anon_sym_PIPE_AMP] = ACTIONS(719),
    [anon_sym_AMP_AMP] = ACTIONS(719),
    [anon_sym_PIPE_PIPE] = ACTIONS(719),
    [sym__special_characters] = ACTIONS(719),
    [anon_sym_DQUOTE] = ACTIONS(719),
    [anon_sym_DOLLAR] = ACTIONS(721),
    [sym_raw_string] = ACTIONS(719),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(719),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(719),
    [anon_sym_BQUOTE] = ACTIONS(719),
    [anon_sym_LT_LPAREN] = ACTIONS(719),
    [anon_sym_GT_LPAREN] = ACTIONS(719),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(721),
    [sym_word] = ACTIONS(721),
    [anon_sym_SEMI] = ACTIONS(721),
    [anon_sym_LF] = ACTIONS(719),
    [anon_sym_AMP] = ACTIONS(721),
  },
  [2393] = {
    [sym_concatenation] = STATE(2642),
    [sym_string] = STATE(2387),
    [sym_simple_expansion] = STATE(2387),
    [sym_string_expansion] = STATE(2387),
    [sym_expansion] = STATE(2387),
    [sym_command_substitution] = STATE(2387),
    [sym_process_substitution] = STATE(2387),
    [aux_sym_unset_command_repeat1] = STATE(2642),
    [anon_sym_esac] = ACTIONS(725),
    [anon_sym_PIPE] = ACTIONS(725),
    [anon_sym_SEMI_SEMI] = ACTIONS(723),
    [anon_sym_PIPE_AMP] = ACTIONS(723),
    [anon_sym_AMP_AMP] = ACTIONS(723),
    [anon_sym_PIPE_PIPE] = ACTIONS(723),
    [sym__special_characters] = ACTIONS(5481),
    [anon_sym_DQUOTE] = ACTIONS(5483),
    [anon_sym_DOLLAR] = ACTIONS(5485),
    [sym_raw_string] = ACTIONS(5487),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5489),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5491),
    [anon_sym_BQUOTE] = ACTIONS(5493),
    [anon_sym_LT_LPAREN] = ACTIONS(5495),
    [anon_sym_GT_LPAREN] = ACTIONS(5495),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5497),
    [sym_word] = ACTIONS(5499),
    [anon_sym_SEMI] = ACTIONS(725),
    [anon_sym_LF] = ACTIONS(723),
    [anon_sym_AMP] = ACTIONS(725),
  },
  [2394] = {
    [sym_string] = STATE(2643),
    [sym_simple_expansion] = STATE(2643),
    [sym_string_expansion] = STATE(2643),
    [sym_expansion] = STATE(2643),
    [sym_command_substitution] = STATE(2643),
    [sym_process_substitution] = STATE(2643),
    [sym__special_characters] = ACTIONS(5993),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(5993),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5993),
  },
  [2395] = {
    [aux_sym_concatenation_repeat1] = STATE(2644),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(763),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_EQ_TILDE] = ACTIONS(763),
    [anon_sym_EQ_EQ] = ACTIONS(763),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2396] = {
    [sym__simple_heredoc_body] = ACTIONS(765),
    [sym__heredoc_body_beginning] = ACTIONS(765),
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(767),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_EQ_TILDE] = ACTIONS(767),
    [anon_sym_EQ_EQ] = ACTIONS(767),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [anon_sym_LT_LT] = ACTIONS(767),
    [anon_sym_LT_LT_DASH] = ACTIONS(765),
    [anon_sym_LT_LT_LT] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [2397] = {
    [anon_sym_DQUOTE] = ACTIONS(5995),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2398] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(5995),
    [anon_sym_DOLLAR] = ACTIONS(5997),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2399] = {
    [sym__simple_heredoc_body] = ACTIONS(797),
    [sym__heredoc_body_beginning] = ACTIONS(797),
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(799),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_EQ_TILDE] = ACTIONS(799),
    [anon_sym_EQ_EQ] = ACTIONS(799),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [anon_sym_LT_LT] = ACTIONS(799),
    [anon_sym_LT_LT_DASH] = ACTIONS(797),
    [anon_sym_LT_LT_LT] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [2400] = {
    [sym__simple_heredoc_body] = ACTIONS(801),
    [sym__heredoc_body_beginning] = ACTIONS(801),
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(803),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_EQ_TILDE] = ACTIONS(803),
    [anon_sym_EQ_EQ] = ACTIONS(803),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [anon_sym_LT_LT] = ACTIONS(803),
    [anon_sym_LT_LT_DASH] = ACTIONS(801),
    [anon_sym_LT_LT_LT] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [2401] = {
    [sym__simple_heredoc_body] = ACTIONS(805),
    [sym__heredoc_body_beginning] = ACTIONS(805),
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [anon_sym_LT_LT] = ACTIONS(807),
    [anon_sym_LT_LT_DASH] = ACTIONS(805),
    [anon_sym_LT_LT_LT] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [2402] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(5999),
    [sym_comment] = ACTIONS(53),
  },
  [2403] = {
    [sym_subscript] = STATE(2651),
    [sym_variable_name] = ACTIONS(6001),
    [anon_sym_DOLLAR] = ACTIONS(6003),
    [anon_sym_DASH] = ACTIONS(6003),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6005),
    [anon_sym_STAR] = ACTIONS(6003),
    [anon_sym_AT] = ACTIONS(6003),
    [anon_sym_QMARK] = ACTIONS(6003),
    [anon_sym_0] = ACTIONS(6007),
    [anon_sym__] = ACTIONS(6007),
  },
  [2404] = {
    [sym_concatenation] = STATE(2654),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2654),
    [anon_sym_RBRACE] = ACTIONS(6009),
    [anon_sym_EQ] = ACTIONS(6011),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6013),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6015),
    [anon_sym_COLON] = ACTIONS(6011),
    [anon_sym_COLON_QMARK] = ACTIONS(6011),
    [anon_sym_COLON_DASH] = ACTIONS(6011),
    [anon_sym_PERCENT] = ACTIONS(6011),
    [anon_sym_DASH] = ACTIONS(6011),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2405] = {
    [sym_concatenation] = STATE(2657),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2657),
    [anon_sym_RBRACE] = ACTIONS(6017),
    [anon_sym_EQ] = ACTIONS(6019),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6021),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6023),
    [anon_sym_COLON] = ACTIONS(6019),
    [anon_sym_COLON_QMARK] = ACTIONS(6019),
    [anon_sym_COLON_DASH] = ACTIONS(6019),
    [anon_sym_PERCENT] = ACTIONS(6019),
    [anon_sym_DASH] = ACTIONS(6019),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2406] = {
    [sym_concatenation] = STATE(2660),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2660),
    [anon_sym_RBRACE] = ACTIONS(6025),
    [anon_sym_EQ] = ACTIONS(6027),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6029),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6031),
    [anon_sym_COLON] = ACTIONS(6027),
    [anon_sym_COLON_QMARK] = ACTIONS(6027),
    [anon_sym_COLON_DASH] = ACTIONS(6027),
    [anon_sym_PERCENT] = ACTIONS(6027),
    [anon_sym_DASH] = ACTIONS(6027),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2407] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6033),
    [anon_sym_SEMI_SEMI] = ACTIONS(6035),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6037),
    [anon_sym_LF] = ACTIONS(6035),
    [anon_sym_AMP] = ACTIONS(6037),
  },
  [2408] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6033),
    [anon_sym_SEMI_SEMI] = ACTIONS(6035),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6037),
    [anon_sym_LF] = ACTIONS(6035),
    [anon_sym_AMP] = ACTIONS(6037),
  },
  [2409] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2663),
    [sym_c_style_for_statement] = STATE(2663),
    [sym_while_statement] = STATE(2663),
    [sym_if_statement] = STATE(2663),
    [sym_case_statement] = STATE(2663),
    [sym_function_definition] = STATE(2663),
    [sym_subshell] = STATE(2663),
    [sym_pipeline] = STATE(2663),
    [sym_list] = STATE(2663),
    [sym_negated_command] = STATE(2663),
    [sym_test_command] = STATE(2663),
    [sym_declaration_command] = STATE(2663),
    [sym_unset_command] = STATE(2663),
    [sym_command] = STATE(2663),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2664),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2410] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6039),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6033),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6041),
    [anon_sym_LF] = ACTIONS(6039),
    [anon_sym_AMP] = ACTIONS(6041),
  },
  [2411] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6039),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6033),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6041),
    [anon_sym_LF] = ACTIONS(6039),
    [anon_sym_AMP] = ACTIONS(6041),
  },
  [2412] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2666),
    [sym_c_style_for_statement] = STATE(2666),
    [sym_while_statement] = STATE(2666),
    [sym_if_statement] = STATE(2666),
    [sym_case_statement] = STATE(2666),
    [sym_function_definition] = STATE(2666),
    [sym_subshell] = STATE(2666),
    [sym_pipeline] = STATE(2666),
    [sym_list] = STATE(2666),
    [sym_negated_command] = STATE(2666),
    [sym_test_command] = STATE(2666),
    [sym_declaration_command] = STATE(2666),
    [sym_unset_command] = STATE(2666),
    [sym_command] = STATE(2666),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2667),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2413] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6043),
    [anon_sym_SEMI_SEMI] = ACTIONS(6045),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6047),
    [anon_sym_LF] = ACTIONS(6045),
    [anon_sym_AMP] = ACTIONS(6047),
  },
  [2414] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6043),
    [anon_sym_SEMI_SEMI] = ACTIONS(6045),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6047),
    [anon_sym_LF] = ACTIONS(6045),
    [anon_sym_AMP] = ACTIONS(6047),
  },
  [2415] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2670),
    [sym_c_style_for_statement] = STATE(2670),
    [sym_while_statement] = STATE(2670),
    [sym_if_statement] = STATE(2670),
    [sym_case_statement] = STATE(2670),
    [sym_function_definition] = STATE(2670),
    [sym_subshell] = STATE(2670),
    [sym_pipeline] = STATE(2670),
    [sym_list] = STATE(2670),
    [sym_negated_command] = STATE(2670),
    [sym_test_command] = STATE(2670),
    [sym_declaration_command] = STATE(2670),
    [sym_unset_command] = STATE(2670),
    [sym_command] = STATE(2670),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2671),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2416] = {
    [anon_sym_RPAREN] = ACTIONS(6049),
    [sym_comment] = ACTIONS(53),
  },
  [2417] = {
    [sym_for_statement] = STATE(512),
    [sym_c_style_for_statement] = STATE(512),
    [sym_while_statement] = STATE(512),
    [sym_if_statement] = STATE(512),
    [sym_case_statement] = STATE(512),
    [sym_function_definition] = STATE(512),
    [sym_subshell] = STATE(512),
    [sym_pipeline] = STATE(512),
    [sym_list] = STATE(512),
    [sym_negated_command] = STATE(512),
    [sym_test_command] = STATE(512),
    [sym_declaration_command] = STATE(512),
    [sym_unset_command] = STATE(512),
    [sym_command] = STATE(512),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2673),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2418] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6051),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6053),
    [anon_sym_DQUOTE] = ACTIONS(6055),
    [anon_sym_DOLLAR] = ACTIONS(6053),
    [sym_raw_string] = ACTIONS(6055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6055),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(6055),
    [anon_sym_GT_LPAREN] = ACTIONS(6055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6053),
  },
  [2419] = {
    [sym_for_statement] = STATE(2674),
    [sym_c_style_for_statement] = STATE(2674),
    [sym_while_statement] = STATE(2674),
    [sym_if_statement] = STATE(2674),
    [sym_case_statement] = STATE(2674),
    [sym_function_definition] = STATE(2674),
    [sym_subshell] = STATE(2674),
    [sym_pipeline] = STATE(2674),
    [sym_list] = STATE(2674),
    [sym_negated_command] = STATE(2674),
    [sym_test_command] = STATE(2674),
    [sym_declaration_command] = STATE(2674),
    [sym_unset_command] = STATE(2674),
    [sym_command] = STATE(2674),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2675),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2420] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2421] = {
    [anon_sym_LT] = ACTIONS(6057),
    [anon_sym_GT] = ACTIONS(6057),
    [anon_sym_GT_GT] = ACTIONS(6059),
    [anon_sym_AMP_GT] = ACTIONS(6057),
    [anon_sym_AMP_GT_GT] = ACTIONS(6059),
    [anon_sym_LT_AMP] = ACTIONS(6059),
    [anon_sym_GT_AMP] = ACTIONS(6059),
    [sym_comment] = ACTIONS(53),
  },
  [2422] = {
    [sym_concatenation] = STATE(2679),
    [sym_string] = STATE(2678),
    [sym_simple_expansion] = STATE(2678),
    [sym_string_expansion] = STATE(2678),
    [sym_expansion] = STATE(2678),
    [sym_command_substitution] = STATE(2678),
    [sym_process_substitution] = STATE(2678),
    [sym__special_characters] = ACTIONS(6061),
    [anon_sym_DQUOTE] = ACTIONS(6063),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(6065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6067),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6069),
    [anon_sym_BQUOTE] = ACTIONS(6071),
    [anon_sym_LT_LPAREN] = ACTIONS(6073),
    [anon_sym_GT_LPAREN] = ACTIONS(6073),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(6065),
    [sym_regex] = ACTIONS(6075),
  },
  [2423] = {
    [sym_concatenation] = STATE(526),
    [sym_string] = STATE(2683),
    [sym_simple_expansion] = STATE(2683),
    [sym_string_expansion] = STATE(2683),
    [sym_expansion] = STATE(2683),
    [sym_command_substitution] = STATE(2683),
    [sym_process_substitution] = STATE(2683),
    [sym__special_characters] = ACTIONS(6077),
    [anon_sym_DQUOTE] = ACTIONS(6079),
    [anon_sym_DOLLAR] = ACTIONS(6081),
    [sym_raw_string] = ACTIONS(6083),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6085),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6087),
    [anon_sym_BQUOTE] = ACTIONS(6089),
    [anon_sym_LT_LPAREN] = ACTIONS(6091),
    [anon_sym_GT_LPAREN] = ACTIONS(6091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6083),
  },
  [2424] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(2689),
    [sym_simple_expansion] = STATE(2689),
    [sym_string_expansion] = STATE(2689),
    [sym_expansion] = STATE(2689),
    [sym_command_substitution] = STATE(2689),
    [sym_process_substitution] = STATE(2689),
    [sym__special_characters] = ACTIONS(6093),
    [anon_sym_DQUOTE] = ACTIONS(6079),
    [anon_sym_DOLLAR] = ACTIONS(6081),
    [sym_raw_string] = ACTIONS(6095),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6085),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6087),
    [anon_sym_BQUOTE] = ACTIONS(6089),
    [anon_sym_LT_LPAREN] = ACTIONS(6091),
    [anon_sym_GT_LPAREN] = ACTIONS(6091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6095),
  },
  [2425] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(947),
    [sym__heredoc_body_beginning] = ACTIONS(947),
    [sym_file_descriptor] = ACTIONS(947),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(949),
    [anon_sym_PIPE] = ACTIONS(949),
    [anon_sym_SEMI_SEMI] = ACTIONS(947),
    [anon_sym_PIPE_AMP] = ACTIONS(947),
    [anon_sym_AMP_AMP] = ACTIONS(947),
    [anon_sym_PIPE_PIPE] = ACTIONS(947),
    [anon_sym_EQ_TILDE] = ACTIONS(949),
    [anon_sym_EQ_EQ] = ACTIONS(949),
    [anon_sym_LT] = ACTIONS(949),
    [anon_sym_GT] = ACTIONS(949),
    [anon_sym_GT_GT] = ACTIONS(947),
    [anon_sym_AMP_GT] = ACTIONS(949),
    [anon_sym_AMP_GT_GT] = ACTIONS(947),
    [anon_sym_LT_AMP] = ACTIONS(947),
    [anon_sym_GT_AMP] = ACTIONS(947),
    [anon_sym_LT_LT] = ACTIONS(949),
    [anon_sym_LT_LT_DASH] = ACTIONS(947),
    [anon_sym_LT_LT_LT] = ACTIONS(947),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(947),
    [anon_sym_DOLLAR] = ACTIONS(949),
    [sym_raw_string] = ACTIONS(947),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(947),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(947),
    [anon_sym_BQUOTE] = ACTIONS(947),
    [anon_sym_LT_LPAREN] = ACTIONS(947),
    [anon_sym_GT_LPAREN] = ACTIONS(947),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(949),
    [anon_sym_SEMI] = ACTIONS(949),
    [anon_sym_LF] = ACTIONS(947),
    [anon_sym_AMP] = ACTIONS(949),
  },
  [2426] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(951),
    [sym__heredoc_body_beginning] = ACTIONS(951),
    [sym_file_descriptor] = ACTIONS(951),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(953),
    [anon_sym_PIPE] = ACTIONS(953),
    [anon_sym_SEMI_SEMI] = ACTIONS(951),
    [anon_sym_PIPE_AMP] = ACTIONS(951),
    [anon_sym_AMP_AMP] = ACTIONS(951),
    [anon_sym_PIPE_PIPE] = ACTIONS(951),
    [anon_sym_EQ_TILDE] = ACTIONS(953),
    [anon_sym_EQ_EQ] = ACTIONS(953),
    [anon_sym_LT] = ACTIONS(953),
    [anon_sym_GT] = ACTIONS(953),
    [anon_sym_GT_GT] = ACTIONS(951),
    [anon_sym_AMP_GT] = ACTIONS(953),
    [anon_sym_AMP_GT_GT] = ACTIONS(951),
    [anon_sym_LT_AMP] = ACTIONS(951),
    [anon_sym_GT_AMP] = ACTIONS(951),
    [anon_sym_LT_LT] = ACTIONS(953),
    [anon_sym_LT_LT_DASH] = ACTIONS(951),
    [anon_sym_LT_LT_LT] = ACTIONS(951),
    [sym__special_characters] = ACTIONS(951),
    [anon_sym_DQUOTE] = ACTIONS(951),
    [anon_sym_DOLLAR] = ACTIONS(953),
    [sym_raw_string] = ACTIONS(951),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(951),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(951),
    [anon_sym_BQUOTE] = ACTIONS(951),
    [anon_sym_LT_LPAREN] = ACTIONS(951),
    [anon_sym_GT_LPAREN] = ACTIONS(951),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(953),
    [anon_sym_SEMI] = ACTIONS(953),
    [anon_sym_LF] = ACTIONS(951),
    [anon_sym_AMP] = ACTIONS(953),
  },
  [2427] = {
    [sym_file_redirect] = STATE(2690),
    [sym_heredoc_redirect] = STATE(2690),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(2690),
    [aux_sym_while_statement_repeat1] = STATE(2690),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(955),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [2428] = {
    [sym_file_redirect] = STATE(2691),
    [sym_heredoc_redirect] = STATE(2691),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(2691),
    [sym_concatenation] = STATE(2692),
    [sym_string] = STATE(2426),
    [sym_simple_expansion] = STATE(2426),
    [sym_string_expansion] = STATE(2426),
    [sym_expansion] = STATE(2426),
    [sym_command_substitution] = STATE(2426),
    [sym_process_substitution] = STATE(2426),
    [aux_sym_while_statement_repeat1] = STATE(2691),
    [aux_sym_command_repeat2] = STATE(2692),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(957),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(5543),
    [anon_sym_EQ_EQ] = ACTIONS(5543),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym__special_characters] = ACTIONS(5551),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(5553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5555),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [2429] = {
    [anon_sym_esac] = ACTIONS(6051),
    [sym__special_characters] = ACTIONS(6055),
    [anon_sym_DQUOTE] = ACTIONS(6055),
    [anon_sym_DOLLAR] = ACTIONS(6053),
    [sym_raw_string] = ACTIONS(6055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6055),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(6055),
    [anon_sym_GT_LPAREN] = ACTIONS(6055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6053),
  },
  [2430] = {
    [anon_sym_esac] = ACTIONS(6097),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6099),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2431] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(6051),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6099),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2432] = {
    [sym__terminated_statement] = STATE(2432),
    [sym_for_statement] = STATE(2694),
    [sym_c_style_for_statement] = STATE(2694),
    [sym_while_statement] = STATE(2694),
    [sym_if_statement] = STATE(2694),
    [sym_case_statement] = STATE(2694),
    [sym_function_definition] = STATE(2694),
    [sym_subshell] = STATE(2694),
    [sym_pipeline] = STATE(2694),
    [sym_list] = STATE(2694),
    [sym_negated_command] = STATE(2694),
    [sym_test_command] = STATE(2694),
    [sym_declaration_command] = STATE(2694),
    [sym_unset_command] = STATE(2694),
    [sym_command] = STATE(2694),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2695),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2432),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_esac] = ACTIONS(3675),
    [anon_sym_SEMI_SEMI] = ACTIONS(3766),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [2433] = {
    [sym_file_redirect] = STATE(2691),
    [sym_heredoc_redirect] = STATE(2691),
    [sym_heredoc_body] = STATE(531),
    [sym_herestring_redirect] = STATE(2691),
    [sym_concatenation] = STATE(2696),
    [sym_string] = STATE(2426),
    [sym_simple_expansion] = STATE(2426),
    [sym_string_expansion] = STATE(2426),
    [sym_expansion] = STATE(2426),
    [sym_command_substitution] = STATE(2426),
    [sym_process_substitution] = STATE(2426),
    [aux_sym_while_statement_repeat1] = STATE(2691),
    [aux_sym_command_repeat2] = STATE(2696),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(957),
    [anon_sym_PIPE] = ACTIONS(957),
    [anon_sym_SEMI_SEMI] = ACTIONS(955),
    [anon_sym_PIPE_AMP] = ACTIONS(955),
    [anon_sym_AMP_AMP] = ACTIONS(955),
    [anon_sym_PIPE_PIPE] = ACTIONS(955),
    [anon_sym_EQ_TILDE] = ACTIONS(5543),
    [anon_sym_EQ_EQ] = ACTIONS(5543),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym__special_characters] = ACTIONS(5551),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(5553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5555),
    [anon_sym_SEMI] = ACTIONS(957),
    [anon_sym_LF] = ACTIONS(955),
    [anon_sym_AMP] = ACTIONS(957),
  },
  [2434] = {
    [sym__terminated_statement] = STATE(2432),
    [sym_for_statement] = STATE(2698),
    [sym_c_style_for_statement] = STATE(2698),
    [sym_while_statement] = STATE(2698),
    [sym_if_statement] = STATE(2698),
    [sym_case_statement] = STATE(2698),
    [sym_function_definition] = STATE(2698),
    [sym_subshell] = STATE(2698),
    [sym_pipeline] = STATE(2698),
    [sym_list] = STATE(2698),
    [sym_negated_command] = STATE(2698),
    [sym_test_command] = STATE(2698),
    [sym_declaration_command] = STATE(2698),
    [sym_unset_command] = STATE(2698),
    [sym_command] = STATE(2698),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2699),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2432),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(6051),
    [anon_sym_SEMI_SEMI] = ACTIONS(6101),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2435] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6103),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6105),
    [anon_sym_DQUOTE] = ACTIONS(6107),
    [anon_sym_DOLLAR] = ACTIONS(6105),
    [sym_raw_string] = ACTIONS(6107),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6107),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6107),
    [anon_sym_BQUOTE] = ACTIONS(6107),
    [anon_sym_LT_LPAREN] = ACTIONS(6107),
    [anon_sym_GT_LPAREN] = ACTIONS(6107),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6105),
  },
  [2436] = {
    [anon_sym_esac] = ACTIONS(6103),
    [sym__special_characters] = ACTIONS(6107),
    [anon_sym_DQUOTE] = ACTIONS(6107),
    [anon_sym_DOLLAR] = ACTIONS(6105),
    [sym_raw_string] = ACTIONS(6107),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6107),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6107),
    [anon_sym_BQUOTE] = ACTIONS(6107),
    [anon_sym_LT_LPAREN] = ACTIONS(6107),
    [anon_sym_GT_LPAREN] = ACTIONS(6107),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6105),
  },
  [2437] = {
    [anon_sym_esac] = ACTIONS(6109),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6111),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2438] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(6103),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6111),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2439] = {
    [sym__terminated_statement] = STATE(2432),
    [sym_for_statement] = STATE(2702),
    [sym_c_style_for_statement] = STATE(2702),
    [sym_while_statement] = STATE(2702),
    [sym_if_statement] = STATE(2702),
    [sym_case_statement] = STATE(2702),
    [sym_function_definition] = STATE(2702),
    [sym_subshell] = STATE(2702),
    [sym_pipeline] = STATE(2702),
    [sym_list] = STATE(2702),
    [sym_negated_command] = STATE(2702),
    [sym_test_command] = STATE(2702),
    [sym_declaration_command] = STATE(2702),
    [sym_unset_command] = STATE(2702),
    [sym_command] = STATE(2702),
    [sym_command_name] = STATE(2077),
    [sym_variable_assignment] = STATE(2703),
    [sym_subscript] = STATE(2079),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(2080),
    [sym_string] = STATE(2070),
    [sym_simple_expansion] = STATE(2070),
    [sym_string_expansion] = STATE(2070),
    [sym_expansion] = STATE(2070),
    [sym_command_substitution] = STATE(2070),
    [sym_process_substitution] = STATE(2070),
    [aux_sym__statements_repeat1] = STATE(2432),
    [aux_sym_command_repeat1] = STATE(2082),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4665),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(4667),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_esac] = ACTIONS(6103),
    [anon_sym_SEMI_SEMI] = ACTIONS(6113),
    [anon_sym_function] = ACTIONS(4673),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(4675),
    [anon_sym_LBRACK] = ACTIONS(4677),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4679),
    [anon_sym_declare] = ACTIONS(4681),
    [anon_sym_typeset] = ACTIONS(4681),
    [anon_sym_export] = ACTIONS(4681),
    [anon_sym_readonly] = ACTIONS(4681),
    [anon_sym_local] = ACTIONS(4681),
    [anon_sym_unset] = ACTIONS(4683),
    [anon_sym_unsetenv] = ACTIONS(4683),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(4685),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(4691),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4701),
  },
  [2440] = {
    [sym__terminated_statement] = STATE(2707),
    [sym_for_statement] = STATE(2705),
    [sym_c_style_for_statement] = STATE(2705),
    [sym_while_statement] = STATE(2705),
    [sym_if_statement] = STATE(2705),
    [sym_case_statement] = STATE(2705),
    [sym_function_definition] = STATE(2705),
    [sym_subshell] = STATE(2705),
    [sym_pipeline] = STATE(2705),
    [sym_list] = STATE(2705),
    [sym_negated_command] = STATE(2705),
    [sym_test_command] = STATE(2705),
    [sym_declaration_command] = STATE(2705),
    [sym_unset_command] = STATE(2705),
    [sym_command] = STATE(2705),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2706),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2707),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6115),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2441] = {
    [aux_sym_case_item_repeat1] = STATE(2084),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(6117),
    [sym_comment] = ACTIONS(53),
  },
  [2442] = {
    [sym__terminated_statement] = STATE(2712),
    [sym_for_statement] = STATE(2710),
    [sym_c_style_for_statement] = STATE(2710),
    [sym_while_statement] = STATE(2710),
    [sym_if_statement] = STATE(2710),
    [sym_case_statement] = STATE(2710),
    [sym_function_definition] = STATE(2710),
    [sym_subshell] = STATE(2710),
    [sym_pipeline] = STATE(2710),
    [sym_list] = STATE(2710),
    [sym_negated_command] = STATE(2710),
    [sym_test_command] = STATE(2710),
    [sym_declaration_command] = STATE(2710),
    [sym_unset_command] = STATE(2710),
    [sym_command] = STATE(2710),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2711),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2712),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6119),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2443] = {
    [aux_sym_case_item_repeat1] = STATE(2084),
    [anon_sym_PIPE] = ACTIONS(3700),
    [anon_sym_RPAREN] = ACTIONS(6121),
    [sym_comment] = ACTIONS(53),
  },
  [2444] = {
    [ts_builtin_sym_end] = ACTIONS(6123),
    [anon_sym_esac] = ACTIONS(6123),
    [anon_sym_PIPE] = ACTIONS(6125),
    [anon_sym_RPAREN] = ACTIONS(6123),
    [anon_sym_SEMI_SEMI] = ACTIONS(6123),
    [anon_sym_PIPE_AMP] = ACTIONS(6123),
    [anon_sym_AMP_AMP] = ACTIONS(6123),
    [anon_sym_PIPE_PIPE] = ACTIONS(6123),
    [anon_sym_BQUOTE] = ACTIONS(6123),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6125),
    [anon_sym_LF] = ACTIONS(6123),
    [anon_sym_AMP] = ACTIONS(6125),
  },
  [2445] = {
    [ts_builtin_sym_end] = ACTIONS(6127),
    [anon_sym_esac] = ACTIONS(6127),
    [anon_sym_PIPE] = ACTIONS(6129),
    [anon_sym_RPAREN] = ACTIONS(6127),
    [anon_sym_SEMI_SEMI] = ACTIONS(6127),
    [anon_sym_PIPE_AMP] = ACTIONS(6127),
    [anon_sym_AMP_AMP] = ACTIONS(6127),
    [anon_sym_PIPE_PIPE] = ACTIONS(6127),
    [anon_sym_BQUOTE] = ACTIONS(6127),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6129),
    [anon_sym_LF] = ACTIONS(6127),
    [anon_sym_AMP] = ACTIONS(6129),
  },
  [2446] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_in] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5739),
  },
  [2447] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_in] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5743),
  },
  [2448] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_in] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5747),
  },
  [2449] = {
    [aux_sym_concatenation_repeat1] = STATE(2449),
    [sym__concat] = ACTIONS(2852),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2450] = {
    [aux_sym_concatenation_repeat1] = STATE(2450),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(5604),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_RPAREN] = ACTIONS(1762),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2451] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_RBRACK] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5739),
    [anon_sym_EQ_EQ] = ACTIONS(5739),
    [anon_sym_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5739),
    [anon_sym_GT] = ACTIONS(5739),
    [anon_sym_BANG_EQ] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5739),
  },
  [2452] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_RBRACK] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5743),
    [anon_sym_EQ_EQ] = ACTIONS(5743),
    [anon_sym_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5743),
    [anon_sym_GT] = ACTIONS(5743),
    [anon_sym_BANG_EQ] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5743),
  },
  [2453] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_RBRACK] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5747),
    [anon_sym_EQ_EQ] = ACTIONS(5747),
    [anon_sym_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5747),
    [anon_sym_GT] = ACTIONS(5747),
    [anon_sym_BANG_EQ] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5747),
  },
  [2454] = {
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [ts_builtin_sym_end] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_RPAREN] = ACTIONS(3028),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [anon_sym_LT_LT] = ACTIONS(3030),
    [anon_sym_LT_LT_DASH] = ACTIONS(3028),
    [anon_sym_LT_LT_LT] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [2455] = {
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [ts_builtin_sym_end] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_RPAREN] = ACTIONS(3042),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [anon_sym_LT_LT] = ACTIONS(3044),
    [anon_sym_LT_LT_DASH] = ACTIONS(3042),
    [anon_sym_LT_LT_LT] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [2456] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6131),
    [sym_comment] = ACTIONS(53),
  },
  [2457] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6133),
    [sym_comment] = ACTIONS(53),
  },
  [2458] = {
    [anon_sym_RBRACE] = ACTIONS(6133),
    [sym_comment] = ACTIONS(53),
  },
  [2459] = {
    [sym_concatenation] = STATE(2718),
    [sym_string] = STATE(2717),
    [sym_simple_expansion] = STATE(2717),
    [sym_string_expansion] = STATE(2717),
    [sym_expansion] = STATE(2717),
    [sym_command_substitution] = STATE(2717),
    [sym_process_substitution] = STATE(2717),
    [anon_sym_RBRACE] = ACTIONS(6133),
    [sym__special_characters] = ACTIONS(6135),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(6137),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6137),
  },
  [2460] = {
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [ts_builtin_sym_end] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_RPAREN] = ACTIONS(3078),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [anon_sym_LT_LT] = ACTIONS(3080),
    [anon_sym_LT_LT_DASH] = ACTIONS(3078),
    [anon_sym_LT_LT_LT] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [2461] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6139),
  },
  [2462] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6141),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2463] = {
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [ts_builtin_sym_end] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_RPAREN] = ACTIONS(3086),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [anon_sym_LT_LT] = ACTIONS(3088),
    [anon_sym_LT_LT_DASH] = ACTIONS(3086),
    [anon_sym_LT_LT_LT] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [2464] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6143),
  },
  [2465] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6145),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2466] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6147),
  },
  [2467] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6133),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2468] = {
    [sym_concatenation] = STATE(2725),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2725),
    [anon_sym_RBRACE] = ACTIONS(6149),
    [anon_sym_EQ] = ACTIONS(6151),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6153),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6151),
    [anon_sym_COLON_QMARK] = ACTIONS(6151),
    [anon_sym_COLON_DASH] = ACTIONS(6151),
    [anon_sym_PERCENT] = ACTIONS(6151),
    [anon_sym_DASH] = ACTIONS(6151),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2469] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_RPAREN] = ACTIONS(3158),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [anon_sym_LT_LT] = ACTIONS(3160),
    [anon_sym_LT_LT_DASH] = ACTIONS(3158),
    [anon_sym_LT_LT_LT] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2470] = {
    [sym_concatenation] = STATE(2727),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2727),
    [anon_sym_RBRACE] = ACTIONS(6155),
    [anon_sym_EQ] = ACTIONS(6157),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6159),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6157),
    [anon_sym_COLON_QMARK] = ACTIONS(6157),
    [anon_sym_COLON_DASH] = ACTIONS(6157),
    [anon_sym_PERCENT] = ACTIONS(6157),
    [anon_sym_DASH] = ACTIONS(6157),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2471] = {
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [ts_builtin_sym_end] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_RPAREN] = ACTIONS(3203),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [anon_sym_LT_LT] = ACTIONS(3205),
    [anon_sym_LT_LT_DASH] = ACTIONS(3203),
    [anon_sym_LT_LT_LT] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [2472] = {
    [sym_concatenation] = STATE(2729),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2729),
    [anon_sym_RBRACE] = ACTIONS(6161),
    [anon_sym_EQ] = ACTIONS(6163),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6165),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6163),
    [anon_sym_COLON_QMARK] = ACTIONS(6163),
    [anon_sym_COLON_DASH] = ACTIONS(6163),
    [anon_sym_PERCENT] = ACTIONS(6163),
    [anon_sym_DASH] = ACTIONS(6163),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2473] = {
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [ts_builtin_sym_end] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_RPAREN] = ACTIONS(3213),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [anon_sym_LT_LT] = ACTIONS(3215),
    [anon_sym_LT_LT_DASH] = ACTIONS(3213),
    [anon_sym_LT_LT_LT] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [2474] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6167),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2475] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(6167),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2476] = {
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [ts_builtin_sym_end] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [anon_sym_LT_LT] = ACTIONS(3253),
    [anon_sym_LT_LT_DASH] = ACTIONS(3251),
    [anon_sym_LT_LT_LT] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [2477] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6169),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2478] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5739),
    [anon_sym_EQ_EQ] = ACTIONS(5739),
    [anon_sym_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5739),
    [anon_sym_GT] = ACTIONS(5739),
    [anon_sym_BANG_EQ] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5739),
  },
  [2479] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5743),
    [anon_sym_EQ_EQ] = ACTIONS(5743),
    [anon_sym_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5743),
    [anon_sym_GT] = ACTIONS(5743),
    [anon_sym_BANG_EQ] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5743),
  },
  [2480] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5747),
    [anon_sym_EQ_EQ] = ACTIONS(5747),
    [anon_sym_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5747),
    [anon_sym_GT] = ACTIONS(5747),
    [anon_sym_BANG_EQ] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5747),
  },
  [2481] = {
    [sym__concat] = ACTIONS(5739),
    [sym_variable_name] = ACTIONS(5739),
    [ts_builtin_sym_end] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5741),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [2482] = {
    [sym__concat] = ACTIONS(5743),
    [sym_variable_name] = ACTIONS(5743),
    [ts_builtin_sym_end] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5745),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [2483] = {
    [sym__concat] = ACTIONS(5747),
    [sym_variable_name] = ACTIONS(5747),
    [ts_builtin_sym_end] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5749),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [2484] = {
    [sym__concat] = ACTIONS(5739),
    [ts_builtin_sym_end] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5741),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [2485] = {
    [sym__concat] = ACTIONS(5743),
    [ts_builtin_sym_end] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5745),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [2486] = {
    [sym__concat] = ACTIONS(5747),
    [ts_builtin_sym_end] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5749),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [2487] = {
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [sym_variable_name] = ACTIONS(5739),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5739),
  },
  [2488] = {
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [sym_variable_name] = ACTIONS(5743),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5743),
  },
  [2489] = {
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [sym_variable_name] = ACTIONS(5747),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5747),
  },
  [2490] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5741),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym__string_content] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5741),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5741),
    [anon_sym_BQUOTE] = ACTIONS(5741),
    [sym_comment] = ACTIONS(265),
  },
  [2491] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5745),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym__string_content] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5745),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5745),
    [anon_sym_BQUOTE] = ACTIONS(5745),
    [sym_comment] = ACTIONS(265),
  },
  [2492] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5749),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym__string_content] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5749),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5749),
    [anon_sym_BQUOTE] = ACTIONS(5749),
    [sym_comment] = ACTIONS(265),
  },
  [2493] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_RBRACE] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
  },
  [2494] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_RBRACE] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
  },
  [2495] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6171),
    [sym_comment] = ACTIONS(53),
  },
  [2496] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6173),
    [sym_comment] = ACTIONS(53),
  },
  [2497] = {
    [anon_sym_RBRACE] = ACTIONS(6173),
    [sym_comment] = ACTIONS(53),
  },
  [2498] = {
    [sym_concatenation] = STATE(2735),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2735),
    [anon_sym_RBRACE] = ACTIONS(6175),
    [anon_sym_EQ] = ACTIONS(6177),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6179),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6177),
    [anon_sym_COLON_QMARK] = ACTIONS(6177),
    [anon_sym_COLON_DASH] = ACTIONS(6177),
    [anon_sym_PERCENT] = ACTIONS(6177),
    [anon_sym_DASH] = ACTIONS(6177),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2499] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_RBRACE] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
  },
  [2500] = {
    [sym_concatenation] = STATE(2737),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2737),
    [anon_sym_RBRACE] = ACTIONS(6181),
    [anon_sym_EQ] = ACTIONS(6183),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6185),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6183),
    [anon_sym_COLON_QMARK] = ACTIONS(6183),
    [anon_sym_COLON_DASH] = ACTIONS(6183),
    [anon_sym_PERCENT] = ACTIONS(6183),
    [anon_sym_DASH] = ACTIONS(6183),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2501] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_RBRACE] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
  },
  [2502] = {
    [sym_concatenation] = STATE(2739),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2739),
    [anon_sym_RBRACE] = ACTIONS(6187),
    [anon_sym_EQ] = ACTIONS(6189),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6189),
    [anon_sym_COLON_QMARK] = ACTIONS(6189),
    [anon_sym_COLON_DASH] = ACTIONS(6189),
    [anon_sym_PERCENT] = ACTIONS(6189),
    [anon_sym_DASH] = ACTIONS(6189),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2503] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_RBRACE] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
  },
  [2504] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6193),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2505] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_RBRACE] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
  },
  [2506] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6195),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2507] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_RBRACE] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
  },
  [2508] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6197),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2509] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_RBRACE] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
  },
  [2510] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_RBRACE] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
  },
  [2511] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_RBRACE] = ACTIONS(5100),
    [anon_sym_EQ] = ACTIONS(5102),
    [sym__special_characters] = ACTIONS(5102),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_POUND] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_COLON] = ACTIONS(5102),
    [anon_sym_COLON_QMARK] = ACTIONS(5102),
    [anon_sym_COLON_DASH] = ACTIONS(5102),
    [anon_sym_PERCENT] = ACTIONS(5102),
    [anon_sym_DASH] = ACTIONS(5102),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5102),
  },
  [2512] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_RBRACE] = ACTIONS(5104),
    [anon_sym_EQ] = ACTIONS(5106),
    [sym__special_characters] = ACTIONS(5106),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_POUND] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_COLON] = ACTIONS(5106),
    [anon_sym_COLON_QMARK] = ACTIONS(5106),
    [anon_sym_COLON_DASH] = ACTIONS(5106),
    [anon_sym_PERCENT] = ACTIONS(5106),
    [anon_sym_DASH] = ACTIONS(5106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5106),
  },
  [2513] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_RBRACE] = ACTIONS(5108),
    [anon_sym_EQ] = ACTIONS(5110),
    [sym__special_characters] = ACTIONS(5110),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_POUND] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_COLON] = ACTIONS(5110),
    [anon_sym_COLON_QMARK] = ACTIONS(5110),
    [anon_sym_COLON_DASH] = ACTIONS(5110),
    [anon_sym_PERCENT] = ACTIONS(5110),
    [anon_sym_DASH] = ACTIONS(5110),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5110),
  },
  [2514] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6199),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2515] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_RBRACE] = ACTIONS(5114),
    [anon_sym_EQ] = ACTIONS(5116),
    [sym__special_characters] = ACTIONS(5116),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_POUND] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_COLON] = ACTIONS(5116),
    [anon_sym_COLON_QMARK] = ACTIONS(5116),
    [anon_sym_COLON_DASH] = ACTIONS(5116),
    [anon_sym_PERCENT] = ACTIONS(5116),
    [anon_sym_DASH] = ACTIONS(5116),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5116),
  },
  [2516] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6201),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2517] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_RBRACE] = ACTIONS(5120),
    [anon_sym_EQ] = ACTIONS(5122),
    [sym__special_characters] = ACTIONS(5122),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_POUND] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_COLON] = ACTIONS(5122),
    [anon_sym_COLON_QMARK] = ACTIONS(5122),
    [anon_sym_COLON_DASH] = ACTIONS(5122),
    [anon_sym_PERCENT] = ACTIONS(5122),
    [anon_sym_DASH] = ACTIONS(5122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5122),
  },
  [2518] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6203),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2519] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_RBRACE] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(5164),
    [sym__special_characters] = ACTIONS(5164),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_POUND] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_COLON] = ACTIONS(5164),
    [anon_sym_COLON_QMARK] = ACTIONS(5164),
    [anon_sym_COLON_DASH] = ACTIONS(5164),
    [anon_sym_PERCENT] = ACTIONS(5164),
    [anon_sym_DASH] = ACTIONS(5164),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5164),
  },
  [2520] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_RBRACE] = ACTIONS(5170),
    [anon_sym_EQ] = ACTIONS(5172),
    [sym__special_characters] = ACTIONS(5172),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_POUND] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_COLON] = ACTIONS(5172),
    [anon_sym_COLON_QMARK] = ACTIONS(5172),
    [anon_sym_COLON_DASH] = ACTIONS(5172),
    [anon_sym_PERCENT] = ACTIONS(5172),
    [anon_sym_DASH] = ACTIONS(5172),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5172),
  },
  [2521] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_RBRACE] = ACTIONS(5174),
    [anon_sym_EQ] = ACTIONS(5176),
    [sym__special_characters] = ACTIONS(5176),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_POUND] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_COLON] = ACTIONS(5176),
    [anon_sym_COLON_QMARK] = ACTIONS(5176),
    [anon_sym_COLON_DASH] = ACTIONS(5176),
    [anon_sym_PERCENT] = ACTIONS(5176),
    [anon_sym_DASH] = ACTIONS(5176),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5176),
  },
  [2522] = {
    [aux_sym_concatenation_repeat1] = STATE(2522),
    [sym__concat] = ACTIONS(2852),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2523] = {
    [aux_sym_concatenation_repeat1] = STATE(2523),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(5604),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2524] = {
    [sym__heredoc_body_middle] = ACTIONS(5100),
    [sym__heredoc_body_end] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
  },
  [2525] = {
    [sym__heredoc_body_middle] = ACTIONS(5104),
    [sym__heredoc_body_end] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
  },
  [2526] = {
    [sym__heredoc_body_middle] = ACTIONS(5108),
    [sym__heredoc_body_end] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
  },
  [2527] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6205),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2528] = {
    [sym__heredoc_body_middle] = ACTIONS(5114),
    [sym__heredoc_body_end] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
  },
  [2529] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6207),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2530] = {
    [sym__heredoc_body_middle] = ACTIONS(5120),
    [sym__heredoc_body_end] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
  },
  [2531] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6209),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2532] = {
    [sym__heredoc_body_middle] = ACTIONS(5162),
    [sym__heredoc_body_end] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
  },
  [2533] = {
    [sym__heredoc_body_middle] = ACTIONS(5170),
    [sym__heredoc_body_end] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
  },
  [2534] = {
    [sym__heredoc_body_middle] = ACTIONS(5174),
    [sym__heredoc_body_end] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
  },
  [2535] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5100),
  },
  [2536] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5104),
  },
  [2537] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5108),
  },
  [2538] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6211),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2539] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5114),
  },
  [2540] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6213),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2541] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5120),
  },
  [2542] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6215),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2543] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5162),
  },
  [2544] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5170),
  },
  [2545] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5174),
  },
  [2546] = {
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [sym_variable_name] = ACTIONS(5739),
    [ts_builtin_sym_end] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [2547] = {
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [sym_variable_name] = ACTIONS(5743),
    [ts_builtin_sym_end] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [2548] = {
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [sym_variable_name] = ACTIONS(5747),
    [ts_builtin_sym_end] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [2549] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4098),
    [anon_sym_EQ_EQ] = ACTIONS(4098),
    [anon_sym_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4098),
    [anon_sym_GT] = ACTIONS(4098),
    [anon_sym_BANG_EQ] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4098),
  },
  [2550] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4106),
    [anon_sym_EQ_EQ] = ACTIONS(4106),
    [anon_sym_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4106),
    [anon_sym_GT] = ACTIONS(4106),
    [anon_sym_BANG_EQ] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4106),
  },
  [2551] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6217),
    [sym_comment] = ACTIONS(53),
  },
  [2552] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6219),
    [sym_comment] = ACTIONS(53),
  },
  [2553] = {
    [anon_sym_RBRACE] = ACTIONS(6219),
    [sym_comment] = ACTIONS(53),
  },
  [2554] = {
    [sym_concatenation] = STATE(2755),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2755),
    [anon_sym_RBRACE] = ACTIONS(6221),
    [anon_sym_EQ] = ACTIONS(6223),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6225),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6223),
    [anon_sym_COLON_QMARK] = ACTIONS(6223),
    [anon_sym_COLON_DASH] = ACTIONS(6223),
    [anon_sym_PERCENT] = ACTIONS(6223),
    [anon_sym_DASH] = ACTIONS(6223),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2555] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4170),
    [anon_sym_EQ_EQ] = ACTIONS(4170),
    [anon_sym_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4170),
    [anon_sym_GT] = ACTIONS(4170),
    [anon_sym_BANG_EQ] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4170),
  },
  [2556] = {
    [sym_concatenation] = STATE(2757),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2757),
    [anon_sym_RBRACE] = ACTIONS(6227),
    [anon_sym_EQ] = ACTIONS(6229),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6231),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6229),
    [anon_sym_COLON_QMARK] = ACTIONS(6229),
    [anon_sym_COLON_DASH] = ACTIONS(6229),
    [anon_sym_PERCENT] = ACTIONS(6229),
    [anon_sym_DASH] = ACTIONS(6229),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2557] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4180),
    [anon_sym_EQ_EQ] = ACTIONS(4180),
    [anon_sym_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4180),
    [anon_sym_GT] = ACTIONS(4180),
    [anon_sym_BANG_EQ] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4180),
  },
  [2558] = {
    [sym_concatenation] = STATE(2759),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2759),
    [anon_sym_RBRACE] = ACTIONS(6233),
    [anon_sym_EQ] = ACTIONS(6235),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6237),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6235),
    [anon_sym_COLON_QMARK] = ACTIONS(6235),
    [anon_sym_COLON_DASH] = ACTIONS(6235),
    [anon_sym_PERCENT] = ACTIONS(6235),
    [anon_sym_DASH] = ACTIONS(6235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2559] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4235),
    [anon_sym_EQ_EQ] = ACTIONS(4235),
    [anon_sym_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4235),
    [anon_sym_GT] = ACTIONS(4235),
    [anon_sym_BANG_EQ] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4235),
  },
  [2560] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6239),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2561] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4257),
    [anon_sym_EQ_EQ] = ACTIONS(4257),
    [anon_sym_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4257),
    [anon_sym_GT] = ACTIONS(4257),
    [anon_sym_BANG_EQ] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4257),
  },
  [2562] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6241),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2563] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4263),
    [anon_sym_EQ_EQ] = ACTIONS(4263),
    [anon_sym_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4263),
    [anon_sym_GT] = ACTIONS(4263),
    [anon_sym_BANG_EQ] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4263),
  },
  [2564] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6243),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2565] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4269),
    [anon_sym_EQ_EQ] = ACTIONS(4269),
    [anon_sym_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4269),
    [anon_sym_GT] = ACTIONS(4269),
    [anon_sym_BANG_EQ] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4269),
  },
  [2566] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4293),
    [anon_sym_EQ_EQ] = ACTIONS(4293),
    [anon_sym_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4293),
    [anon_sym_GT] = ACTIONS(4293),
    [anon_sym_BANG_EQ] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(4293),
  },
  [2567] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5739),
    [anon_sym_EQ_EQ] = ACTIONS(5739),
    [anon_sym_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5739),
    [anon_sym_GT] = ACTIONS(5739),
    [anon_sym_BANG_EQ] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5739),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [2568] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5743),
    [anon_sym_EQ_EQ] = ACTIONS(5743),
    [anon_sym_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5743),
    [anon_sym_GT] = ACTIONS(5743),
    [anon_sym_BANG_EQ] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5743),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [2569] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5747),
    [anon_sym_EQ_EQ] = ACTIONS(5747),
    [anon_sym_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5747),
    [anon_sym_GT] = ACTIONS(5747),
    [anon_sym_BANG_EQ] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5747),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [2570] = {
    [ts_builtin_sym_end] = ACTIONS(6245),
    [anon_sym_esac] = ACTIONS(6245),
    [anon_sym_PIPE] = ACTIONS(6247),
    [anon_sym_RPAREN] = ACTIONS(6245),
    [anon_sym_SEMI_SEMI] = ACTIONS(6245),
    [anon_sym_PIPE_AMP] = ACTIONS(6245),
    [anon_sym_AMP_AMP] = ACTIONS(6245),
    [anon_sym_PIPE_PIPE] = ACTIONS(6245),
    [anon_sym_BQUOTE] = ACTIONS(6245),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6247),
    [anon_sym_LF] = ACTIONS(6245),
    [anon_sym_AMP] = ACTIONS(6247),
  },
  [2571] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5100),
  },
  [2572] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5104),
  },
  [2573] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5108),
  },
  [2574] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6249),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2575] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5114),
  },
  [2576] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6251),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2577] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5120),
  },
  [2578] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6253),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2579] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5162),
  },
  [2580] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5170),
  },
  [2581] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5174),
  },
  [2582] = {
    [sym_file_descriptor] = ACTIONS(1069),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_esac] = ACTIONS(1071),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [2583] = {
    [sym_concatenation] = STATE(2767),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(2767),
    [anon_sym_RPAREN] = ACTIONS(6255),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [2584] = {
    [aux_sym_concatenation_repeat1] = STATE(2769),
    [sym_file_descriptor] = ACTIONS(1091),
    [sym__concat] = ACTIONS(6257),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_esac] = ACTIONS(1095),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [anon_sym_LT] = ACTIONS(1095),
    [anon_sym_GT] = ACTIONS(1095),
    [anon_sym_GT_GT] = ACTIONS(1091),
    [anon_sym_AMP_GT] = ACTIONS(1095),
    [anon_sym_AMP_GT_GT] = ACTIONS(1091),
    [anon_sym_LT_AMP] = ACTIONS(1091),
    [anon_sym_GT_AMP] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [2585] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(2772),
    [anon_sym_DQUOTE] = ACTIONS(6259),
    [anon_sym_DOLLAR] = ACTIONS(6261),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2586] = {
    [sym_string] = STATE(2774),
    [anon_sym_DQUOTE] = ACTIONS(5925),
    [anon_sym_DOLLAR] = ACTIONS(6263),
    [sym_raw_string] = ACTIONS(6265),
    [anon_sym_POUND] = ACTIONS(6263),
    [anon_sym_DASH] = ACTIONS(6263),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6267),
    [anon_sym_STAR] = ACTIONS(6263),
    [anon_sym_AT] = ACTIONS(6263),
    [anon_sym_QMARK] = ACTIONS(6263),
    [anon_sym_0] = ACTIONS(6269),
    [anon_sym__] = ACTIONS(6269),
  },
  [2587] = {
    [aux_sym_concatenation_repeat1] = STATE(2769),
    [sym_file_descriptor] = ACTIONS(1069),
    [sym__concat] = ACTIONS(6257),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_esac] = ACTIONS(1071),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [anon_sym_LT] = ACTIONS(1071),
    [anon_sym_GT] = ACTIONS(1071),
    [anon_sym_GT_GT] = ACTIONS(1069),
    [anon_sym_AMP_GT] = ACTIONS(1071),
    [anon_sym_AMP_GT_GT] = ACTIONS(1069),
    [anon_sym_LT_AMP] = ACTIONS(1069),
    [anon_sym_GT_AMP] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [2588] = {
    [sym_subscript] = STATE(2780),
    [sym_variable_name] = ACTIONS(6271),
    [anon_sym_BANG] = ACTIONS(6273),
    [anon_sym_DOLLAR] = ACTIONS(6275),
    [anon_sym_POUND] = ACTIONS(6273),
    [anon_sym_DASH] = ACTIONS(6275),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6277),
    [anon_sym_STAR] = ACTIONS(6275),
    [anon_sym_AT] = ACTIONS(6275),
    [anon_sym_QMARK] = ACTIONS(6275),
    [anon_sym_0] = ACTIONS(6279),
    [anon_sym__] = ACTIONS(6279),
  },
  [2589] = {
    [sym__terminated_statement] = STATE(2783),
    [sym_for_statement] = STATE(2781),
    [sym_c_style_for_statement] = STATE(2781),
    [sym_while_statement] = STATE(2781),
    [sym_if_statement] = STATE(2781),
    [sym_case_statement] = STATE(2781),
    [sym_function_definition] = STATE(2781),
    [sym_subshell] = STATE(2781),
    [sym_pipeline] = STATE(2781),
    [sym_list] = STATE(2781),
    [sym_negated_command] = STATE(2781),
    [sym_test_command] = STATE(2781),
    [sym_declaration_command] = STATE(2781),
    [sym_unset_command] = STATE(2781),
    [sym_command] = STATE(2781),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2782),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2783),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2590] = {
    [sym__terminated_statement] = STATE(2786),
    [sym_for_statement] = STATE(2784),
    [sym_c_style_for_statement] = STATE(2784),
    [sym_while_statement] = STATE(2784),
    [sym_if_statement] = STATE(2784),
    [sym_case_statement] = STATE(2784),
    [sym_function_definition] = STATE(2784),
    [sym_subshell] = STATE(2784),
    [sym_pipeline] = STATE(2784),
    [sym_list] = STATE(2784),
    [sym_negated_command] = STATE(2784),
    [sym_test_command] = STATE(2784),
    [sym_declaration_command] = STATE(2784),
    [sym_unset_command] = STATE(2784),
    [sym_command] = STATE(2784),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2785),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2786),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2591] = {
    [sym__terminated_statement] = STATE(2789),
    [sym_for_statement] = STATE(2787),
    [sym_c_style_for_statement] = STATE(2787),
    [sym_while_statement] = STATE(2787),
    [sym_if_statement] = STATE(2787),
    [sym_case_statement] = STATE(2787),
    [sym_function_definition] = STATE(2787),
    [sym_subshell] = STATE(2787),
    [sym_pipeline] = STATE(2787),
    [sym_list] = STATE(2787),
    [sym_negated_command] = STATE(2787),
    [sym_test_command] = STATE(2787),
    [sym_declaration_command] = STATE(2787),
    [sym_unset_command] = STATE(2787),
    [sym_command] = STATE(2787),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2788),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2789),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2592] = {
    [sym_file_redirect] = STATE(2790),
    [sym_heredoc_redirect] = STATE(2790),
    [sym_heredoc_body] = STATE(632),
    [sym_herestring_redirect] = STATE(2790),
    [aux_sym_while_statement_repeat1] = STATE(2790),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(1189),
    [anon_sym_PIPE] = ACTIONS(1191),
    [anon_sym_SEMI_SEMI] = ACTIONS(1189),
    [anon_sym_PIPE_AMP] = ACTIONS(1189),
    [anon_sym_AMP_AMP] = ACTIONS(1189),
    [anon_sym_PIPE_PIPE] = ACTIONS(1189),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1191),
    [anon_sym_LF] = ACTIONS(1189),
    [anon_sym_AMP] = ACTIONS(1191),
  },
  [2593] = {
    [anon_sym_RPAREN] = ACTIONS(6281),
    [sym_comment] = ACTIONS(53),
  },
  [2594] = {
    [sym_file_redirect] = STATE(694),
    [sym_file_descriptor] = ACTIONS(6283),
    [anon_sym_esac] = ACTIONS(1289),
    [anon_sym_PIPE] = ACTIONS(1291),
    [anon_sym_SEMI_SEMI] = ACTIONS(1289),
    [anon_sym_PIPE_AMP] = ACTIONS(1289),
    [anon_sym_AMP_AMP] = ACTIONS(1289),
    [anon_sym_PIPE_PIPE] = ACTIONS(1289),
    [anon_sym_LT] = ACTIONS(6285),
    [anon_sym_GT] = ACTIONS(6285),
    [anon_sym_GT_GT] = ACTIONS(6287),
    [anon_sym_AMP_GT] = ACTIONS(6285),
    [anon_sym_AMP_GT_GT] = ACTIONS(6287),
    [anon_sym_LT_AMP] = ACTIONS(6287),
    [anon_sym_GT_AMP] = ACTIONS(6287),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1291),
    [anon_sym_LF] = ACTIONS(1289),
    [anon_sym_AMP] = ACTIONS(1291),
  },
  [2595] = {
    [sym_file_redirect] = STATE(2797),
    [sym_heredoc_redirect] = STATE(2797),
    [sym_herestring_redirect] = STATE(2797),
    [aux_sym_while_statement_repeat1] = STATE(2797),
    [sym_file_descriptor] = ACTIONS(6289),
    [anon_sym_esac] = ACTIONS(1411),
    [anon_sym_PIPE] = ACTIONS(1413),
    [anon_sym_SEMI_SEMI] = ACTIONS(1411),
    [anon_sym_PIPE_AMP] = ACTIONS(1411),
    [anon_sym_AMP_AMP] = ACTIONS(1411),
    [anon_sym_PIPE_PIPE] = ACTIONS(1411),
    [anon_sym_LT] = ACTIONS(6291),
    [anon_sym_GT] = ACTIONS(6291),
    [anon_sym_GT_GT] = ACTIONS(6293),
    [anon_sym_AMP_GT] = ACTIONS(6291),
    [anon_sym_AMP_GT_GT] = ACTIONS(6293),
    [anon_sym_LT_AMP] = ACTIONS(6293),
    [anon_sym_GT_AMP] = ACTIONS(6293),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(6295),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1413),
    [anon_sym_LF] = ACTIONS(1411),
    [anon_sym_AMP] = ACTIONS(1413),
  },
  [2596] = {
    [sym_concatenation] = STATE(2798),
    [sym_string] = STATE(2801),
    [sym_array] = STATE(2798),
    [sym_simple_expansion] = STATE(2801),
    [sym_string_expansion] = STATE(2801),
    [sym_expansion] = STATE(2801),
    [sym_command_substitution] = STATE(2801),
    [sym_process_substitution] = STATE(2801),
    [sym__empty_value] = ACTIONS(6297),
    [anon_sym_LPAREN] = ACTIONS(6299),
    [sym__special_characters] = ACTIONS(6301),
    [anon_sym_DQUOTE] = ACTIONS(5463),
    [anon_sym_DOLLAR] = ACTIONS(5465),
    [sym_raw_string] = ACTIONS(6303),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5469),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5471),
    [anon_sym_BQUOTE] = ACTIONS(5473),
    [anon_sym_LT_LPAREN] = ACTIONS(5475),
    [anon_sym_GT_LPAREN] = ACTIONS(5475),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6303),
  },
  [2597] = {
    [sym_string] = STATE(2802),
    [sym_simple_expansion] = STATE(2802),
    [sym_string_expansion] = STATE(2802),
    [sym_expansion] = STATE(2802),
    [sym_command_substitution] = STATE(2802),
    [sym_process_substitution] = STATE(2802),
    [sym__special_characters] = ACTIONS(6305),
    [anon_sym_DQUOTE] = ACTIONS(5463),
    [anon_sym_DOLLAR] = ACTIONS(5465),
    [sym_raw_string] = ACTIONS(6305),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5469),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5471),
    [anon_sym_BQUOTE] = ACTIONS(5473),
    [anon_sym_LT_LPAREN] = ACTIONS(5475),
    [anon_sym_GT_LPAREN] = ACTIONS(5475),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6305),
  },
  [2598] = {
    [aux_sym_concatenation_repeat1] = STATE(2803),
    [sym__concat] = ACTIONS(5945),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_esac] = ACTIONS(763),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2599] = {
    [sym__concat] = ACTIONS(765),
    [sym_variable_name] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(767),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(767),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [2600] = {
    [anon_sym_DQUOTE] = ACTIONS(6307),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2601] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(6307),
    [anon_sym_DOLLAR] = ACTIONS(6309),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2602] = {
    [sym__concat] = ACTIONS(797),
    [sym_variable_name] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(799),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(799),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [2603] = {
    [sym__concat] = ACTIONS(801),
    [sym_variable_name] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(803),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(803),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [2604] = {
    [sym__concat] = ACTIONS(805),
    [sym_variable_name] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(807),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [2605] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6311),
    [sym_comment] = ACTIONS(53),
  },
  [2606] = {
    [sym_subscript] = STATE(2810),
    [sym_variable_name] = ACTIONS(6313),
    [anon_sym_DOLLAR] = ACTIONS(6315),
    [anon_sym_DASH] = ACTIONS(6315),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6317),
    [anon_sym_STAR] = ACTIONS(6315),
    [anon_sym_AT] = ACTIONS(6315),
    [anon_sym_QMARK] = ACTIONS(6315),
    [anon_sym_0] = ACTIONS(6319),
    [anon_sym__] = ACTIONS(6319),
  },
  [2607] = {
    [sym_concatenation] = STATE(2813),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2813),
    [anon_sym_RBRACE] = ACTIONS(6321),
    [anon_sym_EQ] = ACTIONS(6323),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6325),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6327),
    [anon_sym_COLON] = ACTIONS(6323),
    [anon_sym_COLON_QMARK] = ACTIONS(6323),
    [anon_sym_COLON_DASH] = ACTIONS(6323),
    [anon_sym_PERCENT] = ACTIONS(6323),
    [anon_sym_DASH] = ACTIONS(6323),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2608] = {
    [sym_concatenation] = STATE(2816),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2816),
    [anon_sym_RBRACE] = ACTIONS(6329),
    [anon_sym_EQ] = ACTIONS(6331),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6333),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6335),
    [anon_sym_COLON] = ACTIONS(6331),
    [anon_sym_COLON_QMARK] = ACTIONS(6331),
    [anon_sym_COLON_DASH] = ACTIONS(6331),
    [anon_sym_PERCENT] = ACTIONS(6331),
    [anon_sym_DASH] = ACTIONS(6331),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2609] = {
    [sym_concatenation] = STATE(2819),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2819),
    [anon_sym_RBRACE] = ACTIONS(6337),
    [anon_sym_EQ] = ACTIONS(6339),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6341),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6343),
    [anon_sym_COLON] = ACTIONS(6339),
    [anon_sym_COLON_QMARK] = ACTIONS(6339),
    [anon_sym_COLON_DASH] = ACTIONS(6339),
    [anon_sym_PERCENT] = ACTIONS(6339),
    [anon_sym_DASH] = ACTIONS(6339),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2610] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6345),
    [anon_sym_SEMI_SEMI] = ACTIONS(6347),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6349),
    [anon_sym_LF] = ACTIONS(6347),
    [anon_sym_AMP] = ACTIONS(6349),
  },
  [2611] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6345),
    [anon_sym_SEMI_SEMI] = ACTIONS(6347),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6349),
    [anon_sym_LF] = ACTIONS(6347),
    [anon_sym_AMP] = ACTIONS(6349),
  },
  [2612] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2822),
    [sym_c_style_for_statement] = STATE(2822),
    [sym_while_statement] = STATE(2822),
    [sym_if_statement] = STATE(2822),
    [sym_case_statement] = STATE(2822),
    [sym_function_definition] = STATE(2822),
    [sym_subshell] = STATE(2822),
    [sym_pipeline] = STATE(2822),
    [sym_list] = STATE(2822),
    [sym_negated_command] = STATE(2822),
    [sym_test_command] = STATE(2822),
    [sym_declaration_command] = STATE(2822),
    [sym_unset_command] = STATE(2822),
    [sym_command] = STATE(2822),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2823),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2613] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6351),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6345),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6353),
    [anon_sym_LF] = ACTIONS(6351),
    [anon_sym_AMP] = ACTIONS(6353),
  },
  [2614] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6351),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6345),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6353),
    [anon_sym_LF] = ACTIONS(6351),
    [anon_sym_AMP] = ACTIONS(6353),
  },
  [2615] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2825),
    [sym_c_style_for_statement] = STATE(2825),
    [sym_while_statement] = STATE(2825),
    [sym_if_statement] = STATE(2825),
    [sym_case_statement] = STATE(2825),
    [sym_function_definition] = STATE(2825),
    [sym_subshell] = STATE(2825),
    [sym_pipeline] = STATE(2825),
    [sym_list] = STATE(2825),
    [sym_negated_command] = STATE(2825),
    [sym_test_command] = STATE(2825),
    [sym_declaration_command] = STATE(2825),
    [sym_unset_command] = STATE(2825),
    [sym_command] = STATE(2825),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2826),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2616] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6355),
    [anon_sym_SEMI_SEMI] = ACTIONS(6357),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6359),
    [anon_sym_LF] = ACTIONS(6357),
    [anon_sym_AMP] = ACTIONS(6359),
  },
  [2617] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6355),
    [anon_sym_SEMI_SEMI] = ACTIONS(6357),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6359),
    [anon_sym_LF] = ACTIONS(6357),
    [anon_sym_AMP] = ACTIONS(6359),
  },
  [2618] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2829),
    [sym_c_style_for_statement] = STATE(2829),
    [sym_while_statement] = STATE(2829),
    [sym_if_statement] = STATE(2829),
    [sym_case_statement] = STATE(2829),
    [sym_function_definition] = STATE(2829),
    [sym_subshell] = STATE(2829),
    [sym_pipeline] = STATE(2829),
    [sym_list] = STATE(2829),
    [sym_negated_command] = STATE(2829),
    [sym_test_command] = STATE(2829),
    [sym_declaration_command] = STATE(2829),
    [sym_unset_command] = STATE(2829),
    [sym_command] = STATE(2829),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2830),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2619] = {
    [sym_variable_assignment] = STATE(2619),
    [sym_subscript] = STATE(2382),
    [sym_concatenation] = STATE(2619),
    [sym_string] = STATE(2376),
    [sym_simple_expansion] = STATE(2376),
    [sym_string_expansion] = STATE(2376),
    [sym_expansion] = STATE(2376),
    [sym_command_substitution] = STATE(2376),
    [sym_process_substitution] = STATE(2376),
    [aux_sym_declaration_command_repeat1] = STATE(2619),
    [sym_variable_name] = ACTIONS(6361),
    [anon_sym_esac] = ACTIONS(1584),
    [anon_sym_PIPE] = ACTIONS(1584),
    [anon_sym_SEMI_SEMI] = ACTIONS(1582),
    [anon_sym_PIPE_AMP] = ACTIONS(1582),
    [anon_sym_AMP_AMP] = ACTIONS(1582),
    [anon_sym_PIPE_PIPE] = ACTIONS(1582),
    [sym__special_characters] = ACTIONS(6364),
    [anon_sym_DQUOTE] = ACTIONS(6367),
    [anon_sym_DOLLAR] = ACTIONS(6370),
    [sym_raw_string] = ACTIONS(6373),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6376),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6379),
    [anon_sym_BQUOTE] = ACTIONS(6382),
    [anon_sym_LT_LPAREN] = ACTIONS(6385),
    [anon_sym_GT_LPAREN] = ACTIONS(6385),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6388),
    [sym_word] = ACTIONS(6391),
    [anon_sym_SEMI] = ACTIONS(1584),
    [anon_sym_LF] = ACTIONS(1582),
    [anon_sym_AMP] = ACTIONS(1584),
  },
  [2620] = {
    [sym_string] = STATE(2831),
    [sym_simple_expansion] = STATE(2831),
    [sym_string_expansion] = STATE(2831),
    [sym_expansion] = STATE(2831),
    [sym_command_substitution] = STATE(2831),
    [sym_process_substitution] = STATE(2831),
    [sym__special_characters] = ACTIONS(6394),
    [anon_sym_DQUOTE] = ACTIONS(5483),
    [anon_sym_DOLLAR] = ACTIONS(5485),
    [sym_raw_string] = ACTIONS(6394),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5489),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5491),
    [anon_sym_BQUOTE] = ACTIONS(5493),
    [anon_sym_LT_LPAREN] = ACTIONS(5495),
    [anon_sym_GT_LPAREN] = ACTIONS(5495),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6394),
  },
  [2621] = {
    [aux_sym_concatenation_repeat1] = STATE(2832),
    [sym__concat] = ACTIONS(5969),
    [anon_sym_esac] = ACTIONS(763),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2622] = {
    [sym__concat] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(767),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(767),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [2623] = {
    [anon_sym_DQUOTE] = ACTIONS(6396),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2624] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(6396),
    [anon_sym_DOLLAR] = ACTIONS(6398),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2625] = {
    [sym__concat] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(799),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(799),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [2626] = {
    [sym__concat] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(803),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(803),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [2627] = {
    [sym__concat] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(807),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [2628] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6400),
    [sym_comment] = ACTIONS(53),
  },
  [2629] = {
    [sym_subscript] = STATE(2839),
    [sym_variable_name] = ACTIONS(6402),
    [anon_sym_DOLLAR] = ACTIONS(6404),
    [anon_sym_DASH] = ACTIONS(6404),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6406),
    [anon_sym_STAR] = ACTIONS(6404),
    [anon_sym_AT] = ACTIONS(6404),
    [anon_sym_QMARK] = ACTIONS(6404),
    [anon_sym_0] = ACTIONS(6408),
    [anon_sym__] = ACTIONS(6408),
  },
  [2630] = {
    [sym_concatenation] = STATE(2842),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2842),
    [anon_sym_RBRACE] = ACTIONS(6410),
    [anon_sym_EQ] = ACTIONS(6412),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6414),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6416),
    [anon_sym_COLON] = ACTIONS(6412),
    [anon_sym_COLON_QMARK] = ACTIONS(6412),
    [anon_sym_COLON_DASH] = ACTIONS(6412),
    [anon_sym_PERCENT] = ACTIONS(6412),
    [anon_sym_DASH] = ACTIONS(6412),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2631] = {
    [sym_concatenation] = STATE(2845),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2845),
    [anon_sym_RBRACE] = ACTIONS(6418),
    [anon_sym_EQ] = ACTIONS(6420),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6422),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6424),
    [anon_sym_COLON] = ACTIONS(6420),
    [anon_sym_COLON_QMARK] = ACTIONS(6420),
    [anon_sym_COLON_DASH] = ACTIONS(6420),
    [anon_sym_PERCENT] = ACTIONS(6420),
    [anon_sym_DASH] = ACTIONS(6420),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2632] = {
    [sym_concatenation] = STATE(2848),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2848),
    [anon_sym_RBRACE] = ACTIONS(6426),
    [anon_sym_EQ] = ACTIONS(6428),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6430),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6432),
    [anon_sym_COLON] = ACTIONS(6428),
    [anon_sym_COLON_QMARK] = ACTIONS(6428),
    [anon_sym_COLON_DASH] = ACTIONS(6428),
    [anon_sym_PERCENT] = ACTIONS(6428),
    [anon_sym_DASH] = ACTIONS(6428),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2633] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6434),
    [anon_sym_SEMI_SEMI] = ACTIONS(6436),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6438),
    [anon_sym_LF] = ACTIONS(6436),
    [anon_sym_AMP] = ACTIONS(6438),
  },
  [2634] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6434),
    [anon_sym_SEMI_SEMI] = ACTIONS(6436),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6438),
    [anon_sym_LF] = ACTIONS(6436),
    [anon_sym_AMP] = ACTIONS(6438),
  },
  [2635] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2851),
    [sym_c_style_for_statement] = STATE(2851),
    [sym_while_statement] = STATE(2851),
    [sym_if_statement] = STATE(2851),
    [sym_case_statement] = STATE(2851),
    [sym_function_definition] = STATE(2851),
    [sym_subshell] = STATE(2851),
    [sym_pipeline] = STATE(2851),
    [sym_list] = STATE(2851),
    [sym_negated_command] = STATE(2851),
    [sym_test_command] = STATE(2851),
    [sym_declaration_command] = STATE(2851),
    [sym_unset_command] = STATE(2851),
    [sym_command] = STATE(2851),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2852),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2636] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6440),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6434),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6442),
    [anon_sym_LF] = ACTIONS(6440),
    [anon_sym_AMP] = ACTIONS(6442),
  },
  [2637] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6440),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6434),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6442),
    [anon_sym_LF] = ACTIONS(6440),
    [anon_sym_AMP] = ACTIONS(6442),
  },
  [2638] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2854),
    [sym_c_style_for_statement] = STATE(2854),
    [sym_while_statement] = STATE(2854),
    [sym_if_statement] = STATE(2854),
    [sym_case_statement] = STATE(2854),
    [sym_function_definition] = STATE(2854),
    [sym_subshell] = STATE(2854),
    [sym_pipeline] = STATE(2854),
    [sym_list] = STATE(2854),
    [sym_negated_command] = STATE(2854),
    [sym_test_command] = STATE(2854),
    [sym_declaration_command] = STATE(2854),
    [sym_unset_command] = STATE(2854),
    [sym_command] = STATE(2854),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2855),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2639] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6444),
    [anon_sym_SEMI_SEMI] = ACTIONS(6446),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6448),
    [anon_sym_LF] = ACTIONS(6446),
    [anon_sym_AMP] = ACTIONS(6448),
  },
  [2640] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6444),
    [anon_sym_SEMI_SEMI] = ACTIONS(6446),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6448),
    [anon_sym_LF] = ACTIONS(6446),
    [anon_sym_AMP] = ACTIONS(6448),
  },
  [2641] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2858),
    [sym_c_style_for_statement] = STATE(2858),
    [sym_while_statement] = STATE(2858),
    [sym_if_statement] = STATE(2858),
    [sym_case_statement] = STATE(2858),
    [sym_function_definition] = STATE(2858),
    [sym_subshell] = STATE(2858),
    [sym_pipeline] = STATE(2858),
    [sym_list] = STATE(2858),
    [sym_negated_command] = STATE(2858),
    [sym_test_command] = STATE(2858),
    [sym_declaration_command] = STATE(2858),
    [sym_unset_command] = STATE(2858),
    [sym_command] = STATE(2858),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2859),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2642] = {
    [sym_concatenation] = STATE(2642),
    [sym_string] = STATE(2387),
    [sym_simple_expansion] = STATE(2387),
    [sym_string_expansion] = STATE(2387),
    [sym_expansion] = STATE(2387),
    [sym_command_substitution] = STATE(2387),
    [sym_process_substitution] = STATE(2387),
    [aux_sym_unset_command_repeat1] = STATE(2642),
    [anon_sym_esac] = ACTIONS(1674),
    [anon_sym_PIPE] = ACTIONS(1674),
    [anon_sym_SEMI_SEMI] = ACTIONS(1672),
    [anon_sym_PIPE_AMP] = ACTIONS(1672),
    [anon_sym_AMP_AMP] = ACTIONS(1672),
    [anon_sym_PIPE_PIPE] = ACTIONS(1672),
    [sym__special_characters] = ACTIONS(6450),
    [anon_sym_DQUOTE] = ACTIONS(6453),
    [anon_sym_DOLLAR] = ACTIONS(6456),
    [sym_raw_string] = ACTIONS(6459),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6462),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6465),
    [anon_sym_BQUOTE] = ACTIONS(6468),
    [anon_sym_LT_LPAREN] = ACTIONS(6471),
    [anon_sym_GT_LPAREN] = ACTIONS(6471),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6474),
    [sym_word] = ACTIONS(6477),
    [anon_sym_SEMI] = ACTIONS(1674),
    [anon_sym_LF] = ACTIONS(1672),
    [anon_sym_AMP] = ACTIONS(1674),
  },
  [2643] = {
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2644] = {
    [aux_sym_concatenation_repeat1] = STATE(2644),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(6480),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_EQ_TILDE] = ACTIONS(1764),
    [anon_sym_EQ_EQ] = ACTIONS(1764),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2645] = {
    [sym__simple_heredoc_body] = ACTIONS(1769),
    [sym__heredoc_body_beginning] = ACTIONS(1769),
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1771),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_EQ_TILDE] = ACTIONS(1771),
    [anon_sym_EQ_EQ] = ACTIONS(1771),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [anon_sym_LT_LT] = ACTIONS(1771),
    [anon_sym_LT_LT_DASH] = ACTIONS(1769),
    [anon_sym_LT_LT_LT] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [2646] = {
    [anon_sym_DQUOTE] = ACTIONS(6483),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2647] = {
    [sym_concatenation] = STATE(2864),
    [sym_string] = STATE(2863),
    [sym_simple_expansion] = STATE(2863),
    [sym_string_expansion] = STATE(2863),
    [sym_expansion] = STATE(2863),
    [sym_command_substitution] = STATE(2863),
    [sym_process_substitution] = STATE(2863),
    [anon_sym_RBRACE] = ACTIONS(6485),
    [sym__special_characters] = ACTIONS(6487),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(6489),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6489),
  },
  [2648] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6491),
    [sym_comment] = ACTIONS(53),
  },
  [2649] = {
    [sym_concatenation] = STATE(2868),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2868),
    [anon_sym_RBRACE] = ACTIONS(6493),
    [anon_sym_EQ] = ACTIONS(6495),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6497),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6499),
    [anon_sym_COLON] = ACTIONS(6495),
    [anon_sym_COLON_QMARK] = ACTIONS(6495),
    [anon_sym_COLON_DASH] = ACTIONS(6495),
    [anon_sym_PERCENT] = ACTIONS(6495),
    [anon_sym_DASH] = ACTIONS(6495),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2650] = {
    [sym_concatenation] = STATE(2871),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2871),
    [anon_sym_RBRACE] = ACTIONS(6501),
    [anon_sym_EQ] = ACTIONS(6503),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6505),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6507),
    [anon_sym_COLON] = ACTIONS(6503),
    [anon_sym_COLON_QMARK] = ACTIONS(6503),
    [anon_sym_COLON_DASH] = ACTIONS(6503),
    [anon_sym_PERCENT] = ACTIONS(6503),
    [anon_sym_DASH] = ACTIONS(6503),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2651] = {
    [sym_concatenation] = STATE(2873),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2873),
    [anon_sym_RBRACE] = ACTIONS(6485),
    [anon_sym_EQ] = ACTIONS(6509),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6511),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6513),
    [anon_sym_COLON] = ACTIONS(6509),
    [anon_sym_COLON_QMARK] = ACTIONS(6509),
    [anon_sym_COLON_DASH] = ACTIONS(6509),
    [anon_sym_PERCENT] = ACTIONS(6509),
    [anon_sym_DASH] = ACTIONS(6509),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2652] = {
    [sym__simple_heredoc_body] = ACTIONS(1886),
    [sym__heredoc_body_beginning] = ACTIONS(1886),
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1888),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_EQ_TILDE] = ACTIONS(1888),
    [anon_sym_EQ_EQ] = ACTIONS(1888),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [anon_sym_LT_LT] = ACTIONS(1888),
    [anon_sym_LT_LT_DASH] = ACTIONS(1886),
    [anon_sym_LT_LT_LT] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [2653] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6515),
  },
  [2654] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6517),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2655] = {
    [sym__simple_heredoc_body] = ACTIONS(1930),
    [sym__heredoc_body_beginning] = ACTIONS(1930),
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1932),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_EQ_TILDE] = ACTIONS(1932),
    [anon_sym_EQ_EQ] = ACTIONS(1932),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [anon_sym_LT_LT] = ACTIONS(1932),
    [anon_sym_LT_LT_DASH] = ACTIONS(1930),
    [anon_sym_LT_LT_LT] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [2656] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6519),
  },
  [2657] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6521),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2658] = {
    [sym__simple_heredoc_body] = ACTIONS(1938),
    [sym__heredoc_body_beginning] = ACTIONS(1938),
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1940),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_EQ_TILDE] = ACTIONS(1940),
    [anon_sym_EQ_EQ] = ACTIONS(1940),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [anon_sym_LT_LT] = ACTIONS(1940),
    [anon_sym_LT_LT_DASH] = ACTIONS(1938),
    [anon_sym_LT_LT_LT] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [2659] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6523),
  },
  [2660] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6485),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2661] = {
    [sym__simple_heredoc_body] = ACTIONS(1944),
    [sym__heredoc_body_beginning] = ACTIONS(1944),
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1946),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_EQ_TILDE] = ACTIONS(1946),
    [anon_sym_EQ_EQ] = ACTIONS(1946),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [anon_sym_LT_LT] = ACTIONS(1946),
    [anon_sym_LT_LT_DASH] = ACTIONS(1944),
    [anon_sym_LT_LT_LT] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [2662] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6525),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2663] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6525),
    [anon_sym_SEMI_SEMI] = ACTIONS(6527),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6529),
    [anon_sym_LF] = ACTIONS(6527),
    [anon_sym_AMP] = ACTIONS(6529),
  },
  [2664] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6525),
    [anon_sym_SEMI_SEMI] = ACTIONS(6527),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6529),
    [anon_sym_LF] = ACTIONS(6527),
    [anon_sym_AMP] = ACTIONS(6529),
  },
  [2665] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(6525),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2666] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6531),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6525),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6533),
    [anon_sym_LF] = ACTIONS(6531),
    [anon_sym_AMP] = ACTIONS(6533),
  },
  [2667] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6531),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6525),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6533),
    [anon_sym_LF] = ACTIONS(6531),
    [anon_sym_AMP] = ACTIONS(6533),
  },
  [2668] = {
    [sym__simple_heredoc_body] = ACTIONS(1976),
    [sym__heredoc_body_beginning] = ACTIONS(1976),
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1978),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_EQ_TILDE] = ACTIONS(1978),
    [anon_sym_EQ_EQ] = ACTIONS(1978),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [anon_sym_LT_LT] = ACTIONS(1978),
    [anon_sym_LT_LT_DASH] = ACTIONS(1976),
    [anon_sym_LT_LT_LT] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [2669] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6535),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2670] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6535),
    [anon_sym_SEMI_SEMI] = ACTIONS(6537),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6539),
    [anon_sym_LF] = ACTIONS(6537),
    [anon_sym_AMP] = ACTIONS(6539),
  },
  [2671] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6535),
    [anon_sym_SEMI_SEMI] = ACTIONS(6537),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6539),
    [anon_sym_LF] = ACTIONS(6537),
    [anon_sym_AMP] = ACTIONS(6539),
  },
  [2672] = {
    [sym_compound_statement] = STATE(2884),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [2673] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(1988),
    [anon_sym_PIPE] = ACTIONS(1988),
    [anon_sym_SEMI_SEMI] = ACTIONS(1986),
    [anon_sym_PIPE_AMP] = ACTIONS(1986),
    [anon_sym_AMP_AMP] = ACTIONS(1986),
    [anon_sym_PIPE_PIPE] = ACTIONS(1986),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1988),
    [anon_sym_LF] = ACTIONS(1986),
    [anon_sym_AMP] = ACTIONS(1988),
  },
  [2674] = {
    [anon_sym_esac] = ACTIONS(1990),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [2675] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(1992),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(1990),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(1990),
    [anon_sym_PIPE_PIPE] = ACTIONS(1990),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(1992),
    [anon_sym_LF] = ACTIONS(1990),
    [anon_sym_AMP] = ACTIONS(1992),
  },
  [2676] = {
    [sym_concatenation] = STATE(998),
    [sym_string] = STATE(2886),
    [sym_simple_expansion] = STATE(2886),
    [sym_string_expansion] = STATE(2886),
    [sym_expansion] = STATE(2886),
    [sym_command_substitution] = STATE(2886),
    [sym_process_substitution] = STATE(2886),
    [sym__special_characters] = ACTIONS(6541),
    [anon_sym_DQUOTE] = ACTIONS(6079),
    [anon_sym_DOLLAR] = ACTIONS(6081),
    [sym_raw_string] = ACTIONS(6543),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6085),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6087),
    [anon_sym_BQUOTE] = ACTIONS(6089),
    [anon_sym_LT_LPAREN] = ACTIONS(6091),
    [anon_sym_GT_LPAREN] = ACTIONS(6091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6543),
  },
  [2677] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(2022),
    [sym__heredoc_body_beginning] = ACTIONS(2022),
    [sym_file_descriptor] = ACTIONS(2022),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(2024),
    [anon_sym_PIPE] = ACTIONS(2024),
    [anon_sym_SEMI_SEMI] = ACTIONS(2022),
    [anon_sym_PIPE_AMP] = ACTIONS(2022),
    [anon_sym_AMP_AMP] = ACTIONS(2022),
    [anon_sym_PIPE_PIPE] = ACTIONS(2022),
    [anon_sym_EQ_TILDE] = ACTIONS(2024),
    [anon_sym_EQ_EQ] = ACTIONS(2024),
    [anon_sym_LT] = ACTIONS(2024),
    [anon_sym_GT] = ACTIONS(2024),
    [anon_sym_GT_GT] = ACTIONS(2022),
    [anon_sym_AMP_GT] = ACTIONS(2024),
    [anon_sym_AMP_GT_GT] = ACTIONS(2022),
    [anon_sym_LT_AMP] = ACTIONS(2022),
    [anon_sym_GT_AMP] = ACTIONS(2022),
    [anon_sym_LT_LT] = ACTIONS(2024),
    [anon_sym_LT_LT_DASH] = ACTIONS(2022),
    [anon_sym_LT_LT_LT] = ACTIONS(2022),
    [sym__special_characters] = ACTIONS(2022),
    [anon_sym_DQUOTE] = ACTIONS(2022),
    [anon_sym_DOLLAR] = ACTIONS(2024),
    [sym_raw_string] = ACTIONS(2022),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2022),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2022),
    [anon_sym_BQUOTE] = ACTIONS(2022),
    [anon_sym_LT_LPAREN] = ACTIONS(2022),
    [anon_sym_GT_LPAREN] = ACTIONS(2022),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2024),
    [anon_sym_SEMI] = ACTIONS(2024),
    [anon_sym_LF] = ACTIONS(2022),
    [anon_sym_AMP] = ACTIONS(2024),
  },
  [2678] = {
    [aux_sym_concatenation_repeat1] = STATE(2395),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [sym__concat] = ACTIONS(5501),
    [anon_sym_esac] = ACTIONS(2028),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [2679] = {
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [anon_sym_esac] = ACTIONS(2028),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(2028),
    [anon_sym_EQ_EQ] = ACTIONS(2028),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(2026),
    [anon_sym_DQUOTE] = ACTIONS(2026),
    [anon_sym_DOLLAR] = ACTIONS(2028),
    [sym_raw_string] = ACTIONS(2026),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2026),
    [anon_sym_BQUOTE] = ACTIONS(2026),
    [anon_sym_LT_LPAREN] = ACTIONS(2026),
    [anon_sym_GT_LPAREN] = ACTIONS(2026),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2028),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [2680] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(727),
    [sym__heredoc_body_beginning] = ACTIONS(727),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [2681] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(2891),
    [anon_sym_DQUOTE] = ACTIONS(6547),
    [anon_sym_DOLLAR] = ACTIONS(6549),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2682] = {
    [sym_string] = STATE(2893),
    [anon_sym_DQUOTE] = ACTIONS(6079),
    [anon_sym_DOLLAR] = ACTIONS(6551),
    [sym_raw_string] = ACTIONS(6553),
    [anon_sym_POUND] = ACTIONS(6551),
    [anon_sym_DASH] = ACTIONS(6551),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6555),
    [anon_sym_STAR] = ACTIONS(6551),
    [anon_sym_AT] = ACTIONS(6551),
    [anon_sym_QMARK] = ACTIONS(6551),
    [anon_sym_0] = ACTIONS(6557),
    [anon_sym__] = ACTIONS(6557),
  },
  [2683] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(745),
    [sym__heredoc_body_beginning] = ACTIONS(745),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [2684] = {
    [sym_subscript] = STATE(2899),
    [sym_variable_name] = ACTIONS(6559),
    [anon_sym_BANG] = ACTIONS(6561),
    [anon_sym_DOLLAR] = ACTIONS(6563),
    [anon_sym_POUND] = ACTIONS(6561),
    [anon_sym_DASH] = ACTIONS(6563),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6565),
    [anon_sym_STAR] = ACTIONS(6563),
    [anon_sym_AT] = ACTIONS(6563),
    [anon_sym_QMARK] = ACTIONS(6563),
    [anon_sym_0] = ACTIONS(6567),
    [anon_sym__] = ACTIONS(6567),
  },
  [2685] = {
    [sym__terminated_statement] = STATE(2902),
    [sym_for_statement] = STATE(2900),
    [sym_c_style_for_statement] = STATE(2900),
    [sym_while_statement] = STATE(2900),
    [sym_if_statement] = STATE(2900),
    [sym_case_statement] = STATE(2900),
    [sym_function_definition] = STATE(2900),
    [sym_subshell] = STATE(2900),
    [sym_pipeline] = STATE(2900),
    [sym_list] = STATE(2900),
    [sym_negated_command] = STATE(2900),
    [sym_test_command] = STATE(2900),
    [sym_declaration_command] = STATE(2900),
    [sym_unset_command] = STATE(2900),
    [sym_command] = STATE(2900),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2901),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2902),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2686] = {
    [sym__terminated_statement] = STATE(2905),
    [sym_for_statement] = STATE(2903),
    [sym_c_style_for_statement] = STATE(2903),
    [sym_while_statement] = STATE(2903),
    [sym_if_statement] = STATE(2903),
    [sym_case_statement] = STATE(2903),
    [sym_function_definition] = STATE(2903),
    [sym_subshell] = STATE(2903),
    [sym_pipeline] = STATE(2903),
    [sym_list] = STATE(2903),
    [sym_negated_command] = STATE(2903),
    [sym_test_command] = STATE(2903),
    [sym_declaration_command] = STATE(2903),
    [sym_unset_command] = STATE(2903),
    [sym_command] = STATE(2903),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2904),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2905),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2687] = {
    [sym__terminated_statement] = STATE(2908),
    [sym_for_statement] = STATE(2906),
    [sym_c_style_for_statement] = STATE(2906),
    [sym_while_statement] = STATE(2906),
    [sym_if_statement] = STATE(2906),
    [sym_case_statement] = STATE(2906),
    [sym_function_definition] = STATE(2906),
    [sym_subshell] = STATE(2906),
    [sym_pipeline] = STATE(2906),
    [sym_list] = STATE(2906),
    [sym_negated_command] = STATE(2906),
    [sym_test_command] = STATE(2906),
    [sym_declaration_command] = STATE(2906),
    [sym_unset_command] = STATE(2906),
    [sym_command] = STATE(2906),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2907),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(2908),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2688] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(2034),
    [sym__heredoc_body_beginning] = ACTIONS(2034),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(2034),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [2689] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(2038),
    [sym__heredoc_body_beginning] = ACTIONS(2038),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [2690] = {
    [sym_file_redirect] = STATE(2690),
    [sym_heredoc_redirect] = STATE(2690),
    [sym_herestring_redirect] = STATE(2690),
    [aux_sym_while_statement_repeat1] = STATE(2690),
    [sym__simple_heredoc_body] = ACTIONS(2046),
    [sym__heredoc_body_beginning] = ACTIONS(2046),
    [sym_file_descriptor] = ACTIONS(6569),
    [anon_sym_esac] = ACTIONS(2046),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(6572),
    [anon_sym_GT] = ACTIONS(6572),
    [anon_sym_GT_GT] = ACTIONS(6575),
    [anon_sym_AMP_GT] = ACTIONS(6572),
    [anon_sym_AMP_GT_GT] = ACTIONS(6575),
    [anon_sym_LT_AMP] = ACTIONS(6575),
    [anon_sym_GT_AMP] = ACTIONS(6575),
    [anon_sym_LT_LT] = ACTIONS(2059),
    [anon_sym_LT_LT_DASH] = ACTIONS(2062),
    [anon_sym_LT_LT_LT] = ACTIONS(6578),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [2691] = {
    [sym_file_redirect] = STATE(2690),
    [sym_heredoc_redirect] = STATE(2690),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(2690),
    [aux_sym_while_statement_repeat1] = STATE(2690),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(2042),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [2692] = {
    [sym_concatenation] = STATE(2692),
    [sym_string] = STATE(2426),
    [sym_simple_expansion] = STATE(2426),
    [sym_string_expansion] = STATE(2426),
    [sym_expansion] = STATE(2426),
    [sym_command_substitution] = STATE(2426),
    [sym_process_substitution] = STATE(2426),
    [aux_sym_command_repeat2] = STATE(2692),
    [sym__simple_heredoc_body] = ACTIONS(2026),
    [sym__heredoc_body_beginning] = ACTIONS(2026),
    [sym_file_descriptor] = ACTIONS(2026),
    [anon_sym_esac] = ACTIONS(2028),
    [anon_sym_PIPE] = ACTIONS(2028),
    [anon_sym_SEMI_SEMI] = ACTIONS(2026),
    [anon_sym_PIPE_AMP] = ACTIONS(2026),
    [anon_sym_AMP_AMP] = ACTIONS(2026),
    [anon_sym_PIPE_PIPE] = ACTIONS(2026),
    [anon_sym_EQ_TILDE] = ACTIONS(6581),
    [anon_sym_EQ_EQ] = ACTIONS(6581),
    [anon_sym_LT] = ACTIONS(2028),
    [anon_sym_GT] = ACTIONS(2028),
    [anon_sym_GT_GT] = ACTIONS(2026),
    [anon_sym_AMP_GT] = ACTIONS(2028),
    [anon_sym_AMP_GT_GT] = ACTIONS(2026),
    [anon_sym_LT_AMP] = ACTIONS(2026),
    [anon_sym_GT_AMP] = ACTIONS(2026),
    [anon_sym_LT_LT] = ACTIONS(2028),
    [anon_sym_LT_LT_DASH] = ACTIONS(2026),
    [anon_sym_LT_LT_LT] = ACTIONS(2026),
    [sym__special_characters] = ACTIONS(6584),
    [anon_sym_DQUOTE] = ACTIONS(6587),
    [anon_sym_DOLLAR] = ACTIONS(6590),
    [sym_raw_string] = ACTIONS(6593),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6596),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6599),
    [anon_sym_BQUOTE] = ACTIONS(6602),
    [anon_sym_LT_LPAREN] = ACTIONS(6605),
    [anon_sym_GT_LPAREN] = ACTIONS(6605),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6608),
    [anon_sym_SEMI] = ACTIONS(2028),
    [anon_sym_LF] = ACTIONS(2026),
    [anon_sym_AMP] = ACTIONS(2028),
  },
  [2693] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6611),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6613),
    [anon_sym_DQUOTE] = ACTIONS(6615),
    [anon_sym_DOLLAR] = ACTIONS(6613),
    [sym_raw_string] = ACTIONS(6615),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6615),
    [anon_sym_BQUOTE] = ACTIONS(6615),
    [anon_sym_LT_LPAREN] = ACTIONS(6615),
    [anon_sym_GT_LPAREN] = ACTIONS(6615),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6613),
  },
  [2694] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(5539),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2695] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(5539),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2696] = {
    [sym_file_redirect] = STATE(2909),
    [sym_heredoc_redirect] = STATE(2909),
    [sym_heredoc_body] = STATE(1000),
    [sym_herestring_redirect] = STATE(2909),
    [sym_concatenation] = STATE(2692),
    [sym_string] = STATE(2426),
    [sym_simple_expansion] = STATE(2426),
    [sym_string_expansion] = STATE(2426),
    [sym_expansion] = STATE(2426),
    [sym_command_substitution] = STATE(2426),
    [sym_process_substitution] = STATE(2426),
    [aux_sym_while_statement_repeat1] = STATE(2909),
    [aux_sym_command_repeat2] = STATE(2692),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(2044),
    [anon_sym_PIPE] = ACTIONS(2044),
    [anon_sym_SEMI_SEMI] = ACTIONS(2042),
    [anon_sym_PIPE_AMP] = ACTIONS(2042),
    [anon_sym_AMP_AMP] = ACTIONS(2042),
    [anon_sym_PIPE_PIPE] = ACTIONS(2042),
    [anon_sym_EQ_TILDE] = ACTIONS(5543),
    [anon_sym_EQ_EQ] = ACTIONS(5543),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym__special_characters] = ACTIONS(5551),
    [anon_sym_DQUOTE] = ACTIONS(4687),
    [anon_sym_DOLLAR] = ACTIONS(4689),
    [sym_raw_string] = ACTIONS(5553),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4693),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4695),
    [anon_sym_BQUOTE] = ACTIONS(4697),
    [anon_sym_LT_LPAREN] = ACTIONS(4699),
    [anon_sym_GT_LPAREN] = ACTIONS(4699),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5555),
    [anon_sym_SEMI] = ACTIONS(2044),
    [anon_sym_LF] = ACTIONS(2042),
    [anon_sym_AMP] = ACTIONS(2044),
  },
  [2697] = {
    [anon_sym_esac] = ACTIONS(6611),
    [sym__special_characters] = ACTIONS(6615),
    [anon_sym_DQUOTE] = ACTIONS(6615),
    [anon_sym_DOLLAR] = ACTIONS(6613),
    [sym_raw_string] = ACTIONS(6615),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6615),
    [anon_sym_BQUOTE] = ACTIONS(6615),
    [anon_sym_LT_LPAREN] = ACTIONS(6615),
    [anon_sym_GT_LPAREN] = ACTIONS(6615),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6613),
  },
  [2698] = {
    [anon_sym_esac] = ACTIONS(6617),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6619),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2699] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(6611),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6619),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2700] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6621),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6623),
    [anon_sym_DQUOTE] = ACTIONS(6625),
    [anon_sym_DOLLAR] = ACTIONS(6623),
    [sym_raw_string] = ACTIONS(6625),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6625),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6625),
    [anon_sym_BQUOTE] = ACTIONS(6625),
    [anon_sym_LT_LPAREN] = ACTIONS(6625),
    [anon_sym_GT_LPAREN] = ACTIONS(6625),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6623),
  },
  [2701] = {
    [anon_sym_esac] = ACTIONS(6621),
    [sym__special_characters] = ACTIONS(6625),
    [anon_sym_DQUOTE] = ACTIONS(6625),
    [anon_sym_DOLLAR] = ACTIONS(6623),
    [sym_raw_string] = ACTIONS(6625),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6625),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6625),
    [anon_sym_BQUOTE] = ACTIONS(6625),
    [anon_sym_LT_LPAREN] = ACTIONS(6625),
    [anon_sym_GT_LPAREN] = ACTIONS(6625),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6623),
  },
  [2702] = {
    [anon_sym_esac] = ACTIONS(6627),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6629),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2703] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_esac] = ACTIONS(6621),
    [anon_sym_PIPE] = ACTIONS(5529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6629),
    [anon_sym_PIPE_AMP] = ACTIONS(5533),
    [anon_sym_AMP_AMP] = ACTIONS(5535),
    [anon_sym_PIPE_PIPE] = ACTIONS(5535),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(5537),
    [anon_sym_LF] = ACTIONS(5539),
    [anon_sym_AMP] = ACTIONS(5537),
  },
  [2704] = {
    [sym__special_characters] = ACTIONS(5453),
    [anon_sym_DQUOTE] = ACTIONS(5453),
    [anon_sym_DOLLAR] = ACTIONS(5455),
    [sym_raw_string] = ACTIONS(5453),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5453),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5453),
    [anon_sym_BQUOTE] = ACTIONS(5453),
    [anon_sym_LT_LPAREN] = ACTIONS(5453),
    [anon_sym_GT_LPAREN] = ACTIONS(5453),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5453),
  },
  [2705] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6631),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2706] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6631),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2707] = {
    [sym__terminated_statement] = STATE(2916),
    [sym_for_statement] = STATE(2914),
    [sym_c_style_for_statement] = STATE(2914),
    [sym_while_statement] = STATE(2914),
    [sym_if_statement] = STATE(2914),
    [sym_case_statement] = STATE(2914),
    [sym_function_definition] = STATE(2914),
    [sym_subshell] = STATE(2914),
    [sym_pipeline] = STATE(2914),
    [sym_list] = STATE(2914),
    [sym_negated_command] = STATE(2914),
    [sym_test_command] = STATE(2914),
    [sym_declaration_command] = STATE(2914),
    [sym_unset_command] = STATE(2914),
    [sym_command] = STATE(2914),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2915),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2916),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6633),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2708] = {
    [sym__terminated_statement] = STATE(2917),
    [sym_for_statement] = STATE(2914),
    [sym_c_style_for_statement] = STATE(2914),
    [sym_while_statement] = STATE(2914),
    [sym_if_statement] = STATE(2914),
    [sym_case_statement] = STATE(2914),
    [sym_function_definition] = STATE(2914),
    [sym_subshell] = STATE(2914),
    [sym_pipeline] = STATE(2914),
    [sym_list] = STATE(2914),
    [sym_negated_command] = STATE(2914),
    [sym_test_command] = STATE(2914),
    [sym_declaration_command] = STATE(2914),
    [sym_unset_command] = STATE(2914),
    [sym_command] = STATE(2914),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2915),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2917),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6633),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2709] = {
    [sym__special_characters] = ACTIONS(5566),
    [anon_sym_DQUOTE] = ACTIONS(5566),
    [anon_sym_DOLLAR] = ACTIONS(5568),
    [sym_raw_string] = ACTIONS(5566),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5566),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5566),
    [anon_sym_BQUOTE] = ACTIONS(5566),
    [anon_sym_LT_LPAREN] = ACTIONS(5566),
    [anon_sym_GT_LPAREN] = ACTIONS(5566),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5566),
  },
  [2710] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6635),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2711] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6635),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2712] = {
    [sym__terminated_statement] = STATE(2916),
    [sym_for_statement] = STATE(2920),
    [sym_c_style_for_statement] = STATE(2920),
    [sym_while_statement] = STATE(2920),
    [sym_if_statement] = STATE(2920),
    [sym_case_statement] = STATE(2920),
    [sym_function_definition] = STATE(2920),
    [sym_subshell] = STATE(2920),
    [sym_pipeline] = STATE(2920),
    [sym_list] = STATE(2920),
    [sym_negated_command] = STATE(2920),
    [sym_test_command] = STATE(2920),
    [sym_declaration_command] = STATE(2920),
    [sym_unset_command] = STATE(2920),
    [sym_command] = STATE(2920),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2921),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2916),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6637),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2713] = {
    [sym__terminated_statement] = STATE(2922),
    [sym_for_statement] = STATE(2920),
    [sym_c_style_for_statement] = STATE(2920),
    [sym_while_statement] = STATE(2920),
    [sym_if_statement] = STATE(2920),
    [sym_case_statement] = STATE(2920),
    [sym_function_definition] = STATE(2920),
    [sym_subshell] = STATE(2920),
    [sym_pipeline] = STATE(2920),
    [sym_list] = STATE(2920),
    [sym_negated_command] = STATE(2920),
    [sym_test_command] = STATE(2920),
    [sym_declaration_command] = STATE(2920),
    [sym_unset_command] = STATE(2920),
    [sym_command] = STATE(2920),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(2921),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2922),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6637),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2714] = {
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [ts_builtin_sym_end] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_RPAREN] = ACTIONS(4098),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [anon_sym_LT_LT] = ACTIONS(4100),
    [anon_sym_LT_LT_DASH] = ACTIONS(4098),
    [anon_sym_LT_LT_LT] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [2715] = {
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [ts_builtin_sym_end] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_RPAREN] = ACTIONS(4106),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [anon_sym_LT_LT] = ACTIONS(4108),
    [anon_sym_LT_LT_DASH] = ACTIONS(4106),
    [anon_sym_LT_LT_LT] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [2716] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6639),
    [sym_comment] = ACTIONS(53),
  },
  [2717] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6641),
    [sym_comment] = ACTIONS(53),
  },
  [2718] = {
    [anon_sym_RBRACE] = ACTIONS(6641),
    [sym_comment] = ACTIONS(53),
  },
  [2719] = {
    [sym_concatenation] = STATE(2926),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2926),
    [anon_sym_RBRACE] = ACTIONS(6643),
    [anon_sym_EQ] = ACTIONS(6645),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6647),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6645),
    [anon_sym_COLON_QMARK] = ACTIONS(6645),
    [anon_sym_COLON_DASH] = ACTIONS(6645),
    [anon_sym_PERCENT] = ACTIONS(6645),
    [anon_sym_DASH] = ACTIONS(6645),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2720] = {
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [ts_builtin_sym_end] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [anon_sym_LT_LT] = ACTIONS(4172),
    [anon_sym_LT_LT_DASH] = ACTIONS(4170),
    [anon_sym_LT_LT_LT] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [2721] = {
    [sym_concatenation] = STATE(2928),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2928),
    [anon_sym_RBRACE] = ACTIONS(6649),
    [anon_sym_EQ] = ACTIONS(6651),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6653),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6651),
    [anon_sym_COLON_QMARK] = ACTIONS(6651),
    [anon_sym_COLON_DASH] = ACTIONS(6651),
    [anon_sym_PERCENT] = ACTIONS(6651),
    [anon_sym_DASH] = ACTIONS(6651),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2722] = {
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [ts_builtin_sym_end] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [anon_sym_LT_LT] = ACTIONS(4182),
    [anon_sym_LT_LT_DASH] = ACTIONS(4180),
    [anon_sym_LT_LT_LT] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [2723] = {
    [sym_concatenation] = STATE(2930),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2930),
    [anon_sym_RBRACE] = ACTIONS(6655),
    [anon_sym_EQ] = ACTIONS(6657),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6659),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6657),
    [anon_sym_COLON_QMARK] = ACTIONS(6657),
    [anon_sym_COLON_DASH] = ACTIONS(6657),
    [anon_sym_PERCENT] = ACTIONS(6657),
    [anon_sym_DASH] = ACTIONS(6657),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2724] = {
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [ts_builtin_sym_end] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_RPAREN] = ACTIONS(4235),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [anon_sym_LT_LT] = ACTIONS(4237),
    [anon_sym_LT_LT_DASH] = ACTIONS(4235),
    [anon_sym_LT_LT_LT] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [2725] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6661),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2726] = {
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [ts_builtin_sym_end] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_RPAREN] = ACTIONS(4257),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [anon_sym_LT_LT] = ACTIONS(4259),
    [anon_sym_LT_LT_DASH] = ACTIONS(4257),
    [anon_sym_LT_LT_LT] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [2727] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6663),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2728] = {
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [ts_builtin_sym_end] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_RPAREN] = ACTIONS(4263),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [anon_sym_LT_LT] = ACTIONS(4265),
    [anon_sym_LT_LT_DASH] = ACTIONS(4263),
    [anon_sym_LT_LT_LT] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [2729] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6665),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2730] = {
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [ts_builtin_sym_end] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_RPAREN] = ACTIONS(4269),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [anon_sym_LT_LT] = ACTIONS(4271),
    [anon_sym_LT_LT_DASH] = ACTIONS(4269),
    [anon_sym_LT_LT_LT] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [2731] = {
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [ts_builtin_sym_end] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_RPAREN] = ACTIONS(4293),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [anon_sym_LT_LT] = ACTIONS(4295),
    [anon_sym_LT_LT_DASH] = ACTIONS(4293),
    [anon_sym_LT_LT_LT] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [2732] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_RBRACE] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
  },
  [2733] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_RBRACE] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
  },
  [2734] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_RBRACE] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
  },
  [2735] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6667),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2736] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_RBRACE] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
  },
  [2737] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6669),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2738] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_RBRACE] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
  },
  [2739] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6671),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2740] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_RBRACE] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
  },
  [2741] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_RBRACE] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
  },
  [2742] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_RBRACE] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
  },
  [2743] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_RBRACE] = ACTIONS(5739),
    [anon_sym_EQ] = ACTIONS(5741),
    [sym__special_characters] = ACTIONS(5741),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_POUND] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_COLON] = ACTIONS(5741),
    [anon_sym_COLON_QMARK] = ACTIONS(5741),
    [anon_sym_COLON_DASH] = ACTIONS(5741),
    [anon_sym_PERCENT] = ACTIONS(5741),
    [anon_sym_DASH] = ACTIONS(5741),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5741),
  },
  [2744] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_RBRACE] = ACTIONS(5743),
    [anon_sym_EQ] = ACTIONS(5745),
    [sym__special_characters] = ACTIONS(5745),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_POUND] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_COLON] = ACTIONS(5745),
    [anon_sym_COLON_QMARK] = ACTIONS(5745),
    [anon_sym_COLON_DASH] = ACTIONS(5745),
    [anon_sym_PERCENT] = ACTIONS(5745),
    [anon_sym_DASH] = ACTIONS(5745),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5745),
  },
  [2745] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_RBRACE] = ACTIONS(5747),
    [anon_sym_EQ] = ACTIONS(5749),
    [sym__special_characters] = ACTIONS(5749),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_POUND] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_COLON] = ACTIONS(5749),
    [anon_sym_COLON_QMARK] = ACTIONS(5749),
    [anon_sym_COLON_DASH] = ACTIONS(5749),
    [anon_sym_PERCENT] = ACTIONS(5749),
    [anon_sym_DASH] = ACTIONS(5749),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(5749),
  },
  [2746] = {
    [sym__heredoc_body_middle] = ACTIONS(5739),
    [sym__heredoc_body_end] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
  },
  [2747] = {
    [sym__heredoc_body_middle] = ACTIONS(5743),
    [sym__heredoc_body_end] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
  },
  [2748] = {
    [sym__heredoc_body_middle] = ACTIONS(5747),
    [sym__heredoc_body_end] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
  },
  [2749] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5739),
  },
  [2750] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5743),
  },
  [2751] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5747),
  },
  [2752] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5100),
    [anon_sym_EQ_EQ] = ACTIONS(5100),
    [anon_sym_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5100),
    [anon_sym_GT] = ACTIONS(5100),
    [anon_sym_BANG_EQ] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5100),
  },
  [2753] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5104),
    [anon_sym_EQ_EQ] = ACTIONS(5104),
    [anon_sym_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5104),
    [anon_sym_GT] = ACTIONS(5104),
    [anon_sym_BANG_EQ] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5104),
  },
  [2754] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5108),
    [anon_sym_EQ_EQ] = ACTIONS(5108),
    [anon_sym_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5108),
    [anon_sym_GT] = ACTIONS(5108),
    [anon_sym_BANG_EQ] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5108),
  },
  [2755] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6673),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2756] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5114),
    [anon_sym_EQ_EQ] = ACTIONS(5114),
    [anon_sym_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5114),
    [anon_sym_GT] = ACTIONS(5114),
    [anon_sym_BANG_EQ] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5114),
  },
  [2757] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6675),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2758] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5120),
    [anon_sym_EQ_EQ] = ACTIONS(5120),
    [anon_sym_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5120),
    [anon_sym_GT] = ACTIONS(5120),
    [anon_sym_BANG_EQ] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5120),
  },
  [2759] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6677),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2760] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5162),
    [anon_sym_EQ_EQ] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5162),
    [anon_sym_GT] = ACTIONS(5162),
    [anon_sym_BANG_EQ] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5162),
  },
  [2761] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5170),
    [anon_sym_EQ_EQ] = ACTIONS(5170),
    [anon_sym_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5170),
    [anon_sym_GT] = ACTIONS(5170),
    [anon_sym_BANG_EQ] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5170),
  },
  [2762] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5174),
    [anon_sym_EQ_EQ] = ACTIONS(5174),
    [anon_sym_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5174),
    [anon_sym_GT] = ACTIONS(5174),
    [anon_sym_BANG_EQ] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5174),
  },
  [2763] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5739),
  },
  [2764] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5743),
  },
  [2765] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5747),
  },
  [2766] = {
    [sym_file_descriptor] = ACTIONS(2118),
    [sym_variable_name] = ACTIONS(2118),
    [anon_sym_esac] = ACTIONS(2120),
    [anon_sym_PIPE] = ACTIONS(2120),
    [anon_sym_SEMI_SEMI] = ACTIONS(2118),
    [anon_sym_PIPE_AMP] = ACTIONS(2118),
    [anon_sym_AMP_AMP] = ACTIONS(2118),
    [anon_sym_PIPE_PIPE] = ACTIONS(2118),
    [anon_sym_LT] = ACTIONS(2120),
    [anon_sym_GT] = ACTIONS(2120),
    [anon_sym_GT_GT] = ACTIONS(2118),
    [anon_sym_AMP_GT] = ACTIONS(2120),
    [anon_sym_AMP_GT_GT] = ACTIONS(2118),
    [anon_sym_LT_AMP] = ACTIONS(2118),
    [anon_sym_GT_AMP] = ACTIONS(2118),
    [sym__special_characters] = ACTIONS(2118),
    [anon_sym_DQUOTE] = ACTIONS(2118),
    [anon_sym_DOLLAR] = ACTIONS(2120),
    [sym_raw_string] = ACTIONS(2118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2118),
    [anon_sym_BQUOTE] = ACTIONS(2118),
    [anon_sym_LT_LPAREN] = ACTIONS(2118),
    [anon_sym_GT_LPAREN] = ACTIONS(2118),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(2120),
    [anon_sym_SEMI] = ACTIONS(2120),
    [anon_sym_LF] = ACTIONS(2118),
    [anon_sym_AMP] = ACTIONS(2120),
  },
  [2767] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(6679),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [2768] = {
    [sym_string] = STATE(2941),
    [sym_simple_expansion] = STATE(2941),
    [sym_string_expansion] = STATE(2941),
    [sym_expansion] = STATE(2941),
    [sym_command_substitution] = STATE(2941),
    [sym_process_substitution] = STATE(2941),
    [sym__special_characters] = ACTIONS(6681),
    [anon_sym_DQUOTE] = ACTIONS(5925),
    [anon_sym_DOLLAR] = ACTIONS(5927),
    [sym_raw_string] = ACTIONS(6681),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5931),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5933),
    [anon_sym_BQUOTE] = ACTIONS(5935),
    [anon_sym_LT_LPAREN] = ACTIONS(5937),
    [anon_sym_GT_LPAREN] = ACTIONS(5937),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6681),
  },
  [2769] = {
    [aux_sym_concatenation_repeat1] = STATE(2942),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(6257),
    [sym_variable_name] = ACTIONS(761),
    [anon_sym_esac] = ACTIONS(763),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [sym__special_characters] = ACTIONS(761),
    [anon_sym_DQUOTE] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(763),
    [sym_raw_string] = ACTIONS(761),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(761),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(761),
    [anon_sym_BQUOTE] = ACTIONS(761),
    [anon_sym_LT_LPAREN] = ACTIONS(761),
    [anon_sym_GT_LPAREN] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(763),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2770] = {
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [sym_variable_name] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(767),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [sym__special_characters] = ACTIONS(765),
    [anon_sym_DQUOTE] = ACTIONS(765),
    [anon_sym_DOLLAR] = ACTIONS(767),
    [sym_raw_string] = ACTIONS(765),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(765),
    [anon_sym_BQUOTE] = ACTIONS(765),
    [anon_sym_LT_LPAREN] = ACTIONS(765),
    [anon_sym_GT_LPAREN] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [2771] = {
    [anon_sym_DQUOTE] = ACTIONS(6683),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2772] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(6683),
    [anon_sym_DOLLAR] = ACTIONS(6685),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2773] = {
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [sym_variable_name] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(799),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [sym__special_characters] = ACTIONS(797),
    [anon_sym_DQUOTE] = ACTIONS(797),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [sym_raw_string] = ACTIONS(797),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(797),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(797),
    [anon_sym_BQUOTE] = ACTIONS(797),
    [anon_sym_LT_LPAREN] = ACTIONS(797),
    [anon_sym_GT_LPAREN] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(799),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [2774] = {
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [sym_variable_name] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(803),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [sym__special_characters] = ACTIONS(801),
    [anon_sym_DQUOTE] = ACTIONS(801),
    [anon_sym_DOLLAR] = ACTIONS(803),
    [sym_raw_string] = ACTIONS(801),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(801),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(801),
    [anon_sym_BQUOTE] = ACTIONS(801),
    [anon_sym_LT_LPAREN] = ACTIONS(801),
    [anon_sym_GT_LPAREN] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(803),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [2775] = {
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [sym_variable_name] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(805),
    [anon_sym_DOLLAR] = ACTIONS(807),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(805),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(805),
    [anon_sym_BQUOTE] = ACTIONS(805),
    [anon_sym_LT_LPAREN] = ACTIONS(805),
    [anon_sym_GT_LPAREN] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [2776] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6687),
    [sym_comment] = ACTIONS(53),
  },
  [2777] = {
    [sym_subscript] = STATE(2949),
    [sym_variable_name] = ACTIONS(6689),
    [anon_sym_DOLLAR] = ACTIONS(6691),
    [anon_sym_DASH] = ACTIONS(6691),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6693),
    [anon_sym_STAR] = ACTIONS(6691),
    [anon_sym_AT] = ACTIONS(6691),
    [anon_sym_QMARK] = ACTIONS(6691),
    [anon_sym_0] = ACTIONS(6695),
    [anon_sym__] = ACTIONS(6695),
  },
  [2778] = {
    [sym_concatenation] = STATE(2952),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2952),
    [anon_sym_RBRACE] = ACTIONS(6697),
    [anon_sym_EQ] = ACTIONS(6699),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6701),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6703),
    [anon_sym_COLON] = ACTIONS(6699),
    [anon_sym_COLON_QMARK] = ACTIONS(6699),
    [anon_sym_COLON_DASH] = ACTIONS(6699),
    [anon_sym_PERCENT] = ACTIONS(6699),
    [anon_sym_DASH] = ACTIONS(6699),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2779] = {
    [sym_concatenation] = STATE(2955),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2955),
    [anon_sym_RBRACE] = ACTIONS(6705),
    [anon_sym_EQ] = ACTIONS(6707),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6709),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6711),
    [anon_sym_COLON] = ACTIONS(6707),
    [anon_sym_COLON_QMARK] = ACTIONS(6707),
    [anon_sym_COLON_DASH] = ACTIONS(6707),
    [anon_sym_PERCENT] = ACTIONS(6707),
    [anon_sym_DASH] = ACTIONS(6707),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2780] = {
    [sym_concatenation] = STATE(2958),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2958),
    [anon_sym_RBRACE] = ACTIONS(6713),
    [anon_sym_EQ] = ACTIONS(6715),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6717),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6719),
    [anon_sym_COLON] = ACTIONS(6715),
    [anon_sym_COLON_QMARK] = ACTIONS(6715),
    [anon_sym_COLON_DASH] = ACTIONS(6715),
    [anon_sym_PERCENT] = ACTIONS(6715),
    [anon_sym_DASH] = ACTIONS(6715),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2781] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6721),
    [anon_sym_SEMI_SEMI] = ACTIONS(6723),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6725),
    [anon_sym_LF] = ACTIONS(6723),
    [anon_sym_AMP] = ACTIONS(6725),
  },
  [2782] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6721),
    [anon_sym_SEMI_SEMI] = ACTIONS(6723),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6725),
    [anon_sym_LF] = ACTIONS(6723),
    [anon_sym_AMP] = ACTIONS(6725),
  },
  [2783] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2961),
    [sym_c_style_for_statement] = STATE(2961),
    [sym_while_statement] = STATE(2961),
    [sym_if_statement] = STATE(2961),
    [sym_case_statement] = STATE(2961),
    [sym_function_definition] = STATE(2961),
    [sym_subshell] = STATE(2961),
    [sym_pipeline] = STATE(2961),
    [sym_list] = STATE(2961),
    [sym_negated_command] = STATE(2961),
    [sym_test_command] = STATE(2961),
    [sym_declaration_command] = STATE(2961),
    [sym_unset_command] = STATE(2961),
    [sym_command] = STATE(2961),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2962),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2784] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6727),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6721),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6729),
    [anon_sym_LF] = ACTIONS(6727),
    [anon_sym_AMP] = ACTIONS(6729),
  },
  [2785] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6727),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6721),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6729),
    [anon_sym_LF] = ACTIONS(6727),
    [anon_sym_AMP] = ACTIONS(6729),
  },
  [2786] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2964),
    [sym_c_style_for_statement] = STATE(2964),
    [sym_while_statement] = STATE(2964),
    [sym_if_statement] = STATE(2964),
    [sym_case_statement] = STATE(2964),
    [sym_function_definition] = STATE(2964),
    [sym_subshell] = STATE(2964),
    [sym_pipeline] = STATE(2964),
    [sym_list] = STATE(2964),
    [sym_negated_command] = STATE(2964),
    [sym_test_command] = STATE(2964),
    [sym_declaration_command] = STATE(2964),
    [sym_unset_command] = STATE(2964),
    [sym_command] = STATE(2964),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(2965),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2787] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6731),
    [anon_sym_SEMI_SEMI] = ACTIONS(6733),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6735),
    [anon_sym_LF] = ACTIONS(6733),
    [anon_sym_AMP] = ACTIONS(6735),
  },
  [2788] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6731),
    [anon_sym_SEMI_SEMI] = ACTIONS(6733),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6735),
    [anon_sym_LF] = ACTIONS(6733),
    [anon_sym_AMP] = ACTIONS(6735),
  },
  [2789] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(2968),
    [sym_c_style_for_statement] = STATE(2968),
    [sym_while_statement] = STATE(2968),
    [sym_if_statement] = STATE(2968),
    [sym_case_statement] = STATE(2968),
    [sym_function_definition] = STATE(2968),
    [sym_subshell] = STATE(2968),
    [sym_pipeline] = STATE(2968),
    [sym_list] = STATE(2968),
    [sym_negated_command] = STATE(2968),
    [sym_test_command] = STATE(2968),
    [sym_declaration_command] = STATE(2968),
    [sym_unset_command] = STATE(2968),
    [sym_command] = STATE(2968),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(2969),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2790] = {
    [sym_file_redirect] = STATE(2690),
    [sym_heredoc_redirect] = STATE(2690),
    [sym_heredoc_body] = STATE(1149),
    [sym_herestring_redirect] = STATE(2690),
    [aux_sym_while_statement_repeat1] = STATE(2690),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(2401),
    [anon_sym_PIPE] = ACTIONS(2403),
    [anon_sym_SEMI_SEMI] = ACTIONS(2401),
    [anon_sym_PIPE_AMP] = ACTIONS(2401),
    [anon_sym_AMP_AMP] = ACTIONS(2401),
    [anon_sym_PIPE_PIPE] = ACTIONS(2401),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2403),
    [anon_sym_LF] = ACTIONS(2401),
    [anon_sym_AMP] = ACTIONS(2403),
  },
  [2791] = {
    [sym_compound_statement] = STATE(2970),
    [anon_sym_LBRACE] = ACTIONS(507),
    [sym_comment] = ACTIONS(53),
  },
  [2792] = {
    [anon_sym_LT] = ACTIONS(6737),
    [anon_sym_GT] = ACTIONS(6737),
    [anon_sym_GT_GT] = ACTIONS(6739),
    [anon_sym_AMP_GT] = ACTIONS(6737),
    [anon_sym_AMP_GT_GT] = ACTIONS(6739),
    [anon_sym_LT_AMP] = ACTIONS(6739),
    [anon_sym_GT_AMP] = ACTIONS(6739),
    [sym_comment] = ACTIONS(53),
  },
  [2793] = {
    [sym_concatenation] = STATE(1203),
    [sym_string] = STATE(2973),
    [sym_simple_expansion] = STATE(2973),
    [sym_string_expansion] = STATE(2973),
    [sym_expansion] = STATE(2973),
    [sym_command_substitution] = STATE(2973),
    [sym_process_substitution] = STATE(2973),
    [sym__special_characters] = ACTIONS(6741),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(6743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6743),
  },
  [2794] = {
    [anon_sym_LT] = ACTIONS(6745),
    [anon_sym_GT] = ACTIONS(6745),
    [anon_sym_GT_GT] = ACTIONS(6747),
    [anon_sym_AMP_GT] = ACTIONS(6745),
    [anon_sym_AMP_GT_GT] = ACTIONS(6747),
    [anon_sym_LT_AMP] = ACTIONS(6747),
    [anon_sym_GT_AMP] = ACTIONS(6747),
    [sym_comment] = ACTIONS(53),
  },
  [2795] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(2976),
    [sym_simple_expansion] = STATE(2976),
    [sym_string_expansion] = STATE(2976),
    [sym_expansion] = STATE(2976),
    [sym_command_substitution] = STATE(2976),
    [sym_process_substitution] = STATE(2976),
    [sym__special_characters] = ACTIONS(6749),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(6751),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6751),
  },
  [2796] = {
    [sym_concatenation] = STATE(1263),
    [sym_string] = STATE(2978),
    [sym_simple_expansion] = STATE(2978),
    [sym_string_expansion] = STATE(2978),
    [sym_expansion] = STATE(2978),
    [sym_command_substitution] = STATE(2978),
    [sym_process_substitution] = STATE(2978),
    [sym__special_characters] = ACTIONS(6753),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(6755),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6755),
  },
  [2797] = {
    [sym_file_redirect] = STATE(2979),
    [sym_heredoc_redirect] = STATE(2979),
    [sym_herestring_redirect] = STATE(2979),
    [aux_sym_while_statement_repeat1] = STATE(2979),
    [sym_file_descriptor] = ACTIONS(6289),
    [anon_sym_esac] = ACTIONS(2724),
    [anon_sym_PIPE] = ACTIONS(2726),
    [anon_sym_SEMI_SEMI] = ACTIONS(2724),
    [anon_sym_PIPE_AMP] = ACTIONS(2724),
    [anon_sym_AMP_AMP] = ACTIONS(2724),
    [anon_sym_PIPE_PIPE] = ACTIONS(2724),
    [anon_sym_LT] = ACTIONS(6291),
    [anon_sym_GT] = ACTIONS(6291),
    [anon_sym_GT_GT] = ACTIONS(6293),
    [anon_sym_AMP_GT] = ACTIONS(6291),
    [anon_sym_AMP_GT_GT] = ACTIONS(6293),
    [anon_sym_LT_AMP] = ACTIONS(6293),
    [anon_sym_GT_AMP] = ACTIONS(6293),
    [anon_sym_LT_LT] = ACTIONS(1419),
    [anon_sym_LT_LT_DASH] = ACTIONS(1421),
    [anon_sym_LT_LT_LT] = ACTIONS(6295),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2726),
    [anon_sym_LF] = ACTIONS(2724),
    [anon_sym_AMP] = ACTIONS(2726),
  },
  [2798] = {
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_esac] = ACTIONS(1071),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [2799] = {
    [sym_concatenation] = STATE(2981),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(2981),
    [anon_sym_RPAREN] = ACTIONS(6757),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [2800] = {
    [aux_sym_concatenation_repeat1] = STATE(2598),
    [sym__concat] = ACTIONS(5945),
    [sym_variable_name] = ACTIONS(1091),
    [anon_sym_esac] = ACTIONS(1095),
    [anon_sym_PIPE] = ACTIONS(1095),
    [anon_sym_SEMI_SEMI] = ACTIONS(1091),
    [anon_sym_PIPE_AMP] = ACTIONS(1091),
    [anon_sym_AMP_AMP] = ACTIONS(1091),
    [anon_sym_PIPE_PIPE] = ACTIONS(1091),
    [sym__special_characters] = ACTIONS(1091),
    [anon_sym_DQUOTE] = ACTIONS(1091),
    [anon_sym_DOLLAR] = ACTIONS(1095),
    [sym_raw_string] = ACTIONS(1091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1091),
    [anon_sym_BQUOTE] = ACTIONS(1091),
    [anon_sym_LT_LPAREN] = ACTIONS(1091),
    [anon_sym_GT_LPAREN] = ACTIONS(1091),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1095),
    [sym_word] = ACTIONS(1095),
    [anon_sym_SEMI] = ACTIONS(1095),
    [anon_sym_LF] = ACTIONS(1091),
    [anon_sym_AMP] = ACTIONS(1095),
  },
  [2801] = {
    [aux_sym_concatenation_repeat1] = STATE(2598),
    [sym__concat] = ACTIONS(5945),
    [sym_variable_name] = ACTIONS(1069),
    [anon_sym_esac] = ACTIONS(1071),
    [anon_sym_PIPE] = ACTIONS(1071),
    [anon_sym_SEMI_SEMI] = ACTIONS(1069),
    [anon_sym_PIPE_AMP] = ACTIONS(1069),
    [anon_sym_AMP_AMP] = ACTIONS(1069),
    [anon_sym_PIPE_PIPE] = ACTIONS(1069),
    [sym__special_characters] = ACTIONS(1069),
    [anon_sym_DQUOTE] = ACTIONS(1069),
    [anon_sym_DOLLAR] = ACTIONS(1071),
    [sym_raw_string] = ACTIONS(1069),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1069),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1069),
    [anon_sym_BQUOTE] = ACTIONS(1069),
    [anon_sym_LT_LPAREN] = ACTIONS(1069),
    [anon_sym_GT_LPAREN] = ACTIONS(1069),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1071),
    [sym_word] = ACTIONS(1071),
    [anon_sym_SEMI] = ACTIONS(1071),
    [anon_sym_LF] = ACTIONS(1069),
    [anon_sym_AMP] = ACTIONS(1071),
  },
  [2802] = {
    [sym__concat] = ACTIONS(1762),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2803] = {
    [aux_sym_concatenation_repeat1] = STATE(2803),
    [sym__concat] = ACTIONS(6759),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2804] = {
    [sym__concat] = ACTIONS(1769),
    [sym_variable_name] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1771),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1771),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [2805] = {
    [anon_sym_DQUOTE] = ACTIONS(6762),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2806] = {
    [sym_concatenation] = STATE(2986),
    [sym_string] = STATE(2985),
    [sym_simple_expansion] = STATE(2985),
    [sym_string_expansion] = STATE(2985),
    [sym_expansion] = STATE(2985),
    [sym_command_substitution] = STATE(2985),
    [sym_process_substitution] = STATE(2985),
    [anon_sym_RBRACE] = ACTIONS(6764),
    [sym__special_characters] = ACTIONS(6766),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(6768),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6768),
  },
  [2807] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6770),
    [sym_comment] = ACTIONS(53),
  },
  [2808] = {
    [sym_concatenation] = STATE(2990),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2990),
    [anon_sym_RBRACE] = ACTIONS(6772),
    [anon_sym_EQ] = ACTIONS(6774),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6776),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6778),
    [anon_sym_COLON] = ACTIONS(6774),
    [anon_sym_COLON_QMARK] = ACTIONS(6774),
    [anon_sym_COLON_DASH] = ACTIONS(6774),
    [anon_sym_PERCENT] = ACTIONS(6774),
    [anon_sym_DASH] = ACTIONS(6774),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2809] = {
    [sym_concatenation] = STATE(2993),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2993),
    [anon_sym_RBRACE] = ACTIONS(6780),
    [anon_sym_EQ] = ACTIONS(6782),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6784),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6786),
    [anon_sym_COLON] = ACTIONS(6782),
    [anon_sym_COLON_QMARK] = ACTIONS(6782),
    [anon_sym_COLON_DASH] = ACTIONS(6782),
    [anon_sym_PERCENT] = ACTIONS(6782),
    [anon_sym_DASH] = ACTIONS(6782),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2810] = {
    [sym_concatenation] = STATE(2995),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(2995),
    [anon_sym_RBRACE] = ACTIONS(6764),
    [anon_sym_EQ] = ACTIONS(6788),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6790),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6792),
    [anon_sym_COLON] = ACTIONS(6788),
    [anon_sym_COLON_QMARK] = ACTIONS(6788),
    [anon_sym_COLON_DASH] = ACTIONS(6788),
    [anon_sym_PERCENT] = ACTIONS(6788),
    [anon_sym_DASH] = ACTIONS(6788),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2811] = {
    [sym__concat] = ACTIONS(1886),
    [sym_variable_name] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1888),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1888),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [2812] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6794),
  },
  [2813] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6796),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2814] = {
    [sym__concat] = ACTIONS(1930),
    [sym_variable_name] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1932),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1932),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [2815] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6798),
  },
  [2816] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6800),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2817] = {
    [sym__concat] = ACTIONS(1938),
    [sym_variable_name] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1940),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1940),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [2818] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6802),
  },
  [2819] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6764),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2820] = {
    [sym__concat] = ACTIONS(1944),
    [sym_variable_name] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1946),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1946),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [2821] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6804),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2822] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6804),
    [anon_sym_SEMI_SEMI] = ACTIONS(6806),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6808),
    [anon_sym_LF] = ACTIONS(6806),
    [anon_sym_AMP] = ACTIONS(6808),
  },
  [2823] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6804),
    [anon_sym_SEMI_SEMI] = ACTIONS(6806),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6808),
    [anon_sym_LF] = ACTIONS(6806),
    [anon_sym_AMP] = ACTIONS(6808),
  },
  [2824] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(6804),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2825] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6810),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6804),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6812),
    [anon_sym_LF] = ACTIONS(6810),
    [anon_sym_AMP] = ACTIONS(6812),
  },
  [2826] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6810),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6804),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6812),
    [anon_sym_LF] = ACTIONS(6810),
    [anon_sym_AMP] = ACTIONS(6812),
  },
  [2827] = {
    [sym__concat] = ACTIONS(1976),
    [sym_variable_name] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1978),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1978),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [2828] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6814),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2829] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6814),
    [anon_sym_SEMI_SEMI] = ACTIONS(6816),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6818),
    [anon_sym_LF] = ACTIONS(6816),
    [anon_sym_AMP] = ACTIONS(6818),
  },
  [2830] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6814),
    [anon_sym_SEMI_SEMI] = ACTIONS(6816),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6818),
    [anon_sym_LF] = ACTIONS(6816),
    [anon_sym_AMP] = ACTIONS(6818),
  },
  [2831] = {
    [sym__concat] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2832] = {
    [aux_sym_concatenation_repeat1] = STATE(2832),
    [sym__concat] = ACTIONS(6820),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1764),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2833] = {
    [sym__concat] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1771),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1771),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [2834] = {
    [anon_sym_DQUOTE] = ACTIONS(6823),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2835] = {
    [sym_concatenation] = STATE(3010),
    [sym_string] = STATE(3009),
    [sym_simple_expansion] = STATE(3009),
    [sym_string_expansion] = STATE(3009),
    [sym_expansion] = STATE(3009),
    [sym_command_substitution] = STATE(3009),
    [sym_process_substitution] = STATE(3009),
    [anon_sym_RBRACE] = ACTIONS(6825),
    [sym__special_characters] = ACTIONS(6827),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(6829),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6829),
  },
  [2836] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6831),
    [sym_comment] = ACTIONS(53),
  },
  [2837] = {
    [sym_concatenation] = STATE(3014),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3014),
    [anon_sym_RBRACE] = ACTIONS(6833),
    [anon_sym_EQ] = ACTIONS(6835),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6837),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6839),
    [anon_sym_COLON] = ACTIONS(6835),
    [anon_sym_COLON_QMARK] = ACTIONS(6835),
    [anon_sym_COLON_DASH] = ACTIONS(6835),
    [anon_sym_PERCENT] = ACTIONS(6835),
    [anon_sym_DASH] = ACTIONS(6835),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2838] = {
    [sym_concatenation] = STATE(3017),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3017),
    [anon_sym_RBRACE] = ACTIONS(6841),
    [anon_sym_EQ] = ACTIONS(6843),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6847),
    [anon_sym_COLON] = ACTIONS(6843),
    [anon_sym_COLON_QMARK] = ACTIONS(6843),
    [anon_sym_COLON_DASH] = ACTIONS(6843),
    [anon_sym_PERCENT] = ACTIONS(6843),
    [anon_sym_DASH] = ACTIONS(6843),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2839] = {
    [sym_concatenation] = STATE(3019),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3019),
    [anon_sym_RBRACE] = ACTIONS(6825),
    [anon_sym_EQ] = ACTIONS(6849),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6851),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6853),
    [anon_sym_COLON] = ACTIONS(6849),
    [anon_sym_COLON_QMARK] = ACTIONS(6849),
    [anon_sym_COLON_DASH] = ACTIONS(6849),
    [anon_sym_PERCENT] = ACTIONS(6849),
    [anon_sym_DASH] = ACTIONS(6849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2840] = {
    [sym__concat] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1888),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1888),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [2841] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6855),
  },
  [2842] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6857),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2843] = {
    [sym__concat] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1932),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1932),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [2844] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6859),
  },
  [2845] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6861),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2846] = {
    [sym__concat] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1940),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1940),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [2847] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6863),
  },
  [2848] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6825),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2849] = {
    [sym__concat] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1946),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1946),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [2850] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6865),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2851] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6865),
    [anon_sym_SEMI_SEMI] = ACTIONS(6867),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6869),
    [anon_sym_LF] = ACTIONS(6867),
    [anon_sym_AMP] = ACTIONS(6869),
  },
  [2852] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6865),
    [anon_sym_SEMI_SEMI] = ACTIONS(6867),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6869),
    [anon_sym_LF] = ACTIONS(6867),
    [anon_sym_AMP] = ACTIONS(6869),
  },
  [2853] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(6865),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2854] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6871),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6865),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6873),
    [anon_sym_LF] = ACTIONS(6871),
    [anon_sym_AMP] = ACTIONS(6873),
  },
  [2855] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6871),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6865),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6873),
    [anon_sym_LF] = ACTIONS(6871),
    [anon_sym_AMP] = ACTIONS(6873),
  },
  [2856] = {
    [sym__concat] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1978),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1978),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [2857] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6875),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2858] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6875),
    [anon_sym_SEMI_SEMI] = ACTIONS(6877),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6879),
    [anon_sym_LF] = ACTIONS(6877),
    [anon_sym_AMP] = ACTIONS(6879),
  },
  [2859] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6875),
    [anon_sym_SEMI_SEMI] = ACTIONS(6877),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6879),
    [anon_sym_LF] = ACTIONS(6877),
    [anon_sym_AMP] = ACTIONS(6879),
  },
  [2860] = {
    [sym__simple_heredoc_body] = ACTIONS(3028),
    [sym__heredoc_body_beginning] = ACTIONS(3028),
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3030),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_EQ_TILDE] = ACTIONS(3030),
    [anon_sym_EQ_EQ] = ACTIONS(3030),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [anon_sym_LT_LT] = ACTIONS(3030),
    [anon_sym_LT_LT_DASH] = ACTIONS(3028),
    [anon_sym_LT_LT_LT] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [2861] = {
    [sym__simple_heredoc_body] = ACTIONS(3042),
    [sym__heredoc_body_beginning] = ACTIONS(3042),
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3044),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_EQ_TILDE] = ACTIONS(3044),
    [anon_sym_EQ_EQ] = ACTIONS(3044),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [anon_sym_LT_LT] = ACTIONS(3044),
    [anon_sym_LT_LT_DASH] = ACTIONS(3042),
    [anon_sym_LT_LT_LT] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [2862] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6881),
    [sym_comment] = ACTIONS(53),
  },
  [2863] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(6883),
    [sym_comment] = ACTIONS(53),
  },
  [2864] = {
    [anon_sym_RBRACE] = ACTIONS(6883),
    [sym_comment] = ACTIONS(53),
  },
  [2865] = {
    [sym_concatenation] = STATE(3034),
    [sym_string] = STATE(3033),
    [sym_simple_expansion] = STATE(3033),
    [sym_string_expansion] = STATE(3033),
    [sym_expansion] = STATE(3033),
    [sym_command_substitution] = STATE(3033),
    [sym_process_substitution] = STATE(3033),
    [anon_sym_RBRACE] = ACTIONS(6883),
    [sym__special_characters] = ACTIONS(6885),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(6887),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6887),
  },
  [2866] = {
    [sym__simple_heredoc_body] = ACTIONS(3078),
    [sym__heredoc_body_beginning] = ACTIONS(3078),
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3080),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_EQ_TILDE] = ACTIONS(3080),
    [anon_sym_EQ_EQ] = ACTIONS(3080),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [anon_sym_LT_LT] = ACTIONS(3080),
    [anon_sym_LT_LT_DASH] = ACTIONS(3078),
    [anon_sym_LT_LT_LT] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [2867] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6889),
  },
  [2868] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6891),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2869] = {
    [sym__simple_heredoc_body] = ACTIONS(3086),
    [sym__heredoc_body_beginning] = ACTIONS(3086),
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3088),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_EQ_TILDE] = ACTIONS(3088),
    [anon_sym_EQ_EQ] = ACTIONS(3088),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [anon_sym_LT_LT] = ACTIONS(3088),
    [anon_sym_LT_LT_DASH] = ACTIONS(3086),
    [anon_sym_LT_LT_LT] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [2870] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6893),
  },
  [2871] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6895),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2872] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(6897),
  },
  [2873] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6883),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2874] = {
    [sym_concatenation] = STATE(3041),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3041),
    [anon_sym_RBRACE] = ACTIONS(6899),
    [anon_sym_EQ] = ACTIONS(6901),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6903),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6901),
    [anon_sym_COLON_QMARK] = ACTIONS(6901),
    [anon_sym_COLON_DASH] = ACTIONS(6901),
    [anon_sym_PERCENT] = ACTIONS(6901),
    [anon_sym_DASH] = ACTIONS(6901),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2875] = {
    [sym__simple_heredoc_body] = ACTIONS(3158),
    [sym__heredoc_body_beginning] = ACTIONS(3158),
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3160),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_EQ_TILDE] = ACTIONS(3160),
    [anon_sym_EQ_EQ] = ACTIONS(3160),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [anon_sym_LT_LT] = ACTIONS(3160),
    [anon_sym_LT_LT_DASH] = ACTIONS(3158),
    [anon_sym_LT_LT_LT] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2876] = {
    [sym_concatenation] = STATE(3043),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3043),
    [anon_sym_RBRACE] = ACTIONS(6905),
    [anon_sym_EQ] = ACTIONS(6907),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6909),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6907),
    [anon_sym_COLON_QMARK] = ACTIONS(6907),
    [anon_sym_COLON_DASH] = ACTIONS(6907),
    [anon_sym_PERCENT] = ACTIONS(6907),
    [anon_sym_DASH] = ACTIONS(6907),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2877] = {
    [sym__simple_heredoc_body] = ACTIONS(3203),
    [sym__heredoc_body_beginning] = ACTIONS(3203),
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_EQ_TILDE] = ACTIONS(3205),
    [anon_sym_EQ_EQ] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [anon_sym_LT_LT] = ACTIONS(3205),
    [anon_sym_LT_LT_DASH] = ACTIONS(3203),
    [anon_sym_LT_LT_LT] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [2878] = {
    [sym_concatenation] = STATE(3045),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3045),
    [anon_sym_RBRACE] = ACTIONS(6911),
    [anon_sym_EQ] = ACTIONS(6913),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6915),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(6913),
    [anon_sym_COLON_QMARK] = ACTIONS(6913),
    [anon_sym_COLON_DASH] = ACTIONS(6913),
    [anon_sym_PERCENT] = ACTIONS(6913),
    [anon_sym_DASH] = ACTIONS(6913),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2879] = {
    [sym__simple_heredoc_body] = ACTIONS(3213),
    [sym__heredoc_body_beginning] = ACTIONS(3213),
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3215),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_EQ_TILDE] = ACTIONS(3215),
    [anon_sym_EQ_EQ] = ACTIONS(3215),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [anon_sym_LT_LT] = ACTIONS(3215),
    [anon_sym_LT_LT_DASH] = ACTIONS(3213),
    [anon_sym_LT_LT_LT] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [2880] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6917),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2881] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(6917),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2882] = {
    [sym__simple_heredoc_body] = ACTIONS(3251),
    [sym__heredoc_body_beginning] = ACTIONS(3251),
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3253),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_EQ_TILDE] = ACTIONS(3253),
    [anon_sym_EQ_EQ] = ACTIONS(3253),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [anon_sym_LT_LT] = ACTIONS(3253),
    [anon_sym_LT_LT_DASH] = ACTIONS(3251),
    [anon_sym_LT_LT_LT] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [2883] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(6919),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2884] = {
    [sym_file_redirect] = STATE(1471),
    [sym_file_descriptor] = ACTIONS(6283),
    [anon_sym_esac] = ACTIONS(2546),
    [anon_sym_PIPE] = ACTIONS(2548),
    [anon_sym_SEMI_SEMI] = ACTIONS(2546),
    [anon_sym_PIPE_AMP] = ACTIONS(2546),
    [anon_sym_AMP_AMP] = ACTIONS(2546),
    [anon_sym_PIPE_PIPE] = ACTIONS(2546),
    [anon_sym_LT] = ACTIONS(6285),
    [anon_sym_GT] = ACTIONS(6285),
    [anon_sym_GT_GT] = ACTIONS(6287),
    [anon_sym_AMP_GT] = ACTIONS(6285),
    [anon_sym_AMP_GT_GT] = ACTIONS(6287),
    [anon_sym_LT_AMP] = ACTIONS(6287),
    [anon_sym_GT_AMP] = ACTIONS(6287),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2548),
    [anon_sym_LF] = ACTIONS(2546),
    [anon_sym_AMP] = ACTIONS(2548),
  },
  [2885] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(1051),
    [sym__heredoc_body_beginning] = ACTIONS(1051),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [2886] = {
    [aux_sym_concatenation_repeat1] = STATE(2888),
    [sym__simple_heredoc_body] = ACTIONS(1055),
    [sym__heredoc_body_beginning] = ACTIONS(1055),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [2887] = {
    [sym_string] = STATE(3048),
    [sym_simple_expansion] = STATE(3048),
    [sym_string_expansion] = STATE(3048),
    [sym_expansion] = STATE(3048),
    [sym_command_substitution] = STATE(3048),
    [sym_process_substitution] = STATE(3048),
    [sym__special_characters] = ACTIONS(6921),
    [anon_sym_DQUOTE] = ACTIONS(6079),
    [anon_sym_DOLLAR] = ACTIONS(6081),
    [sym_raw_string] = ACTIONS(6921),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6085),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6087),
    [anon_sym_BQUOTE] = ACTIONS(6089),
    [anon_sym_LT_LPAREN] = ACTIONS(6091),
    [anon_sym_GT_LPAREN] = ACTIONS(6091),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6921),
  },
  [2888] = {
    [aux_sym_concatenation_repeat1] = STATE(3049),
    [sym__simple_heredoc_body] = ACTIONS(761),
    [sym__heredoc_body_beginning] = ACTIONS(761),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(6545),
    [anon_sym_esac] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [2889] = {
    [sym__simple_heredoc_body] = ACTIONS(765),
    [sym__heredoc_body_beginning] = ACTIONS(765),
    [sym_file_descriptor] = ACTIONS(765),
    [sym__concat] = ACTIONS(765),
    [anon_sym_esac] = ACTIONS(765),
    [anon_sym_PIPE] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(765),
    [anon_sym_PIPE_AMP] = ACTIONS(765),
    [anon_sym_AMP_AMP] = ACTIONS(765),
    [anon_sym_PIPE_PIPE] = ACTIONS(765),
    [anon_sym_LT] = ACTIONS(767),
    [anon_sym_GT] = ACTIONS(767),
    [anon_sym_GT_GT] = ACTIONS(765),
    [anon_sym_AMP_GT] = ACTIONS(767),
    [anon_sym_AMP_GT_GT] = ACTIONS(765),
    [anon_sym_LT_AMP] = ACTIONS(765),
    [anon_sym_GT_AMP] = ACTIONS(765),
    [anon_sym_LT_LT] = ACTIONS(767),
    [anon_sym_LT_LT_DASH] = ACTIONS(765),
    [anon_sym_LT_LT_LT] = ACTIONS(765),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(767),
    [anon_sym_LF] = ACTIONS(765),
    [anon_sym_AMP] = ACTIONS(767),
  },
  [2890] = {
    [anon_sym_DQUOTE] = ACTIONS(6923),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2891] = {
    [sym_simple_expansion] = STATE(144),
    [sym_expansion] = STATE(144),
    [sym_command_substitution] = STATE(144),
    [aux_sym_string_repeat1] = STATE(461),
    [anon_sym_DQUOTE] = ACTIONS(6923),
    [anon_sym_DOLLAR] = ACTIONS(6925),
    [sym__string_content] = ACTIONS(257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(259),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(261),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [sym_comment] = ACTIONS(265),
  },
  [2892] = {
    [sym__simple_heredoc_body] = ACTIONS(797),
    [sym__heredoc_body_beginning] = ACTIONS(797),
    [sym_file_descriptor] = ACTIONS(797),
    [sym__concat] = ACTIONS(797),
    [anon_sym_esac] = ACTIONS(797),
    [anon_sym_PIPE] = ACTIONS(799),
    [anon_sym_SEMI_SEMI] = ACTIONS(797),
    [anon_sym_PIPE_AMP] = ACTIONS(797),
    [anon_sym_AMP_AMP] = ACTIONS(797),
    [anon_sym_PIPE_PIPE] = ACTIONS(797),
    [anon_sym_LT] = ACTIONS(799),
    [anon_sym_GT] = ACTIONS(799),
    [anon_sym_GT_GT] = ACTIONS(797),
    [anon_sym_AMP_GT] = ACTIONS(799),
    [anon_sym_AMP_GT_GT] = ACTIONS(797),
    [anon_sym_LT_AMP] = ACTIONS(797),
    [anon_sym_GT_AMP] = ACTIONS(797),
    [anon_sym_LT_LT] = ACTIONS(799),
    [anon_sym_LT_LT_DASH] = ACTIONS(797),
    [anon_sym_LT_LT_LT] = ACTIONS(797),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(799),
    [anon_sym_LF] = ACTIONS(797),
    [anon_sym_AMP] = ACTIONS(799),
  },
  [2893] = {
    [sym__simple_heredoc_body] = ACTIONS(801),
    [sym__heredoc_body_beginning] = ACTIONS(801),
    [sym_file_descriptor] = ACTIONS(801),
    [sym__concat] = ACTIONS(801),
    [anon_sym_esac] = ACTIONS(801),
    [anon_sym_PIPE] = ACTIONS(803),
    [anon_sym_SEMI_SEMI] = ACTIONS(801),
    [anon_sym_PIPE_AMP] = ACTIONS(801),
    [anon_sym_AMP_AMP] = ACTIONS(801),
    [anon_sym_PIPE_PIPE] = ACTIONS(801),
    [anon_sym_LT] = ACTIONS(803),
    [anon_sym_GT] = ACTIONS(803),
    [anon_sym_GT_GT] = ACTIONS(801),
    [anon_sym_AMP_GT] = ACTIONS(803),
    [anon_sym_AMP_GT_GT] = ACTIONS(801),
    [anon_sym_LT_AMP] = ACTIONS(801),
    [anon_sym_GT_AMP] = ACTIONS(801),
    [anon_sym_LT_LT] = ACTIONS(803),
    [anon_sym_LT_LT_DASH] = ACTIONS(801),
    [anon_sym_LT_LT_LT] = ACTIONS(801),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(803),
    [anon_sym_LF] = ACTIONS(801),
    [anon_sym_AMP] = ACTIONS(803),
  },
  [2894] = {
    [sym__simple_heredoc_body] = ACTIONS(805),
    [sym__heredoc_body_beginning] = ACTIONS(805),
    [sym_file_descriptor] = ACTIONS(805),
    [sym__concat] = ACTIONS(805),
    [anon_sym_esac] = ACTIONS(805),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(805),
    [anon_sym_PIPE_AMP] = ACTIONS(805),
    [anon_sym_AMP_AMP] = ACTIONS(805),
    [anon_sym_PIPE_PIPE] = ACTIONS(805),
    [anon_sym_LT] = ACTIONS(807),
    [anon_sym_GT] = ACTIONS(807),
    [anon_sym_GT_GT] = ACTIONS(805),
    [anon_sym_AMP_GT] = ACTIONS(807),
    [anon_sym_AMP_GT_GT] = ACTIONS(805),
    [anon_sym_LT_AMP] = ACTIONS(805),
    [anon_sym_GT_AMP] = ACTIONS(805),
    [anon_sym_LT_LT] = ACTIONS(807),
    [anon_sym_LT_LT_DASH] = ACTIONS(805),
    [anon_sym_LT_LT_LT] = ACTIONS(805),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(805),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [2895] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(6927),
    [sym_comment] = ACTIONS(53),
  },
  [2896] = {
    [sym_subscript] = STATE(3056),
    [sym_variable_name] = ACTIONS(6929),
    [anon_sym_DOLLAR] = ACTIONS(6931),
    [anon_sym_DASH] = ACTIONS(6931),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6933),
    [anon_sym_STAR] = ACTIONS(6931),
    [anon_sym_AT] = ACTIONS(6931),
    [anon_sym_QMARK] = ACTIONS(6931),
    [anon_sym_0] = ACTIONS(6935),
    [anon_sym__] = ACTIONS(6935),
  },
  [2897] = {
    [sym_concatenation] = STATE(3059),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3059),
    [anon_sym_RBRACE] = ACTIONS(6937),
    [anon_sym_EQ] = ACTIONS(6939),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6941),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6943),
    [anon_sym_COLON] = ACTIONS(6939),
    [anon_sym_COLON_QMARK] = ACTIONS(6939),
    [anon_sym_COLON_DASH] = ACTIONS(6939),
    [anon_sym_PERCENT] = ACTIONS(6939),
    [anon_sym_DASH] = ACTIONS(6939),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2898] = {
    [sym_concatenation] = STATE(3062),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3062),
    [anon_sym_RBRACE] = ACTIONS(6945),
    [anon_sym_EQ] = ACTIONS(6947),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6949),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6951),
    [anon_sym_COLON] = ACTIONS(6947),
    [anon_sym_COLON_QMARK] = ACTIONS(6947),
    [anon_sym_COLON_DASH] = ACTIONS(6947),
    [anon_sym_PERCENT] = ACTIONS(6947),
    [anon_sym_DASH] = ACTIONS(6947),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2899] = {
    [sym_concatenation] = STATE(3065),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3065),
    [anon_sym_RBRACE] = ACTIONS(6953),
    [anon_sym_EQ] = ACTIONS(6955),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(6957),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(6959),
    [anon_sym_COLON] = ACTIONS(6955),
    [anon_sym_COLON_QMARK] = ACTIONS(6955),
    [anon_sym_COLON_DASH] = ACTIONS(6955),
    [anon_sym_PERCENT] = ACTIONS(6955),
    [anon_sym_DASH] = ACTIONS(6955),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2900] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6961),
    [anon_sym_SEMI_SEMI] = ACTIONS(6963),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6965),
    [anon_sym_LF] = ACTIONS(6963),
    [anon_sym_AMP] = ACTIONS(6965),
  },
  [2901] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6961),
    [anon_sym_SEMI_SEMI] = ACTIONS(6963),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6965),
    [anon_sym_LF] = ACTIONS(6963),
    [anon_sym_AMP] = ACTIONS(6965),
  },
  [2902] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(3068),
    [sym_c_style_for_statement] = STATE(3068),
    [sym_while_statement] = STATE(3068),
    [sym_if_statement] = STATE(3068),
    [sym_case_statement] = STATE(3068),
    [sym_function_definition] = STATE(3068),
    [sym_subshell] = STATE(3068),
    [sym_pipeline] = STATE(3068),
    [sym_list] = STATE(3068),
    [sym_negated_command] = STATE(3068),
    [sym_test_command] = STATE(3068),
    [sym_declaration_command] = STATE(3068),
    [sym_unset_command] = STATE(3068),
    [sym_command] = STATE(3068),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(3069),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2903] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6967),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(6961),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6969),
    [anon_sym_LF] = ACTIONS(6967),
    [anon_sym_AMP] = ACTIONS(6969),
  },
  [2904] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(6967),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(6961),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6969),
    [anon_sym_LF] = ACTIONS(6967),
    [anon_sym_AMP] = ACTIONS(6969),
  },
  [2905] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(3071),
    [sym_c_style_for_statement] = STATE(3071),
    [sym_while_statement] = STATE(3071),
    [sym_if_statement] = STATE(3071),
    [sym_case_statement] = STATE(3071),
    [sym_function_definition] = STATE(3071),
    [sym_subshell] = STATE(3071),
    [sym_pipeline] = STATE(3071),
    [sym_list] = STATE(3071),
    [sym_negated_command] = STATE(3071),
    [sym_test_command] = STATE(3071),
    [sym_declaration_command] = STATE(3071),
    [sym_unset_command] = STATE(3071),
    [sym_command] = STATE(3071),
    [sym_command_name] = STATE(169),
    [sym_variable_assignment] = STATE(3072),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(172),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(289),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(293),
    [anon_sym_LBRACK] = ACTIONS(295),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(297),
    [anon_sym_declare] = ACTIONS(299),
    [anon_sym_typeset] = ACTIONS(299),
    [anon_sym_export] = ACTIONS(299),
    [anon_sym_readonly] = ACTIONS(299),
    [anon_sym_local] = ACTIONS(299),
    [anon_sym_unset] = ACTIONS(301),
    [anon_sym_unsetenv] = ACTIONS(301),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(303),
  },
  [2906] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6971),
    [anon_sym_SEMI_SEMI] = ACTIONS(6973),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(6975),
    [anon_sym_LF] = ACTIONS(6973),
    [anon_sym_AMP] = ACTIONS(6975),
  },
  [2907] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(6971),
    [anon_sym_SEMI_SEMI] = ACTIONS(6973),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(6975),
    [anon_sym_LF] = ACTIONS(6973),
    [anon_sym_AMP] = ACTIONS(6975),
  },
  [2908] = {
    [sym__terminated_statement] = STATE(194),
    [sym_for_statement] = STATE(3075),
    [sym_c_style_for_statement] = STATE(3075),
    [sym_while_statement] = STATE(3075),
    [sym_if_statement] = STATE(3075),
    [sym_case_statement] = STATE(3075),
    [sym_function_definition] = STATE(3075),
    [sym_subshell] = STATE(3075),
    [sym_pipeline] = STATE(3075),
    [sym_list] = STATE(3075),
    [sym_negated_command] = STATE(3075),
    [sym_test_command] = STATE(3075),
    [sym_declaration_command] = STATE(3075),
    [sym_unset_command] = STATE(3075),
    [sym_command] = STATE(3075),
    [sym_command_name] = STATE(79),
    [sym_variable_assignment] = STATE(3076),
    [sym_subscript] = STATE(81),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(76),
    [sym_simple_expansion] = STATE(76),
    [sym_string_expansion] = STATE(76),
    [sym_expansion] = STATE(76),
    [sym_command_substitution] = STATE(76),
    [sym_process_substitution] = STATE(76),
    [aux_sym__statements_repeat1] = STATE(194),
    [aux_sym_command_repeat1] = STATE(83),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(109),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(111),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_function] = ACTIONS(113),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(115),
    [anon_sym_LBRACK] = ACTIONS(117),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(119),
    [anon_sym_declare] = ACTIONS(121),
    [anon_sym_typeset] = ACTIONS(121),
    [anon_sym_export] = ACTIONS(121),
    [anon_sym_readonly] = ACTIONS(121),
    [anon_sym_local] = ACTIONS(121),
    [anon_sym_unset] = ACTIONS(123),
    [anon_sym_unsetenv] = ACTIONS(123),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(125),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(127),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(129),
  },
  [2909] = {
    [sym_file_redirect] = STATE(2690),
    [sym_heredoc_redirect] = STATE(2690),
    [sym_heredoc_body] = STATE(1487),
    [sym_herestring_redirect] = STATE(2690),
    [aux_sym_while_statement_repeat1] = STATE(2690),
    [sym__simple_heredoc_body] = ACTIONS(321),
    [sym__heredoc_body_beginning] = ACTIONS(323),
    [sym_file_descriptor] = ACTIONS(5541),
    [anon_sym_esac] = ACTIONS(3306),
    [anon_sym_PIPE] = ACTIONS(3308),
    [anon_sym_SEMI_SEMI] = ACTIONS(3306),
    [anon_sym_PIPE_AMP] = ACTIONS(3306),
    [anon_sym_AMP_AMP] = ACTIONS(3306),
    [anon_sym_PIPE_PIPE] = ACTIONS(3306),
    [anon_sym_LT] = ACTIONS(5545),
    [anon_sym_GT] = ACTIONS(5545),
    [anon_sym_GT_GT] = ACTIONS(5547),
    [anon_sym_AMP_GT] = ACTIONS(5545),
    [anon_sym_AMP_GT_GT] = ACTIONS(5547),
    [anon_sym_LT_AMP] = ACTIONS(5547),
    [anon_sym_GT_AMP] = ACTIONS(5547),
    [anon_sym_LT_LT] = ACTIONS(337),
    [anon_sym_LT_LT_DASH] = ACTIONS(339),
    [anon_sym_LT_LT_LT] = ACTIONS(5549),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3308),
    [anon_sym_LF] = ACTIONS(3306),
    [anon_sym_AMP] = ACTIONS(3308),
  },
  [2910] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6977),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6979),
    [anon_sym_DQUOTE] = ACTIONS(6981),
    [anon_sym_DOLLAR] = ACTIONS(6979),
    [sym_raw_string] = ACTIONS(6981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6981),
    [anon_sym_BQUOTE] = ACTIONS(6981),
    [anon_sym_LT_LPAREN] = ACTIONS(6981),
    [anon_sym_GT_LPAREN] = ACTIONS(6981),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6979),
  },
  [2911] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_esac] = ACTIONS(6983),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6985),
    [anon_sym_DQUOTE] = ACTIONS(6987),
    [anon_sym_DOLLAR] = ACTIONS(6985),
    [sym_raw_string] = ACTIONS(6987),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6987),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6987),
    [anon_sym_BQUOTE] = ACTIONS(6987),
    [anon_sym_LT_LPAREN] = ACTIONS(6987),
    [anon_sym_GT_LPAREN] = ACTIONS(6987),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6985),
  },
  [2912] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6053),
    [anon_sym_DQUOTE] = ACTIONS(6055),
    [anon_sym_DOLLAR] = ACTIONS(6053),
    [sym_raw_string] = ACTIONS(6055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6055),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(6055),
    [anon_sym_GT_LPAREN] = ACTIONS(6055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6053),
  },
  [2913] = {
    [sym__special_characters] = ACTIONS(6055),
    [anon_sym_DQUOTE] = ACTIONS(6055),
    [anon_sym_DOLLAR] = ACTIONS(6053),
    [sym_raw_string] = ACTIONS(6055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6055),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6055),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(6055),
    [anon_sym_GT_LPAREN] = ACTIONS(6055),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6055),
  },
  [2914] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6989),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2915] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6989),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2916] = {
    [sym__terminated_statement] = STATE(2916),
    [sym_for_statement] = STATE(536),
    [sym_c_style_for_statement] = STATE(536),
    [sym_while_statement] = STATE(536),
    [sym_if_statement] = STATE(536),
    [sym_case_statement] = STATE(536),
    [sym_function_definition] = STATE(536),
    [sym_subshell] = STATE(536),
    [sym_pipeline] = STATE(536),
    [sym_list] = STATE(536),
    [sym_negated_command] = STATE(536),
    [sym_test_command] = STATE(536),
    [sym_declaration_command] = STATE(536),
    [sym_unset_command] = STATE(536),
    [sym_command] = STATE(536),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(537),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2916),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(963),
    [sym_variable_name] = ACTIONS(966),
    [anon_sym_for] = ACTIONS(969),
    [anon_sym_while] = ACTIONS(972),
    [anon_sym_if] = ACTIONS(975),
    [anon_sym_case] = ACTIONS(978),
    [anon_sym_SEMI_SEMI] = ACTIONS(3766),
    [anon_sym_function] = ACTIONS(981),
    [anon_sym_LPAREN] = ACTIONS(984),
    [anon_sym_BANG] = ACTIONS(987),
    [anon_sym_LBRACK] = ACTIONS(990),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(993),
    [anon_sym_declare] = ACTIONS(996),
    [anon_sym_typeset] = ACTIONS(996),
    [anon_sym_export] = ACTIONS(996),
    [anon_sym_readonly] = ACTIONS(996),
    [anon_sym_local] = ACTIONS(996),
    [anon_sym_unset] = ACTIONS(999),
    [anon_sym_unsetenv] = ACTIONS(999),
    [anon_sym_LT] = ACTIONS(1002),
    [anon_sym_GT] = ACTIONS(1002),
    [anon_sym_GT_GT] = ACTIONS(1005),
    [anon_sym_AMP_GT] = ACTIONS(1002),
    [anon_sym_AMP_GT_GT] = ACTIONS(1005),
    [anon_sym_LT_AMP] = ACTIONS(1005),
    [anon_sym_GT_AMP] = ACTIONS(1005),
    [sym__special_characters] = ACTIONS(1008),
    [anon_sym_DQUOTE] = ACTIONS(1011),
    [anon_sym_DOLLAR] = ACTIONS(1014),
    [sym_raw_string] = ACTIONS(1017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1020),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1023),
    [anon_sym_BQUOTE] = ACTIONS(1026),
    [anon_sym_LT_LPAREN] = ACTIONS(1029),
    [anon_sym_GT_LPAREN] = ACTIONS(1029),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1032),
  },
  [2917] = {
    [sym__terminated_statement] = STATE(2916),
    [sym_for_statement] = STATE(3079),
    [sym_c_style_for_statement] = STATE(3079),
    [sym_while_statement] = STATE(3079),
    [sym_if_statement] = STATE(3079),
    [sym_case_statement] = STATE(3079),
    [sym_function_definition] = STATE(3079),
    [sym_subshell] = STATE(3079),
    [sym_pipeline] = STATE(3079),
    [sym_list] = STATE(3079),
    [sym_negated_command] = STATE(3079),
    [sym_test_command] = STATE(3079),
    [sym_declaration_command] = STATE(3079),
    [sym_unset_command] = STATE(3079),
    [sym_command] = STATE(3079),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(3080),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2916),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6991),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2918] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6105),
    [anon_sym_DQUOTE] = ACTIONS(6107),
    [anon_sym_DOLLAR] = ACTIONS(6105),
    [sym_raw_string] = ACTIONS(6107),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6107),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6107),
    [anon_sym_BQUOTE] = ACTIONS(6107),
    [anon_sym_LT_LPAREN] = ACTIONS(6107),
    [anon_sym_GT_LPAREN] = ACTIONS(6107),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6105),
  },
  [2919] = {
    [sym__special_characters] = ACTIONS(6107),
    [anon_sym_DQUOTE] = ACTIONS(6107),
    [anon_sym_DOLLAR] = ACTIONS(6105),
    [sym_raw_string] = ACTIONS(6107),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6107),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6107),
    [anon_sym_BQUOTE] = ACTIONS(6107),
    [anon_sym_LT_LPAREN] = ACTIONS(6107),
    [anon_sym_GT_LPAREN] = ACTIONS(6107),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6107),
  },
  [2920] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6993),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2921] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(6993),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [2922] = {
    [sym__terminated_statement] = STATE(2916),
    [sym_for_statement] = STATE(3083),
    [sym_c_style_for_statement] = STATE(3083),
    [sym_while_statement] = STATE(3083),
    [sym_if_statement] = STATE(3083),
    [sym_case_statement] = STATE(3083),
    [sym_function_definition] = STATE(3083),
    [sym_subshell] = STATE(3083),
    [sym_pipeline] = STATE(3083),
    [sym_list] = STATE(3083),
    [sym_negated_command] = STATE(3083),
    [sym_test_command] = STATE(3083),
    [sym_declaration_command] = STATE(3083),
    [sym_unset_command] = STATE(3083),
    [sym_command] = STATE(3083),
    [sym_command_name] = STATE(52),
    [sym_variable_assignment] = STATE(3084),
    [sym_subscript] = STATE(54),
    [sym_file_redirect] = STATE(30),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(48),
    [sym_simple_expansion] = STATE(48),
    [sym_string_expansion] = STATE(48),
    [sym_expansion] = STATE(48),
    [sym_command_substitution] = STATE(48),
    [sym_process_substitution] = STATE(48),
    [aux_sym__statements_repeat1] = STATE(2916),
    [aux_sym_command_repeat1] = STATE(55),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(69),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_while] = ACTIONS(71),
    [anon_sym_if] = ACTIONS(15),
    [anon_sym_case] = ACTIONS(17),
    [anon_sym_SEMI_SEMI] = ACTIONS(6995),
    [anon_sym_function] = ACTIONS(73),
    [anon_sym_LPAREN] = ACTIONS(21),
    [anon_sym_BANG] = ACTIONS(75),
    [anon_sym_LBRACK] = ACTIONS(77),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(79),
    [anon_sym_declare] = ACTIONS(81),
    [anon_sym_typeset] = ACTIONS(81),
    [anon_sym_export] = ACTIONS(81),
    [anon_sym_readonly] = ACTIONS(81),
    [anon_sym_local] = ACTIONS(81),
    [anon_sym_unset] = ACTIONS(83),
    [anon_sym_unsetenv] = ACTIONS(83),
    [anon_sym_LT] = ACTIONS(33),
    [anon_sym_GT] = ACTIONS(33),
    [anon_sym_GT_GT] = ACTIONS(35),
    [anon_sym_AMP_GT] = ACTIONS(33),
    [anon_sym_AMP_GT_GT] = ACTIONS(35),
    [anon_sym_LT_AMP] = ACTIONS(35),
    [anon_sym_GT_AMP] = ACTIONS(35),
    [sym__special_characters] = ACTIONS(85),
    [anon_sym_DQUOTE] = ACTIONS(39),
    [anon_sym_DOLLAR] = ACTIONS(41),
    [sym_raw_string] = ACTIONS(87),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(45),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(47),
    [anon_sym_BQUOTE] = ACTIONS(49),
    [anon_sym_LT_LPAREN] = ACTIONS(51),
    [anon_sym_GT_LPAREN] = ACTIONS(51),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(89),
  },
  [2923] = {
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [ts_builtin_sym_end] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_RPAREN] = ACTIONS(5100),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [anon_sym_LT_LT] = ACTIONS(5102),
    [anon_sym_LT_LT_DASH] = ACTIONS(5100),
    [anon_sym_LT_LT_LT] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [2924] = {
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [ts_builtin_sym_end] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_RPAREN] = ACTIONS(5104),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [anon_sym_LT_LT] = ACTIONS(5106),
    [anon_sym_LT_LT_DASH] = ACTIONS(5104),
    [anon_sym_LT_LT_LT] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [2925] = {
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [ts_builtin_sym_end] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_RPAREN] = ACTIONS(5108),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [anon_sym_LT_LT] = ACTIONS(5110),
    [anon_sym_LT_LT_DASH] = ACTIONS(5108),
    [anon_sym_LT_LT_LT] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [2926] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6997),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2927] = {
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [ts_builtin_sym_end] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_RPAREN] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [anon_sym_LT_LT] = ACTIONS(5116),
    [anon_sym_LT_LT_DASH] = ACTIONS(5114),
    [anon_sym_LT_LT_LT] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [2928] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(6999),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2929] = {
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [ts_builtin_sym_end] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_RPAREN] = ACTIONS(5120),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [anon_sym_LT_LT] = ACTIONS(5122),
    [anon_sym_LT_LT_DASH] = ACTIONS(5120),
    [anon_sym_LT_LT_LT] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [2930] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7001),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2931] = {
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [ts_builtin_sym_end] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_RPAREN] = ACTIONS(5162),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [anon_sym_LT_LT] = ACTIONS(5164),
    [anon_sym_LT_LT_DASH] = ACTIONS(5162),
    [anon_sym_LT_LT_LT] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [2932] = {
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [ts_builtin_sym_end] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_RPAREN] = ACTIONS(5170),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [anon_sym_LT_LT] = ACTIONS(5172),
    [anon_sym_LT_LT_DASH] = ACTIONS(5170),
    [anon_sym_LT_LT_LT] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [2933] = {
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [ts_builtin_sym_end] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_RPAREN] = ACTIONS(5174),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [anon_sym_LT_LT] = ACTIONS(5176),
    [anon_sym_LT_LT_DASH] = ACTIONS(5174),
    [anon_sym_LT_LT_LT] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [2934] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_RBRACE] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
  },
  [2935] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_RBRACE] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
  },
  [2936] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_RBRACE] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
  },
  [2937] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5739),
    [anon_sym_EQ_EQ] = ACTIONS(5739),
    [anon_sym_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5739),
    [anon_sym_GT] = ACTIONS(5739),
    [anon_sym_BANG_EQ] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5739),
  },
  [2938] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5743),
    [anon_sym_EQ_EQ] = ACTIONS(5743),
    [anon_sym_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5743),
    [anon_sym_GT] = ACTIONS(5743),
    [anon_sym_BANG_EQ] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5743),
  },
  [2939] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5747),
    [anon_sym_EQ_EQ] = ACTIONS(5747),
    [anon_sym_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5747),
    [anon_sym_GT] = ACTIONS(5747),
    [anon_sym_BANG_EQ] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_test_operator] = ACTIONS(5747),
  },
  [2940] = {
    [sym_file_descriptor] = ACTIONS(3374),
    [sym_variable_name] = ACTIONS(3374),
    [anon_sym_esac] = ACTIONS(3376),
    [anon_sym_PIPE] = ACTIONS(3376),
    [anon_sym_SEMI_SEMI] = ACTIONS(3374),
    [anon_sym_PIPE_AMP] = ACTIONS(3374),
    [anon_sym_AMP_AMP] = ACTIONS(3374),
    [anon_sym_PIPE_PIPE] = ACTIONS(3374),
    [anon_sym_LT] = ACTIONS(3376),
    [anon_sym_GT] = ACTIONS(3376),
    [anon_sym_GT_GT] = ACTIONS(3374),
    [anon_sym_AMP_GT] = ACTIONS(3376),
    [anon_sym_AMP_GT_GT] = ACTIONS(3374),
    [anon_sym_LT_AMP] = ACTIONS(3374),
    [anon_sym_GT_AMP] = ACTIONS(3374),
    [sym__special_characters] = ACTIONS(3374),
    [anon_sym_DQUOTE] = ACTIONS(3374),
    [anon_sym_DOLLAR] = ACTIONS(3376),
    [sym_raw_string] = ACTIONS(3374),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3374),
    [anon_sym_BQUOTE] = ACTIONS(3374),
    [anon_sym_LT_LPAREN] = ACTIONS(3374),
    [anon_sym_GT_LPAREN] = ACTIONS(3374),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3376),
    [anon_sym_SEMI] = ACTIONS(3376),
    [anon_sym_LF] = ACTIONS(3374),
    [anon_sym_AMP] = ACTIONS(3376),
  },
  [2941] = {
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2942] = {
    [aux_sym_concatenation_repeat1] = STATE(2942),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(7003),
    [sym_variable_name] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1764),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [sym__special_characters] = ACTIONS(1762),
    [anon_sym_DQUOTE] = ACTIONS(1762),
    [anon_sym_DOLLAR] = ACTIONS(1764),
    [sym_raw_string] = ACTIONS(1762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1762),
    [anon_sym_BQUOTE] = ACTIONS(1762),
    [anon_sym_LT_LPAREN] = ACTIONS(1762),
    [anon_sym_GT_LPAREN] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1764),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [2943] = {
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [sym_variable_name] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1771),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [sym__special_characters] = ACTIONS(1769),
    [anon_sym_DQUOTE] = ACTIONS(1769),
    [anon_sym_DOLLAR] = ACTIONS(1771),
    [sym_raw_string] = ACTIONS(1769),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1769),
    [anon_sym_BQUOTE] = ACTIONS(1769),
    [anon_sym_LT_LPAREN] = ACTIONS(1769),
    [anon_sym_GT_LPAREN] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1771),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [2944] = {
    [anon_sym_DQUOTE] = ACTIONS(7006),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [2945] = {
    [sym_concatenation] = STATE(3092),
    [sym_string] = STATE(3091),
    [sym_simple_expansion] = STATE(3091),
    [sym_string_expansion] = STATE(3091),
    [sym_expansion] = STATE(3091),
    [sym_command_substitution] = STATE(3091),
    [sym_process_substitution] = STATE(3091),
    [anon_sym_RBRACE] = ACTIONS(7008),
    [sym__special_characters] = ACTIONS(7010),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7012),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7012),
  },
  [2946] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(7014),
    [sym_comment] = ACTIONS(53),
  },
  [2947] = {
    [sym_concatenation] = STATE(3096),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3096),
    [anon_sym_RBRACE] = ACTIONS(7016),
    [anon_sym_EQ] = ACTIONS(7018),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7020),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7022),
    [anon_sym_COLON] = ACTIONS(7018),
    [anon_sym_COLON_QMARK] = ACTIONS(7018),
    [anon_sym_COLON_DASH] = ACTIONS(7018),
    [anon_sym_PERCENT] = ACTIONS(7018),
    [anon_sym_DASH] = ACTIONS(7018),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2948] = {
    [sym_concatenation] = STATE(3099),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3099),
    [anon_sym_RBRACE] = ACTIONS(7024),
    [anon_sym_EQ] = ACTIONS(7026),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7030),
    [anon_sym_COLON] = ACTIONS(7026),
    [anon_sym_COLON_QMARK] = ACTIONS(7026),
    [anon_sym_COLON_DASH] = ACTIONS(7026),
    [anon_sym_PERCENT] = ACTIONS(7026),
    [anon_sym_DASH] = ACTIONS(7026),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2949] = {
    [sym_concatenation] = STATE(3101),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3101),
    [anon_sym_RBRACE] = ACTIONS(7008),
    [anon_sym_EQ] = ACTIONS(7032),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7034),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7036),
    [anon_sym_COLON] = ACTIONS(7032),
    [anon_sym_COLON_QMARK] = ACTIONS(7032),
    [anon_sym_COLON_DASH] = ACTIONS(7032),
    [anon_sym_PERCENT] = ACTIONS(7032),
    [anon_sym_DASH] = ACTIONS(7032),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2950] = {
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [sym_variable_name] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1888),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [sym__special_characters] = ACTIONS(1886),
    [anon_sym_DQUOTE] = ACTIONS(1886),
    [anon_sym_DOLLAR] = ACTIONS(1888),
    [sym_raw_string] = ACTIONS(1886),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1886),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1886),
    [anon_sym_BQUOTE] = ACTIONS(1886),
    [anon_sym_LT_LPAREN] = ACTIONS(1886),
    [anon_sym_GT_LPAREN] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1888),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [2951] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7038),
  },
  [2952] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7040),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2953] = {
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [sym_variable_name] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1932),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [sym__special_characters] = ACTIONS(1930),
    [anon_sym_DQUOTE] = ACTIONS(1930),
    [anon_sym_DOLLAR] = ACTIONS(1932),
    [sym_raw_string] = ACTIONS(1930),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1930),
    [anon_sym_BQUOTE] = ACTIONS(1930),
    [anon_sym_LT_LPAREN] = ACTIONS(1930),
    [anon_sym_GT_LPAREN] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1932),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [2954] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7042),
  },
  [2955] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7044),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2956] = {
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [sym_variable_name] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1940),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [sym__special_characters] = ACTIONS(1938),
    [anon_sym_DQUOTE] = ACTIONS(1938),
    [anon_sym_DOLLAR] = ACTIONS(1940),
    [sym_raw_string] = ACTIONS(1938),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1938),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1938),
    [anon_sym_BQUOTE] = ACTIONS(1938),
    [anon_sym_LT_LPAREN] = ACTIONS(1938),
    [anon_sym_GT_LPAREN] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1940),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [2957] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7046),
  },
  [2958] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7008),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2959] = {
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [sym_variable_name] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1946),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [sym__special_characters] = ACTIONS(1944),
    [anon_sym_DQUOTE] = ACTIONS(1944),
    [anon_sym_DOLLAR] = ACTIONS(1946),
    [sym_raw_string] = ACTIONS(1944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1944),
    [anon_sym_BQUOTE] = ACTIONS(1944),
    [anon_sym_LT_LPAREN] = ACTIONS(1944),
    [anon_sym_GT_LPAREN] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1946),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [2960] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7048),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2961] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7048),
    [anon_sym_SEMI_SEMI] = ACTIONS(7050),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7052),
    [anon_sym_LF] = ACTIONS(7050),
    [anon_sym_AMP] = ACTIONS(7052),
  },
  [2962] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7048),
    [anon_sym_SEMI_SEMI] = ACTIONS(7050),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7052),
    [anon_sym_LF] = ACTIONS(7050),
    [anon_sym_AMP] = ACTIONS(7052),
  },
  [2963] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7048),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2964] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(7054),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(7048),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7056),
    [anon_sym_LF] = ACTIONS(7054),
    [anon_sym_AMP] = ACTIONS(7056),
  },
  [2965] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(7054),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(7048),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7056),
    [anon_sym_LF] = ACTIONS(7054),
    [anon_sym_AMP] = ACTIONS(7056),
  },
  [2966] = {
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [sym_variable_name] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1978),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [sym__special_characters] = ACTIONS(1976),
    [anon_sym_DQUOTE] = ACTIONS(1976),
    [anon_sym_DOLLAR] = ACTIONS(1978),
    [sym_raw_string] = ACTIONS(1976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1976),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1976),
    [anon_sym_BQUOTE] = ACTIONS(1976),
    [anon_sym_LT_LPAREN] = ACTIONS(1976),
    [anon_sym_GT_LPAREN] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1978),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [2967] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7058),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [2968] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7058),
    [anon_sym_SEMI_SEMI] = ACTIONS(7060),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7062),
    [anon_sym_LF] = ACTIONS(7060),
    [anon_sym_AMP] = ACTIONS(7062),
  },
  [2969] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7058),
    [anon_sym_SEMI_SEMI] = ACTIONS(7060),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7062),
    [anon_sym_LF] = ACTIONS(7060),
    [anon_sym_AMP] = ACTIONS(7062),
  },
  [2970] = {
    [sym_file_redirect] = STATE(1678),
    [sym_file_descriptor] = ACTIONS(6283),
    [anon_sym_esac] = ACTIONS(3758),
    [anon_sym_PIPE] = ACTIONS(3760),
    [anon_sym_SEMI_SEMI] = ACTIONS(3758),
    [anon_sym_PIPE_AMP] = ACTIONS(3758),
    [anon_sym_AMP_AMP] = ACTIONS(3758),
    [anon_sym_PIPE_PIPE] = ACTIONS(3758),
    [anon_sym_LT] = ACTIONS(6285),
    [anon_sym_GT] = ACTIONS(6285),
    [anon_sym_GT_GT] = ACTIONS(6287),
    [anon_sym_AMP_GT] = ACTIONS(6285),
    [anon_sym_AMP_GT_GT] = ACTIONS(6287),
    [anon_sym_LT_AMP] = ACTIONS(6287),
    [anon_sym_GT_AMP] = ACTIONS(6287),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3760),
    [anon_sym_LF] = ACTIONS(3758),
    [anon_sym_AMP] = ACTIONS(3760),
  },
  [2971] = {
    [sym_concatenation] = STATE(1681),
    [sym_string] = STATE(3113),
    [sym_simple_expansion] = STATE(3113),
    [sym_string_expansion] = STATE(3113),
    [sym_expansion] = STATE(3113),
    [sym_command_substitution] = STATE(3113),
    [sym_process_substitution] = STATE(3113),
    [sym__special_characters] = ACTIONS(7064),
    [anon_sym_DQUOTE] = ACTIONS(391),
    [anon_sym_DOLLAR] = ACTIONS(393),
    [sym_raw_string] = ACTIONS(7066),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(397),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(399),
    [anon_sym_BQUOTE] = ACTIONS(401),
    [anon_sym_LT_LPAREN] = ACTIONS(403),
    [anon_sym_GT_LPAREN] = ACTIONS(403),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7066),
  },
  [2972] = {
    [aux_sym_concatenation_repeat1] = STATE(3114),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_esac] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [2973] = {
    [aux_sym_concatenation_repeat1] = STATE(3114),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [2974] = {
    [sym_concatenation] = STATE(1716),
    [sym_string] = STATE(3116),
    [sym_simple_expansion] = STATE(3116),
    [sym_string_expansion] = STATE(3116),
    [sym_expansion] = STATE(3116),
    [sym_command_substitution] = STATE(3116),
    [sym_process_substitution] = STATE(3116),
    [sym__special_characters] = ACTIONS(7068),
    [anon_sym_DQUOTE] = ACTIONS(2704),
    [anon_sym_DOLLAR] = ACTIONS(2706),
    [sym_raw_string] = ACTIONS(7070),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2712),
    [anon_sym_BQUOTE] = ACTIONS(2714),
    [anon_sym_LT_LPAREN] = ACTIONS(2716),
    [anon_sym_GT_LPAREN] = ACTIONS(2716),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7070),
  },
  [2975] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(727),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(727),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(727),
    [anon_sym_PIPE_AMP] = ACTIONS(727),
    [anon_sym_AMP_AMP] = ACTIONS(727),
    [anon_sym_PIPE_PIPE] = ACTIONS(727),
    [anon_sym_LT] = ACTIONS(731),
    [anon_sym_GT] = ACTIONS(731),
    [anon_sym_GT_GT] = ACTIONS(727),
    [anon_sym_AMP_GT] = ACTIONS(731),
    [anon_sym_AMP_GT_GT] = ACTIONS(727),
    [anon_sym_LT_AMP] = ACTIONS(727),
    [anon_sym_GT_AMP] = ACTIONS(727),
    [anon_sym_LT_LT] = ACTIONS(731),
    [anon_sym_LT_LT_DASH] = ACTIONS(727),
    [anon_sym_LT_LT_LT] = ACTIONS(727),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_LF] = ACTIONS(727),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [2976] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(745),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(745),
    [anon_sym_PIPE] = ACTIONS(747),
    [anon_sym_SEMI_SEMI] = ACTIONS(745),
    [anon_sym_PIPE_AMP] = ACTIONS(745),
    [anon_sym_AMP_AMP] = ACTIONS(745),
    [anon_sym_PIPE_PIPE] = ACTIONS(745),
    [anon_sym_LT] = ACTIONS(747),
    [anon_sym_GT] = ACTIONS(747),
    [anon_sym_GT_GT] = ACTIONS(745),
    [anon_sym_AMP_GT] = ACTIONS(747),
    [anon_sym_AMP_GT_GT] = ACTIONS(745),
    [anon_sym_LT_AMP] = ACTIONS(745),
    [anon_sym_GT_AMP] = ACTIONS(745),
    [anon_sym_LT_LT] = ACTIONS(747),
    [anon_sym_LT_LT_DASH] = ACTIONS(745),
    [anon_sym_LT_LT_LT] = ACTIONS(745),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(747),
    [anon_sym_LF] = ACTIONS(745),
    [anon_sym_AMP] = ACTIONS(747),
  },
  [2977] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(2034),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(2034),
    [anon_sym_PIPE] = ACTIONS(2036),
    [anon_sym_SEMI_SEMI] = ACTIONS(2034),
    [anon_sym_PIPE_AMP] = ACTIONS(2034),
    [anon_sym_AMP_AMP] = ACTIONS(2034),
    [anon_sym_PIPE_PIPE] = ACTIONS(2034),
    [anon_sym_LT] = ACTIONS(2036),
    [anon_sym_GT] = ACTIONS(2036),
    [anon_sym_GT_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT] = ACTIONS(2036),
    [anon_sym_AMP_GT_GT] = ACTIONS(2034),
    [anon_sym_LT_AMP] = ACTIONS(2034),
    [anon_sym_GT_AMP] = ACTIONS(2034),
    [anon_sym_LT_LT] = ACTIONS(2036),
    [anon_sym_LT_LT_DASH] = ACTIONS(2034),
    [anon_sym_LT_LT_LT] = ACTIONS(2034),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2036),
    [anon_sym_LF] = ACTIONS(2034),
    [anon_sym_AMP] = ACTIONS(2036),
  },
  [2978] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(2038),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(2038),
    [anon_sym_PIPE] = ACTIONS(2040),
    [anon_sym_SEMI_SEMI] = ACTIONS(2038),
    [anon_sym_PIPE_AMP] = ACTIONS(2038),
    [anon_sym_AMP_AMP] = ACTIONS(2038),
    [anon_sym_PIPE_PIPE] = ACTIONS(2038),
    [anon_sym_LT] = ACTIONS(2040),
    [anon_sym_GT] = ACTIONS(2040),
    [anon_sym_GT_GT] = ACTIONS(2038),
    [anon_sym_AMP_GT] = ACTIONS(2040),
    [anon_sym_AMP_GT_GT] = ACTIONS(2038),
    [anon_sym_LT_AMP] = ACTIONS(2038),
    [anon_sym_GT_AMP] = ACTIONS(2038),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2038),
    [anon_sym_LT_LT_LT] = ACTIONS(2038),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2040),
    [anon_sym_LF] = ACTIONS(2038),
    [anon_sym_AMP] = ACTIONS(2040),
  },
  [2979] = {
    [sym_file_redirect] = STATE(2979),
    [sym_heredoc_redirect] = STATE(2979),
    [sym_herestring_redirect] = STATE(2979),
    [aux_sym_while_statement_repeat1] = STATE(2979),
    [sym_file_descriptor] = ACTIONS(7072),
    [anon_sym_esac] = ACTIONS(2046),
    [anon_sym_PIPE] = ACTIONS(2051),
    [anon_sym_SEMI_SEMI] = ACTIONS(2046),
    [anon_sym_PIPE_AMP] = ACTIONS(2046),
    [anon_sym_AMP_AMP] = ACTIONS(2046),
    [anon_sym_PIPE_PIPE] = ACTIONS(2046),
    [anon_sym_LT] = ACTIONS(7075),
    [anon_sym_GT] = ACTIONS(7075),
    [anon_sym_GT_GT] = ACTIONS(7078),
    [anon_sym_AMP_GT] = ACTIONS(7075),
    [anon_sym_AMP_GT_GT] = ACTIONS(7078),
    [anon_sym_LT_AMP] = ACTIONS(7078),
    [anon_sym_GT_AMP] = ACTIONS(7078),
    [anon_sym_LT_LT] = ACTIONS(3875),
    [anon_sym_LT_LT_DASH] = ACTIONS(3878),
    [anon_sym_LT_LT_LT] = ACTIONS(7081),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2051),
    [anon_sym_LF] = ACTIONS(2046),
    [anon_sym_AMP] = ACTIONS(2051),
  },
  [2980] = {
    [sym_variable_name] = ACTIONS(2118),
    [anon_sym_esac] = ACTIONS(2120),
    [anon_sym_PIPE] = ACTIONS(2120),
    [anon_sym_SEMI_SEMI] = ACTIONS(2118),
    [anon_sym_PIPE_AMP] = ACTIONS(2118),
    [anon_sym_AMP_AMP] = ACTIONS(2118),
    [anon_sym_PIPE_PIPE] = ACTIONS(2118),
    [sym__special_characters] = ACTIONS(2118),
    [anon_sym_DQUOTE] = ACTIONS(2118),
    [anon_sym_DOLLAR] = ACTIONS(2120),
    [sym_raw_string] = ACTIONS(2118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2118),
    [anon_sym_BQUOTE] = ACTIONS(2118),
    [anon_sym_LT_LPAREN] = ACTIONS(2118),
    [anon_sym_GT_LPAREN] = ACTIONS(2118),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2120),
    [sym_word] = ACTIONS(2120),
    [anon_sym_SEMI] = ACTIONS(2120),
    [anon_sym_LF] = ACTIONS(2118),
    [anon_sym_AMP] = ACTIONS(2120),
  },
  [2981] = {
    [sym_concatenation] = STATE(1031),
    [sym_string] = STATE(549),
    [sym_simple_expansion] = STATE(549),
    [sym_string_expansion] = STATE(549),
    [sym_expansion] = STATE(549),
    [sym_command_substitution] = STATE(549),
    [sym_process_substitution] = STATE(549),
    [aux_sym_for_statement_repeat1] = STATE(1031),
    [anon_sym_RPAREN] = ACTIONS(7084),
    [sym__special_characters] = ACTIONS(1075),
    [anon_sym_DQUOTE] = ACTIONS(1077),
    [anon_sym_DOLLAR] = ACTIONS(1079),
    [sym_raw_string] = ACTIONS(1081),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1083),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1085),
    [anon_sym_BQUOTE] = ACTIONS(1087),
    [anon_sym_LT_LPAREN] = ACTIONS(1089),
    [anon_sym_GT_LPAREN] = ACTIONS(1089),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(1081),
  },
  [2982] = {
    [sym__concat] = ACTIONS(3028),
    [sym_variable_name] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3030),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3030),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [2983] = {
    [sym__concat] = ACTIONS(3042),
    [sym_variable_name] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3044),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3044),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [2984] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7086),
    [sym_comment] = ACTIONS(53),
  },
  [2985] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7088),
    [sym_comment] = ACTIONS(53),
  },
  [2986] = {
    [anon_sym_RBRACE] = ACTIONS(7088),
    [sym_comment] = ACTIONS(53),
  },
  [2987] = {
    [sym_concatenation] = STATE(3123),
    [sym_string] = STATE(3122),
    [sym_simple_expansion] = STATE(3122),
    [sym_string_expansion] = STATE(3122),
    [sym_expansion] = STATE(3122),
    [sym_command_substitution] = STATE(3122),
    [sym_process_substitution] = STATE(3122),
    [anon_sym_RBRACE] = ACTIONS(7088),
    [sym__special_characters] = ACTIONS(7090),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7092),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7092),
  },
  [2988] = {
    [sym__concat] = ACTIONS(3078),
    [sym_variable_name] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3080),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3080),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [2989] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7094),
  },
  [2990] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7096),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2991] = {
    [sym__concat] = ACTIONS(3086),
    [sym_variable_name] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3088),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3088),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [2992] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7098),
  },
  [2993] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7100),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2994] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7102),
  },
  [2995] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7088),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2996] = {
    [sym_concatenation] = STATE(3130),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3130),
    [anon_sym_RBRACE] = ACTIONS(7104),
    [anon_sym_EQ] = ACTIONS(7106),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7106),
    [anon_sym_COLON_QMARK] = ACTIONS(7106),
    [anon_sym_COLON_DASH] = ACTIONS(7106),
    [anon_sym_PERCENT] = ACTIONS(7106),
    [anon_sym_DASH] = ACTIONS(7106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2997] = {
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3160),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2998] = {
    [sym_concatenation] = STATE(3132),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3132),
    [anon_sym_RBRACE] = ACTIONS(7110),
    [anon_sym_EQ] = ACTIONS(7112),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7112),
    [anon_sym_COLON_QMARK] = ACTIONS(7112),
    [anon_sym_COLON_DASH] = ACTIONS(7112),
    [anon_sym_PERCENT] = ACTIONS(7112),
    [anon_sym_DASH] = ACTIONS(7112),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [2999] = {
    [sym__concat] = ACTIONS(3203),
    [sym_variable_name] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3205),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [3000] = {
    [sym_concatenation] = STATE(3134),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3134),
    [anon_sym_RBRACE] = ACTIONS(7116),
    [anon_sym_EQ] = ACTIONS(7118),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7118),
    [anon_sym_COLON_QMARK] = ACTIONS(7118),
    [anon_sym_COLON_DASH] = ACTIONS(7118),
    [anon_sym_PERCENT] = ACTIONS(7118),
    [anon_sym_DASH] = ACTIONS(7118),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3001] = {
    [sym__concat] = ACTIONS(3213),
    [sym_variable_name] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3215),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3215),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [3002] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7122),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3003] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7122),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3004] = {
    [sym__concat] = ACTIONS(3251),
    [sym_variable_name] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3253),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3253),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [3005] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7124),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3006] = {
    [sym__concat] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3030),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3030),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [3007] = {
    [sym__concat] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3044),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3044),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [3008] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7126),
    [sym_comment] = ACTIONS(53),
  },
  [3009] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7128),
    [sym_comment] = ACTIONS(53),
  },
  [3010] = {
    [anon_sym_RBRACE] = ACTIONS(7128),
    [sym_comment] = ACTIONS(53),
  },
  [3011] = {
    [sym_concatenation] = STATE(3141),
    [sym_string] = STATE(3140),
    [sym_simple_expansion] = STATE(3140),
    [sym_string_expansion] = STATE(3140),
    [sym_expansion] = STATE(3140),
    [sym_command_substitution] = STATE(3140),
    [sym_process_substitution] = STATE(3140),
    [anon_sym_RBRACE] = ACTIONS(7128),
    [sym__special_characters] = ACTIONS(7130),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7132),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7132),
  },
  [3012] = {
    [sym__concat] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3080),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3080),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [3013] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7134),
  },
  [3014] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7136),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3015] = {
    [sym__concat] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3088),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3088),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [3016] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7138),
  },
  [3017] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7140),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3018] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7142),
  },
  [3019] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7128),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3020] = {
    [sym_concatenation] = STATE(3148),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3148),
    [anon_sym_RBRACE] = ACTIONS(7144),
    [anon_sym_EQ] = ACTIONS(7146),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7148),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7146),
    [anon_sym_COLON_QMARK] = ACTIONS(7146),
    [anon_sym_COLON_DASH] = ACTIONS(7146),
    [anon_sym_PERCENT] = ACTIONS(7146),
    [anon_sym_DASH] = ACTIONS(7146),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3021] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3160),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [3022] = {
    [sym_concatenation] = STATE(3150),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3150),
    [anon_sym_RBRACE] = ACTIONS(7150),
    [anon_sym_EQ] = ACTIONS(7152),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7154),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7152),
    [anon_sym_COLON_QMARK] = ACTIONS(7152),
    [anon_sym_COLON_DASH] = ACTIONS(7152),
    [anon_sym_PERCENT] = ACTIONS(7152),
    [anon_sym_DASH] = ACTIONS(7152),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3023] = {
    [sym__concat] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3205),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [3024] = {
    [sym_concatenation] = STATE(3152),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3152),
    [anon_sym_RBRACE] = ACTIONS(7156),
    [anon_sym_EQ] = ACTIONS(7158),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7160),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7158),
    [anon_sym_COLON_QMARK] = ACTIONS(7158),
    [anon_sym_COLON_DASH] = ACTIONS(7158),
    [anon_sym_PERCENT] = ACTIONS(7158),
    [anon_sym_DASH] = ACTIONS(7158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3025] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3215),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3215),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [3026] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7162),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3027] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7162),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3028] = {
    [sym__concat] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3253),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3253),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [3029] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7164),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3030] = {
    [sym__simple_heredoc_body] = ACTIONS(4098),
    [sym__heredoc_body_beginning] = ACTIONS(4098),
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4100),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_EQ_TILDE] = ACTIONS(4100),
    [anon_sym_EQ_EQ] = ACTIONS(4100),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [anon_sym_LT_LT] = ACTIONS(4100),
    [anon_sym_LT_LT_DASH] = ACTIONS(4098),
    [anon_sym_LT_LT_LT] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [3031] = {
    [sym__simple_heredoc_body] = ACTIONS(4106),
    [sym__heredoc_body_beginning] = ACTIONS(4106),
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4108),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_EQ_TILDE] = ACTIONS(4108),
    [anon_sym_EQ_EQ] = ACTIONS(4108),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [anon_sym_LT_LT] = ACTIONS(4108),
    [anon_sym_LT_LT_DASH] = ACTIONS(4106),
    [anon_sym_LT_LT_LT] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [3032] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7166),
    [sym_comment] = ACTIONS(53),
  },
  [3033] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7168),
    [sym_comment] = ACTIONS(53),
  },
  [3034] = {
    [anon_sym_RBRACE] = ACTIONS(7168),
    [sym_comment] = ACTIONS(53),
  },
  [3035] = {
    [sym_concatenation] = STATE(3158),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3158),
    [anon_sym_RBRACE] = ACTIONS(7170),
    [anon_sym_EQ] = ACTIONS(7172),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7172),
    [anon_sym_COLON_QMARK] = ACTIONS(7172),
    [anon_sym_COLON_DASH] = ACTIONS(7172),
    [anon_sym_PERCENT] = ACTIONS(7172),
    [anon_sym_DASH] = ACTIONS(7172),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3036] = {
    [sym__simple_heredoc_body] = ACTIONS(4170),
    [sym__heredoc_body_beginning] = ACTIONS(4170),
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_EQ_TILDE] = ACTIONS(4172),
    [anon_sym_EQ_EQ] = ACTIONS(4172),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [anon_sym_LT_LT] = ACTIONS(4172),
    [anon_sym_LT_LT_DASH] = ACTIONS(4170),
    [anon_sym_LT_LT_LT] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [3037] = {
    [sym_concatenation] = STATE(3160),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3160),
    [anon_sym_RBRACE] = ACTIONS(7176),
    [anon_sym_EQ] = ACTIONS(7178),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7178),
    [anon_sym_COLON_QMARK] = ACTIONS(7178),
    [anon_sym_COLON_DASH] = ACTIONS(7178),
    [anon_sym_PERCENT] = ACTIONS(7178),
    [anon_sym_DASH] = ACTIONS(7178),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3038] = {
    [sym__simple_heredoc_body] = ACTIONS(4180),
    [sym__heredoc_body_beginning] = ACTIONS(4180),
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_EQ_TILDE] = ACTIONS(4182),
    [anon_sym_EQ_EQ] = ACTIONS(4182),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [anon_sym_LT_LT] = ACTIONS(4182),
    [anon_sym_LT_LT_DASH] = ACTIONS(4180),
    [anon_sym_LT_LT_LT] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [3039] = {
    [sym_concatenation] = STATE(3162),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3162),
    [anon_sym_RBRACE] = ACTIONS(7182),
    [anon_sym_EQ] = ACTIONS(7184),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7186),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7184),
    [anon_sym_COLON_QMARK] = ACTIONS(7184),
    [anon_sym_COLON_DASH] = ACTIONS(7184),
    [anon_sym_PERCENT] = ACTIONS(7184),
    [anon_sym_DASH] = ACTIONS(7184),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3040] = {
    [sym__simple_heredoc_body] = ACTIONS(4235),
    [sym__heredoc_body_beginning] = ACTIONS(4235),
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4237),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_EQ_TILDE] = ACTIONS(4237),
    [anon_sym_EQ_EQ] = ACTIONS(4237),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [anon_sym_LT_LT] = ACTIONS(4237),
    [anon_sym_LT_LT_DASH] = ACTIONS(4235),
    [anon_sym_LT_LT_LT] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [3041] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7188),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3042] = {
    [sym__simple_heredoc_body] = ACTIONS(4257),
    [sym__heredoc_body_beginning] = ACTIONS(4257),
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4259),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_EQ_TILDE] = ACTIONS(4259),
    [anon_sym_EQ_EQ] = ACTIONS(4259),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [anon_sym_LT_LT] = ACTIONS(4259),
    [anon_sym_LT_LT_DASH] = ACTIONS(4257),
    [anon_sym_LT_LT_LT] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [3043] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7190),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3044] = {
    [sym__simple_heredoc_body] = ACTIONS(4263),
    [sym__heredoc_body_beginning] = ACTIONS(4263),
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4265),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_EQ_TILDE] = ACTIONS(4265),
    [anon_sym_EQ_EQ] = ACTIONS(4265),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [anon_sym_LT_LT] = ACTIONS(4265),
    [anon_sym_LT_LT_DASH] = ACTIONS(4263),
    [anon_sym_LT_LT_LT] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [3045] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7192),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3046] = {
    [sym__simple_heredoc_body] = ACTIONS(4269),
    [sym__heredoc_body_beginning] = ACTIONS(4269),
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4271),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_EQ_TILDE] = ACTIONS(4271),
    [anon_sym_EQ_EQ] = ACTIONS(4271),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [anon_sym_LT_LT] = ACTIONS(4271),
    [anon_sym_LT_LT_DASH] = ACTIONS(4269),
    [anon_sym_LT_LT_LT] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [3047] = {
    [sym__simple_heredoc_body] = ACTIONS(4293),
    [sym__heredoc_body_beginning] = ACTIONS(4293),
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4295),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_EQ_TILDE] = ACTIONS(4295),
    [anon_sym_EQ_EQ] = ACTIONS(4295),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [anon_sym_LT_LT] = ACTIONS(4295),
    [anon_sym_LT_LT_DASH] = ACTIONS(4293),
    [anon_sym_LT_LT_LT] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [3048] = {
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(1762),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [3049] = {
    [aux_sym_concatenation_repeat1] = STATE(3049),
    [sym__simple_heredoc_body] = ACTIONS(1762),
    [sym__heredoc_body_beginning] = ACTIONS(1762),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(7194),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [3050] = {
    [sym__simple_heredoc_body] = ACTIONS(1769),
    [sym__heredoc_body_beginning] = ACTIONS(1769),
    [sym_file_descriptor] = ACTIONS(1769),
    [sym__concat] = ACTIONS(1769),
    [anon_sym_esac] = ACTIONS(1769),
    [anon_sym_PIPE] = ACTIONS(1771),
    [anon_sym_SEMI_SEMI] = ACTIONS(1769),
    [anon_sym_PIPE_AMP] = ACTIONS(1769),
    [anon_sym_AMP_AMP] = ACTIONS(1769),
    [anon_sym_PIPE_PIPE] = ACTIONS(1769),
    [anon_sym_LT] = ACTIONS(1771),
    [anon_sym_GT] = ACTIONS(1771),
    [anon_sym_GT_GT] = ACTIONS(1769),
    [anon_sym_AMP_GT] = ACTIONS(1771),
    [anon_sym_AMP_GT_GT] = ACTIONS(1769),
    [anon_sym_LT_AMP] = ACTIONS(1769),
    [anon_sym_GT_AMP] = ACTIONS(1769),
    [anon_sym_LT_LT] = ACTIONS(1771),
    [anon_sym_LT_LT_DASH] = ACTIONS(1769),
    [anon_sym_LT_LT_LT] = ACTIONS(1769),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1771),
    [anon_sym_LF] = ACTIONS(1769),
    [anon_sym_AMP] = ACTIONS(1771),
  },
  [3051] = {
    [anon_sym_DQUOTE] = ACTIONS(7197),
    [anon_sym_DOLLAR] = ACTIONS(771),
    [sym__string_content] = ACTIONS(773),
    [anon_sym_POUND] = ACTIONS(775),
    [anon_sym_DASH] = ACTIONS(775),
    [sym_comment] = ACTIONS(265),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(777),
    [anon_sym_STAR] = ACTIONS(775),
    [anon_sym_AT] = ACTIONS(775),
    [anon_sym_QMARK] = ACTIONS(775),
    [anon_sym_0] = ACTIONS(771),
    [anon_sym__] = ACTIONS(771),
  },
  [3052] = {
    [sym_concatenation] = STATE(3170),
    [sym_string] = STATE(3169),
    [sym_simple_expansion] = STATE(3169),
    [sym_string_expansion] = STATE(3169),
    [sym_expansion] = STATE(3169),
    [sym_command_substitution] = STATE(3169),
    [sym_process_substitution] = STATE(3169),
    [anon_sym_RBRACE] = ACTIONS(7199),
    [sym__special_characters] = ACTIONS(7201),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7203),
  },
  [3053] = {
    [anon_sym_LBRACK] = ACTIONS(809),
    [anon_sym_EQ] = ACTIONS(7205),
    [sym_comment] = ACTIONS(53),
  },
  [3054] = {
    [sym_concatenation] = STATE(3174),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3174),
    [anon_sym_RBRACE] = ACTIONS(7207),
    [anon_sym_EQ] = ACTIONS(7209),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7211),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7213),
    [anon_sym_COLON] = ACTIONS(7209),
    [anon_sym_COLON_QMARK] = ACTIONS(7209),
    [anon_sym_COLON_DASH] = ACTIONS(7209),
    [anon_sym_PERCENT] = ACTIONS(7209),
    [anon_sym_DASH] = ACTIONS(7209),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3055] = {
    [sym_concatenation] = STATE(3177),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3177),
    [anon_sym_RBRACE] = ACTIONS(7215),
    [anon_sym_EQ] = ACTIONS(7217),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7219),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7221),
    [anon_sym_COLON] = ACTIONS(7217),
    [anon_sym_COLON_QMARK] = ACTIONS(7217),
    [anon_sym_COLON_DASH] = ACTIONS(7217),
    [anon_sym_PERCENT] = ACTIONS(7217),
    [anon_sym_DASH] = ACTIONS(7217),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3056] = {
    [sym_concatenation] = STATE(3179),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3179),
    [anon_sym_RBRACE] = ACTIONS(7199),
    [anon_sym_EQ] = ACTIONS(7223),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7225),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_SLASH] = ACTIONS(7227),
    [anon_sym_COLON] = ACTIONS(7223),
    [anon_sym_COLON_QMARK] = ACTIONS(7223),
    [anon_sym_COLON_DASH] = ACTIONS(7223),
    [anon_sym_PERCENT] = ACTIONS(7223),
    [anon_sym_DASH] = ACTIONS(7223),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3057] = {
    [sym__simple_heredoc_body] = ACTIONS(1886),
    [sym__heredoc_body_beginning] = ACTIONS(1886),
    [sym_file_descriptor] = ACTIONS(1886),
    [sym__concat] = ACTIONS(1886),
    [anon_sym_esac] = ACTIONS(1886),
    [anon_sym_PIPE] = ACTIONS(1888),
    [anon_sym_SEMI_SEMI] = ACTIONS(1886),
    [anon_sym_PIPE_AMP] = ACTIONS(1886),
    [anon_sym_AMP_AMP] = ACTIONS(1886),
    [anon_sym_PIPE_PIPE] = ACTIONS(1886),
    [anon_sym_LT] = ACTIONS(1888),
    [anon_sym_GT] = ACTIONS(1888),
    [anon_sym_GT_GT] = ACTIONS(1886),
    [anon_sym_AMP_GT] = ACTIONS(1888),
    [anon_sym_AMP_GT_GT] = ACTIONS(1886),
    [anon_sym_LT_AMP] = ACTIONS(1886),
    [anon_sym_GT_AMP] = ACTIONS(1886),
    [anon_sym_LT_LT] = ACTIONS(1888),
    [anon_sym_LT_LT_DASH] = ACTIONS(1886),
    [anon_sym_LT_LT_LT] = ACTIONS(1886),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1888),
    [anon_sym_LF] = ACTIONS(1886),
    [anon_sym_AMP] = ACTIONS(1888),
  },
  [3058] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7229),
  },
  [3059] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7231),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3060] = {
    [sym__simple_heredoc_body] = ACTIONS(1930),
    [sym__heredoc_body_beginning] = ACTIONS(1930),
    [sym_file_descriptor] = ACTIONS(1930),
    [sym__concat] = ACTIONS(1930),
    [anon_sym_esac] = ACTIONS(1930),
    [anon_sym_PIPE] = ACTIONS(1932),
    [anon_sym_SEMI_SEMI] = ACTIONS(1930),
    [anon_sym_PIPE_AMP] = ACTIONS(1930),
    [anon_sym_AMP_AMP] = ACTIONS(1930),
    [anon_sym_PIPE_PIPE] = ACTIONS(1930),
    [anon_sym_LT] = ACTIONS(1932),
    [anon_sym_GT] = ACTIONS(1932),
    [anon_sym_GT_GT] = ACTIONS(1930),
    [anon_sym_AMP_GT] = ACTIONS(1932),
    [anon_sym_AMP_GT_GT] = ACTIONS(1930),
    [anon_sym_LT_AMP] = ACTIONS(1930),
    [anon_sym_GT_AMP] = ACTIONS(1930),
    [anon_sym_LT_LT] = ACTIONS(1932),
    [anon_sym_LT_LT_DASH] = ACTIONS(1930),
    [anon_sym_LT_LT_LT] = ACTIONS(1930),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1932),
    [anon_sym_LF] = ACTIONS(1930),
    [anon_sym_AMP] = ACTIONS(1932),
  },
  [3061] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7233),
  },
  [3062] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7235),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3063] = {
    [sym__simple_heredoc_body] = ACTIONS(1938),
    [sym__heredoc_body_beginning] = ACTIONS(1938),
    [sym_file_descriptor] = ACTIONS(1938),
    [sym__concat] = ACTIONS(1938),
    [anon_sym_esac] = ACTIONS(1938),
    [anon_sym_PIPE] = ACTIONS(1940),
    [anon_sym_SEMI_SEMI] = ACTIONS(1938),
    [anon_sym_PIPE_AMP] = ACTIONS(1938),
    [anon_sym_AMP_AMP] = ACTIONS(1938),
    [anon_sym_PIPE_PIPE] = ACTIONS(1938),
    [anon_sym_LT] = ACTIONS(1940),
    [anon_sym_GT] = ACTIONS(1940),
    [anon_sym_GT_GT] = ACTIONS(1938),
    [anon_sym_AMP_GT] = ACTIONS(1940),
    [anon_sym_AMP_GT_GT] = ACTIONS(1938),
    [anon_sym_LT_AMP] = ACTIONS(1938),
    [anon_sym_GT_AMP] = ACTIONS(1938),
    [anon_sym_LT_LT] = ACTIONS(1940),
    [anon_sym_LT_LT_DASH] = ACTIONS(1938),
    [anon_sym_LT_LT_LT] = ACTIONS(1938),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1940),
    [anon_sym_LF] = ACTIONS(1938),
    [anon_sym_AMP] = ACTIONS(1940),
  },
  [3064] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7237),
  },
  [3065] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7199),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3066] = {
    [sym__simple_heredoc_body] = ACTIONS(1944),
    [sym__heredoc_body_beginning] = ACTIONS(1944),
    [sym_file_descriptor] = ACTIONS(1944),
    [sym__concat] = ACTIONS(1944),
    [anon_sym_esac] = ACTIONS(1944),
    [anon_sym_PIPE] = ACTIONS(1946),
    [anon_sym_SEMI_SEMI] = ACTIONS(1944),
    [anon_sym_PIPE_AMP] = ACTIONS(1944),
    [anon_sym_AMP_AMP] = ACTIONS(1944),
    [anon_sym_PIPE_PIPE] = ACTIONS(1944),
    [anon_sym_LT] = ACTIONS(1946),
    [anon_sym_GT] = ACTIONS(1946),
    [anon_sym_GT_GT] = ACTIONS(1944),
    [anon_sym_AMP_GT] = ACTIONS(1946),
    [anon_sym_AMP_GT_GT] = ACTIONS(1944),
    [anon_sym_LT_AMP] = ACTIONS(1944),
    [anon_sym_GT_AMP] = ACTIONS(1944),
    [anon_sym_LT_LT] = ACTIONS(1946),
    [anon_sym_LT_LT_DASH] = ACTIONS(1944),
    [anon_sym_LT_LT_LT] = ACTIONS(1944),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1946),
    [anon_sym_LF] = ACTIONS(1944),
    [anon_sym_AMP] = ACTIONS(1946),
  },
  [3067] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7239),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3068] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7239),
    [anon_sym_SEMI_SEMI] = ACTIONS(7241),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7243),
    [anon_sym_LF] = ACTIONS(7241),
    [anon_sym_AMP] = ACTIONS(7243),
  },
  [3069] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7239),
    [anon_sym_SEMI_SEMI] = ACTIONS(7241),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7243),
    [anon_sym_LF] = ACTIONS(7241),
    [anon_sym_AMP] = ACTIONS(7243),
  },
  [3070] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7239),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3071] = {
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(7245),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_BQUOTE] = ACTIONS(7239),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7247),
    [anon_sym_LF] = ACTIONS(7245),
    [anon_sym_AMP] = ACTIONS(7247),
  },
  [3072] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(873),
    [anon_sym_SEMI_SEMI] = ACTIONS(7245),
    [anon_sym_PIPE_AMP] = ACTIONS(877),
    [anon_sym_AMP_AMP] = ACTIONS(879),
    [anon_sym_PIPE_PIPE] = ACTIONS(879),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(7239),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7247),
    [anon_sym_LF] = ACTIONS(7245),
    [anon_sym_AMP] = ACTIONS(7247),
  },
  [3073] = {
    [sym__simple_heredoc_body] = ACTIONS(1976),
    [sym__heredoc_body_beginning] = ACTIONS(1976),
    [sym_file_descriptor] = ACTIONS(1976),
    [sym__concat] = ACTIONS(1976),
    [anon_sym_esac] = ACTIONS(1976),
    [anon_sym_PIPE] = ACTIONS(1978),
    [anon_sym_SEMI_SEMI] = ACTIONS(1976),
    [anon_sym_PIPE_AMP] = ACTIONS(1976),
    [anon_sym_AMP_AMP] = ACTIONS(1976),
    [anon_sym_PIPE_PIPE] = ACTIONS(1976),
    [anon_sym_LT] = ACTIONS(1978),
    [anon_sym_GT] = ACTIONS(1978),
    [anon_sym_GT_GT] = ACTIONS(1976),
    [anon_sym_AMP_GT] = ACTIONS(1978),
    [anon_sym_AMP_GT_GT] = ACTIONS(1976),
    [anon_sym_LT_AMP] = ACTIONS(1976),
    [anon_sym_GT_AMP] = ACTIONS(1976),
    [anon_sym_LT_LT] = ACTIONS(1978),
    [anon_sym_LT_LT_DASH] = ACTIONS(1976),
    [anon_sym_LT_LT_LT] = ACTIONS(1976),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1978),
    [anon_sym_LF] = ACTIONS(1976),
    [anon_sym_AMP] = ACTIONS(1978),
  },
  [3074] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7249),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3075] = {
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7249),
    [anon_sym_SEMI_SEMI] = ACTIONS(7251),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(7253),
    [anon_sym_LF] = ACTIONS(7251),
    [anon_sym_AMP] = ACTIONS(7253),
  },
  [3076] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_RPAREN] = ACTIONS(7249),
    [anon_sym_SEMI_SEMI] = ACTIONS(7251),
    [anon_sym_PIPE_AMP] = ACTIONS(535),
    [anon_sym_AMP_AMP] = ACTIONS(537),
    [anon_sym_PIPE_PIPE] = ACTIONS(537),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(7253),
    [anon_sym_LF] = ACTIONS(7251),
    [anon_sym_AMP] = ACTIONS(7253),
  },
  [3077] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6613),
    [anon_sym_DQUOTE] = ACTIONS(6615),
    [anon_sym_DOLLAR] = ACTIONS(6613),
    [sym_raw_string] = ACTIONS(6615),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6615),
    [anon_sym_BQUOTE] = ACTIONS(6615),
    [anon_sym_LT_LPAREN] = ACTIONS(6615),
    [anon_sym_GT_LPAREN] = ACTIONS(6615),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6613),
  },
  [3078] = {
    [sym__special_characters] = ACTIONS(6615),
    [anon_sym_DQUOTE] = ACTIONS(6615),
    [anon_sym_DOLLAR] = ACTIONS(6613),
    [sym_raw_string] = ACTIONS(6615),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6615),
    [anon_sym_BQUOTE] = ACTIONS(6615),
    [anon_sym_LT_LPAREN] = ACTIONS(6615),
    [anon_sym_GT_LPAREN] = ACTIONS(6615),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6615),
  },
  [3079] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(7255),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [3080] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(7255),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [3081] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6623),
    [anon_sym_DQUOTE] = ACTIONS(6625),
    [anon_sym_DOLLAR] = ACTIONS(6623),
    [sym_raw_string] = ACTIONS(6625),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6625),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6625),
    [anon_sym_BQUOTE] = ACTIONS(6625),
    [anon_sym_LT_LPAREN] = ACTIONS(6625),
    [anon_sym_GT_LPAREN] = ACTIONS(6625),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6623),
  },
  [3082] = {
    [sym__special_characters] = ACTIONS(6625),
    [anon_sym_DQUOTE] = ACTIONS(6625),
    [anon_sym_DOLLAR] = ACTIONS(6623),
    [sym_raw_string] = ACTIONS(6625),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6625),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6625),
    [anon_sym_BQUOTE] = ACTIONS(6625),
    [anon_sym_LT_LPAREN] = ACTIONS(6625),
    [anon_sym_GT_LPAREN] = ACTIONS(6625),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6625),
  },
  [3083] = {
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(7257),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [3084] = {
    [sym_file_descriptor] = ACTIONS(349),
    [sym_variable_name] = ACTIONS(349),
    [anon_sym_PIPE] = ACTIONS(439),
    [anon_sym_SEMI_SEMI] = ACTIONS(7257),
    [anon_sym_PIPE_AMP] = ACTIONS(443),
    [anon_sym_AMP_AMP] = ACTIONS(445),
    [anon_sym_PIPE_PIPE] = ACTIONS(445),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(349),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(349),
    [anon_sym_LT_AMP] = ACTIONS(349),
    [anon_sym_GT_AMP] = ACTIONS(349),
    [sym__special_characters] = ACTIONS(349),
    [anon_sym_DQUOTE] = ACTIONS(349),
    [anon_sym_DOLLAR] = ACTIONS(351),
    [sym_raw_string] = ACTIONS(349),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(349),
    [anon_sym_BQUOTE] = ACTIONS(349),
    [anon_sym_LT_LPAREN] = ACTIONS(349),
    [anon_sym_GT_LPAREN] = ACTIONS(349),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(351),
    [anon_sym_SEMI] = ACTIONS(2102),
    [anon_sym_LF] = ACTIONS(2100),
    [anon_sym_AMP] = ACTIONS(2102),
  },
  [3085] = {
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [ts_builtin_sym_end] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [anon_sym_LT_LT] = ACTIONS(5741),
    [anon_sym_LT_LT_DASH] = ACTIONS(5739),
    [anon_sym_LT_LT_LT] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3086] = {
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [ts_builtin_sym_end] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_RPAREN] = ACTIONS(5743),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [anon_sym_LT_LT] = ACTIONS(5745),
    [anon_sym_LT_LT_DASH] = ACTIONS(5743),
    [anon_sym_LT_LT_LT] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3087] = {
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [ts_builtin_sym_end] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_RPAREN] = ACTIONS(5747),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [anon_sym_LT_LT] = ACTIONS(5749),
    [anon_sym_LT_LT_DASH] = ACTIONS(5747),
    [anon_sym_LT_LT_LT] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [3088] = {
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [sym_variable_name] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3030),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [sym__special_characters] = ACTIONS(3028),
    [anon_sym_DQUOTE] = ACTIONS(3028),
    [anon_sym_DOLLAR] = ACTIONS(3030),
    [sym_raw_string] = ACTIONS(3028),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3028),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3028),
    [anon_sym_BQUOTE] = ACTIONS(3028),
    [anon_sym_LT_LPAREN] = ACTIONS(3028),
    [anon_sym_GT_LPAREN] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3030),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [3089] = {
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [sym_variable_name] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3044),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [sym__special_characters] = ACTIONS(3042),
    [anon_sym_DQUOTE] = ACTIONS(3042),
    [anon_sym_DOLLAR] = ACTIONS(3044),
    [sym_raw_string] = ACTIONS(3042),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3042),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3042),
    [anon_sym_BQUOTE] = ACTIONS(3042),
    [anon_sym_LT_LPAREN] = ACTIONS(3042),
    [anon_sym_GT_LPAREN] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3044),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [3090] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7259),
    [sym_comment] = ACTIONS(53),
  },
  [3091] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7261),
    [sym_comment] = ACTIONS(53),
  },
  [3092] = {
    [anon_sym_RBRACE] = ACTIONS(7261),
    [sym_comment] = ACTIONS(53),
  },
  [3093] = {
    [sym_concatenation] = STATE(3196),
    [sym_string] = STATE(3195),
    [sym_simple_expansion] = STATE(3195),
    [sym_string_expansion] = STATE(3195),
    [sym_expansion] = STATE(3195),
    [sym_command_substitution] = STATE(3195),
    [sym_process_substitution] = STATE(3195),
    [anon_sym_RBRACE] = ACTIONS(7261),
    [sym__special_characters] = ACTIONS(7263),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7265),
  },
  [3094] = {
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [sym_variable_name] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3080),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [sym__special_characters] = ACTIONS(3078),
    [anon_sym_DQUOTE] = ACTIONS(3078),
    [anon_sym_DOLLAR] = ACTIONS(3080),
    [sym_raw_string] = ACTIONS(3078),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3078),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3078),
    [anon_sym_BQUOTE] = ACTIONS(3078),
    [anon_sym_LT_LPAREN] = ACTIONS(3078),
    [anon_sym_GT_LPAREN] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3080),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [3095] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7267),
  },
  [3096] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7269),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3097] = {
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [sym_variable_name] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3088),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [sym__special_characters] = ACTIONS(3086),
    [anon_sym_DQUOTE] = ACTIONS(3086),
    [anon_sym_DOLLAR] = ACTIONS(3088),
    [sym_raw_string] = ACTIONS(3086),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3086),
    [anon_sym_BQUOTE] = ACTIONS(3086),
    [anon_sym_LT_LPAREN] = ACTIONS(3086),
    [anon_sym_GT_LPAREN] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3088),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [3098] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7271),
  },
  [3099] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7273),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3100] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7275),
  },
  [3101] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7261),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3102] = {
    [sym_concatenation] = STATE(3203),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3203),
    [anon_sym_RBRACE] = ACTIONS(7277),
    [anon_sym_EQ] = ACTIONS(7279),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7281),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7279),
    [anon_sym_COLON_QMARK] = ACTIONS(7279),
    [anon_sym_COLON_DASH] = ACTIONS(7279),
    [anon_sym_PERCENT] = ACTIONS(7279),
    [anon_sym_DASH] = ACTIONS(7279),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3103] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3160),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [sym__special_characters] = ACTIONS(3158),
    [anon_sym_DQUOTE] = ACTIONS(3158),
    [anon_sym_DOLLAR] = ACTIONS(3160),
    [sym_raw_string] = ACTIONS(3158),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3158),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3160),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [3104] = {
    [sym_concatenation] = STATE(3205),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3205),
    [anon_sym_RBRACE] = ACTIONS(7283),
    [anon_sym_EQ] = ACTIONS(7285),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7287),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7285),
    [anon_sym_COLON_QMARK] = ACTIONS(7285),
    [anon_sym_COLON_DASH] = ACTIONS(7285),
    [anon_sym_PERCENT] = ACTIONS(7285),
    [anon_sym_DASH] = ACTIONS(7285),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3105] = {
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [sym_variable_name] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [sym__special_characters] = ACTIONS(3203),
    [anon_sym_DQUOTE] = ACTIONS(3203),
    [anon_sym_DOLLAR] = ACTIONS(3205),
    [sym_raw_string] = ACTIONS(3203),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3203),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3203),
    [anon_sym_BQUOTE] = ACTIONS(3203),
    [anon_sym_LT_LPAREN] = ACTIONS(3203),
    [anon_sym_GT_LPAREN] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [3106] = {
    [sym_concatenation] = STATE(3207),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3207),
    [anon_sym_RBRACE] = ACTIONS(7289),
    [anon_sym_EQ] = ACTIONS(7291),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7291),
    [anon_sym_COLON_QMARK] = ACTIONS(7291),
    [anon_sym_COLON_DASH] = ACTIONS(7291),
    [anon_sym_PERCENT] = ACTIONS(7291),
    [anon_sym_DASH] = ACTIONS(7291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3107] = {
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [sym_variable_name] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3215),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [sym__special_characters] = ACTIONS(3213),
    [anon_sym_DQUOTE] = ACTIONS(3213),
    [anon_sym_DOLLAR] = ACTIONS(3215),
    [sym_raw_string] = ACTIONS(3213),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3213),
    [anon_sym_BQUOTE] = ACTIONS(3213),
    [anon_sym_LT_LPAREN] = ACTIONS(3213),
    [anon_sym_GT_LPAREN] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3215),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [3108] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7295),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3109] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7295),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3110] = {
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [sym_variable_name] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3253),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [sym__special_characters] = ACTIONS(3251),
    [anon_sym_DQUOTE] = ACTIONS(3251),
    [anon_sym_DOLLAR] = ACTIONS(3253),
    [sym_raw_string] = ACTIONS(3251),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3251),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3251),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(3251),
    [anon_sym_GT_LPAREN] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(3253),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [3111] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7297),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3112] = {
    [aux_sym_concatenation_repeat1] = STATE(3114),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_esac] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [3113] = {
    [aux_sym_concatenation_repeat1] = STATE(3114),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [3114] = {
    [aux_sym_concatenation_repeat1] = STATE(3210),
    [sym__concat] = ACTIONS(1123),
    [anon_sym_esac] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [3115] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(1051),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(1051),
    [anon_sym_PIPE] = ACTIONS(1053),
    [anon_sym_SEMI_SEMI] = ACTIONS(1051),
    [anon_sym_PIPE_AMP] = ACTIONS(1051),
    [anon_sym_AMP_AMP] = ACTIONS(1051),
    [anon_sym_PIPE_PIPE] = ACTIONS(1051),
    [anon_sym_LT] = ACTIONS(1053),
    [anon_sym_GT] = ACTIONS(1053),
    [anon_sym_GT_GT] = ACTIONS(1051),
    [anon_sym_AMP_GT] = ACTIONS(1053),
    [anon_sym_AMP_GT_GT] = ACTIONS(1051),
    [anon_sym_LT_AMP] = ACTIONS(1051),
    [anon_sym_GT_AMP] = ACTIONS(1051),
    [anon_sym_LT_LT] = ACTIONS(1053),
    [anon_sym_LT_LT_DASH] = ACTIONS(1051),
    [anon_sym_LT_LT_LT] = ACTIONS(1051),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1053),
    [anon_sym_LF] = ACTIONS(1051),
    [anon_sym_AMP] = ACTIONS(1053),
  },
  [3116] = {
    [aux_sym_concatenation_repeat1] = STATE(3117),
    [sym_file_descriptor] = ACTIONS(1055),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(1055),
    [anon_sym_PIPE] = ACTIONS(1057),
    [anon_sym_SEMI_SEMI] = ACTIONS(1055),
    [anon_sym_PIPE_AMP] = ACTIONS(1055),
    [anon_sym_AMP_AMP] = ACTIONS(1055),
    [anon_sym_PIPE_PIPE] = ACTIONS(1055),
    [anon_sym_LT] = ACTIONS(1057),
    [anon_sym_GT] = ACTIONS(1057),
    [anon_sym_GT_GT] = ACTIONS(1055),
    [anon_sym_AMP_GT] = ACTIONS(1057),
    [anon_sym_AMP_GT_GT] = ACTIONS(1055),
    [anon_sym_LT_AMP] = ACTIONS(1055),
    [anon_sym_GT_AMP] = ACTIONS(1055),
    [anon_sym_LT_LT] = ACTIONS(1057),
    [anon_sym_LT_LT_DASH] = ACTIONS(1055),
    [anon_sym_LT_LT_LT] = ACTIONS(1055),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1057),
    [anon_sym_LF] = ACTIONS(1055),
    [anon_sym_AMP] = ACTIONS(1057),
  },
  [3117] = {
    [aux_sym_concatenation_repeat1] = STATE(3211),
    [sym_file_descriptor] = ACTIONS(761),
    [sym__concat] = ACTIONS(3842),
    [anon_sym_esac] = ACTIONS(761),
    [anon_sym_PIPE] = ACTIONS(763),
    [anon_sym_SEMI_SEMI] = ACTIONS(761),
    [anon_sym_PIPE_AMP] = ACTIONS(761),
    [anon_sym_AMP_AMP] = ACTIONS(761),
    [anon_sym_PIPE_PIPE] = ACTIONS(761),
    [anon_sym_LT] = ACTIONS(763),
    [anon_sym_GT] = ACTIONS(763),
    [anon_sym_GT_GT] = ACTIONS(761),
    [anon_sym_AMP_GT] = ACTIONS(763),
    [anon_sym_AMP_GT_GT] = ACTIONS(761),
    [anon_sym_LT_AMP] = ACTIONS(761),
    [anon_sym_GT_AMP] = ACTIONS(761),
    [anon_sym_LT_LT] = ACTIONS(763),
    [anon_sym_LT_LT_DASH] = ACTIONS(761),
    [anon_sym_LT_LT_LT] = ACTIONS(761),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(763),
    [anon_sym_LF] = ACTIONS(761),
    [anon_sym_AMP] = ACTIONS(763),
  },
  [3118] = {
    [sym_variable_name] = ACTIONS(3374),
    [anon_sym_esac] = ACTIONS(3376),
    [anon_sym_PIPE] = ACTIONS(3376),
    [anon_sym_SEMI_SEMI] = ACTIONS(3374),
    [anon_sym_PIPE_AMP] = ACTIONS(3374),
    [anon_sym_AMP_AMP] = ACTIONS(3374),
    [anon_sym_PIPE_PIPE] = ACTIONS(3374),
    [sym__special_characters] = ACTIONS(3374),
    [anon_sym_DQUOTE] = ACTIONS(3374),
    [anon_sym_DOLLAR] = ACTIONS(3376),
    [sym_raw_string] = ACTIONS(3374),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3374),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3374),
    [anon_sym_BQUOTE] = ACTIONS(3374),
    [anon_sym_LT_LPAREN] = ACTIONS(3374),
    [anon_sym_GT_LPAREN] = ACTIONS(3374),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3376),
    [sym_word] = ACTIONS(3376),
    [anon_sym_SEMI] = ACTIONS(3376),
    [anon_sym_LF] = ACTIONS(3374),
    [anon_sym_AMP] = ACTIONS(3376),
  },
  [3119] = {
    [sym__concat] = ACTIONS(4098),
    [sym_variable_name] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4100),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4100),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [3120] = {
    [sym__concat] = ACTIONS(4106),
    [sym_variable_name] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4108),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4108),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [3121] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7299),
    [sym_comment] = ACTIONS(53),
  },
  [3122] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7301),
    [sym_comment] = ACTIONS(53),
  },
  [3123] = {
    [anon_sym_RBRACE] = ACTIONS(7301),
    [sym_comment] = ACTIONS(53),
  },
  [3124] = {
    [sym_concatenation] = STATE(3215),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3215),
    [anon_sym_RBRACE] = ACTIONS(7303),
    [anon_sym_EQ] = ACTIONS(7305),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7307),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7305),
    [anon_sym_COLON_QMARK] = ACTIONS(7305),
    [anon_sym_COLON_DASH] = ACTIONS(7305),
    [anon_sym_PERCENT] = ACTIONS(7305),
    [anon_sym_DASH] = ACTIONS(7305),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3125] = {
    [sym__concat] = ACTIONS(4170),
    [sym_variable_name] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4172),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [3126] = {
    [sym_concatenation] = STATE(3217),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3217),
    [anon_sym_RBRACE] = ACTIONS(7309),
    [anon_sym_EQ] = ACTIONS(7311),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7313),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7311),
    [anon_sym_COLON_QMARK] = ACTIONS(7311),
    [anon_sym_COLON_DASH] = ACTIONS(7311),
    [anon_sym_PERCENT] = ACTIONS(7311),
    [anon_sym_DASH] = ACTIONS(7311),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3127] = {
    [sym__concat] = ACTIONS(4180),
    [sym_variable_name] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4182),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [3128] = {
    [sym_concatenation] = STATE(3219),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3219),
    [anon_sym_RBRACE] = ACTIONS(7315),
    [anon_sym_EQ] = ACTIONS(7317),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7319),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7317),
    [anon_sym_COLON_QMARK] = ACTIONS(7317),
    [anon_sym_COLON_DASH] = ACTIONS(7317),
    [anon_sym_PERCENT] = ACTIONS(7317),
    [anon_sym_DASH] = ACTIONS(7317),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3129] = {
    [sym__concat] = ACTIONS(4235),
    [sym_variable_name] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4237),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4237),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [3130] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7321),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3131] = {
    [sym__concat] = ACTIONS(4257),
    [sym_variable_name] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4259),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4259),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [3132] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7323),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3133] = {
    [sym__concat] = ACTIONS(4263),
    [sym_variable_name] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4265),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4265),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [3134] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7325),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3135] = {
    [sym__concat] = ACTIONS(4269),
    [sym_variable_name] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4271),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4271),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [3136] = {
    [sym__concat] = ACTIONS(4293),
    [sym_variable_name] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4295),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4295),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [3137] = {
    [sym__concat] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4100),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4100),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [3138] = {
    [sym__concat] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4108),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4108),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [3139] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7327),
    [sym_comment] = ACTIONS(53),
  },
  [3140] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7329),
    [sym_comment] = ACTIONS(53),
  },
  [3141] = {
    [anon_sym_RBRACE] = ACTIONS(7329),
    [sym_comment] = ACTIONS(53),
  },
  [3142] = {
    [sym_concatenation] = STATE(3226),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3226),
    [anon_sym_RBRACE] = ACTIONS(7331),
    [anon_sym_EQ] = ACTIONS(7333),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7335),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7333),
    [anon_sym_COLON_QMARK] = ACTIONS(7333),
    [anon_sym_COLON_DASH] = ACTIONS(7333),
    [anon_sym_PERCENT] = ACTIONS(7333),
    [anon_sym_DASH] = ACTIONS(7333),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3143] = {
    [sym__concat] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4172),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [3144] = {
    [sym_concatenation] = STATE(3228),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3228),
    [anon_sym_RBRACE] = ACTIONS(7337),
    [anon_sym_EQ] = ACTIONS(7339),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7341),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7339),
    [anon_sym_COLON_QMARK] = ACTIONS(7339),
    [anon_sym_COLON_DASH] = ACTIONS(7339),
    [anon_sym_PERCENT] = ACTIONS(7339),
    [anon_sym_DASH] = ACTIONS(7339),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3145] = {
    [sym__concat] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4182),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [3146] = {
    [sym_concatenation] = STATE(3230),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3230),
    [anon_sym_RBRACE] = ACTIONS(7343),
    [anon_sym_EQ] = ACTIONS(7345),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7347),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7345),
    [anon_sym_COLON_QMARK] = ACTIONS(7345),
    [anon_sym_COLON_DASH] = ACTIONS(7345),
    [anon_sym_PERCENT] = ACTIONS(7345),
    [anon_sym_DASH] = ACTIONS(7345),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3147] = {
    [sym__concat] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4237),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4237),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [3148] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7349),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3149] = {
    [sym__concat] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4259),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4259),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [3150] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7351),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3151] = {
    [sym__concat] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4265),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4265),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [3152] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7353),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3153] = {
    [sym__concat] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4271),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4271),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [3154] = {
    [sym__concat] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4295),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4295),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [3155] = {
    [sym__simple_heredoc_body] = ACTIONS(5100),
    [sym__heredoc_body_beginning] = ACTIONS(5100),
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5102),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_EQ_TILDE] = ACTIONS(5102),
    [anon_sym_EQ_EQ] = ACTIONS(5102),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [anon_sym_LT_LT] = ACTIONS(5102),
    [anon_sym_LT_LT_DASH] = ACTIONS(5100),
    [anon_sym_LT_LT_LT] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [3156] = {
    [sym__simple_heredoc_body] = ACTIONS(5104),
    [sym__heredoc_body_beginning] = ACTIONS(5104),
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5106),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_EQ_TILDE] = ACTIONS(5106),
    [anon_sym_EQ_EQ] = ACTIONS(5106),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [anon_sym_LT_LT] = ACTIONS(5106),
    [anon_sym_LT_LT_DASH] = ACTIONS(5104),
    [anon_sym_LT_LT_LT] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [3157] = {
    [sym__simple_heredoc_body] = ACTIONS(5108),
    [sym__heredoc_body_beginning] = ACTIONS(5108),
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5110),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_EQ_TILDE] = ACTIONS(5110),
    [anon_sym_EQ_EQ] = ACTIONS(5110),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [anon_sym_LT_LT] = ACTIONS(5110),
    [anon_sym_LT_LT_DASH] = ACTIONS(5108),
    [anon_sym_LT_LT_LT] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [3158] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7355),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3159] = {
    [sym__simple_heredoc_body] = ACTIONS(5114),
    [sym__heredoc_body_beginning] = ACTIONS(5114),
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5116),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_EQ_TILDE] = ACTIONS(5116),
    [anon_sym_EQ_EQ] = ACTIONS(5116),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [anon_sym_LT_LT] = ACTIONS(5116),
    [anon_sym_LT_LT_DASH] = ACTIONS(5114),
    [anon_sym_LT_LT_LT] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [3160] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7357),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3161] = {
    [sym__simple_heredoc_body] = ACTIONS(5120),
    [sym__heredoc_body_beginning] = ACTIONS(5120),
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5122),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_EQ_TILDE] = ACTIONS(5122),
    [anon_sym_EQ_EQ] = ACTIONS(5122),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [anon_sym_LT_LT] = ACTIONS(5122),
    [anon_sym_LT_LT_DASH] = ACTIONS(5120),
    [anon_sym_LT_LT_LT] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [3162] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7359),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3163] = {
    [sym__simple_heredoc_body] = ACTIONS(5162),
    [sym__heredoc_body_beginning] = ACTIONS(5162),
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5164),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_EQ_TILDE] = ACTIONS(5164),
    [anon_sym_EQ_EQ] = ACTIONS(5164),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [anon_sym_LT_LT] = ACTIONS(5164),
    [anon_sym_LT_LT_DASH] = ACTIONS(5162),
    [anon_sym_LT_LT_LT] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [3164] = {
    [sym__simple_heredoc_body] = ACTIONS(5170),
    [sym__heredoc_body_beginning] = ACTIONS(5170),
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5172),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_EQ_TILDE] = ACTIONS(5172),
    [anon_sym_EQ_EQ] = ACTIONS(5172),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [anon_sym_LT_LT] = ACTIONS(5172),
    [anon_sym_LT_LT_DASH] = ACTIONS(5170),
    [anon_sym_LT_LT_LT] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [3165] = {
    [sym__simple_heredoc_body] = ACTIONS(5174),
    [sym__heredoc_body_beginning] = ACTIONS(5174),
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5176),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_EQ_TILDE] = ACTIONS(5176),
    [anon_sym_EQ_EQ] = ACTIONS(5176),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [anon_sym_LT_LT] = ACTIONS(5176),
    [anon_sym_LT_LT_DASH] = ACTIONS(5174),
    [anon_sym_LT_LT_LT] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [3166] = {
    [sym__simple_heredoc_body] = ACTIONS(3028),
    [sym__heredoc_body_beginning] = ACTIONS(3028),
    [sym_file_descriptor] = ACTIONS(3028),
    [sym__concat] = ACTIONS(3028),
    [anon_sym_esac] = ACTIONS(3028),
    [anon_sym_PIPE] = ACTIONS(3030),
    [anon_sym_SEMI_SEMI] = ACTIONS(3028),
    [anon_sym_PIPE_AMP] = ACTIONS(3028),
    [anon_sym_AMP_AMP] = ACTIONS(3028),
    [anon_sym_PIPE_PIPE] = ACTIONS(3028),
    [anon_sym_LT] = ACTIONS(3030),
    [anon_sym_GT] = ACTIONS(3030),
    [anon_sym_GT_GT] = ACTIONS(3028),
    [anon_sym_AMP_GT] = ACTIONS(3030),
    [anon_sym_AMP_GT_GT] = ACTIONS(3028),
    [anon_sym_LT_AMP] = ACTIONS(3028),
    [anon_sym_GT_AMP] = ACTIONS(3028),
    [anon_sym_LT_LT] = ACTIONS(3030),
    [anon_sym_LT_LT_DASH] = ACTIONS(3028),
    [anon_sym_LT_LT_LT] = ACTIONS(3028),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3030),
    [anon_sym_LF] = ACTIONS(3028),
    [anon_sym_AMP] = ACTIONS(3030),
  },
  [3167] = {
    [sym__simple_heredoc_body] = ACTIONS(3042),
    [sym__heredoc_body_beginning] = ACTIONS(3042),
    [sym_file_descriptor] = ACTIONS(3042),
    [sym__concat] = ACTIONS(3042),
    [anon_sym_esac] = ACTIONS(3042),
    [anon_sym_PIPE] = ACTIONS(3044),
    [anon_sym_SEMI_SEMI] = ACTIONS(3042),
    [anon_sym_PIPE_AMP] = ACTIONS(3042),
    [anon_sym_AMP_AMP] = ACTIONS(3042),
    [anon_sym_PIPE_PIPE] = ACTIONS(3042),
    [anon_sym_LT] = ACTIONS(3044),
    [anon_sym_GT] = ACTIONS(3044),
    [anon_sym_GT_GT] = ACTIONS(3042),
    [anon_sym_AMP_GT] = ACTIONS(3044),
    [anon_sym_AMP_GT_GT] = ACTIONS(3042),
    [anon_sym_LT_AMP] = ACTIONS(3042),
    [anon_sym_GT_AMP] = ACTIONS(3042),
    [anon_sym_LT_LT] = ACTIONS(3044),
    [anon_sym_LT_LT_DASH] = ACTIONS(3042),
    [anon_sym_LT_LT_LT] = ACTIONS(3042),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3044),
    [anon_sym_LF] = ACTIONS(3042),
    [anon_sym_AMP] = ACTIONS(3044),
  },
  [3168] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7361),
    [sym_comment] = ACTIONS(53),
  },
  [3169] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7363),
    [sym_comment] = ACTIONS(53),
  },
  [3170] = {
    [anon_sym_RBRACE] = ACTIONS(7363),
    [sym_comment] = ACTIONS(53),
  },
  [3171] = {
    [sym_concatenation] = STATE(3241),
    [sym_string] = STATE(3240),
    [sym_simple_expansion] = STATE(3240),
    [sym_string_expansion] = STATE(3240),
    [sym_expansion] = STATE(3240),
    [sym_command_substitution] = STATE(3240),
    [sym_process_substitution] = STATE(3240),
    [anon_sym_RBRACE] = ACTIONS(7363),
    [sym__special_characters] = ACTIONS(7365),
    [anon_sym_DQUOTE] = ACTIONS(1848),
    [anon_sym_DOLLAR] = ACTIONS(1850),
    [sym_raw_string] = ACTIONS(7367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1854),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1856),
    [anon_sym_BQUOTE] = ACTIONS(1858),
    [anon_sym_LT_LPAREN] = ACTIONS(1860),
    [anon_sym_GT_LPAREN] = ACTIONS(1860),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(7367),
  },
  [3172] = {
    [sym__simple_heredoc_body] = ACTIONS(3078),
    [sym__heredoc_body_beginning] = ACTIONS(3078),
    [sym_file_descriptor] = ACTIONS(3078),
    [sym__concat] = ACTIONS(3078),
    [anon_sym_esac] = ACTIONS(3078),
    [anon_sym_PIPE] = ACTIONS(3080),
    [anon_sym_SEMI_SEMI] = ACTIONS(3078),
    [anon_sym_PIPE_AMP] = ACTIONS(3078),
    [anon_sym_AMP_AMP] = ACTIONS(3078),
    [anon_sym_PIPE_PIPE] = ACTIONS(3078),
    [anon_sym_LT] = ACTIONS(3080),
    [anon_sym_GT] = ACTIONS(3080),
    [anon_sym_GT_GT] = ACTIONS(3078),
    [anon_sym_AMP_GT] = ACTIONS(3080),
    [anon_sym_AMP_GT_GT] = ACTIONS(3078),
    [anon_sym_LT_AMP] = ACTIONS(3078),
    [anon_sym_GT_AMP] = ACTIONS(3078),
    [anon_sym_LT_LT] = ACTIONS(3080),
    [anon_sym_LT_LT_DASH] = ACTIONS(3078),
    [anon_sym_LT_LT_LT] = ACTIONS(3078),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3080),
    [anon_sym_LF] = ACTIONS(3078),
    [anon_sym_AMP] = ACTIONS(3080),
  },
  [3173] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7369),
  },
  [3174] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7371),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3175] = {
    [sym__simple_heredoc_body] = ACTIONS(3086),
    [sym__heredoc_body_beginning] = ACTIONS(3086),
    [sym_file_descriptor] = ACTIONS(3086),
    [sym__concat] = ACTIONS(3086),
    [anon_sym_esac] = ACTIONS(3086),
    [anon_sym_PIPE] = ACTIONS(3088),
    [anon_sym_SEMI_SEMI] = ACTIONS(3086),
    [anon_sym_PIPE_AMP] = ACTIONS(3086),
    [anon_sym_AMP_AMP] = ACTIONS(3086),
    [anon_sym_PIPE_PIPE] = ACTIONS(3086),
    [anon_sym_LT] = ACTIONS(3088),
    [anon_sym_GT] = ACTIONS(3088),
    [anon_sym_GT_GT] = ACTIONS(3086),
    [anon_sym_AMP_GT] = ACTIONS(3088),
    [anon_sym_AMP_GT_GT] = ACTIONS(3086),
    [anon_sym_LT_AMP] = ACTIONS(3086),
    [anon_sym_GT_AMP] = ACTIONS(3086),
    [anon_sym_LT_LT] = ACTIONS(3088),
    [anon_sym_LT_LT_DASH] = ACTIONS(3086),
    [anon_sym_LT_LT_LT] = ACTIONS(3086),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3088),
    [anon_sym_LF] = ACTIONS(3086),
    [anon_sym_AMP] = ACTIONS(3088),
  },
  [3176] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7373),
  },
  [3177] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7375),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3178] = {
    [sym_comment] = ACTIONS(265),
    [sym_regex_without_right_brace] = ACTIONS(7377),
  },
  [3179] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7363),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3180] = {
    [sym_concatenation] = STATE(3248),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3248),
    [anon_sym_RBRACE] = ACTIONS(7379),
    [anon_sym_EQ] = ACTIONS(7381),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7383),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7381),
    [anon_sym_COLON_QMARK] = ACTIONS(7381),
    [anon_sym_COLON_DASH] = ACTIONS(7381),
    [anon_sym_PERCENT] = ACTIONS(7381),
    [anon_sym_DASH] = ACTIONS(7381),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3181] = {
    [sym__simple_heredoc_body] = ACTIONS(3158),
    [sym__heredoc_body_beginning] = ACTIONS(3158),
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [anon_sym_esac] = ACTIONS(3158),
    [anon_sym_PIPE] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [anon_sym_PIPE_AMP] = ACTIONS(3158),
    [anon_sym_AMP_AMP] = ACTIONS(3158),
    [anon_sym_PIPE_PIPE] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_GT_GT] = ACTIONS(3158),
    [anon_sym_AMP_GT] = ACTIONS(3160),
    [anon_sym_AMP_GT_GT] = ACTIONS(3158),
    [anon_sym_LT_AMP] = ACTIONS(3158),
    [anon_sym_GT_AMP] = ACTIONS(3158),
    [anon_sym_LT_LT] = ACTIONS(3160),
    [anon_sym_LT_LT_DASH] = ACTIONS(3158),
    [anon_sym_LT_LT_LT] = ACTIONS(3158),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [3182] = {
    [sym_concatenation] = STATE(3250),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3250),
    [anon_sym_RBRACE] = ACTIONS(7385),
    [anon_sym_EQ] = ACTIONS(7387),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7389),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7387),
    [anon_sym_COLON_QMARK] = ACTIONS(7387),
    [anon_sym_COLON_DASH] = ACTIONS(7387),
    [anon_sym_PERCENT] = ACTIONS(7387),
    [anon_sym_DASH] = ACTIONS(7387),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3183] = {
    [sym__simple_heredoc_body] = ACTIONS(3203),
    [sym__heredoc_body_beginning] = ACTIONS(3203),
    [sym_file_descriptor] = ACTIONS(3203),
    [sym__concat] = ACTIONS(3203),
    [anon_sym_esac] = ACTIONS(3203),
    [anon_sym_PIPE] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3203),
    [anon_sym_PIPE_AMP] = ACTIONS(3203),
    [anon_sym_AMP_AMP] = ACTIONS(3203),
    [anon_sym_PIPE_PIPE] = ACTIONS(3203),
    [anon_sym_LT] = ACTIONS(3205),
    [anon_sym_GT] = ACTIONS(3205),
    [anon_sym_GT_GT] = ACTIONS(3203),
    [anon_sym_AMP_GT] = ACTIONS(3205),
    [anon_sym_AMP_GT_GT] = ACTIONS(3203),
    [anon_sym_LT_AMP] = ACTIONS(3203),
    [anon_sym_GT_AMP] = ACTIONS(3203),
    [anon_sym_LT_LT] = ACTIONS(3205),
    [anon_sym_LT_LT_DASH] = ACTIONS(3203),
    [anon_sym_LT_LT_LT] = ACTIONS(3203),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3205),
    [anon_sym_LF] = ACTIONS(3203),
    [anon_sym_AMP] = ACTIONS(3205),
  },
  [3184] = {
    [sym_concatenation] = STATE(3252),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3252),
    [anon_sym_RBRACE] = ACTIONS(7391),
    [anon_sym_EQ] = ACTIONS(7393),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7395),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7393),
    [anon_sym_COLON_QMARK] = ACTIONS(7393),
    [anon_sym_COLON_DASH] = ACTIONS(7393),
    [anon_sym_PERCENT] = ACTIONS(7393),
    [anon_sym_DASH] = ACTIONS(7393),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3185] = {
    [sym__simple_heredoc_body] = ACTIONS(3213),
    [sym__heredoc_body_beginning] = ACTIONS(3213),
    [sym_file_descriptor] = ACTIONS(3213),
    [sym__concat] = ACTIONS(3213),
    [anon_sym_esac] = ACTIONS(3213),
    [anon_sym_PIPE] = ACTIONS(3215),
    [anon_sym_SEMI_SEMI] = ACTIONS(3213),
    [anon_sym_PIPE_AMP] = ACTIONS(3213),
    [anon_sym_AMP_AMP] = ACTIONS(3213),
    [anon_sym_PIPE_PIPE] = ACTIONS(3213),
    [anon_sym_LT] = ACTIONS(3215),
    [anon_sym_GT] = ACTIONS(3215),
    [anon_sym_GT_GT] = ACTIONS(3213),
    [anon_sym_AMP_GT] = ACTIONS(3215),
    [anon_sym_AMP_GT_GT] = ACTIONS(3213),
    [anon_sym_LT_AMP] = ACTIONS(3213),
    [anon_sym_GT_AMP] = ACTIONS(3213),
    [anon_sym_LT_LT] = ACTIONS(3215),
    [anon_sym_LT_LT_DASH] = ACTIONS(3213),
    [anon_sym_LT_LT_LT] = ACTIONS(3213),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3215),
    [anon_sym_LF] = ACTIONS(3213),
    [anon_sym_AMP] = ACTIONS(3215),
  },
  [3186] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7397),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3187] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(7397),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3188] = {
    [sym__simple_heredoc_body] = ACTIONS(3251),
    [sym__heredoc_body_beginning] = ACTIONS(3251),
    [sym_file_descriptor] = ACTIONS(3251),
    [sym__concat] = ACTIONS(3251),
    [anon_sym_esac] = ACTIONS(3251),
    [anon_sym_PIPE] = ACTIONS(3253),
    [anon_sym_SEMI_SEMI] = ACTIONS(3251),
    [anon_sym_PIPE_AMP] = ACTIONS(3251),
    [anon_sym_AMP_AMP] = ACTIONS(3251),
    [anon_sym_PIPE_PIPE] = ACTIONS(3251),
    [anon_sym_LT] = ACTIONS(3253),
    [anon_sym_GT] = ACTIONS(3253),
    [anon_sym_GT_GT] = ACTIONS(3251),
    [anon_sym_AMP_GT] = ACTIONS(3253),
    [anon_sym_AMP_GT_GT] = ACTIONS(3251),
    [anon_sym_LT_AMP] = ACTIONS(3251),
    [anon_sym_GT_AMP] = ACTIONS(3251),
    [anon_sym_LT_LT] = ACTIONS(3253),
    [anon_sym_LT_LT_DASH] = ACTIONS(3251),
    [anon_sym_LT_LT_LT] = ACTIONS(3251),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(3253),
    [anon_sym_LF] = ACTIONS(3251),
    [anon_sym_AMP] = ACTIONS(3253),
  },
  [3189] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_RPAREN] = ACTIONS(7399),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(903),
    [anon_sym_DQUOTE] = ACTIONS(899),
    [anon_sym_DOLLAR] = ACTIONS(903),
    [sym_raw_string] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(899),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(899),
    [anon_sym_BQUOTE] = ACTIONS(899),
    [anon_sym_LT_LPAREN] = ACTIONS(899),
    [anon_sym_GT_LPAREN] = ACTIONS(899),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(903),
  },
  [3190] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6979),
    [anon_sym_DQUOTE] = ACTIONS(6981),
    [anon_sym_DOLLAR] = ACTIONS(6979),
    [sym_raw_string] = ACTIONS(6981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6981),
    [anon_sym_BQUOTE] = ACTIONS(6981),
    [anon_sym_LT_LPAREN] = ACTIONS(6981),
    [anon_sym_GT_LPAREN] = ACTIONS(6981),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6979),
  },
  [3191] = {
    [sym_file_descriptor] = ACTIONS(899),
    [sym_variable_name] = ACTIONS(899),
    [anon_sym_for] = ACTIONS(903),
    [anon_sym_while] = ACTIONS(903),
    [anon_sym_if] = ACTIONS(903),
    [anon_sym_case] = ACTIONS(903),
    [anon_sym_SEMI_SEMI] = ACTIONS(899),
    [anon_sym_function] = ACTIONS(903),
    [anon_sym_LPAREN] = ACTIONS(899),
    [anon_sym_BANG] = ACTIONS(903),
    [anon_sym_LBRACK] = ACTIONS(903),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(899),
    [anon_sym_declare] = ACTIONS(903),
    [anon_sym_typeset] = ACTIONS(903),
    [anon_sym_export] = ACTIONS(903),
    [anon_sym_readonly] = ACTIONS(903),
    [anon_sym_local] = ACTIONS(903),
    [anon_sym_unset] = ACTIONS(903),
    [anon_sym_unsetenv] = ACTIONS(903),
    [anon_sym_LT] = ACTIONS(903),
    [anon_sym_GT] = ACTIONS(903),
    [anon_sym_GT_GT] = ACTIONS(899),
    [anon_sym_AMP_GT] = ACTIONS(903),
    [anon_sym_AMP_GT_GT] = ACTIONS(899),
    [anon_sym_LT_AMP] = ACTIONS(899),
    [anon_sym_GT_AMP] = ACTIONS(899),
    [sym__special_characters] = ACTIONS(6985),
    [anon_sym_DQUOTE] = ACTIONS(6987),
    [anon_sym_DOLLAR] = ACTIONS(6985),
    [sym_raw_string] = ACTIONS(6987),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6987),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6987),
    [anon_sym_BQUOTE] = ACTIONS(6987),
    [anon_sym_LT_LPAREN] = ACTIONS(6987),
    [anon_sym_GT_LPAREN] = ACTIONS(6987),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(6985),
  },
  [3192] = {
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [sym_variable_name] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4100),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [sym__special_characters] = ACTIONS(4098),
    [anon_sym_DQUOTE] = ACTIONS(4098),
    [anon_sym_DOLLAR] = ACTIONS(4100),
    [sym_raw_string] = ACTIONS(4098),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4098),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4098),
    [anon_sym_BQUOTE] = ACTIONS(4098),
    [anon_sym_LT_LPAREN] = ACTIONS(4098),
    [anon_sym_GT_LPAREN] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4100),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [3193] = {
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [sym_variable_name] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4108),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [sym__special_characters] = ACTIONS(4106),
    [anon_sym_DQUOTE] = ACTIONS(4106),
    [anon_sym_DOLLAR] = ACTIONS(4108),
    [sym_raw_string] = ACTIONS(4106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4106),
    [anon_sym_BQUOTE] = ACTIONS(4106),
    [anon_sym_LT_LPAREN] = ACTIONS(4106),
    [anon_sym_GT_LPAREN] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4108),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [3194] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7401),
    [sym_comment] = ACTIONS(53),
  },
  [3195] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7403),
    [sym_comment] = ACTIONS(53),
  },
  [3196] = {
    [anon_sym_RBRACE] = ACTIONS(7403),
    [sym_comment] = ACTIONS(53),
  },
  [3197] = {
    [sym_concatenation] = STATE(3258),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3258),
    [anon_sym_RBRACE] = ACTIONS(7405),
    [anon_sym_EQ] = ACTIONS(7407),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7409),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7407),
    [anon_sym_COLON_QMARK] = ACTIONS(7407),
    [anon_sym_COLON_DASH] = ACTIONS(7407),
    [anon_sym_PERCENT] = ACTIONS(7407),
    [anon_sym_DASH] = ACTIONS(7407),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3198] = {
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [sym_variable_name] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [sym__special_characters] = ACTIONS(4170),
    [anon_sym_DQUOTE] = ACTIONS(4170),
    [anon_sym_DOLLAR] = ACTIONS(4172),
    [sym_raw_string] = ACTIONS(4170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4170),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(4170),
    [anon_sym_GT_LPAREN] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4172),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [3199] = {
    [sym_concatenation] = STATE(3260),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3260),
    [anon_sym_RBRACE] = ACTIONS(7411),
    [anon_sym_EQ] = ACTIONS(7413),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7413),
    [anon_sym_COLON_QMARK] = ACTIONS(7413),
    [anon_sym_COLON_DASH] = ACTIONS(7413),
    [anon_sym_PERCENT] = ACTIONS(7413),
    [anon_sym_DASH] = ACTIONS(7413),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3200] = {
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [sym_variable_name] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [sym__special_characters] = ACTIONS(4180),
    [anon_sym_DQUOTE] = ACTIONS(4180),
    [anon_sym_DOLLAR] = ACTIONS(4182),
    [sym_raw_string] = ACTIONS(4180),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4180),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4180),
    [anon_sym_BQUOTE] = ACTIONS(4180),
    [anon_sym_LT_LPAREN] = ACTIONS(4180),
    [anon_sym_GT_LPAREN] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4182),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [3201] = {
    [sym_concatenation] = STATE(3262),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3262),
    [anon_sym_RBRACE] = ACTIONS(7417),
    [anon_sym_EQ] = ACTIONS(7419),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7421),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7419),
    [anon_sym_COLON_QMARK] = ACTIONS(7419),
    [anon_sym_COLON_DASH] = ACTIONS(7419),
    [anon_sym_PERCENT] = ACTIONS(7419),
    [anon_sym_DASH] = ACTIONS(7419),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3202] = {
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [sym_variable_name] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4237),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [sym__special_characters] = ACTIONS(4235),
    [anon_sym_DQUOTE] = ACTIONS(4235),
    [anon_sym_DOLLAR] = ACTIONS(4237),
    [sym_raw_string] = ACTIONS(4235),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4235),
    [anon_sym_BQUOTE] = ACTIONS(4235),
    [anon_sym_LT_LPAREN] = ACTIONS(4235),
    [anon_sym_GT_LPAREN] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4237),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [3203] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7423),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3204] = {
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [sym_variable_name] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4259),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [sym__special_characters] = ACTIONS(4257),
    [anon_sym_DQUOTE] = ACTIONS(4257),
    [anon_sym_DOLLAR] = ACTIONS(4259),
    [sym_raw_string] = ACTIONS(4257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4257),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4257),
    [anon_sym_BQUOTE] = ACTIONS(4257),
    [anon_sym_LT_LPAREN] = ACTIONS(4257),
    [anon_sym_GT_LPAREN] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4259),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [3205] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7425),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3206] = {
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [sym_variable_name] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4265),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [sym__special_characters] = ACTIONS(4263),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(4265),
    [sym_raw_string] = ACTIONS(4263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4263),
    [anon_sym_BQUOTE] = ACTIONS(4263),
    [anon_sym_LT_LPAREN] = ACTIONS(4263),
    [anon_sym_GT_LPAREN] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4265),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [3207] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7427),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3208] = {
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [sym_variable_name] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4271),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [sym__special_characters] = ACTIONS(4269),
    [anon_sym_DQUOTE] = ACTIONS(4269),
    [anon_sym_DOLLAR] = ACTIONS(4271),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4269),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4269),
    [anon_sym_BQUOTE] = ACTIONS(4269),
    [anon_sym_LT_LPAREN] = ACTIONS(4269),
    [anon_sym_GT_LPAREN] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4271),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [3209] = {
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [sym_variable_name] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4295),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [sym__special_characters] = ACTIONS(4293),
    [anon_sym_DQUOTE] = ACTIONS(4293),
    [anon_sym_DOLLAR] = ACTIONS(4295),
    [sym_raw_string] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4293),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4293),
    [anon_sym_BQUOTE] = ACTIONS(4293),
    [anon_sym_LT_LPAREN] = ACTIONS(4293),
    [anon_sym_GT_LPAREN] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(4295),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [3210] = {
    [aux_sym_concatenation_repeat1] = STATE(3210),
    [sym__concat] = ACTIONS(3499),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [3211] = {
    [aux_sym_concatenation_repeat1] = STATE(3211),
    [sym_file_descriptor] = ACTIONS(1762),
    [sym__concat] = ACTIONS(5604),
    [anon_sym_esac] = ACTIONS(1762),
    [anon_sym_PIPE] = ACTIONS(1764),
    [anon_sym_SEMI_SEMI] = ACTIONS(1762),
    [anon_sym_PIPE_AMP] = ACTIONS(1762),
    [anon_sym_AMP_AMP] = ACTIONS(1762),
    [anon_sym_PIPE_PIPE] = ACTIONS(1762),
    [anon_sym_LT] = ACTIONS(1764),
    [anon_sym_GT] = ACTIONS(1764),
    [anon_sym_GT_GT] = ACTIONS(1762),
    [anon_sym_AMP_GT] = ACTIONS(1764),
    [anon_sym_AMP_GT_GT] = ACTIONS(1762),
    [anon_sym_LT_AMP] = ACTIONS(1762),
    [anon_sym_GT_AMP] = ACTIONS(1762),
    [anon_sym_LT_LT] = ACTIONS(1764),
    [anon_sym_LT_LT_DASH] = ACTIONS(1762),
    [anon_sym_LT_LT_LT] = ACTIONS(1762),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(1764),
    [anon_sym_LF] = ACTIONS(1762),
    [anon_sym_AMP] = ACTIONS(1764),
  },
  [3212] = {
    [sym__concat] = ACTIONS(5100),
    [sym_variable_name] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5102),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5102),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [3213] = {
    [sym__concat] = ACTIONS(5104),
    [sym_variable_name] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5106),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5106),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [3214] = {
    [sym__concat] = ACTIONS(5108),
    [sym_variable_name] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5110),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5110),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [3215] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7429),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3216] = {
    [sym__concat] = ACTIONS(5114),
    [sym_variable_name] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5116),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5116),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [3217] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7431),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3218] = {
    [sym__concat] = ACTIONS(5120),
    [sym_variable_name] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5122),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5122),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [3219] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7433),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3220] = {
    [sym__concat] = ACTIONS(5162),
    [sym_variable_name] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5164),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5164),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [3221] = {
    [sym__concat] = ACTIONS(5170),
    [sym_variable_name] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5172),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5172),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [3222] = {
    [sym__concat] = ACTIONS(5174),
    [sym_variable_name] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5176),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5176),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [3223] = {
    [sym__concat] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5102),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5102),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [3224] = {
    [sym__concat] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5106),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5106),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [3225] = {
    [sym__concat] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5110),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5110),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [3226] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7435),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3227] = {
    [sym__concat] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5116),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5116),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [3228] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7437),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3229] = {
    [sym__concat] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5122),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5122),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [3230] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7439),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3231] = {
    [sym__concat] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5164),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5164),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [3232] = {
    [sym__concat] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5172),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5172),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [3233] = {
    [sym__concat] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5176),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5176),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [3234] = {
    [sym__simple_heredoc_body] = ACTIONS(5739),
    [sym__heredoc_body_beginning] = ACTIONS(5739),
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5741),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_EQ_TILDE] = ACTIONS(5741),
    [anon_sym_EQ_EQ] = ACTIONS(5741),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [anon_sym_LT_LT] = ACTIONS(5741),
    [anon_sym_LT_LT_DASH] = ACTIONS(5739),
    [anon_sym_LT_LT_LT] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3235] = {
    [sym__simple_heredoc_body] = ACTIONS(5743),
    [sym__heredoc_body_beginning] = ACTIONS(5743),
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5745),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_EQ_TILDE] = ACTIONS(5745),
    [anon_sym_EQ_EQ] = ACTIONS(5745),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [anon_sym_LT_LT] = ACTIONS(5745),
    [anon_sym_LT_LT_DASH] = ACTIONS(5743),
    [anon_sym_LT_LT_LT] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3236] = {
    [sym__simple_heredoc_body] = ACTIONS(5747),
    [sym__heredoc_body_beginning] = ACTIONS(5747),
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5749),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_EQ_TILDE] = ACTIONS(5749),
    [anon_sym_EQ_EQ] = ACTIONS(5749),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [anon_sym_LT_LT] = ACTIONS(5749),
    [anon_sym_LT_LT_DASH] = ACTIONS(5747),
    [anon_sym_LT_LT_LT] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [3237] = {
    [sym__simple_heredoc_body] = ACTIONS(4098),
    [sym__heredoc_body_beginning] = ACTIONS(4098),
    [sym_file_descriptor] = ACTIONS(4098),
    [sym__concat] = ACTIONS(4098),
    [anon_sym_esac] = ACTIONS(4098),
    [anon_sym_PIPE] = ACTIONS(4100),
    [anon_sym_SEMI_SEMI] = ACTIONS(4098),
    [anon_sym_PIPE_AMP] = ACTIONS(4098),
    [anon_sym_AMP_AMP] = ACTIONS(4098),
    [anon_sym_PIPE_PIPE] = ACTIONS(4098),
    [anon_sym_LT] = ACTIONS(4100),
    [anon_sym_GT] = ACTIONS(4100),
    [anon_sym_GT_GT] = ACTIONS(4098),
    [anon_sym_AMP_GT] = ACTIONS(4100),
    [anon_sym_AMP_GT_GT] = ACTIONS(4098),
    [anon_sym_LT_AMP] = ACTIONS(4098),
    [anon_sym_GT_AMP] = ACTIONS(4098),
    [anon_sym_LT_LT] = ACTIONS(4100),
    [anon_sym_LT_LT_DASH] = ACTIONS(4098),
    [anon_sym_LT_LT_LT] = ACTIONS(4098),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4100),
    [anon_sym_LF] = ACTIONS(4098),
    [anon_sym_AMP] = ACTIONS(4100),
  },
  [3238] = {
    [sym__simple_heredoc_body] = ACTIONS(4106),
    [sym__heredoc_body_beginning] = ACTIONS(4106),
    [sym_file_descriptor] = ACTIONS(4106),
    [sym__concat] = ACTIONS(4106),
    [anon_sym_esac] = ACTIONS(4106),
    [anon_sym_PIPE] = ACTIONS(4108),
    [anon_sym_SEMI_SEMI] = ACTIONS(4106),
    [anon_sym_PIPE_AMP] = ACTIONS(4106),
    [anon_sym_AMP_AMP] = ACTIONS(4106),
    [anon_sym_PIPE_PIPE] = ACTIONS(4106),
    [anon_sym_LT] = ACTIONS(4108),
    [anon_sym_GT] = ACTIONS(4108),
    [anon_sym_GT_GT] = ACTIONS(4106),
    [anon_sym_AMP_GT] = ACTIONS(4108),
    [anon_sym_AMP_GT_GT] = ACTIONS(4106),
    [anon_sym_LT_AMP] = ACTIONS(4106),
    [anon_sym_GT_AMP] = ACTIONS(4106),
    [anon_sym_LT_LT] = ACTIONS(4108),
    [anon_sym_LT_LT_DASH] = ACTIONS(4106),
    [anon_sym_LT_LT_LT] = ACTIONS(4106),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4108),
    [anon_sym_LF] = ACTIONS(4106),
    [anon_sym_AMP] = ACTIONS(4108),
  },
  [3239] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7441),
    [sym_comment] = ACTIONS(53),
  },
  [3240] = {
    [aux_sym_concatenation_repeat1] = STATE(1391),
    [sym__concat] = ACTIONS(3046),
    [anon_sym_RBRACE] = ACTIONS(7443),
    [sym_comment] = ACTIONS(53),
  },
  [3241] = {
    [anon_sym_RBRACE] = ACTIONS(7443),
    [sym_comment] = ACTIONS(53),
  },
  [3242] = {
    [sym_concatenation] = STATE(3275),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3275),
    [anon_sym_RBRACE] = ACTIONS(7445),
    [anon_sym_EQ] = ACTIONS(7447),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7449),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7447),
    [anon_sym_COLON_QMARK] = ACTIONS(7447),
    [anon_sym_COLON_DASH] = ACTIONS(7447),
    [anon_sym_PERCENT] = ACTIONS(7447),
    [anon_sym_DASH] = ACTIONS(7447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3243] = {
    [sym__simple_heredoc_body] = ACTIONS(4170),
    [sym__heredoc_body_beginning] = ACTIONS(4170),
    [sym_file_descriptor] = ACTIONS(4170),
    [sym__concat] = ACTIONS(4170),
    [anon_sym_esac] = ACTIONS(4170),
    [anon_sym_PIPE] = ACTIONS(4172),
    [anon_sym_SEMI_SEMI] = ACTIONS(4170),
    [anon_sym_PIPE_AMP] = ACTIONS(4170),
    [anon_sym_AMP_AMP] = ACTIONS(4170),
    [anon_sym_PIPE_PIPE] = ACTIONS(4170),
    [anon_sym_LT] = ACTIONS(4172),
    [anon_sym_GT] = ACTIONS(4172),
    [anon_sym_GT_GT] = ACTIONS(4170),
    [anon_sym_AMP_GT] = ACTIONS(4172),
    [anon_sym_AMP_GT_GT] = ACTIONS(4170),
    [anon_sym_LT_AMP] = ACTIONS(4170),
    [anon_sym_GT_AMP] = ACTIONS(4170),
    [anon_sym_LT_LT] = ACTIONS(4172),
    [anon_sym_LT_LT_DASH] = ACTIONS(4170),
    [anon_sym_LT_LT_LT] = ACTIONS(4170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_LF] = ACTIONS(4170),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [3244] = {
    [sym_concatenation] = STATE(3277),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3277),
    [anon_sym_RBRACE] = ACTIONS(7451),
    [anon_sym_EQ] = ACTIONS(7453),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7455),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7453),
    [anon_sym_COLON_QMARK] = ACTIONS(7453),
    [anon_sym_COLON_DASH] = ACTIONS(7453),
    [anon_sym_PERCENT] = ACTIONS(7453),
    [anon_sym_DASH] = ACTIONS(7453),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3245] = {
    [sym__simple_heredoc_body] = ACTIONS(4180),
    [sym__heredoc_body_beginning] = ACTIONS(4180),
    [sym_file_descriptor] = ACTIONS(4180),
    [sym__concat] = ACTIONS(4180),
    [anon_sym_esac] = ACTIONS(4180),
    [anon_sym_PIPE] = ACTIONS(4182),
    [anon_sym_SEMI_SEMI] = ACTIONS(4180),
    [anon_sym_PIPE_AMP] = ACTIONS(4180),
    [anon_sym_AMP_AMP] = ACTIONS(4180),
    [anon_sym_PIPE_PIPE] = ACTIONS(4180),
    [anon_sym_LT] = ACTIONS(4182),
    [anon_sym_GT] = ACTIONS(4182),
    [anon_sym_GT_GT] = ACTIONS(4180),
    [anon_sym_AMP_GT] = ACTIONS(4182),
    [anon_sym_AMP_GT_GT] = ACTIONS(4180),
    [anon_sym_LT_AMP] = ACTIONS(4180),
    [anon_sym_GT_AMP] = ACTIONS(4180),
    [anon_sym_LT_LT] = ACTIONS(4182),
    [anon_sym_LT_LT_DASH] = ACTIONS(4180),
    [anon_sym_LT_LT_LT] = ACTIONS(4180),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_LF] = ACTIONS(4180),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [3246] = {
    [sym_concatenation] = STATE(3279),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(3279),
    [anon_sym_RBRACE] = ACTIONS(7457),
    [anon_sym_EQ] = ACTIONS(7459),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(7461),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(7459),
    [anon_sym_COLON_QMARK] = ACTIONS(7459),
    [anon_sym_COLON_DASH] = ACTIONS(7459),
    [anon_sym_PERCENT] = ACTIONS(7459),
    [anon_sym_DASH] = ACTIONS(7459),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3247] = {
    [sym__simple_heredoc_body] = ACTIONS(4235),
    [sym__heredoc_body_beginning] = ACTIONS(4235),
    [sym_file_descriptor] = ACTIONS(4235),
    [sym__concat] = ACTIONS(4235),
    [anon_sym_esac] = ACTIONS(4235),
    [anon_sym_PIPE] = ACTIONS(4237),
    [anon_sym_SEMI_SEMI] = ACTIONS(4235),
    [anon_sym_PIPE_AMP] = ACTIONS(4235),
    [anon_sym_AMP_AMP] = ACTIONS(4235),
    [anon_sym_PIPE_PIPE] = ACTIONS(4235),
    [anon_sym_LT] = ACTIONS(4237),
    [anon_sym_GT] = ACTIONS(4237),
    [anon_sym_GT_GT] = ACTIONS(4235),
    [anon_sym_AMP_GT] = ACTIONS(4237),
    [anon_sym_AMP_GT_GT] = ACTIONS(4235),
    [anon_sym_LT_AMP] = ACTIONS(4235),
    [anon_sym_GT_AMP] = ACTIONS(4235),
    [anon_sym_LT_LT] = ACTIONS(4237),
    [anon_sym_LT_LT_DASH] = ACTIONS(4235),
    [anon_sym_LT_LT_LT] = ACTIONS(4235),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4237),
    [anon_sym_LF] = ACTIONS(4235),
    [anon_sym_AMP] = ACTIONS(4237),
  },
  [3248] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7463),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3249] = {
    [sym__simple_heredoc_body] = ACTIONS(4257),
    [sym__heredoc_body_beginning] = ACTIONS(4257),
    [sym_file_descriptor] = ACTIONS(4257),
    [sym__concat] = ACTIONS(4257),
    [anon_sym_esac] = ACTIONS(4257),
    [anon_sym_PIPE] = ACTIONS(4259),
    [anon_sym_SEMI_SEMI] = ACTIONS(4257),
    [anon_sym_PIPE_AMP] = ACTIONS(4257),
    [anon_sym_AMP_AMP] = ACTIONS(4257),
    [anon_sym_PIPE_PIPE] = ACTIONS(4257),
    [anon_sym_LT] = ACTIONS(4259),
    [anon_sym_GT] = ACTIONS(4259),
    [anon_sym_GT_GT] = ACTIONS(4257),
    [anon_sym_AMP_GT] = ACTIONS(4259),
    [anon_sym_AMP_GT_GT] = ACTIONS(4257),
    [anon_sym_LT_AMP] = ACTIONS(4257),
    [anon_sym_GT_AMP] = ACTIONS(4257),
    [anon_sym_LT_LT] = ACTIONS(4259),
    [anon_sym_LT_LT_DASH] = ACTIONS(4257),
    [anon_sym_LT_LT_LT] = ACTIONS(4257),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4259),
    [anon_sym_LF] = ACTIONS(4257),
    [anon_sym_AMP] = ACTIONS(4259),
  },
  [3250] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7465),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3251] = {
    [sym__simple_heredoc_body] = ACTIONS(4263),
    [sym__heredoc_body_beginning] = ACTIONS(4263),
    [sym_file_descriptor] = ACTIONS(4263),
    [sym__concat] = ACTIONS(4263),
    [anon_sym_esac] = ACTIONS(4263),
    [anon_sym_PIPE] = ACTIONS(4265),
    [anon_sym_SEMI_SEMI] = ACTIONS(4263),
    [anon_sym_PIPE_AMP] = ACTIONS(4263),
    [anon_sym_AMP_AMP] = ACTIONS(4263),
    [anon_sym_PIPE_PIPE] = ACTIONS(4263),
    [anon_sym_LT] = ACTIONS(4265),
    [anon_sym_GT] = ACTIONS(4265),
    [anon_sym_GT_GT] = ACTIONS(4263),
    [anon_sym_AMP_GT] = ACTIONS(4265),
    [anon_sym_AMP_GT_GT] = ACTIONS(4263),
    [anon_sym_LT_AMP] = ACTIONS(4263),
    [anon_sym_GT_AMP] = ACTIONS(4263),
    [anon_sym_LT_LT] = ACTIONS(4265),
    [anon_sym_LT_LT_DASH] = ACTIONS(4263),
    [anon_sym_LT_LT_LT] = ACTIONS(4263),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4265),
    [anon_sym_LF] = ACTIONS(4263),
    [anon_sym_AMP] = ACTIONS(4265),
  },
  [3252] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7467),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3253] = {
    [sym__simple_heredoc_body] = ACTIONS(4269),
    [sym__heredoc_body_beginning] = ACTIONS(4269),
    [sym_file_descriptor] = ACTIONS(4269),
    [sym__concat] = ACTIONS(4269),
    [anon_sym_esac] = ACTIONS(4269),
    [anon_sym_PIPE] = ACTIONS(4271),
    [anon_sym_SEMI_SEMI] = ACTIONS(4269),
    [anon_sym_PIPE_AMP] = ACTIONS(4269),
    [anon_sym_AMP_AMP] = ACTIONS(4269),
    [anon_sym_PIPE_PIPE] = ACTIONS(4269),
    [anon_sym_LT] = ACTIONS(4271),
    [anon_sym_GT] = ACTIONS(4271),
    [anon_sym_GT_GT] = ACTIONS(4269),
    [anon_sym_AMP_GT] = ACTIONS(4271),
    [anon_sym_AMP_GT_GT] = ACTIONS(4269),
    [anon_sym_LT_AMP] = ACTIONS(4269),
    [anon_sym_GT_AMP] = ACTIONS(4269),
    [anon_sym_LT_LT] = ACTIONS(4271),
    [anon_sym_LT_LT_DASH] = ACTIONS(4269),
    [anon_sym_LT_LT_LT] = ACTIONS(4269),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4271),
    [anon_sym_LF] = ACTIONS(4269),
    [anon_sym_AMP] = ACTIONS(4271),
  },
  [3254] = {
    [sym__simple_heredoc_body] = ACTIONS(4293),
    [sym__heredoc_body_beginning] = ACTIONS(4293),
    [sym_file_descriptor] = ACTIONS(4293),
    [sym__concat] = ACTIONS(4293),
    [anon_sym_esac] = ACTIONS(4293),
    [anon_sym_PIPE] = ACTIONS(4295),
    [anon_sym_SEMI_SEMI] = ACTIONS(4293),
    [anon_sym_PIPE_AMP] = ACTIONS(4293),
    [anon_sym_AMP_AMP] = ACTIONS(4293),
    [anon_sym_PIPE_PIPE] = ACTIONS(4293),
    [anon_sym_LT] = ACTIONS(4295),
    [anon_sym_GT] = ACTIONS(4295),
    [anon_sym_GT_GT] = ACTIONS(4293),
    [anon_sym_AMP_GT] = ACTIONS(4295),
    [anon_sym_AMP_GT_GT] = ACTIONS(4293),
    [anon_sym_LT_AMP] = ACTIONS(4293),
    [anon_sym_GT_AMP] = ACTIONS(4293),
    [anon_sym_LT_LT] = ACTIONS(4295),
    [anon_sym_LT_LT_DASH] = ACTIONS(4293),
    [anon_sym_LT_LT_LT] = ACTIONS(4293),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(4295),
    [anon_sym_LF] = ACTIONS(4293),
    [anon_sym_AMP] = ACTIONS(4295),
  },
  [3255] = {
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [sym_variable_name] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5102),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [sym__special_characters] = ACTIONS(5100),
    [anon_sym_DQUOTE] = ACTIONS(5100),
    [anon_sym_DOLLAR] = ACTIONS(5102),
    [sym_raw_string] = ACTIONS(5100),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5100),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5100),
    [anon_sym_BQUOTE] = ACTIONS(5100),
    [anon_sym_LT_LPAREN] = ACTIONS(5100),
    [anon_sym_GT_LPAREN] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5102),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [3256] = {
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [sym_variable_name] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5106),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [sym__special_characters] = ACTIONS(5104),
    [anon_sym_DQUOTE] = ACTIONS(5104),
    [anon_sym_DOLLAR] = ACTIONS(5106),
    [sym_raw_string] = ACTIONS(5104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5104),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5104),
    [anon_sym_BQUOTE] = ACTIONS(5104),
    [anon_sym_LT_LPAREN] = ACTIONS(5104),
    [anon_sym_GT_LPAREN] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5106),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [3257] = {
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [sym_variable_name] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5110),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [sym__special_characters] = ACTIONS(5108),
    [anon_sym_DQUOTE] = ACTIONS(5108),
    [anon_sym_DOLLAR] = ACTIONS(5110),
    [sym_raw_string] = ACTIONS(5108),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5108),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5108),
    [anon_sym_BQUOTE] = ACTIONS(5108),
    [anon_sym_LT_LPAREN] = ACTIONS(5108),
    [anon_sym_GT_LPAREN] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5110),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [3258] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7469),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3259] = {
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [sym_variable_name] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5116),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5114),
    [anon_sym_DQUOTE] = ACTIONS(5114),
    [anon_sym_DOLLAR] = ACTIONS(5116),
    [sym_raw_string] = ACTIONS(5114),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5114),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5114),
    [anon_sym_BQUOTE] = ACTIONS(5114),
    [anon_sym_LT_LPAREN] = ACTIONS(5114),
    [anon_sym_GT_LPAREN] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5116),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [3260] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7471),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3261] = {
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [sym_variable_name] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5122),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [sym__special_characters] = ACTIONS(5120),
    [anon_sym_DQUOTE] = ACTIONS(5120),
    [anon_sym_DOLLAR] = ACTIONS(5122),
    [sym_raw_string] = ACTIONS(5120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5120),
    [anon_sym_BQUOTE] = ACTIONS(5120),
    [anon_sym_LT_LPAREN] = ACTIONS(5120),
    [anon_sym_GT_LPAREN] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5122),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [3262] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7473),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3263] = {
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [sym_variable_name] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5164),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [sym__special_characters] = ACTIONS(5162),
    [anon_sym_DQUOTE] = ACTIONS(5162),
    [anon_sym_DOLLAR] = ACTIONS(5164),
    [sym_raw_string] = ACTIONS(5162),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5162),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5162),
    [anon_sym_BQUOTE] = ACTIONS(5162),
    [anon_sym_LT_LPAREN] = ACTIONS(5162),
    [anon_sym_GT_LPAREN] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5164),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [3264] = {
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [sym_variable_name] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5172),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [sym__special_characters] = ACTIONS(5170),
    [anon_sym_DQUOTE] = ACTIONS(5170),
    [anon_sym_DOLLAR] = ACTIONS(5172),
    [sym_raw_string] = ACTIONS(5170),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5170),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5170),
    [anon_sym_BQUOTE] = ACTIONS(5170),
    [anon_sym_LT_LPAREN] = ACTIONS(5170),
    [anon_sym_GT_LPAREN] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5172),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [3265] = {
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [sym_variable_name] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5176),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(5174),
    [anon_sym_DOLLAR] = ACTIONS(5176),
    [sym_raw_string] = ACTIONS(5174),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5174),
    [anon_sym_BQUOTE] = ACTIONS(5174),
    [anon_sym_LT_LPAREN] = ACTIONS(5174),
    [anon_sym_GT_LPAREN] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5176),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [3266] = {
    [sym__concat] = ACTIONS(5739),
    [sym_variable_name] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5741),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5741),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3267] = {
    [sym__concat] = ACTIONS(5743),
    [sym_variable_name] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5745),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5745),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3268] = {
    [sym__concat] = ACTIONS(5747),
    [sym_variable_name] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5749),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5749),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [3269] = {
    [sym__concat] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5741),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5741),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3270] = {
    [sym__concat] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5745),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5745),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3271] = {
    [sym__concat] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5749),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5749),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [3272] = {
    [sym__simple_heredoc_body] = ACTIONS(5100),
    [sym__heredoc_body_beginning] = ACTIONS(5100),
    [sym_file_descriptor] = ACTIONS(5100),
    [sym__concat] = ACTIONS(5100),
    [anon_sym_esac] = ACTIONS(5100),
    [anon_sym_PIPE] = ACTIONS(5102),
    [anon_sym_SEMI_SEMI] = ACTIONS(5100),
    [anon_sym_PIPE_AMP] = ACTIONS(5100),
    [anon_sym_AMP_AMP] = ACTIONS(5100),
    [anon_sym_PIPE_PIPE] = ACTIONS(5100),
    [anon_sym_LT] = ACTIONS(5102),
    [anon_sym_GT] = ACTIONS(5102),
    [anon_sym_GT_GT] = ACTIONS(5100),
    [anon_sym_AMP_GT] = ACTIONS(5102),
    [anon_sym_AMP_GT_GT] = ACTIONS(5100),
    [anon_sym_LT_AMP] = ACTIONS(5100),
    [anon_sym_GT_AMP] = ACTIONS(5100),
    [anon_sym_LT_LT] = ACTIONS(5102),
    [anon_sym_LT_LT_DASH] = ACTIONS(5100),
    [anon_sym_LT_LT_LT] = ACTIONS(5100),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5102),
    [anon_sym_LF] = ACTIONS(5100),
    [anon_sym_AMP] = ACTIONS(5102),
  },
  [3273] = {
    [sym__simple_heredoc_body] = ACTIONS(5104),
    [sym__heredoc_body_beginning] = ACTIONS(5104),
    [sym_file_descriptor] = ACTIONS(5104),
    [sym__concat] = ACTIONS(5104),
    [anon_sym_esac] = ACTIONS(5104),
    [anon_sym_PIPE] = ACTIONS(5106),
    [anon_sym_SEMI_SEMI] = ACTIONS(5104),
    [anon_sym_PIPE_AMP] = ACTIONS(5104),
    [anon_sym_AMP_AMP] = ACTIONS(5104),
    [anon_sym_PIPE_PIPE] = ACTIONS(5104),
    [anon_sym_LT] = ACTIONS(5106),
    [anon_sym_GT] = ACTIONS(5106),
    [anon_sym_GT_GT] = ACTIONS(5104),
    [anon_sym_AMP_GT] = ACTIONS(5106),
    [anon_sym_AMP_GT_GT] = ACTIONS(5104),
    [anon_sym_LT_AMP] = ACTIONS(5104),
    [anon_sym_GT_AMP] = ACTIONS(5104),
    [anon_sym_LT_LT] = ACTIONS(5106),
    [anon_sym_LT_LT_DASH] = ACTIONS(5104),
    [anon_sym_LT_LT_LT] = ACTIONS(5104),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5106),
    [anon_sym_LF] = ACTIONS(5104),
    [anon_sym_AMP] = ACTIONS(5106),
  },
  [3274] = {
    [sym__simple_heredoc_body] = ACTIONS(5108),
    [sym__heredoc_body_beginning] = ACTIONS(5108),
    [sym_file_descriptor] = ACTIONS(5108),
    [sym__concat] = ACTIONS(5108),
    [anon_sym_esac] = ACTIONS(5108),
    [anon_sym_PIPE] = ACTIONS(5110),
    [anon_sym_SEMI_SEMI] = ACTIONS(5108),
    [anon_sym_PIPE_AMP] = ACTIONS(5108),
    [anon_sym_AMP_AMP] = ACTIONS(5108),
    [anon_sym_PIPE_PIPE] = ACTIONS(5108),
    [anon_sym_LT] = ACTIONS(5110),
    [anon_sym_GT] = ACTIONS(5110),
    [anon_sym_GT_GT] = ACTIONS(5108),
    [anon_sym_AMP_GT] = ACTIONS(5110),
    [anon_sym_AMP_GT_GT] = ACTIONS(5108),
    [anon_sym_LT_AMP] = ACTIONS(5108),
    [anon_sym_GT_AMP] = ACTIONS(5108),
    [anon_sym_LT_LT] = ACTIONS(5110),
    [anon_sym_LT_LT_DASH] = ACTIONS(5108),
    [anon_sym_LT_LT_LT] = ACTIONS(5108),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5110),
    [anon_sym_LF] = ACTIONS(5108),
    [anon_sym_AMP] = ACTIONS(5110),
  },
  [3275] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7475),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3276] = {
    [sym__simple_heredoc_body] = ACTIONS(5114),
    [sym__heredoc_body_beginning] = ACTIONS(5114),
    [sym_file_descriptor] = ACTIONS(5114),
    [sym__concat] = ACTIONS(5114),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5116),
    [anon_sym_SEMI_SEMI] = ACTIONS(5114),
    [anon_sym_PIPE_AMP] = ACTIONS(5114),
    [anon_sym_AMP_AMP] = ACTIONS(5114),
    [anon_sym_PIPE_PIPE] = ACTIONS(5114),
    [anon_sym_LT] = ACTIONS(5116),
    [anon_sym_GT] = ACTIONS(5116),
    [anon_sym_GT_GT] = ACTIONS(5114),
    [anon_sym_AMP_GT] = ACTIONS(5116),
    [anon_sym_AMP_GT_GT] = ACTIONS(5114),
    [anon_sym_LT_AMP] = ACTIONS(5114),
    [anon_sym_GT_AMP] = ACTIONS(5114),
    [anon_sym_LT_LT] = ACTIONS(5116),
    [anon_sym_LT_LT_DASH] = ACTIONS(5114),
    [anon_sym_LT_LT_LT] = ACTIONS(5114),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5116),
    [anon_sym_LF] = ACTIONS(5114),
    [anon_sym_AMP] = ACTIONS(5116),
  },
  [3277] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7477),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3278] = {
    [sym__simple_heredoc_body] = ACTIONS(5120),
    [sym__heredoc_body_beginning] = ACTIONS(5120),
    [sym_file_descriptor] = ACTIONS(5120),
    [sym__concat] = ACTIONS(5120),
    [anon_sym_esac] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5122),
    [anon_sym_SEMI_SEMI] = ACTIONS(5120),
    [anon_sym_PIPE_AMP] = ACTIONS(5120),
    [anon_sym_AMP_AMP] = ACTIONS(5120),
    [anon_sym_PIPE_PIPE] = ACTIONS(5120),
    [anon_sym_LT] = ACTIONS(5122),
    [anon_sym_GT] = ACTIONS(5122),
    [anon_sym_GT_GT] = ACTIONS(5120),
    [anon_sym_AMP_GT] = ACTIONS(5122),
    [anon_sym_AMP_GT_GT] = ACTIONS(5120),
    [anon_sym_LT_AMP] = ACTIONS(5120),
    [anon_sym_GT_AMP] = ACTIONS(5120),
    [anon_sym_LT_LT] = ACTIONS(5122),
    [anon_sym_LT_LT_DASH] = ACTIONS(5120),
    [anon_sym_LT_LT_LT] = ACTIONS(5120),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5122),
    [anon_sym_LF] = ACTIONS(5120),
    [anon_sym_AMP] = ACTIONS(5122),
  },
  [3279] = {
    [sym_concatenation] = STATE(961),
    [sym_string] = STATE(472),
    [sym_simple_expansion] = STATE(472),
    [sym_string_expansion] = STATE(472),
    [sym_expansion] = STATE(472),
    [sym_command_substitution] = STATE(472),
    [sym_process_substitution] = STATE(472),
    [aux_sym_expansion_repeat1] = STATE(961),
    [anon_sym_RBRACE] = ACTIONS(7479),
    [anon_sym_EQ] = ACTIONS(1926),
    [sym__special_characters] = ACTIONS(825),
    [anon_sym_DQUOTE] = ACTIONS(827),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym_raw_string] = ACTIONS(831),
    [anon_sym_POUND] = ACTIONS(1928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(835),
    [anon_sym_COLON] = ACTIONS(1926),
    [anon_sym_COLON_QMARK] = ACTIONS(1926),
    [anon_sym_COLON_DASH] = ACTIONS(1926),
    [anon_sym_PERCENT] = ACTIONS(1926),
    [anon_sym_DASH] = ACTIONS(1926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(839),
    [anon_sym_BQUOTE] = ACTIONS(841),
    [anon_sym_LT_LPAREN] = ACTIONS(843),
    [anon_sym_GT_LPAREN] = ACTIONS(843),
    [sym_comment] = ACTIONS(265),
    [sym_word] = ACTIONS(845),
  },
  [3280] = {
    [sym__simple_heredoc_body] = ACTIONS(5162),
    [sym__heredoc_body_beginning] = ACTIONS(5162),
    [sym_file_descriptor] = ACTIONS(5162),
    [sym__concat] = ACTIONS(5162),
    [anon_sym_esac] = ACTIONS(5162),
    [anon_sym_PIPE] = ACTIONS(5164),
    [anon_sym_SEMI_SEMI] = ACTIONS(5162),
    [anon_sym_PIPE_AMP] = ACTIONS(5162),
    [anon_sym_AMP_AMP] = ACTIONS(5162),
    [anon_sym_PIPE_PIPE] = ACTIONS(5162),
    [anon_sym_LT] = ACTIONS(5164),
    [anon_sym_GT] = ACTIONS(5164),
    [anon_sym_GT_GT] = ACTIONS(5162),
    [anon_sym_AMP_GT] = ACTIONS(5164),
    [anon_sym_AMP_GT_GT] = ACTIONS(5162),
    [anon_sym_LT_AMP] = ACTIONS(5162),
    [anon_sym_GT_AMP] = ACTIONS(5162),
    [anon_sym_LT_LT] = ACTIONS(5164),
    [anon_sym_LT_LT_DASH] = ACTIONS(5162),
    [anon_sym_LT_LT_LT] = ACTIONS(5162),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5164),
    [anon_sym_LF] = ACTIONS(5162),
    [anon_sym_AMP] = ACTIONS(5164),
  },
  [3281] = {
    [sym__simple_heredoc_body] = ACTIONS(5170),
    [sym__heredoc_body_beginning] = ACTIONS(5170),
    [sym_file_descriptor] = ACTIONS(5170),
    [sym__concat] = ACTIONS(5170),
    [anon_sym_esac] = ACTIONS(5170),
    [anon_sym_PIPE] = ACTIONS(5172),
    [anon_sym_SEMI_SEMI] = ACTIONS(5170),
    [anon_sym_PIPE_AMP] = ACTIONS(5170),
    [anon_sym_AMP_AMP] = ACTIONS(5170),
    [anon_sym_PIPE_PIPE] = ACTIONS(5170),
    [anon_sym_LT] = ACTIONS(5172),
    [anon_sym_GT] = ACTIONS(5172),
    [anon_sym_GT_GT] = ACTIONS(5170),
    [anon_sym_AMP_GT] = ACTIONS(5172),
    [anon_sym_AMP_GT_GT] = ACTIONS(5170),
    [anon_sym_LT_AMP] = ACTIONS(5170),
    [anon_sym_GT_AMP] = ACTIONS(5170),
    [anon_sym_LT_LT] = ACTIONS(5172),
    [anon_sym_LT_LT_DASH] = ACTIONS(5170),
    [anon_sym_LT_LT_LT] = ACTIONS(5170),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5172),
    [anon_sym_LF] = ACTIONS(5170),
    [anon_sym_AMP] = ACTIONS(5172),
  },
  [3282] = {
    [sym__simple_heredoc_body] = ACTIONS(5174),
    [sym__heredoc_body_beginning] = ACTIONS(5174),
    [sym_file_descriptor] = ACTIONS(5174),
    [sym__concat] = ACTIONS(5174),
    [anon_sym_esac] = ACTIONS(5174),
    [anon_sym_PIPE] = ACTIONS(5176),
    [anon_sym_SEMI_SEMI] = ACTIONS(5174),
    [anon_sym_PIPE_AMP] = ACTIONS(5174),
    [anon_sym_AMP_AMP] = ACTIONS(5174),
    [anon_sym_PIPE_PIPE] = ACTIONS(5174),
    [anon_sym_LT] = ACTIONS(5176),
    [anon_sym_GT] = ACTIONS(5176),
    [anon_sym_GT_GT] = ACTIONS(5174),
    [anon_sym_AMP_GT] = ACTIONS(5176),
    [anon_sym_AMP_GT_GT] = ACTIONS(5174),
    [anon_sym_LT_AMP] = ACTIONS(5174),
    [anon_sym_GT_AMP] = ACTIONS(5174),
    [anon_sym_LT_LT] = ACTIONS(5176),
    [anon_sym_LT_LT_DASH] = ACTIONS(5174),
    [anon_sym_LT_LT_LT] = ACTIONS(5174),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5176),
    [anon_sym_LF] = ACTIONS(5174),
    [anon_sym_AMP] = ACTIONS(5176),
  },
  [3283] = {
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [sym_variable_name] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5741),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [sym__special_characters] = ACTIONS(5739),
    [anon_sym_DQUOTE] = ACTIONS(5739),
    [anon_sym_DOLLAR] = ACTIONS(5741),
    [sym_raw_string] = ACTIONS(5739),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5739),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5739),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(5739),
    [anon_sym_GT_LPAREN] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5741),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3284] = {
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [sym_variable_name] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5745),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [sym__special_characters] = ACTIONS(5743),
    [anon_sym_DQUOTE] = ACTIONS(5743),
    [anon_sym_DOLLAR] = ACTIONS(5745),
    [sym_raw_string] = ACTIONS(5743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5743),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5743),
    [anon_sym_BQUOTE] = ACTIONS(5743),
    [anon_sym_LT_LPAREN] = ACTIONS(5743),
    [anon_sym_GT_LPAREN] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5745),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3285] = {
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [sym_variable_name] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5749),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [sym__special_characters] = ACTIONS(5747),
    [anon_sym_DQUOTE] = ACTIONS(5747),
    [anon_sym_DOLLAR] = ACTIONS(5749),
    [sym_raw_string] = ACTIONS(5747),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5747),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5747),
    [anon_sym_BQUOTE] = ACTIONS(5747),
    [anon_sym_LT_LPAREN] = ACTIONS(5747),
    [anon_sym_GT_LPAREN] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [sym_word] = ACTIONS(5749),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
  [3286] = {
    [sym__simple_heredoc_body] = ACTIONS(5739),
    [sym__heredoc_body_beginning] = ACTIONS(5739),
    [sym_file_descriptor] = ACTIONS(5739),
    [sym__concat] = ACTIONS(5739),
    [anon_sym_esac] = ACTIONS(5739),
    [anon_sym_PIPE] = ACTIONS(5741),
    [anon_sym_SEMI_SEMI] = ACTIONS(5739),
    [anon_sym_PIPE_AMP] = ACTIONS(5739),
    [anon_sym_AMP_AMP] = ACTIONS(5739),
    [anon_sym_PIPE_PIPE] = ACTIONS(5739),
    [anon_sym_LT] = ACTIONS(5741),
    [anon_sym_GT] = ACTIONS(5741),
    [anon_sym_GT_GT] = ACTIONS(5739),
    [anon_sym_AMP_GT] = ACTIONS(5741),
    [anon_sym_AMP_GT_GT] = ACTIONS(5739),
    [anon_sym_LT_AMP] = ACTIONS(5739),
    [anon_sym_GT_AMP] = ACTIONS(5739),
    [anon_sym_LT_LT] = ACTIONS(5741),
    [anon_sym_LT_LT_DASH] = ACTIONS(5739),
    [anon_sym_LT_LT_LT] = ACTIONS(5739),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5741),
    [anon_sym_LF] = ACTIONS(5739),
    [anon_sym_AMP] = ACTIONS(5741),
  },
  [3287] = {
    [sym__simple_heredoc_body] = ACTIONS(5743),
    [sym__heredoc_body_beginning] = ACTIONS(5743),
    [sym_file_descriptor] = ACTIONS(5743),
    [sym__concat] = ACTIONS(5743),
    [anon_sym_esac] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(5745),
    [anon_sym_SEMI_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE_AMP] = ACTIONS(5743),
    [anon_sym_AMP_AMP] = ACTIONS(5743),
    [anon_sym_PIPE_PIPE] = ACTIONS(5743),
    [anon_sym_LT] = ACTIONS(5745),
    [anon_sym_GT] = ACTIONS(5745),
    [anon_sym_GT_GT] = ACTIONS(5743),
    [anon_sym_AMP_GT] = ACTIONS(5745),
    [anon_sym_AMP_GT_GT] = ACTIONS(5743),
    [anon_sym_LT_AMP] = ACTIONS(5743),
    [anon_sym_GT_AMP] = ACTIONS(5743),
    [anon_sym_LT_LT] = ACTIONS(5745),
    [anon_sym_LT_LT_DASH] = ACTIONS(5743),
    [anon_sym_LT_LT_LT] = ACTIONS(5743),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5745),
    [anon_sym_LF] = ACTIONS(5743),
    [anon_sym_AMP] = ACTIONS(5745),
  },
  [3288] = {
    [sym__simple_heredoc_body] = ACTIONS(5747),
    [sym__heredoc_body_beginning] = ACTIONS(5747),
    [sym_file_descriptor] = ACTIONS(5747),
    [sym__concat] = ACTIONS(5747),
    [anon_sym_esac] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE_AMP] = ACTIONS(5747),
    [anon_sym_AMP_AMP] = ACTIONS(5747),
    [anon_sym_PIPE_PIPE] = ACTIONS(5747),
    [anon_sym_LT] = ACTIONS(5749),
    [anon_sym_GT] = ACTIONS(5749),
    [anon_sym_GT_GT] = ACTIONS(5747),
    [anon_sym_AMP_GT] = ACTIONS(5749),
    [anon_sym_AMP_GT_GT] = ACTIONS(5747),
    [anon_sym_LT_AMP] = ACTIONS(5747),
    [anon_sym_GT_AMP] = ACTIONS(5747),
    [anon_sym_LT_LT] = ACTIONS(5749),
    [anon_sym_LT_LT_DASH] = ACTIONS(5747),
    [anon_sym_LT_LT_LT] = ACTIONS(5747),
    [sym_comment] = ACTIONS(53),
    [anon_sym_SEMI] = ACTIONS(5749),
    [anon_sym_LF] = ACTIONS(5747),
    [anon_sym_AMP] = ACTIONS(5749),
  },
};

static TSParseActionEntry ts_parse_actions[] = {
  [0] = {.count = 0, .reusable = false},
  [1] = {.count = 1, .reusable = true}, RECOVER(),
  [3] = {.count = 1, .reusable = false}, RECOVER(),
  [5] = {.count = 1, .reusable = true}, SHIFT(2),
  [7] = {.count = 1, .reusable = true}, SHIFT(3),
  [9] = {.count = 1, .reusable = true}, REDUCE(sym_program, 0),
  [11] = {.count = 1, .reusable = false}, SHIFT(4),
  [13] = {.count = 1, .reusable = false}, SHIFT(5),
  [15] = {.count = 1, .reusable = false}, SHIFT(6),
  [17] = {.count = 1, .reusable = false}, SHIFT(7),
  [19] = {.count = 1, .reusable = false}, SHIFT(8),
  [21] = {.count = 1, .reusable = true}, SHIFT(9),
  [23] = {.count = 1, .reusable = false}, SHIFT(10),
  [25] = {.count = 1, .reusable = false}, SHIFT(11),
  [27] = {.count = 1, .reusable = true}, SHIFT(12),
  [29] = {.count = 1, .reusable = false}, SHIFT(13),
  [31] = {.count = 1, .reusable = false}, SHIFT(14),
  [33] = {.count = 1, .reusable = false}, SHIFT(15),
  [35] = {.count = 1, .reusable = true}, SHIFT(15),
  [37] = {.count = 1, .reusable = false}, SHIFT(16),
  [39] = {.count = 1, .reusable = true}, SHIFT(17),
  [41] = {.count = 1, .reusable = false}, SHIFT(18),
  [43] = {.count = 1, .reusable = true}, SHIFT(19),
  [45] = {.count = 1, .reusable = true}, SHIFT(20),
  [47] = {.count = 1, .reusable = true}, SHIFT(21),
  [49] = {.count = 1, .reusable = true}, SHIFT(22),
  [51] = {.count = 1, .reusable = true}, SHIFT(23),
  [53] = {.count = 1, .reusable = true}, SHIFT_EXTRA(),
  [55] = {.count = 1, .reusable = false}, SHIFT(24),
  [57] = {.count = 1, .reusable = false}, SHIFT(34),
  [59] = {.count = 1, .reusable = true}, SHIFT(34),
  [61] = {.count = 1, .reusable = true}, SHIFT(35),
  [63] = {.count = 1, .reusable = true}, SHIFT(36),
  [65] = {.count = 1, .reusable = true}, SHIFT(37),
  [67] = {.count = 1, .reusable = true}, SHIFT(38),
  [69] = {.count = 1, .reusable = true}, SHIFT(39),
  [71] = {.count = 1, .reusable = false}, SHIFT(40),
  [73] = {.count = 1, .reusable = false}, SHIFT(41),
  [75] = {.count = 1, .reusable = false}, SHIFT(42),
  [77] = {.count = 1, .reusable = false}, SHIFT(43),
  [79] = {.count = 1, .reusable = true}, SHIFT(44),
  [81] = {.count = 1, .reusable = false}, SHIFT(45),
  [83] = {.count = 1, .reusable = false}, SHIFT(46),
  [85] = {.count = 1, .reusable = false}, SHIFT(47),
  [87] = {.count = 1, .reusable = true}, SHIFT(48),
  [89] = {.count = 1, .reusable = false}, SHIFT(49),
  [91] = {.count = 1, .reusable = true}, SHIFT(57),
  [93] = {.count = 1, .reusable = true}, SHIFT(58),
  [95] = {.count = 1, .reusable = false}, SHIFT(59),
  [97] = {.count = 1, .reusable = true}, SHIFT(60),
  [99] = {.count = 1, .reusable = true}, SHIFT(61),
  [101] = {.count = 1, .reusable = true}, SHIFT(62),
  [103] = {.count = 1, .reusable = true}, SHIFT(63),
  [105] = {.count = 1, .reusable = true}, SHIFT(64),
  [107] = {.count = 1, .reusable = true}, SHIFT(66),
  [109] = {.count = 1, .reusable = true}, SHIFT(67),
  [111] = {.count = 1, .reusable = false}, SHIFT(68),
  [113] = {.count = 1, .reusable = false}, SHIFT(69),
  [115] = {.count = 1, .reusable = false}, SHIFT(70),
  [117] = {.count = 1, .reusable = false}, SHIFT(71),
  [119] = {.count = 1, .reusable = true}, SHIFT(72),
  [121] = {.count = 1, .reusable = false}, SHIFT(73),
  [123] = {.count = 1, .reusable = false}, SHIFT(74),
  [125] = {.count = 1, .reusable = false}, SHIFT(75),
  [127] = {.count = 1, .reusable = true}, SHIFT(76),
  [129] = {.count = 1, .reusable = false}, SHIFT(77),
  [131] = {.count = 1, .reusable = true}, SHIFT(84),
  [133] = {.count = 1, .reusable = true}, SHIFT(87),
  [135] = {.count = 1, .reusable = false}, SHIFT(88),
  [137] = {.count = 1, .reusable = true}, SHIFT(89),
  [139] = {.count = 1, .reusable = true}, SHIFT(90),
  [141] = {.count = 1, .reusable = false}, SHIFT(91),
  [143] = {.count = 1, .reusable = true}, SHIFT(92),
  [145] = {.count = 1, .reusable = true}, SHIFT(93),
  [147] = {.count = 1, .reusable = true}, SHIFT(94),
  [149] = {.count = 1, .reusable = true}, SHIFT(95),
  [151] = {.count = 1, .reusable = true}, SHIFT(96),
  [153] = {.count = 1, .reusable = false}, SHIFT(92),
  [155] = {.count = 1, .reusable = true}, SHIFT(88),
  [157] = {.count = 1, .reusable = true}, SHIFT(98),
  [159] = {.count = 1, .reusable = false}, SHIFT(99),
  [161] = {.count = 1, .reusable = true}, SHIFT(100),
  [163] = {.count = 1, .reusable = true}, SHIFT(101),
  [165] = {.count = 1, .reusable = false}, SHIFT(102),
  [167] = {.count = 1, .reusable = true}, SHIFT(103),
  [169] = {.count = 1, .reusable = true}, SHIFT(104),
  [171] = {.count = 1, .reusable = true}, SHIFT(105),
  [173] = {.count = 1, .reusable = true}, SHIFT(106),
  [175] = {.count = 1, .reusable = true}, SHIFT(107),
  [177] = {.count = 1, .reusable = false}, SHIFT(103),
  [179] = {.count = 1, .reusable = true}, SHIFT(99),
  [181] = {.count = 1, .reusable = true}, SHIFT(109),
  [183] = {.count = 1, .reusable = true}, REDUCE(sym_declaration_command, 1),
  [185] = {.count = 1, .reusable = false}, REDUCE(sym_declaration_command, 1),
  [187] = {.count = 1, .reusable = true}, SHIFT(110),
  [189] = {.count = 1, .reusable = true}, SHIFT(111),
  [191] = {.count = 1, .reusable = false}, SHIFT(112),
  [193] = {.count = 1, .reusable = true}, SHIFT(113),
  [195] = {.count = 1, .reusable = true}, SHIFT(114),
  [197] = {.count = 1, .reusable = true}, SHIFT(115),
  [199] = {.count = 1, .reusable = true}, SHIFT(116),
  [201] = {.count = 1, .reusable = true}, SHIFT(117),
  [203] = {.count = 1, .reusable = false}, SHIFT(118),
  [205] = {.count = 1, .reusable = false}, SHIFT(113),
  [207] = {.count = 1, .reusable = true}, REDUCE(sym_unset_command, 1),
  [209] = {.count = 1, .reusable = false}, REDUCE(sym_unset_command, 1),
  [211] = {.count = 1, .reusable = true}, SHIFT(121),
  [213] = {.count = 1, .reusable = true}, SHIFT(122),
  [215] = {.count = 1, .reusable = false}, SHIFT(123),
  [217] = {.count = 1, .reusable = true}, SHIFT(124),
  [219] = {.count = 1, .reusable = true}, SHIFT(125),
  [221] = {.count = 1, .reusable = true}, SHIFT(126),
  [223] = {.count = 1, .reusable = true}, SHIFT(127),
  [225] = {.count = 1, .reusable = true}, SHIFT(128),
  [227] = {.count = 1, .reusable = false}, SHIFT(129),
  [229] = {.count = 1, .reusable = false}, SHIFT(124),
  [231] = {.count = 1, .reusable = true}, SHIFT(131),
  [233] = {.count = 1, .reusable = true}, SHIFT(132),
  [235] = {.count = 1, .reusable = false}, SHIFT(133),
  [237] = {.count = 1, .reusable = true}, SHIFT(134),
  [239] = {.count = 1, .reusable = true}, SHIFT(135),
  [241] = {.count = 1, .reusable = true}, SHIFT(136),
  [243] = {.count = 1, .reusable = true}, SHIFT(137),
  [245] = {.count = 1, .reusable = true}, SHIFT(138),
  [247] = {.count = 1, .reusable = true}, REDUCE(sym_command_name, 1, .alias_sequence_id = 1),
  [249] = {.count = 1, .reusable = true}, SHIFT(140),
  [251] = {.count = 1, .reusable = false}, REDUCE(sym_command_name, 1, .alias_sequence_id = 1),
  [253] = {.count = 1, .reusable = false}, SHIFT(142),
  [255] = {.count = 1, .reusable = false}, SHIFT(143),
  [257] = {.count = 1, .reusable = true}, SHIFT(144),
  [259] = {.count = 1, .reusable = false}, SHIFT(145),
  [261] = {.count = 1, .reusable = false}, SHIFT(146),
  [263] = {.count = 1, .reusable = false}, SHIFT(147),
  [265] = {.count = 1, .reusable = false}, SHIFT_EXTRA(),
  [267] = {.count = 1, .reusable = true}, SHIFT(149),
  [269] = {.count = 1, .reusable = true}, SHIFT(150),
  [271] = {.count = 1, .reusable = false}, SHIFT(151),
  [273] = {.count = 1, .reusable = false}, SHIFT(149),
  [275] = {.count = 1, .reusable = true}, REDUCE(sym_command_name, 1),
  [277] = {.count = 1, .reusable = false}, REDUCE(sym_command_name, 1),
  [279] = {.count = 1, .reusable = true}, SHIFT(152),
  [281] = {.count = 1, .reusable = true}, SHIFT(153),
  [283] = {.count = 1, .reusable = true}, SHIFT(154),
  [285] = {.count = 1, .reusable = false}, SHIFT(155),
  [287] = {.count = 1, .reusable = false}, SHIFT(154),
  [289] = {.count = 1, .reusable = false}, SHIFT(160),
  [291] = {.count = 1, .reusable = false}, SHIFT(161),
  [293] = {.count = 1, .reusable = false}, SHIFT(162),
  [295] = {.count = 1, .reusable = false}, SHIFT(163),
  [297] = {.count = 1, .reusable = true}, SHIFT(164),
  [299] = {.count = 1, .reusable = false}, SHIFT(165),
  [301] = {.count = 1, .reusable = false}, SHIFT(166),
  [303] = {.count = 1, .reusable = false}, SHIFT(167),
  [305] = {.count = 1, .reusable = true}, SHIFT(176),
  [307] = {.count = 1, .reusable = true}, ACCEPT_INPUT(),
  [309] = {.count = 1, .reusable = true}, REDUCE(sym_program, 1),
  [311] = {.count = 1, .reusable = false}, SHIFT(177),
  [313] = {.count = 1, .reusable = true}, SHIFT(178),
  [315] = {.count = 1, .reusable = true}, SHIFT(177),
  [317] = {.count = 1, .reusable = true}, SHIFT(179),
  [319] = {.count = 1, .reusable = false}, SHIFT(178),
  [321] = {.count = 1, .reusable = true}, SHIFT(180),
  [323] = {.count = 1, .reusable = true}, SHIFT(181),
  [325] = {.count = 1, .reusable = true}, SHIFT(182),
  [327] = {.count = 1, .reusable = true}, REDUCE(sym_command, 1),
  [329] = {.count = 1, .reusable = false}, REDUCE(sym_command, 1),
  [331] = {.count = 1, .reusable = false}, SHIFT(183),
  [333] = {.count = 1, .reusable = false}, SHIFT(184),
  [335] = {.count = 1, .reusable = true}, SHIFT(184),
  [337] = {.count = 1, .reusable = false}, SHIFT(185),
  [339] = {.count = 1, .reusable = true}, SHIFT(185),
  [341] = {.count = 1, .reusable = true}, SHIFT(186),
  [343] = {.count = 1, .reusable = true}, SHIFT(187),
  [345] = {.count = 1, .reusable = true}, SHIFT(188),
  [347] = {.count = 1, .reusable = false}, SHIFT(188),
  [349] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat1, 1),
  [351] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat1, 1),
  [353] = {.count = 1, .reusable = true}, SHIFT(16),
  [355] = {.count = 1, .reusable = true}, SHIFT(197),
  [357] = {.count = 1, .reusable = true}, SHIFT(198),
  [359] = {.count = 1, .reusable = true}, SHIFT(200),
  [361] = {.count = 1, .reusable = true}, SHIFT(201),
  [363] = {.count = 1, .reusable = true}, SHIFT(203),
  [365] = {.count = 1, .reusable = true}, SHIFT(204),
  [367] = {.count = 1, .reusable = true}, SHIFT(205),
  [369] = {.count = 1, .reusable = true}, SHIFT(206),
  [371] = {.count = 1, .reusable = false}, SHIFT(207),
  [373] = {.count = 1, .reusable = true}, SHIFT(208),
  [375] = {.count = 1, .reusable = true}, SHIFT(209),
  [377] = {.count = 1, .reusable = true}, SHIFT(210),
  [379] = {.count = 1, .reusable = true}, SHIFT(211),
  [381] = {.count = 1, .reusable = true}, SHIFT(212),
  [383] = {.count = 1, .reusable = true}, SHIFT(213),
  [385] = {.count = 1, .reusable = true}, SHIFT(214),
  [387] = {.count = 1, .reusable = false}, SHIFT(215),
  [389] = {.count = 1, .reusable = true}, SHIFT(216),
  [391] = {.count = 1, .reusable = true}, SHIFT(217),
  [393] = {.count = 1, .reusable = false}, SHIFT(218),
  [395] = {.count = 1, .reusable = true}, SHIFT(219),
  [397] = {.count = 1, .reusable = true}, SHIFT(220),
  [399] = {.count = 1, .reusable = true}, SHIFT(221),
  [401] = {.count = 1, .reusable = true}, SHIFT(222),
  [403] = {.count = 1, .reusable = true}, SHIFT(223),
  [405] = {.count = 1, .reusable = false}, SHIFT(219),
  [407] = {.count = 1, .reusable = true}, SHIFT(215),
  [409] = {.count = 1, .reusable = false}, SHIFT(213),
  [411] = {.count = 1, .reusable = true}, SHIFT(225),
  [413] = {.count = 1, .reusable = true}, SHIFT(226),
  [415] = {.count = 1, .reusable = false}, SHIFT(226),
  [417] = {.count = 1, .reusable = true}, SHIFT(227),
  [419] = {.count = 1, .reusable = true}, SHIFT(229),
  [421] = {.count = 1, .reusable = true}, SHIFT(232),
  [423] = {.count = 1, .reusable = true}, SHIFT(233),
  [425] = {.count = 1, .reusable = true}, SHIFT(234),
  [427] = {.count = 1, .reusable = false}, SHIFT(234),
  [429] = {.count = 1, .reusable = true}, SHIFT(237),
  [431] = {.count = 1, .reusable = true}, SHIFT(238),
  [433] = {.count = 1, .reusable = false}, SHIFT(238),
  [435] = {.count = 1, .reusable = true}, SHIFT(241),
  [437] = {.count = 1, .reusable = true}, SHIFT(242),
  [439] = {.count = 1, .reusable = false}, SHIFT(244),
  [441] = {.count = 1, .reusable = true}, SHIFT(245),
  [443] = {.count = 1, .reusable = true}, SHIFT(244),
  [445] = {.count = 1, .reusable = true}, SHIFT(246),
  [447] = {.count = 1, .reusable = false}, SHIFT(245),
  [449] = {.count = 1, .reusable = true}, SHIFT(247),
  [451] = {.count = 1, .reusable = false}, SHIFT(248),
  [453] = {.count = 1, .reusable = false}, SHIFT(249),
  [455] = {.count = 1, .reusable = true}, SHIFT(249),
  [457] = {.count = 1, .reusable = true}, SHIFT(250),
  [459] = {.count = 1, .reusable = true}, SHIFT(251),
  [461] = {.count = 1, .reusable = true}, SHIFT(252),
  [463] = {.count = 1, .reusable = false}, SHIFT(252),
  [465] = {.count = 1, .reusable = true}, SHIFT(47),
  [467] = {.count = 1, .reusable = true}, SHIFT(256),
  [469] = {.count = 1, .reusable = true}, SHIFT(257),
  [471] = {.count = 1, .reusable = true}, SHIFT(258),
  [473] = {.count = 1, .reusable = true}, SHIFT(259),
  [475] = {.count = 1, .reusable = false}, SHIFT(259),
  [477] = {.count = 1, .reusable = false}, SHIFT(261),
  [479] = {.count = 1, .reusable = false}, SHIFT(262),
  [481] = {.count = 1, .reusable = true}, SHIFT(264),
  [483] = {.count = 1, .reusable = true}, SHIFT(265),
  [485] = {.count = 1, .reusable = false}, SHIFT(266),
  [487] = {.count = 1, .reusable = false}, SHIFT(264),
  [489] = {.count = 1, .reusable = true}, SHIFT(267),
  [491] = {.count = 1, .reusable = true}, SHIFT(268),
  [493] = {.count = 1, .reusable = false}, SHIFT(268),
  [495] = {.count = 1, .reusable = true}, SHIFT(269),
  [497] = {.count = 1, .reusable = true}, SHIFT(270),
  [499] = {.count = 1, .reusable = true}, SHIFT(271),
  [501] = {.count = 1, .reusable = false}, SHIFT(272),
  [503] = {.count = 1, .reusable = false}, SHIFT(271),
  [505] = {.count = 1, .reusable = true}, SHIFT(283),
  [507] = {.count = 1, .reusable = true}, SHIFT(284),
  [509] = {.count = 1, .reusable = true}, SHIFT(286),
  [511] = {.count = 1, .reusable = true}, SHIFT(288),
  [513] = {.count = 1, .reusable = true}, SHIFT(291),
  [515] = {.count = 1, .reusable = true}, SHIFT(292),
  [517] = {.count = 1, .reusable = true}, SHIFT(293),
  [519] = {.count = 1, .reusable = false}, SHIFT(293),
  [521] = {.count = 1, .reusable = true}, SHIFT(296),
  [523] = {.count = 1, .reusable = true}, SHIFT(297),
  [525] = {.count = 1, .reusable = false}, SHIFT(297),
  [527] = {.count = 1, .reusable = true}, SHIFT(300),
  [529] = {.count = 1, .reusable = false}, SHIFT(301),
  [531] = {.count = 1, .reusable = true}, SHIFT(302),
  [533] = {.count = 1, .reusable = true}, SHIFT(303),
  [535] = {.count = 1, .reusable = true}, SHIFT(301),
  [537] = {.count = 1, .reusable = true}, SHIFT(304),
  [539] = {.count = 1, .reusable = false}, SHIFT(303),
  [541] = {.count = 1, .reusable = true}, SHIFT(305),
  [543] = {.count = 1, .reusable = false}, SHIFT(306),
  [545] = {.count = 1, .reusable = false}, SHIFT(307),
  [547] = {.count = 1, .reusable = true}, SHIFT(307),
  [549] = {.count = 1, .reusable = true}, SHIFT(308),
  [551] = {.count = 1, .reusable = true}, SHIFT(309),
  [553] = {.count = 1, .reusable = true}, SHIFT(310),
  [555] = {.count = 1, .reusable = false}, SHIFT(310),
  [557] = {.count = 1, .reusable = true}, SHIFT(75),
  [559] = {.count = 1, .reusable = true}, SHIFT(316),
  [561] = {.count = 1, .reusable = true}, REDUCE(sym_negated_command, 2),
  [563] = {.count = 1, .reusable = false}, REDUCE(sym_negated_command, 2),
  [565] = {.count = 1, .reusable = false}, SHIFT(317),
  [567] = {.count = 1, .reusable = true}, SHIFT(318),
  [569] = {.count = 1, .reusable = true}, SHIFT(319),
  [571] = {.count = 1, .reusable = false}, SHIFT(319),
  [573] = {.count = 1, .reusable = true}, SHIFT(317),
  [575] = {.count = 1, .reusable = true}, SHIFT(322),
  [577] = {.count = 1, .reusable = true}, REDUCE(sym__expression, 1, .alias_sequence_id = 1),
  [579] = {.count = 1, .reusable = false}, REDUCE(sym__expression, 1, .alias_sequence_id = 1),
  [581] = {.count = 1, .reusable = false}, SHIFT(324),
  [583] = {.count = 1, .reusable = false}, SHIFT(325),
  [585] = {.count = 1, .reusable = true}, SHIFT(327),
  [587] = {.count = 1, .reusable = true}, SHIFT(328),
  [589] = {.count = 1, .reusable = false}, SHIFT(329),
  [591] = {.count = 1, .reusable = false}, SHIFT(327),
  [593] = {.count = 1, .reusable = true}, REDUCE(sym__expression, 1),
  [595] = {.count = 1, .reusable = false}, REDUCE(sym__expression, 1),
  [597] = {.count = 1, .reusable = true}, SHIFT(330),
  [599] = {.count = 1, .reusable = true}, SHIFT(331),
  [601] = {.count = 1, .reusable = true}, SHIFT(332),
  [603] = {.count = 1, .reusable = false}, SHIFT(333),
  [605] = {.count = 1, .reusable = false}, SHIFT(332),
  [607] = {.count = 1, .reusable = true}, SHIFT(344),
  [609] = {.count = 1, .reusable = true}, SHIFT(345),
  [611] = {.count = 1, .reusable = true}, SHIFT(346),
  [613] = {.count = 1, .reusable = false}, SHIFT(344),
  [615] = {.count = 1, .reusable = true}, SHIFT(349),
  [617] = {.count = 1, .reusable = false}, SHIFT(351),
  [619] = {.count = 1, .reusable = false}, SHIFT(352),
  [621] = {.count = 1, .reusable = true}, SHIFT(354),
  [623] = {.count = 1, .reusable = true}, SHIFT(355),
  [625] = {.count = 1, .reusable = false}, SHIFT(356),
  [627] = {.count = 1, .reusable = false}, SHIFT(354),
  [629] = {.count = 1, .reusable = true}, SHIFT(357),
  [631] = {.count = 1, .reusable = true}, SHIFT(358),
  [633] = {.count = 1, .reusable = true}, SHIFT(359),
  [635] = {.count = 1, .reusable = false}, SHIFT(360),
  [637] = {.count = 1, .reusable = false}, SHIFT(359),
  [639] = {.count = 1, .reusable = true}, SHIFT(371),
  [641] = {.count = 1, .reusable = true}, SHIFT(372),
  [643] = {.count = 1, .reusable = false}, SHIFT(371),
  [645] = {.count = 1, .reusable = true}, SHIFT(373),
  [647] = {.count = 1, .reusable = true}, SHIFT(374),
  [649] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 1),
  [651] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 1),
  [653] = {.count = 1, .reusable = false}, SHIFT(376),
  [655] = {.count = 1, .reusable = false}, SHIFT(377),
  [657] = {.count = 1, .reusable = true}, SHIFT(379),
  [659] = {.count = 1, .reusable = true}, SHIFT(380),
  [661] = {.count = 1, .reusable = false}, SHIFT(381),
  [663] = {.count = 1, .reusable = false}, SHIFT(379),
  [665] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 1),
  [667] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 1),
  [669] = {.count = 1, .reusable = true}, SHIFT(382),
  [671] = {.count = 1, .reusable = true}, SHIFT(383),
  [673] = {.count = 1, .reusable = true}, SHIFT(384),
  [675] = {.count = 1, .reusable = false}, SHIFT(385),
  [677] = {.count = 1, .reusable = false}, SHIFT(384),
  [679] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 2),
  [681] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 2),
  [683] = {.count = 1, .reusable = true}, REDUCE(sym_declaration_command, 2),
  [685] = {.count = 1, .reusable = false}, REDUCE(sym_declaration_command, 2),
  [687] = {.count = 1, .reusable = true}, SHIFT(397),
  [689] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 1),
  [691] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 1),
  [693] = {.count = 1, .reusable = false}, SHIFT(399),
  [695] = {.count = 1, .reusable = false}, SHIFT(400),
  [697] = {.count = 1, .reusable = true}, SHIFT(402),
  [699] = {.count = 1, .reusable = true}, SHIFT(403),
  [701] = {.count = 1, .reusable = false}, SHIFT(404),
  [703] = {.count = 1, .reusable = false}, SHIFT(402),
  [705] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 1),
  [707] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 1),
  [709] = {.count = 1, .reusable = true}, SHIFT(405),
  [711] = {.count = 1, .reusable = true}, SHIFT(406),
  [713] = {.count = 1, .reusable = true}, SHIFT(407),
  [715] = {.count = 1, .reusable = false}, SHIFT(408),
  [717] = {.count = 1, .reusable = false}, SHIFT(407),
  [719] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 2),
  [721] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 2),
  [723] = {.count = 1, .reusable = true}, REDUCE(sym_unset_command, 2),
  [725] = {.count = 1, .reusable = false}, REDUCE(sym_unset_command, 2),
  [727] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 2, .alias_sequence_id = 3),
  [729] = {.count = 1, .reusable = true}, SHIFT(420),
  [731] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 2, .alias_sequence_id = 3),
  [733] = {.count = 1, .reusable = false}, SHIFT(422),
  [735] = {.count = 1, .reusable = false}, SHIFT(423),
  [737] = {.count = 1, .reusable = true}, SHIFT(425),
  [739] = {.count = 1, .reusable = true}, SHIFT(426),
  [741] = {.count = 1, .reusable = false}, SHIFT(427),
  [743] = {.count = 1, .reusable = false}, SHIFT(425),
  [745] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 2),
  [747] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 2),
  [749] = {.count = 1, .reusable = true}, SHIFT(428),
  [751] = {.count = 1, .reusable = true}, SHIFT(429),
  [753] = {.count = 1, .reusable = true}, SHIFT(430),
  [755] = {.count = 1, .reusable = false}, SHIFT(431),
  [757] = {.count = 1, .reusable = false}, SHIFT(430),
  [759] = {.count = 1, .reusable = true}, SHIFT(442),
  [761] = {.count = 1, .reusable = true}, REDUCE(sym_concatenation, 2),
  [763] = {.count = 1, .reusable = false}, REDUCE(sym_concatenation, 2),
  [765] = {.count = 1, .reusable = true}, REDUCE(sym_string, 2),
  [767] = {.count = 1, .reusable = false}, REDUCE(sym_string, 2),
  [769] = {.count = 1, .reusable = false}, SHIFT(444),
  [771] = {.count = 1, .reusable = false}, SHIFT(445),
  [773] = {.count = 1, .reusable = false}, SHIFT(446),
  [775] = {.count = 1, .reusable = true}, SHIFT(445),
  [777] = {.count = 1, .reusable = false}, SHIFT(447),
  [779] = {.count = 1, .reusable = true}, SHIFT(448),
  [781] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 1),
  [783] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 1),
  [785] = {.count = 1, .reusable = true}, SHIFT(449),
  [787] = {.count = 1, .reusable = true}, SHIFT(450),
  [789] = {.count = 1, .reusable = true}, SHIFT(451),
  [791] = {.count = 1, .reusable = false}, SHIFT(452),
  [793] = {.count = 1, .reusable = false}, SHIFT(451),
  [795] = {.count = 1, .reusable = false}, SHIFT(460),
  [797] = {.count = 1, .reusable = true}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 4),
  [799] = {.count = 1, .reusable = false}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 4),
  [801] = {.count = 1, .reusable = true}, REDUCE(sym_string_expansion, 2),
  [803] = {.count = 1, .reusable = false}, REDUCE(sym_string_expansion, 2),
  [805] = {.count = 1, .reusable = true}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 5),
  [807] = {.count = 1, .reusable = false}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 5),
  [809] = {.count = 1, .reusable = true}, SHIFT(462),
  [811] = {.count = 1, .reusable = true}, SHIFT(463),
  [813] = {.count = 1, .reusable = true}, SHIFT(464),
  [815] = {.count = 1, .reusable = true}, SHIFT(465),
  [817] = {.count = 1, .reusable = false}, SHIFT(466),
  [819] = {.count = 1, .reusable = false}, SHIFT(465),
  [821] = {.count = 1, .reusable = true}, SHIFT(468),
  [823] = {.count = 1, .reusable = false}, SHIFT(478),
  [825] = {.count = 1, .reusable = false}, SHIFT(469),
  [827] = {.count = 1, .reusable = true}, SHIFT(470),
  [829] = {.count = 1, .reusable = false}, SHIFT(471),
  [831] = {.count = 1, .reusable = true}, SHIFT(472),
  [833] = {.count = 1, .reusable = true}, SHIFT(478),
  [835] = {.count = 1, .reusable = true}, SHIFT(473),
  [837] = {.count = 1, .reusable = true}, SHIFT(474),
  [839] = {.count = 1, .reusable = true}, SHIFT(475),
  [841] = {.count = 1, .reusable = true}, SHIFT(476),
  [843] = {.count = 1, .reusable = true}, SHIFT(477),
  [845] = {.count = 1, .reusable = false}, SHIFT(472),
  [847] = {.count = 1, .reusable = true}, SHIFT(479),
  [849] = {.count = 1, .reusable = false}, SHIFT(481),
  [851] = {.count = 1, .reusable = true}, SHIFT(481),
  [853] = {.count = 1, .reusable = true}, SHIFT(480),
  [855] = {.count = 1, .reusable = true}, SHIFT(482),
  [857] = {.count = 1, .reusable = false}, SHIFT(484),
  [859] = {.count = 1, .reusable = true}, SHIFT(484),
  [861] = {.count = 1, .reusable = true}, SHIFT(483),
  [863] = {.count = 1, .reusable = true}, SHIFT(485),
  [865] = {.count = 1, .reusable = true}, SHIFT(486),
  [867] = {.count = 1, .reusable = false}, SHIFT(486),
  [869] = {.count = 1, .reusable = true}, SHIFT(490),
  [871] = {.count = 1, .reusable = true}, SHIFT(495),
  [873] = {.count = 1, .reusable = false}, SHIFT(496),
  [875] = {.count = 1, .reusable = true}, SHIFT(497),
  [877] = {.count = 1, .reusable = true}, SHIFT(496),
  [879] = {.count = 1, .reusable = true}, SHIFT(498),
  [881] = {.count = 1, .reusable = false}, SHIFT(497),
  [883] = {.count = 1, .reusable = true}, SHIFT(499),
  [885] = {.count = 1, .reusable = false}, SHIFT(500),
  [887] = {.count = 1, .reusable = true}, SHIFT(500),
  [889] = {.count = 1, .reusable = true}, SHIFT(501),
  [891] = {.count = 1, .reusable = true}, SHIFT(507),
  [893] = {.count = 1, .reusable = true}, SHIFT(508),
  [895] = {.count = 1, .reusable = false}, SHIFT(508),
  [897] = {.count = 1, .reusable = true}, SHIFT(511),
  [899] = {.count = 1, .reusable = true}, REDUCE(sym__terminated_statement, 2),
  [901] = {.count = 1, .reusable = true}, REDUCE(sym_program, 2),
  [903] = {.count = 1, .reusable = false}, REDUCE(sym__terminated_statement, 2),
  [905] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 1),
  [907] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 1),
  [909] = {.count = 1, .reusable = true}, SHIFT(519),
  [911] = {.count = 1, .reusable = true}, SHIFT(516),
  [913] = {.count = 1, .reusable = false}, SHIFT(517),
  [915] = {.count = 1, .reusable = true}, SHIFT(518),
  [917] = {.count = 1, .reusable = false}, SHIFT(520),
  [919] = {.count = 1, .reusable = true}, SHIFT(520),
  [921] = {.count = 1, .reusable = false}, SHIFT(521),
  [923] = {.count = 1, .reusable = false}, SHIFT(17),
  [925] = {.count = 1, .reusable = false}, SHIFT(522),
  [927] = {.count = 1, .reusable = false}, SHIFT(20),
  [929] = {.count = 1, .reusable = false}, SHIFT(21),
  [931] = {.count = 1, .reusable = false}, SHIFT(22),
  [933] = {.count = 1, .reusable = false}, SHIFT(23),
  [935] = {.count = 1, .reusable = false}, SHIFT(523),
  [937] = {.count = 1, .reusable = true}, SHIFT(524),
  [939] = {.count = 1, .reusable = true}, SHIFT(525),
  [941] = {.count = 1, .reusable = true}, SHIFT(527),
  [943] = {.count = 1, .reusable = true}, SHIFT(528),
  [945] = {.count = 1, .reusable = true}, SHIFT(529),
  [947] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 1, .alias_sequence_id = 1),
  [949] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 1, .alias_sequence_id = 1),
  [951] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 1),
  [953] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 1),
  [955] = {.count = 1, .reusable = true}, REDUCE(sym_command, 2),
  [957] = {.count = 1, .reusable = false}, REDUCE(sym_command, 2),
  [959] = {.count = 1, .reusable = true}, SHIFT(535),
  [961] = {.count = 1, .reusable = false}, SHIFT(535),
  [963] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(2),
  [966] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(39),
  [969] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(4),
  [972] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(40),
  [975] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(6),
  [978] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(7),
  [981] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(41),
  [984] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(9),
  [987] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(42),
  [990] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(43),
  [993] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(44),
  [996] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(45),
  [999] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(46),
  [1002] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(15),
  [1005] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(15),
  [1008] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(47),
  [1011] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(17),
  [1014] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(18),
  [1017] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(48),
  [1020] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(20),
  [1023] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(21),
  [1026] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(22),
  [1029] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(23),
  [1032] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(49),
  [1035] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(2),
  [1038] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(84),
  [1041] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(15),
  [1044] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(15),
  [1047] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2),
  [1049] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat1, 2),
  [1051] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 3, .alias_sequence_id = 6),
  [1053] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 3, .alias_sequence_id = 6),
  [1055] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 3),
  [1057] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 3),
  [1059] = {.count = 1, .reusable = true}, SHIFT(539),
  [1061] = {.count = 1, .reusable = true}, SHIFT(540),
  [1063] = {.count = 1, .reusable = true}, SHIFT(542),
  [1065] = {.count = 1, .reusable = true}, SHIFT(543),
  [1067] = {.count = 1, .reusable = true}, SHIFT(544),
  [1069] = {.count = 1, .reusable = true}, REDUCE(sym_variable_assignment, 3),
  [1071] = {.count = 1, .reusable = false}, REDUCE(sym_variable_assignment, 3),
  [1073] = {.count = 1, .reusable = true}, SHIFT(545),
  [1075] = {.count = 1, .reusable = true}, SHIFT(546),
  [1077] = {.count = 1, .reusable = true}, SHIFT(547),
  [1079] = {.count = 1, .reusable = false}, SHIFT(548),
  [1081] = {.count = 1, .reusable = true}, SHIFT(549),
  [1083] = {.count = 1, .reusable = true}, SHIFT(550),
  [1085] = {.count = 1, .reusable = true}, SHIFT(551),
  [1087] = {.count = 1, .reusable = true}, SHIFT(552),
  [1089] = {.count = 1, .reusable = true}, SHIFT(553),
  [1091] = {.count = 1, .reusable = true}, REDUCE(sym_variable_assignment, 3, .alias_sequence_id = 6),
  [1093] = {.count = 1, .reusable = true}, SHIFT(555),
  [1095] = {.count = 1, .reusable = false}, REDUCE(sym_variable_assignment, 3, .alias_sequence_id = 6),
  [1097] = {.count = 1, .reusable = false}, SHIFT(557),
  [1099] = {.count = 1, .reusable = false}, SHIFT(558),
  [1101] = {.count = 1, .reusable = true}, SHIFT(560),
  [1103] = {.count = 1, .reusable = true}, SHIFT(561),
  [1105] = {.count = 1, .reusable = false}, SHIFT(562),
  [1107] = {.count = 1, .reusable = false}, SHIFT(560),
  [1109] = {.count = 1, .reusable = true}, SHIFT(563),
  [1111] = {.count = 1, .reusable = true}, SHIFT(564),
  [1113] = {.count = 1, .reusable = true}, SHIFT(565),
  [1115] = {.count = 1, .reusable = false}, SHIFT(566),
  [1117] = {.count = 1, .reusable = false}, SHIFT(565),
  [1119] = {.count = 1, .reusable = true}, SHIFT(577),
  [1121] = {.count = 1, .reusable = false}, SHIFT(577),
  [1123] = {.count = 1, .reusable = true}, SHIFT(581),
  [1125] = {.count = 1, .reusable = false}, SHIFT(583),
  [1127] = {.count = 1, .reusable = false}, SHIFT(584),
  [1129] = {.count = 1, .reusable = true}, SHIFT(586),
  [1131] = {.count = 1, .reusable = true}, SHIFT(587),
  [1133] = {.count = 1, .reusable = false}, SHIFT(588),
  [1135] = {.count = 1, .reusable = false}, SHIFT(586),
  [1137] = {.count = 1, .reusable = true}, SHIFT(589),
  [1139] = {.count = 1, .reusable = true}, SHIFT(590),
  [1141] = {.count = 1, .reusable = true}, SHIFT(591),
  [1143] = {.count = 1, .reusable = false}, SHIFT(592),
  [1145] = {.count = 1, .reusable = false}, SHIFT(591),
  [1147] = {.count = 1, .reusable = true}, SHIFT(603),
  [1149] = {.count = 1, .reusable = true}, SHIFT(604),
  [1151] = {.count = 1, .reusable = true}, SHIFT(605),
  [1153] = {.count = 1, .reusable = false}, SHIFT(604),
  [1155] = {.count = 1, .reusable = false}, SHIFT(603),
  [1157] = {.count = 1, .reusable = true}, SHIFT(606),
  [1159] = {.count = 1, .reusable = true}, SHIFT(607),
  [1161] = {.count = 1, .reusable = false}, SHIFT(608),
  [1163] = {.count = 1, .reusable = true}, SHIFT(609),
  [1165] = {.count = 1, .reusable = true}, SHIFT(610),
  [1167] = {.count = 1, .reusable = true}, SHIFT(611),
  [1169] = {.count = 1, .reusable = true}, SHIFT(612),
  [1171] = {.count = 1, .reusable = true}, SHIFT(613),
  [1173] = {.count = 1, .reusable = true}, SHIFT(615),
  [1175] = {.count = 1, .reusable = true}, SHIFT(617),
  [1177] = {.count = 1, .reusable = true}, SHIFT(618),
  [1179] = {.count = 1, .reusable = true}, SHIFT(620),
  [1181] = {.count = 1, .reusable = true}, SHIFT(622),
  [1183] = {.count = 1, .reusable = true}, SHIFT(623),
  [1185] = {.count = 1, .reusable = true}, SHIFT(629),
  [1187] = {.count = 1, .reusable = false}, SHIFT(630),
  [1189] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 3),
  [1191] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 3),
  [1193] = {.count = 1, .reusable = false}, SHIFT(636),
  [1195] = {.count = 1, .reusable = true}, SHIFT(636),
  [1197] = {.count = 1, .reusable = false}, SHIFT(637),
  [1199] = {.count = 1, .reusable = false}, SHIFT(638),
  [1201] = {.count = 1, .reusable = true}, SHIFT(639),
  [1203] = {.count = 1, .reusable = true}, SHIFT(640),
  [1205] = {.count = 1, .reusable = true}, SHIFT(641),
  [1207] = {.count = 1, .reusable = true}, SHIFT(642),
  [1209] = {.count = 1, .reusable = false}, SHIFT(647),
  [1211] = {.count = 1, .reusable = false}, SHIFT(648),
  [1213] = {.count = 1, .reusable = false}, SHIFT(649),
  [1215] = {.count = 1, .reusable = true}, SHIFT(654),
  [1217] = {.count = 1, .reusable = true}, SHIFT(655),
  [1219] = {.count = 1, .reusable = false}, SHIFT(655),
  [1221] = {.count = 1, .reusable = true}, SHIFT(656),
  [1223] = {.count = 1, .reusable = false}, SHIFT(658),
  [1225] = {.count = 1, .reusable = false}, SHIFT(659),
  [1227] = {.count = 1, .reusable = true}, SHIFT(660),
  [1229] = {.count = 1, .reusable = false}, SHIFT(660),
  [1231] = {.count = 1, .reusable = true}, SHIFT(661),
  [1233] = {.count = 1, .reusable = true}, SHIFT(662),
  [1235] = {.count = 1, .reusable = true}, SHIFT(663),
  [1237] = {.count = 1, .reusable = true}, SHIFT(664),
  [1239] = {.count = 1, .reusable = false}, SHIFT(665),
  [1241] = {.count = 1, .reusable = false}, SHIFT(664),
  [1243] = {.count = 1, .reusable = true}, SHIFT(667),
  [1245] = {.count = 1, .reusable = false}, SHIFT(669),
  [1247] = {.count = 1, .reusable = true}, SHIFT(669),
  [1249] = {.count = 1, .reusable = true}, SHIFT(668),
  [1251] = {.count = 1, .reusable = true}, SHIFT(670),
  [1253] = {.count = 1, .reusable = false}, SHIFT(672),
  [1255] = {.count = 1, .reusable = true}, SHIFT(672),
  [1257] = {.count = 1, .reusable = true}, SHIFT(671),
  [1259] = {.count = 1, .reusable = true}, SHIFT(673),
  [1261] = {.count = 1, .reusable = false}, SHIFT(675),
  [1263] = {.count = 1, .reusable = true}, SHIFT(675),
  [1265] = {.count = 1, .reusable = true}, SHIFT(674),
  [1267] = {.count = 1, .reusable = true}, SHIFT(676),
  [1269] = {.count = 1, .reusable = true}, SHIFT(677),
  [1271] = {.count = 1, .reusable = false}, SHIFT(677),
  [1273] = {.count = 1, .reusable = true}, SHIFT(680),
  [1275] = {.count = 1, .reusable = false}, SHIFT(680),
  [1277] = {.count = 1, .reusable = true}, SHIFT(683),
  [1279] = {.count = 1, .reusable = true}, SHIFT(684),
  [1281] = {.count = 1, .reusable = false}, SHIFT(684),
  [1283] = {.count = 1, .reusable = true}, SHIFT(687),
  [1285] = {.count = 1, .reusable = true}, SHIFT(688),
  [1287] = {.count = 1, .reusable = true}, SHIFT(692),
  [1289] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 3),
  [1291] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 3),
  [1293] = {.count = 1, .reusable = false}, SHIFT(693),
  [1295] = {.count = 1, .reusable = true}, SHIFT(693),
  [1297] = {.count = 1, .reusable = true}, SHIFT(695),
  [1299] = {.count = 1, .reusable = true}, SHIFT(696),
  [1301] = {.count = 1, .reusable = true}, SHIFT(698),
  [1303] = {.count = 1, .reusable = true}, SHIFT(700),
  [1305] = {.count = 1, .reusable = true}, SHIFT(701),
  [1307] = {.count = 1, .reusable = true}, SHIFT(707),
  [1309] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 3),
  [1311] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 3),
  [1313] = {.count = 1, .reusable = true}, SHIFT(708),
  [1315] = {.count = 1, .reusable = false}, SHIFT(711),
  [1317] = {.count = 1, .reusable = true}, SHIFT(711),
  [1319] = {.count = 1, .reusable = false}, SHIFT(712),
  [1321] = {.count = 1, .reusable = false}, SHIFT(713),
  [1323] = {.count = 1, .reusable = true}, SHIFT(714),
  [1325] = {.count = 1, .reusable = true}, SHIFT(715),
  [1327] = {.count = 1, .reusable = true}, SHIFT(716),
  [1329] = {.count = 1, .reusable = true}, SHIFT(717),
  [1331] = {.count = 1, .reusable = true}, SHIFT(721),
  [1333] = {.count = 1, .reusable = false}, SHIFT(721),
  [1335] = {.count = 1, .reusable = true}, SHIFT(723),
  [1337] = {.count = 1, .reusable = true}, SHIFT(724),
  [1339] = {.count = 1, .reusable = true}, SHIFT(725),
  [1341] = {.count = 1, .reusable = true}, SHIFT(726),
  [1343] = {.count = 1, .reusable = true}, SHIFT(729),
  [1345] = {.count = 1, .reusable = true}, SHIFT(730),
  [1347] = {.count = 1, .reusable = true}, SHIFT(731),
  [1349] = {.count = 1, .reusable = false}, SHIFT(730),
  [1351] = {.count = 1, .reusable = true}, REDUCE(sym_unary_expression, 2),
  [1353] = {.count = 1, .reusable = true}, SHIFT(732),
  [1355] = {.count = 1, .reusable = false}, SHIFT(734),
  [1357] = {.count = 1, .reusable = false}, SHIFT(735),
  [1359] = {.count = 1, .reusable = true}, SHIFT(736),
  [1361] = {.count = 1, .reusable = true}, SHIFT(737),
  [1363] = {.count = 1, .reusable = true}, SHIFT(738),
  [1365] = {.count = 1, .reusable = false}, SHIFT(739),
  [1367] = {.count = 1, .reusable = false}, SHIFT(738),
  [1369] = {.count = 1, .reusable = true}, SHIFT(741),
  [1371] = {.count = 1, .reusable = false}, SHIFT(743),
  [1373] = {.count = 1, .reusable = true}, SHIFT(743),
  [1375] = {.count = 1, .reusable = true}, SHIFT(742),
  [1377] = {.count = 1, .reusable = true}, SHIFT(744),
  [1379] = {.count = 1, .reusable = false}, SHIFT(746),
  [1381] = {.count = 1, .reusable = true}, SHIFT(746),
  [1383] = {.count = 1, .reusable = true}, SHIFT(745),
  [1385] = {.count = 1, .reusable = true}, SHIFT(747),
  [1387] = {.count = 1, .reusable = false}, SHIFT(749),
  [1389] = {.count = 1, .reusable = true}, SHIFT(749),
  [1391] = {.count = 1, .reusable = true}, SHIFT(748),
  [1393] = {.count = 1, .reusable = true}, SHIFT(750),
  [1395] = {.count = 1, .reusable = true}, SHIFT(751),
  [1397] = {.count = 1, .reusable = false}, SHIFT(751),
  [1399] = {.count = 1, .reusable = true}, SHIFT(754),
  [1401] = {.count = 1, .reusable = false}, SHIFT(754),
  [1403] = {.count = 1, .reusable = true}, SHIFT(757),
  [1405] = {.count = 1, .reusable = true}, SHIFT(758),
  [1407] = {.count = 1, .reusable = false}, SHIFT(758),
  [1409] = {.count = 1, .reusable = true}, SHIFT(762),
  [1411] = {.count = 1, .reusable = true}, REDUCE(sym_test_command, 3),
  [1413] = {.count = 1, .reusable = false}, REDUCE(sym_test_command, 3),
  [1415] = {.count = 1, .reusable = false}, SHIFT(763),
  [1417] = {.count = 1, .reusable = true}, SHIFT(763),
  [1419] = {.count = 1, .reusable = false}, SHIFT(764),
  [1421] = {.count = 1, .reusable = true}, SHIFT(764),
  [1423] = {.count = 1, .reusable = true}, SHIFT(765),
  [1425] = {.count = 1, .reusable = false}, SHIFT(87),
  [1427] = {.count = 1, .reusable = false}, SHIFT(89),
  [1429] = {.count = 1, .reusable = false}, SHIFT(90),
  [1431] = {.count = 1, .reusable = false}, SHIFT(93),
  [1433] = {.count = 1, .reusable = false}, SHIFT(94),
  [1435] = {.count = 1, .reusable = false}, SHIFT(95),
  [1437] = {.count = 1, .reusable = false}, SHIFT(96),
  [1439] = {.count = 1, .reusable = false}, SHIFT(767),
  [1441] = {.count = 1, .reusable = true}, SHIFT(768),
  [1443] = {.count = 1, .reusable = true}, SHIFT(769),
  [1445] = {.count = 1, .reusable = false}, SHIFT(771),
  [1447] = {.count = 1, .reusable = false}, SHIFT(772),
  [1449] = {.count = 1, .reusable = true}, SHIFT(773),
  [1451] = {.count = 1, .reusable = true}, SHIFT(774),
  [1453] = {.count = 1, .reusable = true}, SHIFT(775),
  [1455] = {.count = 1, .reusable = false}, SHIFT(776),
  [1457] = {.count = 1, .reusable = false}, SHIFT(775),
  [1459] = {.count = 1, .reusable = true}, SHIFT(778),
  [1461] = {.count = 1, .reusable = false}, SHIFT(780),
  [1463] = {.count = 1, .reusable = true}, SHIFT(780),
  [1465] = {.count = 1, .reusable = true}, SHIFT(779),
  [1467] = {.count = 1, .reusable = true}, SHIFT(781),
  [1469] = {.count = 1, .reusable = false}, SHIFT(783),
  [1471] = {.count = 1, .reusable = true}, SHIFT(783),
  [1473] = {.count = 1, .reusable = true}, SHIFT(782),
  [1475] = {.count = 1, .reusable = true}, SHIFT(784),
  [1477] = {.count = 1, .reusable = false}, SHIFT(786),
  [1479] = {.count = 1, .reusable = true}, SHIFT(786),
  [1481] = {.count = 1, .reusable = true}, SHIFT(785),
  [1483] = {.count = 1, .reusable = true}, SHIFT(787),
  [1485] = {.count = 1, .reusable = true}, SHIFT(788),
  [1487] = {.count = 1, .reusable = false}, SHIFT(788),
  [1489] = {.count = 1, .reusable = true}, SHIFT(791),
  [1491] = {.count = 1, .reusable = false}, SHIFT(791),
  [1493] = {.count = 1, .reusable = true}, SHIFT(794),
  [1495] = {.count = 1, .reusable = true}, SHIFT(795),
  [1497] = {.count = 1, .reusable = false}, SHIFT(795),
  [1499] = {.count = 1, .reusable = false}, SHIFT(98),
  [1501] = {.count = 1, .reusable = false}, SHIFT(100),
  [1503] = {.count = 1, .reusable = false}, SHIFT(101),
  [1505] = {.count = 1, .reusable = false}, SHIFT(104),
  [1507] = {.count = 1, .reusable = false}, SHIFT(105),
  [1509] = {.count = 1, .reusable = false}, SHIFT(106),
  [1511] = {.count = 1, .reusable = false}, SHIFT(107),
  [1513] = {.count = 1, .reusable = false}, SHIFT(799),
  [1515] = {.count = 1, .reusable = true}, SHIFT(800),
  [1517] = {.count = 1, .reusable = true}, SHIFT(801),
  [1519] = {.count = 1, .reusable = true}, SHIFT(802),
  [1521] = {.count = 1, .reusable = true}, SHIFT(803),
  [1523] = {.count = 1, .reusable = true}, SHIFT(804),
  [1525] = {.count = 1, .reusable = false}, SHIFT(806),
  [1527] = {.count = 1, .reusable = false}, SHIFT(807),
  [1529] = {.count = 1, .reusable = true}, SHIFT(808),
  [1531] = {.count = 1, .reusable = true}, SHIFT(809),
  [1533] = {.count = 1, .reusable = true}, SHIFT(810),
  [1535] = {.count = 1, .reusable = false}, SHIFT(811),
  [1537] = {.count = 1, .reusable = false}, SHIFT(810),
  [1539] = {.count = 1, .reusable = true}, SHIFT(813),
  [1541] = {.count = 1, .reusable = false}, SHIFT(815),
  [1543] = {.count = 1, .reusable = true}, SHIFT(815),
  [1545] = {.count = 1, .reusable = true}, SHIFT(814),
  [1547] = {.count = 1, .reusable = true}, SHIFT(816),
  [1549] = {.count = 1, .reusable = false}, SHIFT(818),
  [1551] = {.count = 1, .reusable = true}, SHIFT(818),
  [1553] = {.count = 1, .reusable = true}, SHIFT(817),
  [1555] = {.count = 1, .reusable = true}, SHIFT(819),
  [1557] = {.count = 1, .reusable = false}, SHIFT(821),
  [1559] = {.count = 1, .reusable = true}, SHIFT(821),
  [1561] = {.count = 1, .reusable = true}, SHIFT(820),
  [1563] = {.count = 1, .reusable = true}, SHIFT(822),
  [1565] = {.count = 1, .reusable = true}, SHIFT(823),
  [1567] = {.count = 1, .reusable = false}, SHIFT(823),
  [1569] = {.count = 1, .reusable = true}, SHIFT(826),
  [1571] = {.count = 1, .reusable = false}, SHIFT(826),
  [1573] = {.count = 1, .reusable = true}, SHIFT(829),
  [1575] = {.count = 1, .reusable = true}, SHIFT(830),
  [1577] = {.count = 1, .reusable = false}, SHIFT(830),
  [1579] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(109),
  [1582] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2),
  [1584] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2),
  [1586] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(110),
  [1589] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(111),
  [1592] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(112),
  [1595] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(113),
  [1598] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(114),
  [1601] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(115),
  [1604] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(116),
  [1607] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(117),
  [1610] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(118),
  [1613] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(113),
  [1616] = {.count = 1, .reusable = true}, SHIFT(833),
  [1618] = {.count = 1, .reusable = false}, SHIFT(835),
  [1620] = {.count = 1, .reusable = false}, SHIFT(836),
  [1622] = {.count = 1, .reusable = true}, SHIFT(837),
  [1624] = {.count = 1, .reusable = true}, SHIFT(838),
  [1626] = {.count = 1, .reusable = true}, SHIFT(839),
  [1628] = {.count = 1, .reusable = false}, SHIFT(840),
  [1630] = {.count = 1, .reusable = false}, SHIFT(839),
  [1632] = {.count = 1, .reusable = true}, SHIFT(842),
  [1634] = {.count = 1, .reusable = false}, SHIFT(844),
  [1636] = {.count = 1, .reusable = true}, SHIFT(844),
  [1638] = {.count = 1, .reusable = true}, SHIFT(843),
  [1640] = {.count = 1, .reusable = true}, SHIFT(845),
  [1642] = {.count = 1, .reusable = false}, SHIFT(847),
  [1644] = {.count = 1, .reusable = true}, SHIFT(847),
  [1646] = {.count = 1, .reusable = true}, SHIFT(846),
  [1648] = {.count = 1, .reusable = true}, SHIFT(848),
  [1650] = {.count = 1, .reusable = false}, SHIFT(850),
  [1652] = {.count = 1, .reusable = true}, SHIFT(850),
  [1654] = {.count = 1, .reusable = true}, SHIFT(849),
  [1656] = {.count = 1, .reusable = true}, SHIFT(851),
  [1658] = {.count = 1, .reusable = true}, SHIFT(852),
  [1660] = {.count = 1, .reusable = false}, SHIFT(852),
  [1662] = {.count = 1, .reusable = true}, SHIFT(855),
  [1664] = {.count = 1, .reusable = false}, SHIFT(855),
  [1666] = {.count = 1, .reusable = true}, SHIFT(858),
  [1668] = {.count = 1, .reusable = true}, SHIFT(859),
  [1670] = {.count = 1, .reusable = false}, SHIFT(859),
  [1672] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2),
  [1674] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2),
  [1676] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(121),
  [1679] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(122),
  [1682] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(123),
  [1685] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(124),
  [1688] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(125),
  [1691] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(126),
  [1694] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(127),
  [1697] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(128),
  [1700] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(129),
  [1703] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(124),
  [1706] = {.count = 1, .reusable = true}, SHIFT(862),
  [1708] = {.count = 1, .reusable = false}, SHIFT(864),
  [1710] = {.count = 1, .reusable = false}, SHIFT(865),
  [1712] = {.count = 1, .reusable = true}, SHIFT(866),
  [1714] = {.count = 1, .reusable = true}, SHIFT(867),
  [1716] = {.count = 1, .reusable = true}, SHIFT(868),
  [1718] = {.count = 1, .reusable = false}, SHIFT(869),
  [1720] = {.count = 1, .reusable = false}, SHIFT(868),
  [1722] = {.count = 1, .reusable = true}, SHIFT(871),
  [1724] = {.count = 1, .reusable = false}, SHIFT(873),
  [1726] = {.count = 1, .reusable = true}, SHIFT(873),
  [1728] = {.count = 1, .reusable = true}, SHIFT(872),
  [1730] = {.count = 1, .reusable = true}, SHIFT(874),
  [1732] = {.count = 1, .reusable = false}, SHIFT(876),
  [1734] = {.count = 1, .reusable = true}, SHIFT(876),
  [1736] = {.count = 1, .reusable = true}, SHIFT(875),
  [1738] = {.count = 1, .reusable = true}, SHIFT(877),
  [1740] = {.count = 1, .reusable = false}, SHIFT(879),
  [1742] = {.count = 1, .reusable = true}, SHIFT(879),
  [1744] = {.count = 1, .reusable = true}, SHIFT(878),
  [1746] = {.count = 1, .reusable = true}, SHIFT(880),
  [1748] = {.count = 1, .reusable = true}, SHIFT(881),
  [1750] = {.count = 1, .reusable = false}, SHIFT(881),
  [1752] = {.count = 1, .reusable = true}, SHIFT(884),
  [1754] = {.count = 1, .reusable = false}, SHIFT(884),
  [1756] = {.count = 1, .reusable = true}, SHIFT(887),
  [1758] = {.count = 1, .reusable = true}, SHIFT(888),
  [1760] = {.count = 1, .reusable = false}, SHIFT(888),
  [1762] = {.count = 1, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2),
  [1764] = {.count = 1, .reusable = false}, REDUCE(aux_sym_concatenation_repeat1, 2),
  [1766] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(140),
  [1769] = {.count = 1, .reusable = true}, REDUCE(sym_string, 3),
  [1771] = {.count = 1, .reusable = false}, REDUCE(sym_string, 3),
  [1773] = {.count = 1, .reusable = true}, SHIFT(891),
  [1775] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2),
  [1777] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 2),
  [1779] = {.count = 1, .reusable = true}, SHIFT(892),
  [1781] = {.count = 1, .reusable = true}, SHIFT(893),
  [1783] = {.count = 1, .reusable = true}, SHIFT(894),
  [1785] = {.count = 1, .reusable = false}, SHIFT(895),
  [1787] = {.count = 1, .reusable = false}, SHIFT(894),
  [1789] = {.count = 1, .reusable = true}, SHIFT(897),
  [1791] = {.count = 1, .reusable = false}, SHIFT(899),
  [1793] = {.count = 1, .reusable = true}, SHIFT(899),
  [1795] = {.count = 1, .reusable = true}, SHIFT(898),
  [1797] = {.count = 1, .reusable = true}, SHIFT(900),
  [1799] = {.count = 1, .reusable = false}, SHIFT(902),
  [1801] = {.count = 1, .reusable = true}, SHIFT(902),
  [1803] = {.count = 1, .reusable = true}, SHIFT(901),
  [1805] = {.count = 1, .reusable = true}, SHIFT(903),
  [1807] = {.count = 1, .reusable = false}, SHIFT(905),
  [1809] = {.count = 1, .reusable = true}, SHIFT(905),
  [1811] = {.count = 1, .reusable = true}, SHIFT(904),
  [1813] = {.count = 1, .reusable = true}, SHIFT(906),
  [1815] = {.count = 1, .reusable = true}, SHIFT(907),
  [1817] = {.count = 1, .reusable = false}, SHIFT(907),
  [1819] = {.count = 1, .reusable = true}, SHIFT(910),
  [1821] = {.count = 1, .reusable = false}, SHIFT(910),
  [1823] = {.count = 1, .reusable = false}, SHIFT(913),
  [1825] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(914),
  [1828] = {.count = 2, .reusable = true}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(144),
  [1831] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(145),
  [1834] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(146),
  [1837] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(147),
  [1840] = {.count = 1, .reusable = true}, SHIFT(915),
  [1842] = {.count = 1, .reusable = true}, SHIFT(916),
  [1844] = {.count = 1, .reusable = true}, SHIFT(918),
  [1846] = {.count = 1, .reusable = false}, SHIFT(919),
  [1848] = {.count = 1, .reusable = true}, SHIFT(920),
  [1850] = {.count = 1, .reusable = false}, SHIFT(921),
  [1852] = {.count = 1, .reusable = true}, SHIFT(922),
  [1854] = {.count = 1, .reusable = true}, SHIFT(923),
  [1856] = {.count = 1, .reusable = true}, SHIFT(924),
  [1858] = {.count = 1, .reusable = true}, SHIFT(925),
  [1860] = {.count = 1, .reusable = true}, SHIFT(926),
  [1862] = {.count = 1, .reusable = true}, SHIFT(928),
  [1864] = {.count = 1, .reusable = true}, SHIFT(929),
  [1866] = {.count = 1, .reusable = false}, SHIFT(931),
  [1868] = {.count = 1, .reusable = true}, SHIFT(931),
  [1870] = {.count = 1, .reusable = true}, SHIFT(930),
  [1872] = {.count = 1, .reusable = true}, SHIFT(932),
  [1874] = {.count = 1, .reusable = false}, SHIFT(934),
  [1876] = {.count = 1, .reusable = true}, SHIFT(934),
  [1878] = {.count = 1, .reusable = true}, SHIFT(933),
  [1880] = {.count = 1, .reusable = false}, SHIFT(936),
  [1882] = {.count = 1, .reusable = true}, SHIFT(936),
  [1884] = {.count = 1, .reusable = true}, SHIFT(935),
  [1886] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 3, .alias_sequence_id = 4),
  [1888] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 3, .alias_sequence_id = 4),
  [1890] = {.count = 1, .reusable = true}, SHIFT(937),
  [1892] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 1, .alias_sequence_id = 1),
  [1894] = {.count = 1, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 1, .alias_sequence_id = 1),
  [1896] = {.count = 1, .reusable = false}, SHIFT(939),
  [1898] = {.count = 1, .reusable = false}, SHIFT(940),
  [1900] = {.count = 1, .reusable = true}, SHIFT(942),
  [1902] = {.count = 1, .reusable = true}, SHIFT(943),
  [1904] = {.count = 1, .reusable = false}, SHIFT(944),
  [1906] = {.count = 1, .reusable = false}, SHIFT(942),
  [1908] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 1),
  [1910] = {.count = 1, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 1),
  [1912] = {.count = 1, .reusable = true}, SHIFT(945),
  [1914] = {.count = 1, .reusable = true}, SHIFT(946),
  [1916] = {.count = 1, .reusable = true}, SHIFT(947),
  [1918] = {.count = 1, .reusable = false}, SHIFT(948),
  [1920] = {.count = 1, .reusable = false}, SHIFT(947),
  [1922] = {.count = 1, .reusable = true}, SHIFT(950),
  [1924] = {.count = 1, .reusable = true}, SHIFT(960),
  [1926] = {.count = 1, .reusable = false}, SHIFT(961),
  [1928] = {.count = 1, .reusable = true}, SHIFT(961),
  [1930] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 3, .alias_sequence_id = 5),
  [1932] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 3, .alias_sequence_id = 5),
  [1934] = {.count = 1, .reusable = true}, SHIFT(962),
  [1936] = {.count = 1, .reusable = true}, SHIFT(963),
  [1938] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 3),
  [1940] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 3),
  [1942] = {.count = 1, .reusable = true}, SHIFT(964),
  [1944] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 3),
  [1946] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 3),
  [1948] = {.count = 1, .reusable = true}, SHIFT(965),
  [1950] = {.count = 1, .reusable = true}, SHIFT(966),
  [1952] = {.count = 1, .reusable = false}, SHIFT(966),
  [1954] = {.count = 1, .reusable = true}, SHIFT(968),
  [1956] = {.count = 1, .reusable = true}, SHIFT(970),
  [1958] = {.count = 1, .reusable = true}, SHIFT(971),
  [1960] = {.count = 1, .reusable = false}, SHIFT(975),
  [1962] = {.count = 1, .reusable = true}, SHIFT(975),
  [1964] = {.count = 1, .reusable = true}, SHIFT(976),
  [1966] = {.count = 1, .reusable = true}, SHIFT(977),
  [1968] = {.count = 1, .reusable = true}, SHIFT(978),
  [1970] = {.count = 1, .reusable = true}, SHIFT(979),
  [1972] = {.count = 1, .reusable = true}, SHIFT(982),
  [1974] = {.count = 1, .reusable = false}, SHIFT(982),
  [1976] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 3),
  [1978] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 3),
  [1980] = {.count = 1, .reusable = true}, SHIFT(984),
  [1982] = {.count = 1, .reusable = true}, SHIFT(985),
  [1984] = {.count = 1, .reusable = false}, SHIFT(985),
  [1986] = {.count = 1, .reusable = true}, REDUCE(sym_pipeline, 3),
  [1988] = {.count = 1, .reusable = false}, REDUCE(sym_pipeline, 3),
  [1990] = {.count = 1, .reusable = true}, REDUCE(sym_list, 3),
  [1992] = {.count = 1, .reusable = false}, REDUCE(sym_list, 3),
  [1994] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 2),
  [1996] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 2),
  [1998] = {.count = 1, .reusable = true}, SHIFT(987),
  [2000] = {.count = 1, .reusable = false}, SHIFT(988),
  [2002] = {.count = 1, .reusable = false}, SHIFT(987),
  [2004] = {.count = 1, .reusable = true}, SHIFT(989),
  [2006] = {.count = 1, .reusable = true}, SHIFT(990),
  [2008] = {.count = 1, .reusable = true}, SHIFT(991),
  [2010] = {.count = 1, .reusable = false}, SHIFT(992),
  [2012] = {.count = 1, .reusable = false}, SHIFT(991),
  [2014] = {.count = 1, .reusable = true}, SHIFT(995),
  [2016] = {.count = 1, .reusable = true}, SHIFT(994),
  [2018] = {.count = 1, .reusable = true}, SHIFT(996),
  [2020] = {.count = 1, .reusable = true}, SHIFT(997),
  [2022] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2, .alias_sequence_id = 3),
  [2024] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2, .alias_sequence_id = 3),
  [2026] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2),
  [2028] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2),
  [2030] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_redirect, 2),
  [2032] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_redirect, 2),
  [2034] = {.count = 1, .reusable = true}, REDUCE(sym_herestring_redirect, 2, .alias_sequence_id = 3),
  [2036] = {.count = 1, .reusable = false}, REDUCE(sym_herestring_redirect, 2, .alias_sequence_id = 3),
  [2038] = {.count = 1, .reusable = true}, REDUCE(sym_herestring_redirect, 2),
  [2040] = {.count = 1, .reusable = false}, REDUCE(sym_herestring_redirect, 2),
  [2042] = {.count = 1, .reusable = true}, REDUCE(sym_command, 3),
  [2044] = {.count = 1, .reusable = false}, REDUCE(sym_command, 3),
  [2046] = {.count = 1, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2),
  [2048] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(182),
  [2051] = {.count = 1, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2),
  [2053] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(184),
  [2056] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(184),
  [2059] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(185),
  [2062] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(185),
  [2065] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(186),
  [2068] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(183),
  [2071] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(187),
  [2074] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(17),
  [2077] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(18),
  [2080] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(188),
  [2083] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(20),
  [2086] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(21),
  [2089] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(22),
  [2092] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(23),
  [2095] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(188),
  [2098] = {.count = 1, .reusable = true}, REDUCE(sym_program, 3),
  [2100] = {.count = 1, .reusable = true}, SHIFT(1001),
  [2102] = {.count = 1, .reusable = false}, SHIFT(1001),
  [2104] = {.count = 1, .reusable = true}, SHIFT(1003),
  [2106] = {.count = 1, .reusable = false}, SHIFT(732),
  [2108] = {.count = 1, .reusable = true}, SHIFT(1004),
  [2110] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 4, .alias_sequence_id = 6),
  [2112] = {.count = 1, .reusable = true}, SHIFT(1006),
  [2114] = {.count = 1, .reusable = true}, SHIFT(1007),
  [2116] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 4),
  [2118] = {.count = 1, .reusable = true}, REDUCE(sym_array, 2),
  [2120] = {.count = 1, .reusable = false}, REDUCE(sym_array, 2),
  [2122] = {.count = 1, .reusable = true}, SHIFT(1008),
  [2124] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 1, .alias_sequence_id = 1),
  [2126] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 1, .alias_sequence_id = 1),
  [2128] = {.count = 1, .reusable = false}, SHIFT(1010),
  [2130] = {.count = 1, .reusable = false}, SHIFT(1011),
  [2132] = {.count = 1, .reusable = true}, SHIFT(1013),
  [2134] = {.count = 1, .reusable = true}, SHIFT(1014),
  [2136] = {.count = 1, .reusable = false}, SHIFT(1015),
  [2138] = {.count = 1, .reusable = false}, SHIFT(1013),
  [2140] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 1),
  [2142] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 1),
  [2144] = {.count = 1, .reusable = true}, SHIFT(1016),
  [2146] = {.count = 1, .reusable = true}, SHIFT(1017),
  [2148] = {.count = 1, .reusable = true}, SHIFT(1018),
  [2150] = {.count = 1, .reusable = false}, SHIFT(1019),
  [2152] = {.count = 1, .reusable = false}, SHIFT(1018),
  [2154] = {.count = 1, .reusable = true}, SHIFT(1030),
  [2156] = {.count = 1, .reusable = true}, SHIFT(1032),
  [2158] = {.count = 1, .reusable = false}, SHIFT(1034),
  [2160] = {.count = 1, .reusable = false}, SHIFT(1035),
  [2162] = {.count = 1, .reusable = true}, SHIFT(1036),
  [2164] = {.count = 1, .reusable = true}, SHIFT(1037),
  [2166] = {.count = 1, .reusable = true}, SHIFT(1038),
  [2168] = {.count = 1, .reusable = false}, SHIFT(1039),
  [2170] = {.count = 1, .reusable = false}, SHIFT(1038),
  [2172] = {.count = 1, .reusable = true}, SHIFT(1041),
  [2174] = {.count = 1, .reusable = false}, SHIFT(1043),
  [2176] = {.count = 1, .reusable = true}, SHIFT(1043),
  [2178] = {.count = 1, .reusable = true}, SHIFT(1042),
  [2180] = {.count = 1, .reusable = true}, SHIFT(1044),
  [2182] = {.count = 1, .reusable = false}, SHIFT(1046),
  [2184] = {.count = 1, .reusable = true}, SHIFT(1046),
  [2186] = {.count = 1, .reusable = true}, SHIFT(1045),
  [2188] = {.count = 1, .reusable = true}, SHIFT(1047),
  [2190] = {.count = 1, .reusable = false}, SHIFT(1049),
  [2192] = {.count = 1, .reusable = true}, SHIFT(1049),
  [2194] = {.count = 1, .reusable = true}, SHIFT(1048),
  [2196] = {.count = 1, .reusable = true}, SHIFT(1050),
  [2198] = {.count = 1, .reusable = true}, SHIFT(1051),
  [2200] = {.count = 1, .reusable = false}, SHIFT(1051),
  [2202] = {.count = 1, .reusable = true}, SHIFT(1054),
  [2204] = {.count = 1, .reusable = false}, SHIFT(1054),
  [2206] = {.count = 1, .reusable = true}, SHIFT(1057),
  [2208] = {.count = 1, .reusable = true}, SHIFT(1058),
  [2210] = {.count = 1, .reusable = false}, SHIFT(1058),
  [2212] = {.count = 1, .reusable = true}, SHIFT(1061),
  [2214] = {.count = 1, .reusable = true}, SHIFT(1062),
  [2216] = {.count = 1, .reusable = false}, SHIFT(1063),
  [2218] = {.count = 1, .reusable = true}, SHIFT(1064),
  [2220] = {.count = 1, .reusable = true}, SHIFT(1065),
  [2222] = {.count = 1, .reusable = false}, SHIFT(1066),
  [2224] = {.count = 1, .reusable = true}, SHIFT(1067),
  [2226] = {.count = 1, .reusable = true}, SHIFT(1068),
  [2228] = {.count = 1, .reusable = true}, SHIFT(1069),
  [2230] = {.count = 1, .reusable = true}, SHIFT(1070),
  [2232] = {.count = 1, .reusable = true}, SHIFT(1071),
  [2234] = {.count = 1, .reusable = false}, SHIFT(1067),
  [2236] = {.count = 1, .reusable = true}, SHIFT(1063),
  [2238] = {.count = 1, .reusable = true}, SHIFT(1073),
  [2240] = {.count = 1, .reusable = false}, SHIFT(1073),
  [2242] = {.count = 1, .reusable = true}, SHIFT(1074),
  [2244] = {.count = 1, .reusable = false}, REDUCE(sym_unary_expression, 2),
  [2246] = {.count = 1, .reusable = true}, SHIFT(1075),
  [2248] = {.count = 1, .reusable = false}, SHIFT(1077),
  [2250] = {.count = 1, .reusable = false}, SHIFT(1078),
  [2252] = {.count = 1, .reusable = true}, SHIFT(1079),
  [2254] = {.count = 1, .reusable = true}, SHIFT(1080),
  [2256] = {.count = 1, .reusable = true}, SHIFT(1081),
  [2258] = {.count = 1, .reusable = false}, SHIFT(1082),
  [2260] = {.count = 1, .reusable = false}, SHIFT(1081),
  [2262] = {.count = 1, .reusable = true}, SHIFT(1084),
  [2264] = {.count = 1, .reusable = false}, SHIFT(1086),
  [2266] = {.count = 1, .reusable = true}, SHIFT(1086),
  [2268] = {.count = 1, .reusable = true}, SHIFT(1085),
  [2270] = {.count = 1, .reusable = true}, SHIFT(1087),
  [2272] = {.count = 1, .reusable = false}, SHIFT(1089),
  [2274] = {.count = 1, .reusable = true}, SHIFT(1089),
  [2276] = {.count = 1, .reusable = true}, SHIFT(1088),
  [2278] = {.count = 1, .reusable = true}, SHIFT(1090),
  [2280] = {.count = 1, .reusable = false}, SHIFT(1092),
  [2282] = {.count = 1, .reusable = true}, SHIFT(1092),
  [2284] = {.count = 1, .reusable = true}, SHIFT(1091),
  [2286] = {.count = 1, .reusable = true}, SHIFT(1093),
  [2288] = {.count = 1, .reusable = true}, SHIFT(1094),
  [2290] = {.count = 1, .reusable = false}, SHIFT(1094),
  [2292] = {.count = 1, .reusable = true}, SHIFT(1097),
  [2294] = {.count = 1, .reusable = false}, SHIFT(1097),
  [2296] = {.count = 1, .reusable = true}, SHIFT(1100),
  [2298] = {.count = 1, .reusable = true}, SHIFT(1101),
  [2300] = {.count = 1, .reusable = false}, SHIFT(1101),
  [2302] = {.count = 1, .reusable = false}, SHIFT(214),
  [2304] = {.count = 1, .reusable = false}, SHIFT(216),
  [2306] = {.count = 1, .reusable = false}, SHIFT(217),
  [2308] = {.count = 1, .reusable = false}, SHIFT(220),
  [2310] = {.count = 1, .reusable = false}, SHIFT(221),
  [2312] = {.count = 1, .reusable = false}, SHIFT(222),
  [2314] = {.count = 1, .reusable = false}, SHIFT(223),
  [2316] = {.count = 1, .reusable = false}, SHIFT(1106),
  [2318] = {.count = 1, .reusable = true}, SHIFT(1107),
  [2320] = {.count = 1, .reusable = false}, SHIFT(1109),
  [2322] = {.count = 1, .reusable = false}, SHIFT(1110),
  [2324] = {.count = 1, .reusable = true}, SHIFT(1112),
  [2326] = {.count = 1, .reusable = true}, SHIFT(1113),
  [2328] = {.count = 1, .reusable = false}, SHIFT(1114),
  [2330] = {.count = 1, .reusable = false}, SHIFT(1112),
  [2332] = {.count = 1, .reusable = true}, SHIFT(1115),
  [2334] = {.count = 1, .reusable = true}, SHIFT(1116),
  [2336] = {.count = 1, .reusable = true}, SHIFT(1117),
  [2338] = {.count = 1, .reusable = false}, SHIFT(1118),
  [2340] = {.count = 1, .reusable = false}, SHIFT(1117),
  [2342] = {.count = 1, .reusable = true}, SHIFT(1129),
  [2344] = {.count = 1, .reusable = false}, SHIFT(609),
  [2346] = {.count = 1, .reusable = false}, SHIFT(1129),
  [2348] = {.count = 1, .reusable = false}, SHIFT(1131),
  [2350] = {.count = 1, .reusable = true}, REDUCE(sym_for_statement, 4, .alias_sequence_id = 5),
  [2352] = {.count = 1, .reusable = false}, REDUCE(sym_for_statement, 4, .alias_sequence_id = 5),
  [2354] = {.count = 1, .reusable = true}, SHIFT(1135),
  [2356] = {.count = 1, .reusable = true}, SHIFT(1136),
  [2358] = {.count = 1, .reusable = false}, SHIFT(1137),
  [2360] = {.count = 1, .reusable = true}, SHIFT(1137),
  [2362] = {.count = 1, .reusable = true}, SHIFT(1138),
  [2364] = {.count = 1, .reusable = false}, SHIFT(1139),
  [2366] = {.count = 1, .reusable = true}, SHIFT(1139),
  [2368] = {.count = 1, .reusable = true}, SHIFT(1140),
  [2370] = {.count = 1, .reusable = true}, SHIFT(1142),
  [2372] = {.count = 1, .reusable = true}, SHIFT(1143),
  [2374] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(232),
  [2377] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(233),
  [2380] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(234),
  [2383] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(234),
  [2386] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(237),
  [2389] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(238),
  [2392] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(238),
  [2395] = {.count = 1, .reusable = true}, REDUCE(sym_do_group, 2),
  [2397] = {.count = 1, .reusable = false}, REDUCE(sym_do_group, 2),
  [2399] = {.count = 1, .reusable = false}, SHIFT(1147),
  [2401] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 4),
  [2403] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 4),
  [2405] = {.count = 1, .reusable = true}, SHIFT(1150),
  [2407] = {.count = 1, .reusable = true}, SHIFT(1151),
  [2409] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(247),
  [2412] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(249),
  [2415] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(249),
  [2418] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(250),
  [2421] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(248),
  [2424] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(251),
  [2427] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(252),
  [2430] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(252),
  [2433] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 4),
  [2435] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 4),
  [2437] = {.count = 1, .reusable = false}, REDUCE(sym_else_clause, 1),
  [2439] = {.count = 1, .reusable = true}, REDUCE(aux_sym_if_statement_repeat1, 1),
  [2441] = {.count = 1, .reusable = true}, SHIFT(1156),
  [2443] = {.count = 1, .reusable = false}, SHIFT(1156),
  [2445] = {.count = 1, .reusable = true}, SHIFT(648),
  [2447] = {.count = 1, .reusable = true}, SHIFT(649),
  [2449] = {.count = 1, .reusable = false}, SHIFT(1161),
  [2451] = {.count = 1, .reusable = true}, SHIFT(1162),
  [2453] = {.count = 1, .reusable = true}, SHIFT(1163),
  [2455] = {.count = 1, .reusable = false}, SHIFT(1163),
  [2457] = {.count = 1, .reusable = true}, SHIFT(1167),
  [2459] = {.count = 1, .reusable = false}, SHIFT(1167),
  [2461] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(257),
  [2464] = {.count = 1, .reusable = false}, SHIFT(1168),
  [2466] = {.count = 1, .reusable = false}, SHIFT(1169),
  [2468] = {.count = 1, .reusable = true}, SHIFT(1172),
  [2470] = {.count = 1, .reusable = false}, SHIFT(1172),
  [2472] = {.count = 1, .reusable = true}, SHIFT(1173),
  [2474] = {.count = 1, .reusable = false}, SHIFT(1174),
  [2476] = {.count = 1, .reusable = true}, SHIFT(1175),
  [2478] = {.count = 1, .reusable = true}, SHIFT(1177),
  [2480] = {.count = 1, .reusable = true}, SHIFT(1178),
  [2482] = {.count = 1, .reusable = false}, SHIFT(1180),
  [2484] = {.count = 1, .reusable = true}, SHIFT(1180),
  [2486] = {.count = 1, .reusable = true}, SHIFT(1179),
  [2488] = {.count = 1, .reusable = true}, SHIFT(1181),
  [2490] = {.count = 1, .reusable = false}, SHIFT(1183),
  [2492] = {.count = 1, .reusable = true}, SHIFT(1183),
  [2494] = {.count = 1, .reusable = true}, SHIFT(1182),
  [2496] = {.count = 1, .reusable = false}, SHIFT(1185),
  [2498] = {.count = 1, .reusable = true}, SHIFT(1185),
  [2500] = {.count = 1, .reusable = true}, SHIFT(1184),
  [2502] = {.count = 1, .reusable = true}, SHIFT(1186),
  [2504] = {.count = 1, .reusable = true}, SHIFT(1187),
  [2506] = {.count = 1, .reusable = true}, SHIFT(1188),
  [2508] = {.count = 1, .reusable = true}, SHIFT(1189),
  [2510] = {.count = 1, .reusable = true}, SHIFT(1190),
  [2512] = {.count = 1, .reusable = true}, SHIFT(1191),
  [2514] = {.count = 1, .reusable = true}, SHIFT(1192),
  [2516] = {.count = 1, .reusable = false}, SHIFT(1192),
  [2518] = {.count = 1, .reusable = true}, SHIFT(1193),
  [2520] = {.count = 1, .reusable = false}, SHIFT(1193),
  [2522] = {.count = 1, .reusable = true}, SHIFT(1194),
  [2524] = {.count = 1, .reusable = true}, SHIFT(1195),
  [2526] = {.count = 1, .reusable = false}, SHIFT(1195),
  [2528] = {.count = 1, .reusable = true}, REDUCE(sym_compound_statement, 2),
  [2530] = {.count = 1, .reusable = false}, REDUCE(sym_compound_statement, 2),
  [2532] = {.count = 1, .reusable = true}, SHIFT(1197),
  [2534] = {.count = 1, .reusable = false}, SHIFT(1197),
  [2536] = {.count = 1, .reusable = true}, SHIFT(1198),
  [2538] = {.count = 1, .reusable = false}, SHIFT(1200),
  [2540] = {.count = 1, .reusable = true}, SHIFT(1200),
  [2542] = {.count = 1, .reusable = true}, SHIFT(1201),
  [2544] = {.count = 1, .reusable = true}, SHIFT(1202),
  [2546] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 4),
  [2548] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 4),
  [2550] = {.count = 1, .reusable = true}, SHIFT(1206),
  [2552] = {.count = 1, .reusable = true}, SHIFT(1207),
  [2554] = {.count = 1, .reusable = false}, SHIFT(1208),
  [2556] = {.count = 1, .reusable = true}, SHIFT(1208),
  [2558] = {.count = 1, .reusable = true}, SHIFT(1209),
  [2560] = {.count = 1, .reusable = false}, SHIFT(1210),
  [2562] = {.count = 1, .reusable = true}, SHIFT(1210),
  [2564] = {.count = 1, .reusable = true}, SHIFT(1211),
  [2566] = {.count = 1, .reusable = true}, SHIFT(1213),
  [2568] = {.count = 1, .reusable = true}, SHIFT(1214),
  [2570] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(291),
  [2573] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(292),
  [2576] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(293),
  [2579] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(293),
  [2582] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(296),
  [2585] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(297),
  [2588] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(297),
  [2591] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 4),
  [2593] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 4),
  [2595] = {.count = 1, .reusable = true}, SHIFT(1218),
  [2597] = {.count = 1, .reusable = true}, SHIFT(1219),
  [2599] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(305),
  [2602] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(307),
  [2605] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(307),
  [2608] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(308),
  [2611] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(306),
  [2614] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(309),
  [2617] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(310),
  [2620] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(310),
  [2623] = {.count = 1, .reusable = true}, SHIFT(1221),
  [2625] = {.count = 1, .reusable = true}, SHIFT(1223),
  [2627] = {.count = 1, .reusable = true}, REDUCE(sym_parenthesized_expression, 3),
  [2629] = {.count = 1, .reusable = false}, REDUCE(sym_parenthesized_expression, 3),
  [2631] = {.count = 1, .reusable = false}, SHIFT(318),
  [2633] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(322),
  [2636] = {.count = 1, .reusable = false}, SHIFT(1226),
  [2638] = {.count = 1, .reusable = true}, SHIFT(1227),
  [2640] = {.count = 1, .reusable = false}, SHIFT(1228),
  [2642] = {.count = 1, .reusable = true}, SHIFT(1229),
  [2644] = {.count = 1, .reusable = true}, SHIFT(1231),
  [2646] = {.count = 1, .reusable = true}, SHIFT(1232),
  [2648] = {.count = 1, .reusable = false}, SHIFT(1234),
  [2650] = {.count = 1, .reusable = true}, SHIFT(1234),
  [2652] = {.count = 1, .reusable = true}, SHIFT(1233),
  [2654] = {.count = 1, .reusable = true}, SHIFT(1235),
  [2656] = {.count = 1, .reusable = false}, SHIFT(1237),
  [2658] = {.count = 1, .reusable = true}, SHIFT(1237),
  [2660] = {.count = 1, .reusable = true}, SHIFT(1236),
  [2662] = {.count = 1, .reusable = false}, SHIFT(1239),
  [2664] = {.count = 1, .reusable = true}, SHIFT(1239),
  [2666] = {.count = 1, .reusable = true}, SHIFT(1238),
  [2668] = {.count = 1, .reusable = true}, SHIFT(1240),
  [2670] = {.count = 1, .reusable = true}, SHIFT(1241),
  [2672] = {.count = 1, .reusable = true}, SHIFT(1242),
  [2674] = {.count = 1, .reusable = true}, SHIFT(1243),
  [2676] = {.count = 1, .reusable = true}, SHIFT(1244),
  [2678] = {.count = 1, .reusable = true}, SHIFT(1245),
  [2680] = {.count = 1, .reusable = true}, SHIFT(1246),
  [2682] = {.count = 1, .reusable = false}, SHIFT(1246),
  [2684] = {.count = 1, .reusable = true}, SHIFT(1247),
  [2686] = {.count = 1, .reusable = false}, SHIFT(1247),
  [2688] = {.count = 1, .reusable = true}, SHIFT(1248),
  [2690] = {.count = 1, .reusable = true}, SHIFT(1249),
  [2692] = {.count = 1, .reusable = false}, SHIFT(1249),
  [2694] = {.count = 1, .reusable = true}, REDUCE(sym_binary_expression, 3),
  [2696] = {.count = 1, .reusable = false}, REDUCE(sym_binary_expression, 3),
  [2698] = {.count = 1, .reusable = false}, SHIFT(1250),
  [2700] = {.count = 1, .reusable = true}, SHIFT(1250),
  [2702] = {.count = 1, .reusable = true}, SHIFT(1251),
  [2704] = {.count = 1, .reusable = true}, SHIFT(1252),
  [2706] = {.count = 1, .reusable = false}, SHIFT(1253),
  [2708] = {.count = 1, .reusable = true}, SHIFT(1254),
  [2710] = {.count = 1, .reusable = true}, SHIFT(1255),
  [2712] = {.count = 1, .reusable = true}, SHIFT(1256),
  [2714] = {.count = 1, .reusable = true}, SHIFT(1257),
  [2716] = {.count = 1, .reusable = true}, SHIFT(1258),
  [2718] = {.count = 1, .reusable = true}, SHIFT(1260),
  [2720] = {.count = 1, .reusable = true}, SHIFT(1261),
  [2722] = {.count = 1, .reusable = true}, SHIFT(1262),
  [2724] = {.count = 1, .reusable = true}, REDUCE(sym_test_command, 4),
  [2726] = {.count = 1, .reusable = false}, REDUCE(sym_test_command, 4),
  [2728] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(349),
  [2731] = {.count = 1, .reusable = false}, SHIFT(1265),
  [2733] = {.count = 1, .reusable = true}, SHIFT(1266),
  [2735] = {.count = 1, .reusable = false}, SHIFT(1267),
  [2737] = {.count = 1, .reusable = true}, SHIFT(1268),
  [2739] = {.count = 1, .reusable = true}, SHIFT(1270),
  [2741] = {.count = 1, .reusable = true}, SHIFT(1271),
  [2743] = {.count = 1, .reusable = false}, SHIFT(1273),
  [2745] = {.count = 1, .reusable = true}, SHIFT(1273),
  [2747] = {.count = 1, .reusable = true}, SHIFT(1272),
  [2749] = {.count = 1, .reusable = true}, SHIFT(1274),
  [2751] = {.count = 1, .reusable = false}, SHIFT(1276),
  [2753] = {.count = 1, .reusable = true}, SHIFT(1276),
  [2755] = {.count = 1, .reusable = true}, SHIFT(1275),
  [2757] = {.count = 1, .reusable = false}, SHIFT(1278),
  [2759] = {.count = 1, .reusable = true}, SHIFT(1278),
  [2761] = {.count = 1, .reusable = true}, SHIFT(1277),
  [2763] = {.count = 1, .reusable = true}, SHIFT(1279),
  [2765] = {.count = 1, .reusable = true}, SHIFT(1280),
  [2767] = {.count = 1, .reusable = true}, SHIFT(1281),
  [2769] = {.count = 1, .reusable = true}, SHIFT(1282),
  [2771] = {.count = 1, .reusable = true}, SHIFT(1283),
  [2773] = {.count = 1, .reusable = true}, SHIFT(1284),
  [2775] = {.count = 1, .reusable = true}, SHIFT(1285),
  [2777] = {.count = 1, .reusable = false}, SHIFT(1285),
  [2779] = {.count = 1, .reusable = true}, SHIFT(1286),
  [2781] = {.count = 1, .reusable = false}, SHIFT(1286),
  [2783] = {.count = 1, .reusable = true}, SHIFT(1287),
  [2785] = {.count = 1, .reusable = true}, SHIFT(1288),
  [2787] = {.count = 1, .reusable = false}, SHIFT(1288),
  [2789] = {.count = 1, .reusable = true}, SHIFT(1289),
  [2791] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(374),
  [2794] = {.count = 1, .reusable = false}, SHIFT(1291),
  [2796] = {.count = 1, .reusable = true}, SHIFT(1292),
  [2798] = {.count = 1, .reusable = false}, SHIFT(1293),
  [2800] = {.count = 1, .reusable = true}, SHIFT(1294),
  [2802] = {.count = 1, .reusable = true}, SHIFT(1296),
  [2804] = {.count = 1, .reusable = true}, SHIFT(1297),
  [2806] = {.count = 1, .reusable = false}, SHIFT(1299),
  [2808] = {.count = 1, .reusable = true}, SHIFT(1299),
  [2810] = {.count = 1, .reusable = true}, SHIFT(1298),
  [2812] = {.count = 1, .reusable = true}, SHIFT(1300),
  [2814] = {.count = 1, .reusable = false}, SHIFT(1302),
  [2816] = {.count = 1, .reusable = true}, SHIFT(1302),
  [2818] = {.count = 1, .reusable = true}, SHIFT(1301),
  [2820] = {.count = 1, .reusable = false}, SHIFT(1304),
  [2822] = {.count = 1, .reusable = true}, SHIFT(1304),
  [2824] = {.count = 1, .reusable = true}, SHIFT(1303),
  [2826] = {.count = 1, .reusable = true}, SHIFT(1305),
  [2828] = {.count = 1, .reusable = true}, SHIFT(1306),
  [2830] = {.count = 1, .reusable = true}, SHIFT(1307),
  [2832] = {.count = 1, .reusable = true}, SHIFT(1308),
  [2834] = {.count = 1, .reusable = true}, SHIFT(1309),
  [2836] = {.count = 1, .reusable = true}, SHIFT(1310),
  [2838] = {.count = 1, .reusable = true}, SHIFT(1311),
  [2840] = {.count = 1, .reusable = false}, SHIFT(1311),
  [2842] = {.count = 1, .reusable = true}, SHIFT(1312),
  [2844] = {.count = 1, .reusable = false}, SHIFT(1312),
  [2846] = {.count = 1, .reusable = true}, SHIFT(1313),
  [2848] = {.count = 1, .reusable = true}, SHIFT(1314),
  [2850] = {.count = 1, .reusable = false}, SHIFT(1314),
  [2852] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(397),
  [2855] = {.count = 1, .reusable = false}, SHIFT(1315),
  [2857] = {.count = 1, .reusable = true}, SHIFT(1316),
  [2859] = {.count = 1, .reusable = false}, SHIFT(1317),
  [2861] = {.count = 1, .reusable = true}, SHIFT(1318),
  [2863] = {.count = 1, .reusable = true}, SHIFT(1320),
  [2865] = {.count = 1, .reusable = true}, SHIFT(1321),
  [2867] = {.count = 1, .reusable = false}, SHIFT(1323),
  [2869] = {.count = 1, .reusable = true}, SHIFT(1323),
  [2871] = {.count = 1, .reusable = true}, SHIFT(1322),
  [2873] = {.count = 1, .reusable = true}, SHIFT(1324),
  [2875] = {.count = 1, .reusable = false}, SHIFT(1326),
  [2877] = {.count = 1, .reusable = true}, SHIFT(1326),
  [2879] = {.count = 1, .reusable = true}, SHIFT(1325),
  [2881] = {.count = 1, .reusable = false}, SHIFT(1328),
  [2883] = {.count = 1, .reusable = true}, SHIFT(1328),
  [2885] = {.count = 1, .reusable = true}, SHIFT(1327),
  [2887] = {.count = 1, .reusable = true}, SHIFT(1329),
  [2889] = {.count = 1, .reusable = true}, SHIFT(1330),
  [2891] = {.count = 1, .reusable = true}, SHIFT(1331),
  [2893] = {.count = 1, .reusable = true}, SHIFT(1332),
  [2895] = {.count = 1, .reusable = true}, SHIFT(1333),
  [2897] = {.count = 1, .reusable = true}, SHIFT(1334),
  [2899] = {.count = 1, .reusable = true}, SHIFT(1335),
  [2901] = {.count = 1, .reusable = false}, SHIFT(1335),
  [2903] = {.count = 1, .reusable = true}, SHIFT(1336),
  [2905] = {.count = 1, .reusable = false}, SHIFT(1336),
  [2907] = {.count = 1, .reusable = true}, SHIFT(1337),
  [2909] = {.count = 1, .reusable = true}, SHIFT(1338),
  [2911] = {.count = 1, .reusable = false}, SHIFT(1338),
  [2913] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(420),
  [2916] = {.count = 1, .reusable = false}, SHIFT(1339),
  [2918] = {.count = 1, .reusable = true}, SHIFT(1340),
  [2920] = {.count = 1, .reusable = false}, SHIFT(1341),
  [2922] = {.count = 1, .reusable = true}, SHIFT(1342),
  [2924] = {.count = 1, .reusable = true}, SHIFT(1344),
  [2926] = {.count = 1, .reusable = true}, SHIFT(1345),
  [2928] = {.count = 1, .reusable = false}, SHIFT(1347),
  [2930] = {.count = 1, .reusable = true}, SHIFT(1347),
  [2932] = {.count = 1, .reusable = true}, SHIFT(1346),
  [2934] = {.count = 1, .reusable = true}, SHIFT(1348),
  [2936] = {.count = 1, .reusable = false}, SHIFT(1350),
  [2938] = {.count = 1, .reusable = true}, SHIFT(1350),
  [2940] = {.count = 1, .reusable = true}, SHIFT(1349),
  [2942] = {.count = 1, .reusable = false}, SHIFT(1352),
  [2944] = {.count = 1, .reusable = true}, SHIFT(1352),
  [2946] = {.count = 1, .reusable = true}, SHIFT(1351),
  [2948] = {.count = 1, .reusable = true}, SHIFT(1353),
  [2950] = {.count = 1, .reusable = true}, SHIFT(1354),
  [2952] = {.count = 1, .reusable = true}, SHIFT(1355),
  [2954] = {.count = 1, .reusable = true}, SHIFT(1356),
  [2956] = {.count = 1, .reusable = true}, SHIFT(1357),
  [2958] = {.count = 1, .reusable = true}, SHIFT(1358),
  [2960] = {.count = 1, .reusable = true}, SHIFT(1359),
  [2962] = {.count = 1, .reusable = false}, SHIFT(1359),
  [2964] = {.count = 1, .reusable = true}, SHIFT(1360),
  [2966] = {.count = 1, .reusable = false}, SHIFT(1360),
  [2968] = {.count = 1, .reusable = true}, SHIFT(1361),
  [2970] = {.count = 1, .reusable = true}, SHIFT(1362),
  [2972] = {.count = 1, .reusable = false}, SHIFT(1362),
  [2974] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 3),
  [2976] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 3),
  [2978] = {.count = 1, .reusable = true}, SHIFT(1363),
  [2980] = {.count = 1, .reusable = false}, SHIFT(1364),
  [2982] = {.count = 1, .reusable = true}, SHIFT(1365),
  [2984] = {.count = 1, .reusable = true}, SHIFT(1367),
  [2986] = {.count = 1, .reusable = true}, SHIFT(1368),
  [2988] = {.count = 1, .reusable = false}, SHIFT(1370),
  [2990] = {.count = 1, .reusable = true}, SHIFT(1370),
  [2992] = {.count = 1, .reusable = true}, SHIFT(1369),
  [2994] = {.count = 1, .reusable = true}, SHIFT(1371),
  [2996] = {.count = 1, .reusable = false}, SHIFT(1373),
  [2998] = {.count = 1, .reusable = true}, SHIFT(1373),
  [3000] = {.count = 1, .reusable = true}, SHIFT(1372),
  [3002] = {.count = 1, .reusable = false}, SHIFT(1375),
  [3004] = {.count = 1, .reusable = true}, SHIFT(1375),
  [3006] = {.count = 1, .reusable = true}, SHIFT(1374),
  [3008] = {.count = 1, .reusable = true}, SHIFT(1376),
  [3010] = {.count = 1, .reusable = true}, SHIFT(1377),
  [3012] = {.count = 1, .reusable = true}, SHIFT(1378),
  [3014] = {.count = 1, .reusable = true}, SHIFT(1379),
  [3016] = {.count = 1, .reusable = true}, SHIFT(1380),
  [3018] = {.count = 1, .reusable = true}, SHIFT(1381),
  [3020] = {.count = 1, .reusable = true}, SHIFT(1382),
  [3022] = {.count = 1, .reusable = false}, SHIFT(1382),
  [3024] = {.count = 1, .reusable = true}, SHIFT(1383),
  [3026] = {.count = 1, .reusable = false}, SHIFT(1383),
  [3028] = {.count = 1, .reusable = true}, REDUCE(sym_string, 4),
  [3030] = {.count = 1, .reusable = false}, REDUCE(sym_string, 4),
  [3032] = {.count = 1, .reusable = true}, SHIFT(1384),
  [3034] = {.count = 1, .reusable = true}, SHIFT(1385),
  [3036] = {.count = 1, .reusable = true}, SHIFT(1386),
  [3038] = {.count = 1, .reusable = true}, SHIFT(1387),
  [3040] = {.count = 1, .reusable = true}, SHIFT(1388),
  [3042] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4),
  [3044] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4),
  [3046] = {.count = 1, .reusable = true}, SHIFT(1389),
  [3048] = {.count = 1, .reusable = true}, SHIFT(1390),
  [3050] = {.count = 1, .reusable = false}, SHIFT(1392),
  [3052] = {.count = 1, .reusable = false}, SHIFT(1393),
  [3054] = {.count = 1, .reusable = true}, SHIFT(1395),
  [3056] = {.count = 1, .reusable = true}, SHIFT(1396),
  [3058] = {.count = 1, .reusable = false}, SHIFT(1397),
  [3060] = {.count = 1, .reusable = false}, SHIFT(1395),
  [3062] = {.count = 1, .reusable = true}, SHIFT(1398),
  [3064] = {.count = 1, .reusable = true}, SHIFT(1399),
  [3066] = {.count = 1, .reusable = true}, SHIFT(1400),
  [3068] = {.count = 1, .reusable = true}, SHIFT(1401),
  [3070] = {.count = 1, .reusable = false}, SHIFT(1402),
  [3072] = {.count = 1, .reusable = false}, SHIFT(1401),
  [3074] = {.count = 1, .reusable = false}, SHIFT(1413),
  [3076] = {.count = 1, .reusable = true}, SHIFT(1414),
  [3078] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 7),
  [3080] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 7),
  [3082] = {.count = 1, .reusable = true}, SHIFT(1416),
  [3084] = {.count = 1, .reusable = true}, SHIFT(1417),
  [3086] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 8),
  [3088] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 8),
  [3090] = {.count = 1, .reusable = true}, SHIFT(1418),
  [3092] = {.count = 1, .reusable = true}, SHIFT(1419),
  [3094] = {.count = 1, .reusable = true}, SHIFT(1420),
  [3096] = {.count = 1, .reusable = true}, SHIFT(1421),
  [3098] = {.count = 1, .reusable = false}, SHIFT(1423),
  [3100] = {.count = 1, .reusable = false}, SHIFT(1424),
  [3102] = {.count = 1, .reusable = true}, SHIFT(1425),
  [3104] = {.count = 1, .reusable = true}, SHIFT(1426),
  [3106] = {.count = 1, .reusable = true}, SHIFT(1427),
  [3108] = {.count = 1, .reusable = false}, SHIFT(1428),
  [3110] = {.count = 1, .reusable = false}, SHIFT(1427),
  [3112] = {.count = 1, .reusable = true}, SHIFT(1430),
  [3114] = {.count = 1, .reusable = false}, SHIFT(1432),
  [3116] = {.count = 1, .reusable = true}, SHIFT(1432),
  [3118] = {.count = 1, .reusable = true}, SHIFT(1431),
  [3120] = {.count = 1, .reusable = true}, SHIFT(1433),
  [3122] = {.count = 1, .reusable = false}, SHIFT(1435),
  [3124] = {.count = 1, .reusable = true}, SHIFT(1435),
  [3126] = {.count = 1, .reusable = true}, SHIFT(1434),
  [3128] = {.count = 1, .reusable = true}, SHIFT(1436),
  [3130] = {.count = 1, .reusable = false}, SHIFT(1438),
  [3132] = {.count = 1, .reusable = true}, SHIFT(1438),
  [3134] = {.count = 1, .reusable = true}, SHIFT(1437),
  [3136] = {.count = 1, .reusable = true}, SHIFT(1439),
  [3138] = {.count = 1, .reusable = false}, SHIFT(1440),
  [3140] = {.count = 1, .reusable = true}, SHIFT(1440),
  [3142] = {.count = 1, .reusable = true}, SHIFT(1441),
  [3144] = {.count = 1, .reusable = true}, SHIFT(1442),
  [3146] = {.count = 1, .reusable = false}, SHIFT(1442),
  [3148] = {.count = 1, .reusable = true}, SHIFT(1445),
  [3150] = {.count = 1, .reusable = false}, SHIFT(1445),
  [3152] = {.count = 1, .reusable = true}, SHIFT(1448),
  [3154] = {.count = 1, .reusable = true}, SHIFT(1449),
  [3156] = {.count = 1, .reusable = false}, SHIFT(1449),
  [3158] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 4),
  [3160] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 4),
  [3162] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2),
  [3164] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(961),
  [3167] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(469),
  [3170] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(470),
  [3173] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(471),
  [3176] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(472),
  [3179] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(961),
  [3182] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(473),
  [3185] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(475),
  [3188] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(476),
  [3191] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(477),
  [3194] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(472),
  [3197] = {.count = 1, .reusable = true}, SHIFT(1452),
  [3199] = {.count = 1, .reusable = false}, SHIFT(1453),
  [3201] = {.count = 1, .reusable = true}, SHIFT(1453),
  [3203] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 5),
  [3205] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 5),
  [3207] = {.count = 1, .reusable = true}, SHIFT(1454),
  [3209] = {.count = 1, .reusable = false}, SHIFT(1455),
  [3211] = {.count = 1, .reusable = true}, SHIFT(1455),
  [3213] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 4),
  [3215] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 4),
  [3217] = {.count = 1, .reusable = true}, SHIFT(1456),
  [3219] = {.count = 1, .reusable = true}, SHIFT(1458),
  [3221] = {.count = 1, .reusable = true}, SHIFT(1459),
  [3223] = {.count = 1, .reusable = false}, SHIFT(1460),
  [3225] = {.count = 1, .reusable = true}, SHIFT(1460),
  [3227] = {.count = 1, .reusable = true}, SHIFT(1461),
  [3229] = {.count = 1, .reusable = false}, SHIFT(1462),
  [3231] = {.count = 1, .reusable = true}, SHIFT(1462),
  [3233] = {.count = 1, .reusable = true}, SHIFT(1463),
  [3235] = {.count = 1, .reusable = true}, SHIFT(1466),
  [3237] = {.count = 1, .reusable = true}, SHIFT(1467),
  [3239] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(499),
  [3242] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(500),
  [3245] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(500),
  [3248] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(501),
  [3251] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 4),
  [3253] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 4),
  [3255] = {.count = 1, .reusable = true}, SHIFT(1470),
  [3257] = {.count = 1, .reusable = true}, SHIFT(1472),
  [3259] = {.count = 1, .reusable = true}, SHIFT(1473),
  [3261] = {.count = 1, .reusable = true}, SHIFT(1474),
  [3263] = {.count = 1, .reusable = false}, SHIFT(1475),
  [3265] = {.count = 1, .reusable = false}, SHIFT(1474),
  [3267] = {.count = 1, .reusable = true}, SHIFT(1477),
  [3269] = {.count = 1, .reusable = false}, SHIFT(1479),
  [3271] = {.count = 1, .reusable = true}, SHIFT(1479),
  [3273] = {.count = 1, .reusable = true}, SHIFT(1478),
  [3275] = {.count = 1, .reusable = true}, SHIFT(1480),
  [3277] = {.count = 1, .reusable = false}, SHIFT(1482),
  [3279] = {.count = 1, .reusable = true}, SHIFT(1482),
  [3281] = {.count = 1, .reusable = true}, SHIFT(1481),
  [3283] = {.count = 1, .reusable = true}, SHIFT(1483),
  [3285] = {.count = 1, .reusable = false}, SHIFT(1485),
  [3287] = {.count = 1, .reusable = true}, SHIFT(1485),
  [3289] = {.count = 1, .reusable = true}, SHIFT(1484),
  [3291] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 3),
  [3293] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 3),
  [3295] = {.count = 2, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(995),
  [3298] = {.count = 1, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2),
  [3300] = {.count = 2, .reusable = false}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(517),
  [3303] = {.count = 2, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(518),
  [3306] = {.count = 1, .reusable = true}, REDUCE(sym_command, 4),
  [3308] = {.count = 1, .reusable = false}, REDUCE(sym_command, 4),
  [3310] = {.count = 1, .reusable = true}, SHIFT(1488),
  [3312] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 5, .alias_sequence_id = 6),
  [3314] = {.count = 1, .reusable = true}, SHIFT(1489),
  [3316] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 5),
  [3318] = {.count = 1, .reusable = true}, SHIFT(1490),
  [3320] = {.count = 1, .reusable = false}, SHIFT(1492),
  [3322] = {.count = 1, .reusable = false}, SHIFT(1493),
  [3324] = {.count = 1, .reusable = true}, SHIFT(1494),
  [3326] = {.count = 1, .reusable = true}, SHIFT(1495),
  [3328] = {.count = 1, .reusable = true}, SHIFT(1496),
  [3330] = {.count = 1, .reusable = false}, SHIFT(1497),
  [3332] = {.count = 1, .reusable = false}, SHIFT(1496),
  [3334] = {.count = 1, .reusable = true}, SHIFT(1499),
  [3336] = {.count = 1, .reusable = false}, SHIFT(1501),
  [3338] = {.count = 1, .reusable = true}, SHIFT(1501),
  [3340] = {.count = 1, .reusable = true}, SHIFT(1500),
  [3342] = {.count = 1, .reusable = true}, SHIFT(1502),
  [3344] = {.count = 1, .reusable = false}, SHIFT(1504),
  [3346] = {.count = 1, .reusable = true}, SHIFT(1504),
  [3348] = {.count = 1, .reusable = true}, SHIFT(1503),
  [3350] = {.count = 1, .reusable = true}, SHIFT(1505),
  [3352] = {.count = 1, .reusable = false}, SHIFT(1507),
  [3354] = {.count = 1, .reusable = true}, SHIFT(1507),
  [3356] = {.count = 1, .reusable = true}, SHIFT(1506),
  [3358] = {.count = 1, .reusable = true}, SHIFT(1508),
  [3360] = {.count = 1, .reusable = true}, SHIFT(1509),
  [3362] = {.count = 1, .reusable = false}, SHIFT(1509),
  [3364] = {.count = 1, .reusable = true}, SHIFT(1512),
  [3366] = {.count = 1, .reusable = false}, SHIFT(1512),
  [3368] = {.count = 1, .reusable = true}, SHIFT(1515),
  [3370] = {.count = 1, .reusable = true}, SHIFT(1516),
  [3372] = {.count = 1, .reusable = false}, SHIFT(1516),
  [3374] = {.count = 1, .reusable = true}, REDUCE(sym_array, 3),
  [3376] = {.count = 1, .reusable = false}, REDUCE(sym_array, 3),
  [3378] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2),
  [3380] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(546),
  [3383] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(547),
  [3386] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(548),
  [3389] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(549),
  [3392] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(550),
  [3395] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(551),
  [3398] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(552),
  [3401] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(553),
  [3404] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(555),
  [3407] = {.count = 1, .reusable = false}, SHIFT(1519),
  [3409] = {.count = 1, .reusable = true}, SHIFT(1520),
  [3411] = {.count = 1, .reusable = false}, SHIFT(1521),
  [3413] = {.count = 1, .reusable = true}, SHIFT(1522),
  [3415] = {.count = 1, .reusable = true}, SHIFT(1524),
  [3417] = {.count = 1, .reusable = true}, SHIFT(1525),
  [3419] = {.count = 1, .reusable = false}, SHIFT(1527),
  [3421] = {.count = 1, .reusable = true}, SHIFT(1527),
  [3423] = {.count = 1, .reusable = true}, SHIFT(1526),
  [3425] = {.count = 1, .reusable = true}, SHIFT(1528),
  [3427] = {.count = 1, .reusable = false}, SHIFT(1530),
  [3429] = {.count = 1, .reusable = true}, SHIFT(1530),
  [3431] = {.count = 1, .reusable = true}, SHIFT(1529),
  [3433] = {.count = 1, .reusable = false}, SHIFT(1532),
  [3435] = {.count = 1, .reusable = true}, SHIFT(1532),
  [3437] = {.count = 1, .reusable = true}, SHIFT(1531),
  [3439] = {.count = 1, .reusable = true}, SHIFT(1533),
  [3441] = {.count = 1, .reusable = true}, SHIFT(1534),
  [3443] = {.count = 1, .reusable = true}, SHIFT(1535),
  [3445] = {.count = 1, .reusable = true}, SHIFT(1536),
  [3447] = {.count = 1, .reusable = true}, SHIFT(1537),
  [3449] = {.count = 1, .reusable = true}, SHIFT(1538),
  [3451] = {.count = 1, .reusable = true}, SHIFT(1539),
  [3453] = {.count = 1, .reusable = false}, SHIFT(1539),
  [3455] = {.count = 1, .reusable = true}, SHIFT(1540),
  [3457] = {.count = 1, .reusable = false}, SHIFT(1540),
  [3459] = {.count = 1, .reusable = true}, SHIFT(1541),
  [3461] = {.count = 1, .reusable = true}, SHIFT(1542),
  [3463] = {.count = 1, .reusable = false}, SHIFT(1542),
  [3465] = {.count = 1, .reusable = true}, SHIFT(1543),
  [3467] = {.count = 1, .reusable = true}, SHIFT(1547),
  [3469] = {.count = 1, .reusable = false}, SHIFT(1549),
  [3471] = {.count = 1, .reusable = false}, SHIFT(1550),
  [3473] = {.count = 1, .reusable = true}, SHIFT(1552),
  [3475] = {.count = 1, .reusable = true}, SHIFT(1553),
  [3477] = {.count = 1, .reusable = false}, SHIFT(1554),
  [3479] = {.count = 1, .reusable = false}, SHIFT(1552),
  [3481] = {.count = 1, .reusable = true}, SHIFT(1555),
  [3483] = {.count = 1, .reusable = true}, SHIFT(1556),
  [3485] = {.count = 1, .reusable = true}, SHIFT(1557),
  [3487] = {.count = 1, .reusable = false}, SHIFT(1558),
  [3489] = {.count = 1, .reusable = false}, SHIFT(1557),
  [3491] = {.count = 1, .reusable = true}, SHIFT(1569),
  [3493] = {.count = 1, .reusable = true}, SHIFT(1570),
  [3495] = {.count = 1, .reusable = true}, SHIFT(1571),
  [3497] = {.count = 1, .reusable = false}, SHIFT(1570),
  [3499] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(581),
  [3502] = {.count = 1, .reusable = false}, SHIFT(1573),
  [3504] = {.count = 1, .reusable = true}, SHIFT(1574),
  [3506] = {.count = 1, .reusable = false}, SHIFT(1575),
  [3508] = {.count = 1, .reusable = true}, SHIFT(1576),
  [3510] = {.count = 1, .reusable = true}, SHIFT(1578),
  [3512] = {.count = 1, .reusable = true}, SHIFT(1579),
  [3514] = {.count = 1, .reusable = false}, SHIFT(1581),
  [3516] = {.count = 1, .reusable = true}, SHIFT(1581),
  [3518] = {.count = 1, .reusable = true}, SHIFT(1580),
  [3520] = {.count = 1, .reusable = true}, SHIFT(1582),
  [3522] = {.count = 1, .reusable = false}, SHIFT(1584),
  [3524] = {.count = 1, .reusable = true}, SHIFT(1584),
  [3526] = {.count = 1, .reusable = true}, SHIFT(1583),
  [3528] = {.count = 1, .reusable = false}, SHIFT(1586),
  [3530] = {.count = 1, .reusable = true}, SHIFT(1586),
  [3532] = {.count = 1, .reusable = true}, SHIFT(1585),
  [3534] = {.count = 1, .reusable = true}, SHIFT(1587),
  [3536] = {.count = 1, .reusable = true}, SHIFT(1588),
  [3538] = {.count = 1, .reusable = true}, SHIFT(1589),
  [3540] = {.count = 1, .reusable = true}, SHIFT(1590),
  [3542] = {.count = 1, .reusable = true}, SHIFT(1591),
  [3544] = {.count = 1, .reusable = true}, SHIFT(1592),
  [3546] = {.count = 1, .reusable = true}, SHIFT(1593),
  [3548] = {.count = 1, .reusable = false}, SHIFT(1593),
  [3550] = {.count = 1, .reusable = true}, SHIFT(1594),
  [3552] = {.count = 1, .reusable = false}, SHIFT(1594),
  [3554] = {.count = 1, .reusable = true}, SHIFT(1595),
  [3556] = {.count = 1, .reusable = true}, SHIFT(1596),
  [3558] = {.count = 1, .reusable = false}, SHIFT(1596),
  [3560] = {.count = 1, .reusable = true}, SHIFT(1597),
  [3562] = {.count = 1, .reusable = false}, SHIFT(1597),
  [3564] = {.count = 1, .reusable = true}, SHIFT(1598),
  [3566] = {.count = 1, .reusable = false}, SHIFT(1600),
  [3568] = {.count = 1, .reusable = false}, SHIFT(1601),
  [3570] = {.count = 1, .reusable = true}, SHIFT(1602),
  [3572] = {.count = 1, .reusable = true}, SHIFT(1603),
  [3574] = {.count = 1, .reusable = true}, SHIFT(1604),
  [3576] = {.count = 1, .reusable = false}, SHIFT(1605),
  [3578] = {.count = 1, .reusable = false}, SHIFT(1604),
  [3580] = {.count = 1, .reusable = true}, SHIFT(1607),
  [3582] = {.count = 1, .reusable = false}, SHIFT(1609),
  [3584] = {.count = 1, .reusable = true}, SHIFT(1609),
  [3586] = {.count = 1, .reusable = true}, SHIFT(1608),
  [3588] = {.count = 1, .reusable = true}, SHIFT(1610),
  [3590] = {.count = 1, .reusable = false}, SHIFT(1612),
  [3592] = {.count = 1, .reusable = true}, SHIFT(1612),
  [3594] = {.count = 1, .reusable = true}, SHIFT(1611),
  [3596] = {.count = 1, .reusable = true}, SHIFT(1613),
  [3598] = {.count = 1, .reusable = false}, SHIFT(1615),
  [3600] = {.count = 1, .reusable = true}, SHIFT(1615),
  [3602] = {.count = 1, .reusable = true}, SHIFT(1614),
  [3604] = {.count = 1, .reusable = true}, SHIFT(1616),
  [3606] = {.count = 1, .reusable = true}, SHIFT(1617),
  [3608] = {.count = 1, .reusable = false}, SHIFT(1617),
  [3610] = {.count = 1, .reusable = true}, SHIFT(1620),
  [3612] = {.count = 1, .reusable = false}, SHIFT(1620),
  [3614] = {.count = 1, .reusable = true}, SHIFT(1623),
  [3616] = {.count = 1, .reusable = true}, SHIFT(1624),
  [3618] = {.count = 1, .reusable = false}, SHIFT(1624),
  [3620] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(606),
  [3623] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(607),
  [3626] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(608),
  [3629] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(609),
  [3632] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(610),
  [3635] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(611),
  [3638] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(612),
  [3641] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(613),
  [3644] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(609),
  [3647] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2),
  [3649] = {.count = 1, .reusable = false}, SHIFT(1628),
  [3651] = {.count = 1, .reusable = false}, SHIFT(1631),
  [3653] = {.count = 1, .reusable = true}, SHIFT(1631),
  [3655] = {.count = 1, .reusable = true}, SHIFT(1632),
  [3657] = {.count = 1, .reusable = true}, SHIFT(1633),
  [3659] = {.count = 1, .reusable = false}, SHIFT(1634),
  [3661] = {.count = 1, .reusable = true}, SHIFT(1634),
  [3663] = {.count = 1, .reusable = true}, SHIFT(1635),
  [3665] = {.count = 1, .reusable = true}, SHIFT(1636),
  [3667] = {.count = 1, .reusable = true}, SHIFT(1637),
  [3669] = {.count = 1, .reusable = true}, SHIFT(1638),
  [3671] = {.count = 1, .reusable = true}, REDUCE(sym_do_group, 3),
  [3673] = {.count = 1, .reusable = false}, REDUCE(sym_do_group, 3),
  [3675] = {.count = 1, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2),
  [3677] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 5),
  [3679] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 5),
  [3681] = {.count = 1, .reusable = true}, SHIFT(1641),
  [3683] = {.count = 1, .reusable = false}, REDUCE(sym_else_clause, 2),
  [3685] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 5),
  [3687] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 5),
  [3689] = {.count = 1, .reusable = true}, SHIFT(1643),
  [3691] = {.count = 1, .reusable = true}, REDUCE(aux_sym_if_statement_repeat1, 2),
  [3693] = {.count = 2, .reusable = true}, REDUCE(aux_sym_if_statement_repeat1, 2), SHIFT_REPEAT(648),
  [3696] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 5, .alias_sequence_id = 3),
  [3698] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 5, .alias_sequence_id = 3),
  [3700] = {.count = 1, .reusable = true}, SHIFT(1645),
  [3702] = {.count = 1, .reusable = true}, SHIFT(1646),
  [3704] = {.count = 1, .reusable = true}, SHIFT(1649),
  [3706] = {.count = 1, .reusable = true}, SHIFT(1651),
  [3708] = {.count = 1, .reusable = false}, SHIFT(1654),
  [3710] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 5),
  [3712] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 5),
  [3714] = {.count = 1, .reusable = true}, SHIFT(1656),
  [3716] = {.count = 1, .reusable = false}, SHIFT(1658),
  [3718] = {.count = 1, .reusable = true}, SHIFT(1660),
  [3720] = {.count = 1, .reusable = true}, SHIFT(1661),
  [3722] = {.count = 1, .reusable = false}, SHIFT(1662),
  [3724] = {.count = 1, .reusable = true}, SHIFT(1663),
  [3726] = {.count = 1, .reusable = true}, SHIFT(1665),
  [3728] = {.count = 1, .reusable = true}, SHIFT(1666),
  [3730] = {.count = 1, .reusable = true}, SHIFT(1667),
  [3732] = {.count = 1, .reusable = true}, SHIFT(1668),
  [3734] = {.count = 1, .reusable = true}, SHIFT(1669),
  [3736] = {.count = 1, .reusable = true}, SHIFT(1670),
  [3738] = {.count = 1, .reusable = false}, SHIFT(1671),
  [3740] = {.count = 1, .reusable = true}, SHIFT(1671),
  [3742] = {.count = 1, .reusable = true}, SHIFT(1672),
  [3744] = {.count = 1, .reusable = false}, SHIFT(1673),
  [3746] = {.count = 1, .reusable = true}, SHIFT(1673),
  [3748] = {.count = 1, .reusable = true}, SHIFT(1674),
  [3750] = {.count = 1, .reusable = false}, SHIFT(1675),
  [3752] = {.count = 1, .reusable = true}, SHIFT(1675),
  [3754] = {.count = 1, .reusable = true}, SHIFT(1676),
  [3756] = {.count = 1, .reusable = true}, SHIFT(1677),
  [3758] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 5),
  [3760] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 5),
  [3762] = {.count = 1, .reusable = true}, REDUCE(sym_compound_statement, 3),
  [3764] = {.count = 1, .reusable = false}, REDUCE(sym_compound_statement, 3),
  [3766] = {.count = 1, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2),
  [3768] = {.count = 1, .reusable = true}, SHIFT(1679),
  [3770] = {.count = 1, .reusable = true}, SHIFT(1680),
  [3772] = {.count = 1, .reusable = false}, SHIFT(1685),
  [3774] = {.count = 1, .reusable = true}, SHIFT(1685),
  [3776] = {.count = 1, .reusable = true}, SHIFT(1686),
  [3778] = {.count = 1, .reusable = true}, SHIFT(1687),
  [3780] = {.count = 1, .reusable = false}, SHIFT(1688),
  [3782] = {.count = 1, .reusable = true}, SHIFT(1688),
  [3784] = {.count = 1, .reusable = true}, SHIFT(1689),
  [3786] = {.count = 1, .reusable = true}, SHIFT(1690),
  [3788] = {.count = 1, .reusable = true}, SHIFT(1691),
  [3790] = {.count = 1, .reusable = true}, SHIFT(1692),
  [3792] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 5),
  [3794] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 5),
  [3796] = {.count = 1, .reusable = true}, SHIFT(1695),
  [3798] = {.count = 1, .reusable = true}, SHIFT(1696),
  [3800] = {.count = 1, .reusable = true}, SHIFT(1697),
  [3802] = {.count = 1, .reusable = false}, SHIFT(1698),
  [3804] = {.count = 1, .reusable = true}, SHIFT(1699),
  [3806] = {.count = 1, .reusable = true}, SHIFT(1701),
  [3808] = {.count = 1, .reusable = true}, SHIFT(1702),
  [3810] = {.count = 1, .reusable = true}, SHIFT(1703),
  [3812] = {.count = 1, .reusable = true}, SHIFT(1704),
  [3814] = {.count = 1, .reusable = true}, SHIFT(1705),
  [3816] = {.count = 1, .reusable = true}, SHIFT(1706),
  [3818] = {.count = 1, .reusable = false}, SHIFT(1707),
  [3820] = {.count = 1, .reusable = true}, SHIFT(1707),
  [3822] = {.count = 1, .reusable = true}, SHIFT(1708),
  [3824] = {.count = 1, .reusable = false}, SHIFT(1709),
  [3826] = {.count = 1, .reusable = true}, SHIFT(1709),
  [3828] = {.count = 1, .reusable = true}, SHIFT(1710),
  [3830] = {.count = 1, .reusable = false}, SHIFT(1711),
  [3832] = {.count = 1, .reusable = true}, SHIFT(1711),
  [3834] = {.count = 1, .reusable = true}, SHIFT(1712),
  [3836] = {.count = 1, .reusable = true}, SHIFT(1713),
  [3838] = {.count = 1, .reusable = true}, SHIFT(1714),
  [3840] = {.count = 1, .reusable = true}, SHIFT(1715),
  [3842] = {.count = 1, .reusable = true}, SHIFT(1717),
  [3844] = {.count = 1, .reusable = false}, SHIFT(1719),
  [3846] = {.count = 1, .reusable = false}, SHIFT(1720),
  [3848] = {.count = 1, .reusable = true}, SHIFT(1722),
  [3850] = {.count = 1, .reusable = true}, SHIFT(1723),
  [3852] = {.count = 1, .reusable = false}, SHIFT(1724),
  [3854] = {.count = 1, .reusable = false}, SHIFT(1722),
  [3856] = {.count = 1, .reusable = true}, SHIFT(1725),
  [3858] = {.count = 1, .reusable = true}, SHIFT(1726),
  [3860] = {.count = 1, .reusable = true}, SHIFT(1727),
  [3862] = {.count = 1, .reusable = false}, SHIFT(1728),
  [3864] = {.count = 1, .reusable = false}, SHIFT(1727),
  [3866] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(762),
  [3869] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(763),
  [3872] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(763),
  [3875] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(764),
  [3878] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(764),
  [3881] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(765),
  [3884] = {.count = 1, .reusable = true}, SHIFT(1739),
  [3886] = {.count = 1, .reusable = true}, SHIFT(1740),
  [3888] = {.count = 1, .reusable = false}, SHIFT(1741),
  [3890] = {.count = 1, .reusable = true}, SHIFT(1742),
  [3892] = {.count = 1, .reusable = true}, SHIFT(1744),
  [3894] = {.count = 1, .reusable = true}, SHIFT(1745),
  [3896] = {.count = 1, .reusable = true}, SHIFT(1746),
  [3898] = {.count = 1, .reusable = true}, SHIFT(1747),
  [3900] = {.count = 1, .reusable = true}, SHIFT(1748),
  [3902] = {.count = 1, .reusable = true}, SHIFT(1749),
  [3904] = {.count = 1, .reusable = false}, SHIFT(1750),
  [3906] = {.count = 1, .reusable = true}, SHIFT(1750),
  [3908] = {.count = 1, .reusable = true}, SHIFT(1751),
  [3910] = {.count = 1, .reusable = false}, SHIFT(1752),
  [3912] = {.count = 1, .reusable = true}, SHIFT(1752),
  [3914] = {.count = 1, .reusable = true}, SHIFT(1753),
  [3916] = {.count = 1, .reusable = false}, SHIFT(1754),
  [3918] = {.count = 1, .reusable = true}, SHIFT(1754),
  [3920] = {.count = 1, .reusable = true}, SHIFT(1755),
  [3922] = {.count = 1, .reusable = true}, SHIFT(1756),
  [3924] = {.count = 1, .reusable = true}, SHIFT(1757),
  [3926] = {.count = 1, .reusable = true}, SHIFT(1758),
  [3928] = {.count = 1, .reusable = true}, SHIFT(1759),
  [3930] = {.count = 1, .reusable = false}, SHIFT(1760),
  [3932] = {.count = 1, .reusable = true}, SHIFT(1761),
  [3934] = {.count = 1, .reusable = true}, SHIFT(1763),
  [3936] = {.count = 1, .reusable = true}, SHIFT(1764),
  [3938] = {.count = 1, .reusable = true}, SHIFT(1765),
  [3940] = {.count = 1, .reusable = true}, SHIFT(1766),
  [3942] = {.count = 1, .reusable = true}, SHIFT(1767),
  [3944] = {.count = 1, .reusable = true}, SHIFT(1768),
  [3946] = {.count = 1, .reusable = false}, SHIFT(1769),
  [3948] = {.count = 1, .reusable = true}, SHIFT(1769),
  [3950] = {.count = 1, .reusable = true}, SHIFT(1770),
  [3952] = {.count = 1, .reusable = false}, SHIFT(1771),
  [3954] = {.count = 1, .reusable = true}, SHIFT(1771),
  [3956] = {.count = 1, .reusable = true}, SHIFT(1772),
  [3958] = {.count = 1, .reusable = false}, SHIFT(1773),
  [3960] = {.count = 1, .reusable = true}, SHIFT(1773),
  [3962] = {.count = 1, .reusable = true}, SHIFT(1774),
  [3964] = {.count = 1, .reusable = true}, SHIFT(1775),
  [3966] = {.count = 1, .reusable = true}, SHIFT(1776),
  [3968] = {.count = 1, .reusable = true}, SHIFT(1777),
  [3970] = {.count = 1, .reusable = false}, SHIFT(1778),
  [3972] = {.count = 1, .reusable = true}, SHIFT(1779),
  [3974] = {.count = 1, .reusable = true}, SHIFT(1781),
  [3976] = {.count = 1, .reusable = true}, SHIFT(1782),
  [3978] = {.count = 1, .reusable = true}, SHIFT(1783),
  [3980] = {.count = 1, .reusable = true}, SHIFT(1784),
  [3982] = {.count = 1, .reusable = true}, SHIFT(1785),
  [3984] = {.count = 1, .reusable = true}, SHIFT(1786),
  [3986] = {.count = 1, .reusable = false}, SHIFT(1787),
  [3988] = {.count = 1, .reusable = true}, SHIFT(1787),
  [3990] = {.count = 1, .reusable = true}, SHIFT(1788),
  [3992] = {.count = 1, .reusable = false}, SHIFT(1789),
  [3994] = {.count = 1, .reusable = true}, SHIFT(1789),
  [3996] = {.count = 1, .reusable = true}, SHIFT(1790),
  [3998] = {.count = 1, .reusable = false}, SHIFT(1791),
  [4000] = {.count = 1, .reusable = true}, SHIFT(1791),
  [4002] = {.count = 1, .reusable = true}, SHIFT(1792),
  [4004] = {.count = 1, .reusable = true}, SHIFT(1793),
  [4006] = {.count = 1, .reusable = true}, SHIFT(1794),
  [4008] = {.count = 1, .reusable = true}, SHIFT(1795),
  [4010] = {.count = 1, .reusable = false}, SHIFT(1796),
  [4012] = {.count = 1, .reusable = true}, SHIFT(1797),
  [4014] = {.count = 1, .reusable = true}, SHIFT(1799),
  [4016] = {.count = 1, .reusable = true}, SHIFT(1800),
  [4018] = {.count = 1, .reusable = true}, SHIFT(1801),
  [4020] = {.count = 1, .reusable = true}, SHIFT(1802),
  [4022] = {.count = 1, .reusable = true}, SHIFT(1803),
  [4024] = {.count = 1, .reusable = true}, SHIFT(1804),
  [4026] = {.count = 1, .reusable = false}, SHIFT(1805),
  [4028] = {.count = 1, .reusable = true}, SHIFT(1805),
  [4030] = {.count = 1, .reusable = true}, SHIFT(1806),
  [4032] = {.count = 1, .reusable = false}, SHIFT(1807),
  [4034] = {.count = 1, .reusable = true}, SHIFT(1807),
  [4036] = {.count = 1, .reusable = true}, SHIFT(1808),
  [4038] = {.count = 1, .reusable = false}, SHIFT(1809),
  [4040] = {.count = 1, .reusable = true}, SHIFT(1809),
  [4042] = {.count = 1, .reusable = true}, SHIFT(1810),
  [4044] = {.count = 1, .reusable = true}, SHIFT(1811),
  [4046] = {.count = 1, .reusable = true}, SHIFT(1812),
  [4048] = {.count = 1, .reusable = true}, SHIFT(1813),
  [4050] = {.count = 1, .reusable = false}, SHIFT(1814),
  [4052] = {.count = 1, .reusable = true}, SHIFT(1815),
  [4054] = {.count = 1, .reusable = true}, SHIFT(1817),
  [4056] = {.count = 1, .reusable = true}, SHIFT(1818),
  [4058] = {.count = 1, .reusable = true}, SHIFT(1819),
  [4060] = {.count = 1, .reusable = true}, SHIFT(1820),
  [4062] = {.count = 1, .reusable = true}, SHIFT(1821),
  [4064] = {.count = 1, .reusable = true}, SHIFT(1822),
  [4066] = {.count = 1, .reusable = false}, SHIFT(1823),
  [4068] = {.count = 1, .reusable = true}, SHIFT(1823),
  [4070] = {.count = 1, .reusable = true}, SHIFT(1824),
  [4072] = {.count = 1, .reusable = false}, SHIFT(1825),
  [4074] = {.count = 1, .reusable = true}, SHIFT(1825),
  [4076] = {.count = 1, .reusable = true}, SHIFT(1826),
  [4078] = {.count = 1, .reusable = false}, SHIFT(1827),
  [4080] = {.count = 1, .reusable = true}, SHIFT(1827),
  [4082] = {.count = 1, .reusable = true}, SHIFT(1828),
  [4084] = {.count = 1, .reusable = true}, SHIFT(1829),
  [4086] = {.count = 1, .reusable = true}, SHIFT(1830),
  [4088] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 4, .alias_sequence_id = 6),
  [4090] = {.count = 1, .reusable = true}, SHIFT(1831),
  [4092] = {.count = 1, .reusable = true}, SHIFT(1832),
  [4094] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 4),
  [4096] = {.count = 1, .reusable = true}, SHIFT(1833),
  [4098] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 9),
  [4100] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 9),
  [4102] = {.count = 1, .reusable = false}, SHIFT(1835),
  [4104] = {.count = 1, .reusable = false}, SHIFT(1836),
  [4106] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5),
  [4108] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5),
  [4110] = {.count = 1, .reusable = true}, SHIFT(1837),
  [4112] = {.count = 1, .reusable = true}, SHIFT(1838),
  [4114] = {.count = 1, .reusable = true}, SHIFT(1839),
  [4116] = {.count = 1, .reusable = false}, SHIFT(1840),
  [4118] = {.count = 1, .reusable = false}, SHIFT(1839),
  [4120] = {.count = 1, .reusable = true}, SHIFT(1842),
  [4122] = {.count = 1, .reusable = false}, SHIFT(1844),
  [4124] = {.count = 1, .reusable = true}, SHIFT(1844),
  [4126] = {.count = 1, .reusable = true}, SHIFT(1843),
  [4128] = {.count = 1, .reusable = true}, SHIFT(1845),
  [4130] = {.count = 1, .reusable = false}, SHIFT(1847),
  [4132] = {.count = 1, .reusable = true}, SHIFT(1847),
  [4134] = {.count = 1, .reusable = true}, SHIFT(1846),
  [4136] = {.count = 1, .reusable = true}, SHIFT(1848),
  [4138] = {.count = 1, .reusable = false}, SHIFT(1850),
  [4140] = {.count = 1, .reusable = true}, SHIFT(1850),
  [4142] = {.count = 1, .reusable = true}, SHIFT(1849),
  [4144] = {.count = 1, .reusable = true}, SHIFT(1851),
  [4146] = {.count = 1, .reusable = true}, SHIFT(1852),
  [4148] = {.count = 1, .reusable = false}, SHIFT(1852),
  [4150] = {.count = 1, .reusable = true}, SHIFT(1855),
  [4152] = {.count = 1, .reusable = false}, SHIFT(1855),
  [4154] = {.count = 1, .reusable = true}, SHIFT(1858),
  [4156] = {.count = 1, .reusable = true}, SHIFT(1859),
  [4158] = {.count = 1, .reusable = false}, SHIFT(1859),
  [4160] = {.count = 1, .reusable = true}, SHIFT(1862),
  [4162] = {.count = 1, .reusable = true}, SHIFT(1863),
  [4164] = {.count = 1, .reusable = true}, SHIFT(1864),
  [4166] = {.count = 1, .reusable = false}, SHIFT(1865),
  [4168] = {.count = 1, .reusable = true}, SHIFT(1865),
  [4170] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 7),
  [4172] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 7),
  [4174] = {.count = 1, .reusable = true}, SHIFT(1866),
  [4176] = {.count = 1, .reusable = false}, SHIFT(1867),
  [4178] = {.count = 1, .reusable = true}, SHIFT(1867),
  [4180] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 8),
  [4182] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 8),
  [4184] = {.count = 1, .reusable = true}, SHIFT(1868),
  [4186] = {.count = 1, .reusable = false}, SHIFT(1869),
  [4188] = {.count = 1, .reusable = true}, SHIFT(1869),
  [4190] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(937),
  [4193] = {.count = 1, .reusable = false}, SHIFT(1870),
  [4195] = {.count = 1, .reusable = true}, SHIFT(1871),
  [4197] = {.count = 1, .reusable = false}, SHIFT(1872),
  [4199] = {.count = 1, .reusable = true}, SHIFT(1873),
  [4201] = {.count = 1, .reusable = true}, SHIFT(1875),
  [4203] = {.count = 1, .reusable = true}, SHIFT(1876),
  [4205] = {.count = 1, .reusable = false}, SHIFT(1878),
  [4207] = {.count = 1, .reusable = true}, SHIFT(1878),
  [4209] = {.count = 1, .reusable = true}, SHIFT(1877),
  [4211] = {.count = 1, .reusable = true}, SHIFT(1879),
  [4213] = {.count = 1, .reusable = false}, SHIFT(1881),
  [4215] = {.count = 1, .reusable = true}, SHIFT(1881),
  [4217] = {.count = 1, .reusable = true}, SHIFT(1880),
  [4219] = {.count = 1, .reusable = false}, SHIFT(1883),
  [4221] = {.count = 1, .reusable = true}, SHIFT(1883),
  [4223] = {.count = 1, .reusable = true}, SHIFT(1882),
  [4225] = {.count = 1, .reusable = true}, SHIFT(1884),
  [4227] = {.count = 1, .reusable = true}, SHIFT(1885),
  [4229] = {.count = 1, .reusable = true}, SHIFT(1886),
  [4231] = {.count = 1, .reusable = true}, SHIFT(1887),
  [4233] = {.count = 1, .reusable = true}, SHIFT(1888),
  [4235] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 10),
  [4237] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 10),
  [4239] = {.count = 1, .reusable = true}, SHIFT(1889),
  [4241] = {.count = 1, .reusable = true}, SHIFT(1890),
  [4243] = {.count = 1, .reusable = true}, SHIFT(1891),
  [4245] = {.count = 1, .reusable = false}, SHIFT(1891),
  [4247] = {.count = 1, .reusable = true}, SHIFT(1892),
  [4249] = {.count = 1, .reusable = false}, SHIFT(1892),
  [4251] = {.count = 1, .reusable = true}, SHIFT(1893),
  [4253] = {.count = 1, .reusable = true}, SHIFT(1894),
  [4255] = {.count = 1, .reusable = false}, SHIFT(1894),
  [4257] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 11),
  [4259] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 11),
  [4261] = {.count = 1, .reusable = true}, SHIFT(1895),
  [4263] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 12),
  [4265] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 12),
  [4267] = {.count = 1, .reusable = true}, SHIFT(1896),
  [4269] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 5),
  [4271] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 5),
  [4273] = {.count = 1, .reusable = false}, SHIFT(1898),
  [4275] = {.count = 1, .reusable = true}, SHIFT(1898),
  [4277] = {.count = 1, .reusable = true}, SHIFT(1899),
  [4279] = {.count = 1, .reusable = true}, SHIFT(1900),
  [4281] = {.count = 1, .reusable = false}, SHIFT(1901),
  [4283] = {.count = 1, .reusable = true}, SHIFT(1901),
  [4285] = {.count = 1, .reusable = true}, SHIFT(1902),
  [4287] = {.count = 1, .reusable = true}, SHIFT(1903),
  [4289] = {.count = 1, .reusable = true}, SHIFT(1904),
  [4291] = {.count = 1, .reusable = true}, SHIFT(1905),
  [4293] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 5),
  [4295] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 5),
  [4297] = {.count = 1, .reusable = true}, SHIFT(1908),
  [4299] = {.count = 1, .reusable = false}, SHIFT(1909),
  [4301] = {.count = 1, .reusable = true}, SHIFT(1910),
  [4303] = {.count = 1, .reusable = true}, SHIFT(1912),
  [4305] = {.count = 1, .reusable = true}, SHIFT(1913),
  [4307] = {.count = 1, .reusable = false}, SHIFT(1915),
  [4309] = {.count = 1, .reusable = true}, SHIFT(1915),
  [4311] = {.count = 1, .reusable = true}, SHIFT(1914),
  [4313] = {.count = 1, .reusable = true}, SHIFT(1916),
  [4315] = {.count = 1, .reusable = false}, SHIFT(1918),
  [4317] = {.count = 1, .reusable = true}, SHIFT(1918),
  [4319] = {.count = 1, .reusable = true}, SHIFT(1917),
  [4321] = {.count = 1, .reusable = false}, SHIFT(1920),
  [4323] = {.count = 1, .reusable = true}, SHIFT(1920),
  [4325] = {.count = 1, .reusable = true}, SHIFT(1919),
  [4327] = {.count = 1, .reusable = true}, SHIFT(1921),
  [4329] = {.count = 1, .reusable = true}, SHIFT(1922),
  [4331] = {.count = 1, .reusable = true}, SHIFT(1923),
  [4333] = {.count = 1, .reusable = true}, SHIFT(1924),
  [4335] = {.count = 1, .reusable = true}, SHIFT(1925),
  [4337] = {.count = 1, .reusable = true}, REDUCE(sym_command, 5),
  [4339] = {.count = 1, .reusable = false}, REDUCE(sym_command, 5),
  [4341] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 6, .alias_sequence_id = 6),
  [4343] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 6),
  [4345] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1008),
  [4348] = {.count = 1, .reusable = false}, SHIFT(1926),
  [4350] = {.count = 1, .reusable = true}, SHIFT(1927),
  [4352] = {.count = 1, .reusable = false}, SHIFT(1928),
  [4354] = {.count = 1, .reusable = true}, SHIFT(1929),
  [4356] = {.count = 1, .reusable = true}, SHIFT(1931),
  [4358] = {.count = 1, .reusable = true}, SHIFT(1932),
  [4360] = {.count = 1, .reusable = false}, SHIFT(1934),
  [4362] = {.count = 1, .reusable = true}, SHIFT(1934),
  [4364] = {.count = 1, .reusable = true}, SHIFT(1933),
  [4366] = {.count = 1, .reusable = true}, SHIFT(1935),
  [4368] = {.count = 1, .reusable = false}, SHIFT(1937),
  [4370] = {.count = 1, .reusable = true}, SHIFT(1937),
  [4372] = {.count = 1, .reusable = true}, SHIFT(1936),
  [4374] = {.count = 1, .reusable = false}, SHIFT(1939),
  [4376] = {.count = 1, .reusable = true}, SHIFT(1939),
  [4378] = {.count = 1, .reusable = true}, SHIFT(1938),
  [4380] = {.count = 1, .reusable = true}, SHIFT(1940),
  [4382] = {.count = 1, .reusable = true}, SHIFT(1941),
  [4384] = {.count = 1, .reusable = true}, SHIFT(1942),
  [4386] = {.count = 1, .reusable = true}, SHIFT(1943),
  [4388] = {.count = 1, .reusable = true}, SHIFT(1944),
  [4390] = {.count = 1, .reusable = true}, SHIFT(1945),
  [4392] = {.count = 1, .reusable = true}, SHIFT(1946),
  [4394] = {.count = 1, .reusable = false}, SHIFT(1946),
  [4396] = {.count = 1, .reusable = true}, SHIFT(1947),
  [4398] = {.count = 1, .reusable = false}, SHIFT(1947),
  [4400] = {.count = 1, .reusable = true}, SHIFT(1948),
  [4402] = {.count = 1, .reusable = true}, SHIFT(1949),
  [4404] = {.count = 1, .reusable = false}, SHIFT(1949),
  [4406] = {.count = 1, .reusable = true}, SHIFT(1950),
  [4408] = {.count = 1, .reusable = true}, SHIFT(1951),
  [4410] = {.count = 1, .reusable = false}, SHIFT(1952),
  [4412] = {.count = 1, .reusable = true}, SHIFT(1953),
  [4414] = {.count = 1, .reusable = true}, SHIFT(1955),
  [4416] = {.count = 1, .reusable = true}, SHIFT(1956),
  [4418] = {.count = 1, .reusable = true}, SHIFT(1957),
  [4420] = {.count = 1, .reusable = true}, SHIFT(1958),
  [4422] = {.count = 1, .reusable = true}, SHIFT(1959),
  [4424] = {.count = 1, .reusable = true}, SHIFT(1960),
  [4426] = {.count = 1, .reusable = false}, SHIFT(1961),
  [4428] = {.count = 1, .reusable = true}, SHIFT(1961),
  [4430] = {.count = 1, .reusable = true}, SHIFT(1962),
  [4432] = {.count = 1, .reusable = false}, SHIFT(1963),
  [4434] = {.count = 1, .reusable = true}, SHIFT(1963),
  [4436] = {.count = 1, .reusable = true}, SHIFT(1964),
  [4438] = {.count = 1, .reusable = false}, SHIFT(1965),
  [4440] = {.count = 1, .reusable = true}, SHIFT(1965),
  [4442] = {.count = 1, .reusable = true}, SHIFT(1966),
  [4444] = {.count = 1, .reusable = true}, SHIFT(1967),
  [4446] = {.count = 1, .reusable = true}, SHIFT(1968),
  [4448] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 6),
  [4450] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 6),
  [4452] = {.count = 1, .reusable = true}, SHIFT(1970),
  [4454] = {.count = 1, .reusable = true}, SHIFT(1971),
  [4456] = {.count = 1, .reusable = false}, SHIFT(1973),
  [4458] = {.count = 1, .reusable = false}, SHIFT(1974),
  [4460] = {.count = 1, .reusable = true}, SHIFT(1975),
  [4462] = {.count = 1, .reusable = true}, SHIFT(1976),
  [4464] = {.count = 1, .reusable = true}, SHIFT(1977),
  [4466] = {.count = 1, .reusable = false}, SHIFT(1978),
  [4468] = {.count = 1, .reusable = false}, SHIFT(1977),
  [4470] = {.count = 1, .reusable = true}, SHIFT(1980),
  [4472] = {.count = 1, .reusable = false}, SHIFT(1982),
  [4474] = {.count = 1, .reusable = true}, SHIFT(1982),
  [4476] = {.count = 1, .reusable = true}, SHIFT(1981),
  [4478] = {.count = 1, .reusable = true}, SHIFT(1983),
  [4480] = {.count = 1, .reusable = false}, SHIFT(1985),
  [4482] = {.count = 1, .reusable = true}, SHIFT(1985),
  [4484] = {.count = 1, .reusable = true}, SHIFT(1984),
  [4486] = {.count = 1, .reusable = true}, SHIFT(1986),
  [4488] = {.count = 1, .reusable = false}, SHIFT(1988),
  [4490] = {.count = 1, .reusable = true}, SHIFT(1988),
  [4492] = {.count = 1, .reusable = true}, SHIFT(1987),
  [4494] = {.count = 1, .reusable = true}, SHIFT(1989),
  [4496] = {.count = 1, .reusable = true}, SHIFT(1990),
  [4498] = {.count = 1, .reusable = false}, SHIFT(1990),
  [4500] = {.count = 1, .reusable = true}, SHIFT(1993),
  [4502] = {.count = 1, .reusable = false}, SHIFT(1993),
  [4504] = {.count = 1, .reusable = true}, SHIFT(1996),
  [4506] = {.count = 1, .reusable = true}, SHIFT(1997),
  [4508] = {.count = 1, .reusable = false}, SHIFT(1997),
  [4510] = {.count = 1, .reusable = false}, SHIFT(1062),
  [4512] = {.count = 1, .reusable = false}, SHIFT(1064),
  [4514] = {.count = 1, .reusable = false}, SHIFT(1065),
  [4516] = {.count = 1, .reusable = false}, SHIFT(1068),
  [4518] = {.count = 1, .reusable = false}, SHIFT(1069),
  [4520] = {.count = 1, .reusable = false}, SHIFT(1070),
  [4522] = {.count = 1, .reusable = false}, SHIFT(1071),
  [4524] = {.count = 1, .reusable = false}, SHIFT(2002),
  [4526] = {.count = 1, .reusable = true}, SHIFT(2003),
  [4528] = {.count = 1, .reusable = true}, SHIFT(2004),
  [4530] = {.count = 1, .reusable = true}, SHIFT(2005),
  [4532] = {.count = 1, .reusable = false}, SHIFT(2006),
  [4534] = {.count = 1, .reusable = true}, SHIFT(2007),
  [4536] = {.count = 1, .reusable = true}, SHIFT(2009),
  [4538] = {.count = 1, .reusable = true}, SHIFT(2010),
  [4540] = {.count = 1, .reusable = true}, SHIFT(2011),
  [4542] = {.count = 1, .reusable = true}, SHIFT(2012),
  [4544] = {.count = 1, .reusable = true}, SHIFT(2013),
  [4546] = {.count = 1, .reusable = true}, SHIFT(2014),
  [4548] = {.count = 1, .reusable = false}, SHIFT(2015),
  [4550] = {.count = 1, .reusable = true}, SHIFT(2015),
  [4552] = {.count = 1, .reusable = true}, SHIFT(2016),
  [4554] = {.count = 1, .reusable = false}, SHIFT(2017),
  [4556] = {.count = 1, .reusable = true}, SHIFT(2017),
  [4558] = {.count = 1, .reusable = true}, SHIFT(2018),
  [4560] = {.count = 1, .reusable = false}, SHIFT(2019),
  [4562] = {.count = 1, .reusable = true}, SHIFT(2019),
  [4564] = {.count = 1, .reusable = true}, SHIFT(2020),
  [4566] = {.count = 1, .reusable = true}, SHIFT(2021),
  [4568] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1107),
  [4571] = {.count = 1, .reusable = false}, SHIFT(2023),
  [4573] = {.count = 1, .reusable = true}, SHIFT(2024),
  [4575] = {.count = 1, .reusable = false}, SHIFT(2025),
  [4577] = {.count = 1, .reusable = true}, SHIFT(2026),
  [4579] = {.count = 1, .reusable = true}, SHIFT(2028),
  [4581] = {.count = 1, .reusable = true}, SHIFT(2029),
  [4583] = {.count = 1, .reusable = false}, SHIFT(2031),
  [4585] = {.count = 1, .reusable = true}, SHIFT(2031),
  [4587] = {.count = 1, .reusable = true}, SHIFT(2030),
  [4589] = {.count = 1, .reusable = true}, SHIFT(2032),
  [4591] = {.count = 1, .reusable = false}, SHIFT(2034),
  [4593] = {.count = 1, .reusable = true}, SHIFT(2034),
  [4595] = {.count = 1, .reusable = true}, SHIFT(2033),
  [4597] = {.count = 1, .reusable = false}, SHIFT(2036),
  [4599] = {.count = 1, .reusable = true}, SHIFT(2036),
  [4601] = {.count = 1, .reusable = true}, SHIFT(2035),
  [4603] = {.count = 1, .reusable = true}, SHIFT(2037),
  [4605] = {.count = 1, .reusable = true}, SHIFT(2038),
  [4607] = {.count = 1, .reusable = true}, SHIFT(2039),
  [4609] = {.count = 1, .reusable = true}, SHIFT(2040),
  [4611] = {.count = 1, .reusable = true}, SHIFT(2041),
  [4613] = {.count = 1, .reusable = true}, SHIFT(2042),
  [4615] = {.count = 1, .reusable = true}, SHIFT(2043),
  [4617] = {.count = 1, .reusable = false}, SHIFT(2043),
  [4619] = {.count = 1, .reusable = true}, SHIFT(2044),
  [4621] = {.count = 1, .reusable = false}, SHIFT(2044),
  [4623] = {.count = 1, .reusable = true}, SHIFT(2045),
  [4625] = {.count = 1, .reusable = true}, SHIFT(2046),
  [4627] = {.count = 1, .reusable = false}, SHIFT(2046),
  [4629] = {.count = 1, .reusable = true}, REDUCE(sym_for_statement, 6, .alias_sequence_id = 5),
  [4631] = {.count = 1, .reusable = false}, REDUCE(sym_for_statement, 6, .alias_sequence_id = 5),
  [4633] = {.count = 1, .reusable = true}, SHIFT(2047),
  [4635] = {.count = 1, .reusable = true}, SHIFT(2048),
  [4637] = {.count = 1, .reusable = true}, SHIFT(2050),
  [4639] = {.count = 1, .reusable = true}, SHIFT(2051),
  [4641] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1138),
  [4644] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1139),
  [4647] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1139),
  [4650] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1140),
  [4653] = {.count = 1, .reusable = false}, REDUCE(sym_elif_clause, 3),
  [4655] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 6),
  [4657] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 6),
  [4659] = {.count = 1, .reusable = true}, SHIFT(2054),
  [4661] = {.count = 1, .reusable = true}, SHIFT(2055),
  [4663] = {.count = 1, .reusable = true}, SHIFT(2056),
  [4665] = {.count = 1, .reusable = true}, SHIFT(2058),
  [4667] = {.count = 1, .reusable = false}, SHIFT(2059),
  [4669] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 2, .alias_sequence_id = 1),
  [4671] = {.count = 1, .reusable = true}, SHIFT(2060),
  [4673] = {.count = 1, .reusable = false}, SHIFT(2061),
  [4675] = {.count = 1, .reusable = false}, SHIFT(2062),
  [4677] = {.count = 1, .reusable = false}, SHIFT(2063),
  [4679] = {.count = 1, .reusable = true}, SHIFT(2064),
  [4681] = {.count = 1, .reusable = false}, SHIFT(2065),
  [4683] = {.count = 1, .reusable = false}, SHIFT(2066),
  [4685] = {.count = 1, .reusable = false}, SHIFT(2067),
  [4687] = {.count = 1, .reusable = true}, SHIFT(2068),
  [4689] = {.count = 1, .reusable = false}, SHIFT(2069),
  [4691] = {.count = 1, .reusable = true}, SHIFT(2070),
  [4693] = {.count = 1, .reusable = true}, SHIFT(2071),
  [4695] = {.count = 1, .reusable = true}, SHIFT(2072),
  [4697] = {.count = 1, .reusable = true}, SHIFT(2073),
  [4699] = {.count = 1, .reusable = true}, SHIFT(2074),
  [4701] = {.count = 1, .reusable = false}, SHIFT(2075),
  [4703] = {.count = 1, .reusable = true}, SHIFT(2083),
  [4705] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 2),
  [4707] = {.count = 1, .reusable = true}, SHIFT(2086),
  [4709] = {.count = 1, .reusable = true}, SHIFT(2090),
  [4711] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 13),
  [4713] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 13),
  [4715] = {.count = 1, .reusable = true}, SHIFT(2091),
  [4717] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(2092),
  [4720] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(101),
  [4723] = {.count = 2, .reusable = false}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(102),
  [4726] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(2093),
  [4729] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(104),
  [4732] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(105),
  [4735] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(106),
  [4738] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(107),
  [4741] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 3),
  [4743] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 3),
  [4745] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 14),
  [4747] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 14),
  [4749] = {.count = 1, .reusable = true}, SHIFT(2096),
  [4751] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6),
  [4753] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6),
  [4755] = {.count = 1, .reusable = true}, SHIFT(2098),
  [4757] = {.count = 1, .reusable = true}, SHIFT(2099),
  [4759] = {.count = 1, .reusable = true}, SHIFT(2100),
  [4761] = {.count = 1, .reusable = false}, SHIFT(2101),
  [4763] = {.count = 1, .reusable = true}, SHIFT(2101),
  [4765] = {.count = 1, .reusable = true}, SHIFT(2102),
  [4767] = {.count = 1, .reusable = false}, SHIFT(2103),
  [4769] = {.count = 1, .reusable = true}, SHIFT(2103),
  [4771] = {.count = 1, .reusable = true}, SHIFT(2104),
  [4773] = {.count = 1, .reusable = false}, SHIFT(2105),
  [4775] = {.count = 1, .reusable = true}, SHIFT(2105),
  [4777] = {.count = 1, .reusable = true}, SHIFT(2106),
  [4779] = {.count = 1, .reusable = true}, SHIFT(2107),
  [4781] = {.count = 1, .reusable = true}, SHIFT(2108),
  [4783] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 6),
  [4785] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 6),
  [4787] = {.count = 1, .reusable = true}, SHIFT(2110),
  [4789] = {.count = 1, .reusable = true}, SHIFT(2111),
  [4791] = {.count = 1, .reusable = true}, SHIFT(2113),
  [4793] = {.count = 1, .reusable = true}, SHIFT(2114),
  [4795] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1209),
  [4798] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1210),
  [4801] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1210),
  [4804] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1211),
  [4807] = {.count = 1, .reusable = true}, SHIFT(2116),
  [4809] = {.count = 1, .reusable = true}, SHIFT(2117),
  [4811] = {.count = 1, .reusable = true}, SHIFT(2118),
  [4813] = {.count = 1, .reusable = false}, SHIFT(2119),
  [4815] = {.count = 1, .reusable = true}, SHIFT(2119),
  [4817] = {.count = 1, .reusable = true}, SHIFT(2120),
  [4819] = {.count = 1, .reusable = false}, SHIFT(2121),
  [4821] = {.count = 1, .reusable = true}, SHIFT(2121),
  [4823] = {.count = 1, .reusable = true}, SHIFT(2122),
  [4825] = {.count = 1, .reusable = false}, SHIFT(2123),
  [4827] = {.count = 1, .reusable = true}, SHIFT(2123),
  [4829] = {.count = 1, .reusable = true}, SHIFT(2124),
  [4831] = {.count = 1, .reusable = true}, SHIFT(2125),
  [4833] = {.count = 1, .reusable = true}, SHIFT(2126),
  [4835] = {.count = 1, .reusable = true}, SHIFT(2127),
  [4837] = {.count = 1, .reusable = false}, SHIFT(2129),
  [4839] = {.count = 1, .reusable = false}, SHIFT(2130),
  [4841] = {.count = 1, .reusable = true}, SHIFT(2131),
  [4843] = {.count = 1, .reusable = true}, SHIFT(2132),
  [4845] = {.count = 1, .reusable = true}, SHIFT(2133),
  [4847] = {.count = 1, .reusable = false}, SHIFT(2134),
  [4849] = {.count = 1, .reusable = false}, SHIFT(2133),
  [4851] = {.count = 1, .reusable = true}, SHIFT(2136),
  [4853] = {.count = 1, .reusable = false}, SHIFT(2138),
  [4855] = {.count = 1, .reusable = true}, SHIFT(2138),
  [4857] = {.count = 1, .reusable = true}, SHIFT(2137),
  [4859] = {.count = 1, .reusable = true}, SHIFT(2139),
  [4861] = {.count = 1, .reusable = false}, SHIFT(2141),
  [4863] = {.count = 1, .reusable = true}, SHIFT(2141),
  [4865] = {.count = 1, .reusable = true}, SHIFT(2140),
  [4867] = {.count = 1, .reusable = true}, SHIFT(2142),
  [4869] = {.count = 1, .reusable = false}, SHIFT(2144),
  [4871] = {.count = 1, .reusable = true}, SHIFT(2144),
  [4873] = {.count = 1, .reusable = true}, SHIFT(2143),
  [4875] = {.count = 1, .reusable = true}, SHIFT(2145),
  [4877] = {.count = 1, .reusable = true}, SHIFT(2146),
  [4879] = {.count = 1, .reusable = false}, SHIFT(2146),
  [4881] = {.count = 1, .reusable = true}, SHIFT(2149),
  [4883] = {.count = 1, .reusable = false}, SHIFT(2149),
  [4885] = {.count = 1, .reusable = true}, SHIFT(2152),
  [4887] = {.count = 1, .reusable = true}, SHIFT(2153),
  [4889] = {.count = 1, .reusable = false}, SHIFT(2153),
  [4891] = {.count = 1, .reusable = true}, SHIFT(2156),
  [4893] = {.count = 1, .reusable = true}, SHIFT(2157),
  [4895] = {.count = 1, .reusable = true}, SHIFT(2158),
  [4897] = {.count = 1, .reusable = false}, SHIFT(2159),
  [4899] = {.count = 1, .reusable = true}, SHIFT(2159),
  [4901] = {.count = 1, .reusable = true}, SHIFT(2160),
  [4903] = {.count = 1, .reusable = false}, SHIFT(2161),
  [4905] = {.count = 1, .reusable = true}, SHIFT(2161),
  [4907] = {.count = 1, .reusable = true}, SHIFT(2162),
  [4909] = {.count = 1, .reusable = false}, SHIFT(2163),
  [4911] = {.count = 1, .reusable = true}, SHIFT(2163),
  [4913] = {.count = 1, .reusable = true}, SHIFT(2164),
  [4915] = {.count = 1, .reusable = true}, SHIFT(2165),
  [4917] = {.count = 1, .reusable = true}, SHIFT(2166),
  [4919] = {.count = 1, .reusable = true}, SHIFT(2167),
  [4921] = {.count = 1, .reusable = true}, SHIFT(2168),
  [4923] = {.count = 1, .reusable = true}, SHIFT(2169),
  [4925] = {.count = 1, .reusable = false}, SHIFT(2170),
  [4927] = {.count = 1, .reusable = true}, SHIFT(2170),
  [4929] = {.count = 1, .reusable = true}, SHIFT(2171),
  [4931] = {.count = 1, .reusable = false}, SHIFT(2172),
  [4933] = {.count = 1, .reusable = true}, SHIFT(2172),
  [4935] = {.count = 1, .reusable = true}, SHIFT(2173),
  [4937] = {.count = 1, .reusable = false}, SHIFT(2174),
  [4939] = {.count = 1, .reusable = true}, SHIFT(2174),
  [4941] = {.count = 1, .reusable = true}, SHIFT(2175),
  [4943] = {.count = 1, .reusable = true}, SHIFT(2176),
  [4945] = {.count = 1, .reusable = true}, SHIFT(2177),
  [4947] = {.count = 1, .reusable = true}, SHIFT(2178),
  [4949] = {.count = 1, .reusable = true}, SHIFT(2179),
  [4951] = {.count = 1, .reusable = true}, SHIFT(2180),
  [4953] = {.count = 1, .reusable = false}, SHIFT(2181),
  [4955] = {.count = 1, .reusable = true}, SHIFT(2181),
  [4957] = {.count = 1, .reusable = true}, SHIFT(2182),
  [4959] = {.count = 1, .reusable = false}, SHIFT(2183),
  [4961] = {.count = 1, .reusable = true}, SHIFT(2183),
  [4963] = {.count = 1, .reusable = true}, SHIFT(2184),
  [4965] = {.count = 1, .reusable = false}, SHIFT(2185),
  [4967] = {.count = 1, .reusable = true}, SHIFT(2185),
  [4969] = {.count = 1, .reusable = true}, SHIFT(2186),
  [4971] = {.count = 1, .reusable = true}, SHIFT(2187),
  [4973] = {.count = 1, .reusable = true}, SHIFT(2188),
  [4975] = {.count = 1, .reusable = true}, SHIFT(2189),
  [4977] = {.count = 1, .reusable = true}, SHIFT(2190),
  [4979] = {.count = 1, .reusable = true}, SHIFT(2191),
  [4981] = {.count = 1, .reusable = false}, SHIFT(2192),
  [4983] = {.count = 1, .reusable = true}, SHIFT(2192),
  [4985] = {.count = 1, .reusable = true}, SHIFT(2193),
  [4987] = {.count = 1, .reusable = false}, SHIFT(2194),
  [4989] = {.count = 1, .reusable = true}, SHIFT(2194),
  [4991] = {.count = 1, .reusable = true}, SHIFT(2195),
  [4993] = {.count = 1, .reusable = false}, SHIFT(2196),
  [4995] = {.count = 1, .reusable = true}, SHIFT(2196),
  [4997] = {.count = 1, .reusable = true}, SHIFT(2197),
  [4999] = {.count = 1, .reusable = true}, SHIFT(2198),
  [5001] = {.count = 1, .reusable = true}, SHIFT(2199),
  [5003] = {.count = 1, .reusable = true}, SHIFT(2200),
  [5005] = {.count = 1, .reusable = true}, SHIFT(2201),
  [5007] = {.count = 1, .reusable = true}, SHIFT(2202),
  [5009] = {.count = 1, .reusable = false}, SHIFT(2203),
  [5011] = {.count = 1, .reusable = true}, SHIFT(2203),
  [5013] = {.count = 1, .reusable = true}, SHIFT(2204),
  [5015] = {.count = 1, .reusable = false}, SHIFT(2205),
  [5017] = {.count = 1, .reusable = true}, SHIFT(2205),
  [5019] = {.count = 1, .reusable = true}, SHIFT(2206),
  [5021] = {.count = 1, .reusable = false}, SHIFT(2207),
  [5023] = {.count = 1, .reusable = true}, SHIFT(2207),
  [5025] = {.count = 1, .reusable = true}, SHIFT(2208),
  [5027] = {.count = 1, .reusable = true}, SHIFT(2209),
  [5029] = {.count = 1, .reusable = true}, SHIFT(2210),
  [5031] = {.count = 1, .reusable = true}, SHIFT(2211),
  [5033] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 5, .alias_sequence_id = 6),
  [5035] = {.count = 1, .reusable = true}, SHIFT(2212),
  [5037] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 5),
  [5039] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1389),
  [5042] = {.count = 1, .reusable = false}, SHIFT(2213),
  [5044] = {.count = 1, .reusable = true}, SHIFT(2214),
  [5046] = {.count = 1, .reusable = false}, SHIFT(2215),
  [5048] = {.count = 1, .reusable = true}, SHIFT(2216),
  [5050] = {.count = 1, .reusable = true}, SHIFT(2218),
  [5052] = {.count = 1, .reusable = true}, SHIFT(2219),
  [5054] = {.count = 1, .reusable = false}, SHIFT(2221),
  [5056] = {.count = 1, .reusable = true}, SHIFT(2221),
  [5058] = {.count = 1, .reusable = true}, SHIFT(2220),
  [5060] = {.count = 1, .reusable = true}, SHIFT(2222),
  [5062] = {.count = 1, .reusable = false}, SHIFT(2224),
  [5064] = {.count = 1, .reusable = true}, SHIFT(2224),
  [5066] = {.count = 1, .reusable = true}, SHIFT(2223),
  [5068] = {.count = 1, .reusable = false}, SHIFT(2226),
  [5070] = {.count = 1, .reusable = true}, SHIFT(2226),
  [5072] = {.count = 1, .reusable = true}, SHIFT(2225),
  [5074] = {.count = 1, .reusable = true}, SHIFT(2227),
  [5076] = {.count = 1, .reusable = true}, SHIFT(2228),
  [5078] = {.count = 1, .reusable = true}, SHIFT(2229),
  [5080] = {.count = 1, .reusable = true}, SHIFT(2230),
  [5082] = {.count = 1, .reusable = true}, SHIFT(2231),
  [5084] = {.count = 1, .reusable = true}, SHIFT(2232),
  [5086] = {.count = 1, .reusable = true}, SHIFT(2233),
  [5088] = {.count = 1, .reusable = false}, SHIFT(2233),
  [5090] = {.count = 1, .reusable = true}, SHIFT(2234),
  [5092] = {.count = 1, .reusable = false}, SHIFT(2234),
  [5094] = {.count = 1, .reusable = true}, SHIFT(2235),
  [5096] = {.count = 1, .reusable = true}, SHIFT(2236),
  [5098] = {.count = 1, .reusable = false}, SHIFT(2236),
  [5100] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 15),
  [5102] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 15),
  [5104] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6),
  [5106] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6),
  [5108] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 16),
  [5110] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 16),
  [5112] = {.count = 1, .reusable = true}, SHIFT(2237),
  [5114] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 17),
  [5116] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 17),
  [5118] = {.count = 1, .reusable = true}, SHIFT(2238),
  [5120] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 18),
  [5122] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 18),
  [5124] = {.count = 1, .reusable = true}, SHIFT(2239),
  [5126] = {.count = 1, .reusable = true}, SHIFT(2240),
  [5128] = {.count = 1, .reusable = true}, SHIFT(2241),
  [5130] = {.count = 1, .reusable = false}, SHIFT(2242),
  [5132] = {.count = 1, .reusable = true}, SHIFT(2243),
  [5134] = {.count = 1, .reusable = true}, SHIFT(2245),
  [5136] = {.count = 1, .reusable = true}, SHIFT(2246),
  [5138] = {.count = 1, .reusable = true}, SHIFT(2247),
  [5140] = {.count = 1, .reusable = true}, SHIFT(2248),
  [5142] = {.count = 1, .reusable = true}, SHIFT(2249),
  [5144] = {.count = 1, .reusable = true}, SHIFT(2250),
  [5146] = {.count = 1, .reusable = false}, SHIFT(2251),
  [5148] = {.count = 1, .reusable = true}, SHIFT(2251),
  [5150] = {.count = 1, .reusable = true}, SHIFT(2252),
  [5152] = {.count = 1, .reusable = false}, SHIFT(2253),
  [5154] = {.count = 1, .reusable = true}, SHIFT(2253),
  [5156] = {.count = 1, .reusable = true}, SHIFT(2254),
  [5158] = {.count = 1, .reusable = false}, SHIFT(2255),
  [5160] = {.count = 1, .reusable = true}, SHIFT(2255),
  [5162] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 10),
  [5164] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 10),
  [5166] = {.count = 1, .reusable = true}, SHIFT(2256),
  [5168] = {.count = 1, .reusable = true}, SHIFT(2257),
  [5170] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 11),
  [5172] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 11),
  [5174] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 12),
  [5176] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 12),
  [5178] = {.count = 1, .reusable = true}, SHIFT(2258),
  [5180] = {.count = 1, .reusable = true}, SHIFT(2259),
  [5182] = {.count = 1, .reusable = true}, SHIFT(2261),
  [5184] = {.count = 1, .reusable = true}, SHIFT(2262),
  [5186] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1461),
  [5189] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1462),
  [5192] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1462),
  [5195] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1463),
  [5198] = {.count = 1, .reusable = true}, SHIFT(2264),
  [5200] = {.count = 1, .reusable = true}, SHIFT(2265),
  [5202] = {.count = 1, .reusable = false}, SHIFT(2266),
  [5204] = {.count = 1, .reusable = true}, SHIFT(2267),
  [5206] = {.count = 1, .reusable = true}, SHIFT(2269),
  [5208] = {.count = 1, .reusable = true}, SHIFT(2270),
  [5210] = {.count = 1, .reusable = true}, SHIFT(2271),
  [5212] = {.count = 1, .reusable = true}, SHIFT(2272),
  [5214] = {.count = 1, .reusable = true}, SHIFT(2273),
  [5216] = {.count = 1, .reusable = true}, SHIFT(2274),
  [5218] = {.count = 1, .reusable = false}, SHIFT(2275),
  [5220] = {.count = 1, .reusable = true}, SHIFT(2275),
  [5222] = {.count = 1, .reusable = true}, SHIFT(2276),
  [5224] = {.count = 1, .reusable = false}, SHIFT(2277),
  [5226] = {.count = 1, .reusable = true}, SHIFT(2277),
  [5228] = {.count = 1, .reusable = true}, SHIFT(2278),
  [5230] = {.count = 1, .reusable = false}, SHIFT(2279),
  [5232] = {.count = 1, .reusable = true}, SHIFT(2279),
  [5234] = {.count = 1, .reusable = true}, SHIFT(2280),
  [5236] = {.count = 1, .reusable = true}, SHIFT(2281),
  [5238] = {.count = 1, .reusable = false}, SHIFT(2282),
  [5240] = {.count = 1, .reusable = true}, SHIFT(2283),
  [5242] = {.count = 1, .reusable = true}, SHIFT(2285),
  [5244] = {.count = 1, .reusable = true}, SHIFT(2286),
  [5246] = {.count = 1, .reusable = true}, SHIFT(2287),
  [5248] = {.count = 1, .reusable = true}, SHIFT(2288),
  [5250] = {.count = 1, .reusable = true}, SHIFT(2289),
  [5252] = {.count = 1, .reusable = true}, SHIFT(2290),
  [5254] = {.count = 1, .reusable = false}, SHIFT(2291),
  [5256] = {.count = 1, .reusable = true}, SHIFT(2291),
  [5258] = {.count = 1, .reusable = true}, SHIFT(2292),
  [5260] = {.count = 1, .reusable = false}, SHIFT(2293),
  [5262] = {.count = 1, .reusable = true}, SHIFT(2293),
  [5264] = {.count = 1, .reusable = true}, SHIFT(2294),
  [5266] = {.count = 1, .reusable = false}, SHIFT(2295),
  [5268] = {.count = 1, .reusable = true}, SHIFT(2295),
  [5270] = {.count = 1, .reusable = true}, SHIFT(2296),
  [5272] = {.count = 1, .reusable = true}, SHIFT(2297),
  [5274] = {.count = 1, .reusable = true}, SHIFT(2298),
  [5276] = {.count = 1, .reusable = true}, SHIFT(2299),
  [5278] = {.count = 1, .reusable = true}, SHIFT(2300),
  [5280] = {.count = 1, .reusable = false}, SHIFT(2301),
  [5282] = {.count = 1, .reusable = true}, SHIFT(2301),
  [5284] = {.count = 1, .reusable = true}, SHIFT(2302),
  [5286] = {.count = 1, .reusable = false}, SHIFT(2303),
  [5288] = {.count = 1, .reusable = true}, SHIFT(2303),
  [5290] = {.count = 1, .reusable = true}, SHIFT(2304),
  [5292] = {.count = 1, .reusable = false}, SHIFT(2305),
  [5294] = {.count = 1, .reusable = true}, SHIFT(2305),
  [5296] = {.count = 1, .reusable = true}, SHIFT(2306),
  [5298] = {.count = 1, .reusable = true}, SHIFT(2307),
  [5300] = {.count = 1, .reusable = true}, SHIFT(2308),
  [5302] = {.count = 1, .reusable = true}, SHIFT(2309),
  [5304] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1547),
  [5307] = {.count = 1, .reusable = false}, SHIFT(2310),
  [5309] = {.count = 1, .reusable = true}, SHIFT(2311),
  [5311] = {.count = 1, .reusable = false}, SHIFT(2312),
  [5313] = {.count = 1, .reusable = true}, SHIFT(2313),
  [5315] = {.count = 1, .reusable = true}, SHIFT(2315),
  [5317] = {.count = 1, .reusable = true}, SHIFT(2316),
  [5319] = {.count = 1, .reusable = false}, SHIFT(2318),
  [5321] = {.count = 1, .reusable = true}, SHIFT(2318),
  [5323] = {.count = 1, .reusable = true}, SHIFT(2317),
  [5325] = {.count = 1, .reusable = true}, SHIFT(2319),
  [5327] = {.count = 1, .reusable = false}, SHIFT(2321),
  [5329] = {.count = 1, .reusable = true}, SHIFT(2321),
  [5331] = {.count = 1, .reusable = true}, SHIFT(2320),
  [5333] = {.count = 1, .reusable = false}, SHIFT(2323),
  [5335] = {.count = 1, .reusable = true}, SHIFT(2323),
  [5337] = {.count = 1, .reusable = true}, SHIFT(2322),
  [5339] = {.count = 1, .reusable = true}, SHIFT(2324),
  [5341] = {.count = 1, .reusable = true}, SHIFT(2325),
  [5343] = {.count = 1, .reusable = true}, SHIFT(2326),
  [5345] = {.count = 1, .reusable = true}, SHIFT(2327),
  [5347] = {.count = 1, .reusable = true}, SHIFT(2328),
  [5349] = {.count = 1, .reusable = true}, SHIFT(2329),
  [5351] = {.count = 1, .reusable = true}, SHIFT(2330),
  [5353] = {.count = 1, .reusable = false}, SHIFT(2330),
  [5355] = {.count = 1, .reusable = true}, SHIFT(2331),
  [5357] = {.count = 1, .reusable = false}, SHIFT(2331),
  [5359] = {.count = 1, .reusable = true}, SHIFT(2332),
  [5361] = {.count = 1, .reusable = true}, SHIFT(2333),
  [5363] = {.count = 1, .reusable = false}, SHIFT(2333),
  [5365] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 7),
  [5367] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 7),
  [5369] = {.count = 1, .reusable = true}, SHIFT(2335),
  [5371] = {.count = 1, .reusable = true}, SHIFT(2336),
  [5373] = {.count = 1, .reusable = true}, SHIFT(2337),
  [5375] = {.count = 1, .reusable = false}, SHIFT(2338),
  [5377] = {.count = 1, .reusable = true}, SHIFT(2338),
  [5379] = {.count = 1, .reusable = true}, SHIFT(2339),
  [5381] = {.count = 1, .reusable = false}, SHIFT(2340),
  [5383] = {.count = 1, .reusable = true}, SHIFT(2340),
  [5385] = {.count = 1, .reusable = true}, SHIFT(2341),
  [5387] = {.count = 1, .reusable = false}, SHIFT(2342),
  [5389] = {.count = 1, .reusable = true}, SHIFT(2342),
  [5391] = {.count = 1, .reusable = true}, SHIFT(2343),
  [5393] = {.count = 1, .reusable = true}, SHIFT(2344),
  [5395] = {.count = 1, .reusable = true}, SHIFT(2345),
  [5397] = {.count = 1, .reusable = true}, SHIFT(2346),
  [5399] = {.count = 1, .reusable = true}, SHIFT(2347),
  [5401] = {.count = 1, .reusable = true}, SHIFT(2348),
  [5403] = {.count = 1, .reusable = false}, SHIFT(2349),
  [5405] = {.count = 1, .reusable = true}, SHIFT(2350),
  [5407] = {.count = 1, .reusable = true}, SHIFT(2352),
  [5409] = {.count = 1, .reusable = true}, SHIFT(2353),
  [5411] = {.count = 1, .reusable = true}, SHIFT(2354),
  [5413] = {.count = 1, .reusable = true}, SHIFT(2355),
  [5415] = {.count = 1, .reusable = true}, SHIFT(2356),
  [5417] = {.count = 1, .reusable = true}, SHIFT(2357),
  [5419] = {.count = 1, .reusable = false}, SHIFT(2358),
  [5421] = {.count = 1, .reusable = true}, SHIFT(2358),
  [5423] = {.count = 1, .reusable = true}, SHIFT(2359),
  [5425] = {.count = 1, .reusable = false}, SHIFT(2360),
  [5427] = {.count = 1, .reusable = true}, SHIFT(2360),
  [5429] = {.count = 1, .reusable = true}, SHIFT(2361),
  [5431] = {.count = 1, .reusable = false}, SHIFT(2362),
  [5433] = {.count = 1, .reusable = true}, SHIFT(2362),
  [5435] = {.count = 1, .reusable = true}, SHIFT(2363),
  [5437] = {.count = 1, .reusable = true}, SHIFT(2364),
  [5439] = {.count = 1, .reusable = false}, REDUCE(sym_elif_clause, 4),
  [5441] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 7),
  [5443] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 7),
  [5445] = {.count = 1, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2, .alias_sequence_id = 3),
  [5447] = {.count = 1, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2),
  [5449] = {.count = 1, .reusable = true}, SHIFT(2367),
  [5451] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 3, .alias_sequence_id = 1),
  [5453] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 3, .alias_sequence_id = 1),
  [5455] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 3, .alias_sequence_id = 1),
  [5457] = {.count = 1, .reusable = true}, SHIFT(2369),
  [5459] = {.count = 1, .reusable = true}, SHIFT(2372),
  [5461] = {.count = 1, .reusable = true}, SHIFT(2373),
  [5463] = {.count = 1, .reusable = true}, SHIFT(2374),
  [5465] = {.count = 1, .reusable = false}, SHIFT(2375),
  [5467] = {.count = 1, .reusable = true}, SHIFT(2376),
  [5469] = {.count = 1, .reusable = true}, SHIFT(2377),
  [5471] = {.count = 1, .reusable = true}, SHIFT(2378),
  [5473] = {.count = 1, .reusable = true}, SHIFT(2379),
  [5475] = {.count = 1, .reusable = true}, SHIFT(2380),
  [5477] = {.count = 1, .reusable = false}, SHIFT(2381),
  [5479] = {.count = 1, .reusable = false}, SHIFT(2376),
  [5481] = {.count = 1, .reusable = true}, SHIFT(2384),
  [5483] = {.count = 1, .reusable = true}, SHIFT(2385),
  [5485] = {.count = 1, .reusable = false}, SHIFT(2386),
  [5487] = {.count = 1, .reusable = true}, SHIFT(2387),
  [5489] = {.count = 1, .reusable = true}, SHIFT(2388),
  [5491] = {.count = 1, .reusable = true}, SHIFT(2389),
  [5493] = {.count = 1, .reusable = true}, SHIFT(2390),
  [5495] = {.count = 1, .reusable = true}, SHIFT(2391),
  [5497] = {.count = 1, .reusable = false}, SHIFT(2392),
  [5499] = {.count = 1, .reusable = false}, SHIFT(2387),
  [5501] = {.count = 1, .reusable = true}, SHIFT(2394),
  [5503] = {.count = 1, .reusable = false}, SHIFT(2396),
  [5505] = {.count = 1, .reusable = false}, SHIFT(2397),
  [5507] = {.count = 1, .reusable = true}, SHIFT(2399),
  [5509] = {.count = 1, .reusable = true}, SHIFT(2400),
  [5511] = {.count = 1, .reusable = false}, SHIFT(2401),
  [5513] = {.count = 1, .reusable = false}, SHIFT(2399),
  [5515] = {.count = 1, .reusable = true}, SHIFT(2402),
  [5517] = {.count = 1, .reusable = true}, SHIFT(2403),
  [5519] = {.count = 1, .reusable = true}, SHIFT(2404),
  [5521] = {.count = 1, .reusable = false}, SHIFT(2405),
  [5523] = {.count = 1, .reusable = false}, SHIFT(2404),
  [5525] = {.count = 1, .reusable = true}, SHIFT(2416),
  [5527] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 3, .alias_sequence_id = 1),
  [5529] = {.count = 1, .reusable = false}, SHIFT(2417),
  [5531] = {.count = 1, .reusable = true}, SHIFT(2418),
  [5533] = {.count = 1, .reusable = true}, SHIFT(2417),
  [5535] = {.count = 1, .reusable = true}, SHIFT(2419),
  [5537] = {.count = 1, .reusable = false}, SHIFT(2420),
  [5539] = {.count = 1, .reusable = true}, SHIFT(2420),
  [5541] = {.count = 1, .reusable = true}, SHIFT(2421),
  [5543] = {.count = 1, .reusable = false}, SHIFT(2422),
  [5545] = {.count = 1, .reusable = false}, SHIFT(2423),
  [5547] = {.count = 1, .reusable = true}, SHIFT(2423),
  [5549] = {.count = 1, .reusable = true}, SHIFT(2424),
  [5551] = {.count = 1, .reusable = true}, SHIFT(2425),
  [5553] = {.count = 1, .reusable = true}, SHIFT(2426),
  [5555] = {.count = 1, .reusable = false}, SHIFT(2426),
  [5557] = {.count = 1, .reusable = true}, SHIFT(2429),
  [5559] = {.count = 1, .reusable = true}, SHIFT(2067),
  [5561] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2), SHIFT_REPEAT(1645),
  [5564] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 3),
  [5566] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 3),
  [5568] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 3),
  [5570] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 3),
  [5572] = {.count = 1, .reusable = true}, SHIFT(2435),
  [5574] = {.count = 1, .reusable = true}, SHIFT(2436),
  [5576] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 19),
  [5578] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 19),
  [5580] = {.count = 1, .reusable = true}, SHIFT(2440),
  [5582] = {.count = 1, .reusable = true}, SHIFT(2442),
  [5584] = {.count = 1, .reusable = true}, SHIFT(2444),
  [5586] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 20),
  [5588] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 20),
  [5590] = {.count = 1, .reusable = true}, SHIFT(2445),
  [5592] = {.count = 1, .reusable = true}, SHIFT(2446),
  [5594] = {.count = 1, .reusable = true}, SHIFT(2447),
  [5596] = {.count = 1, .reusable = true}, SHIFT(2448),
  [5598] = {.count = 1, .reusable = true}, SHIFT(2451),
  [5600] = {.count = 1, .reusable = true}, SHIFT(2452),
  [5602] = {.count = 1, .reusable = true}, SHIFT(2453),
  [5604] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1717),
  [5607] = {.count = 1, .reusable = false}, SHIFT(2454),
  [5609] = {.count = 1, .reusable = true}, SHIFT(2455),
  [5611] = {.count = 1, .reusable = false}, SHIFT(2456),
  [5613] = {.count = 1, .reusable = true}, SHIFT(2457),
  [5615] = {.count = 1, .reusable = true}, SHIFT(2459),
  [5617] = {.count = 1, .reusable = true}, SHIFT(2460),
  [5619] = {.count = 1, .reusable = false}, SHIFT(2462),
  [5621] = {.count = 1, .reusable = true}, SHIFT(2462),
  [5623] = {.count = 1, .reusable = true}, SHIFT(2461),
  [5625] = {.count = 1, .reusable = true}, SHIFT(2463),
  [5627] = {.count = 1, .reusable = false}, SHIFT(2465),
  [5629] = {.count = 1, .reusable = true}, SHIFT(2465),
  [5631] = {.count = 1, .reusable = true}, SHIFT(2464),
  [5633] = {.count = 1, .reusable = false}, SHIFT(2467),
  [5635] = {.count = 1, .reusable = true}, SHIFT(2467),
  [5637] = {.count = 1, .reusable = true}, SHIFT(2466),
  [5639] = {.count = 1, .reusable = true}, SHIFT(2468),
  [5641] = {.count = 1, .reusable = true}, SHIFT(2469),
  [5643] = {.count = 1, .reusable = true}, SHIFT(2470),
  [5645] = {.count = 1, .reusable = true}, SHIFT(2471),
  [5647] = {.count = 1, .reusable = true}, SHIFT(2472),
  [5649] = {.count = 1, .reusable = true}, SHIFT(2473),
  [5651] = {.count = 1, .reusable = true}, SHIFT(2474),
  [5653] = {.count = 1, .reusable = false}, SHIFT(2474),
  [5655] = {.count = 1, .reusable = true}, SHIFT(2475),
  [5657] = {.count = 1, .reusable = false}, SHIFT(2475),
  [5659] = {.count = 1, .reusable = true}, SHIFT(2476),
  [5661] = {.count = 1, .reusable = true}, SHIFT(2477),
  [5663] = {.count = 1, .reusable = false}, SHIFT(2477),
  [5665] = {.count = 1, .reusable = true}, SHIFT(2478),
  [5667] = {.count = 1, .reusable = true}, SHIFT(2479),
  [5669] = {.count = 1, .reusable = true}, SHIFT(2480),
  [5671] = {.count = 1, .reusable = true}, SHIFT(2481),
  [5673] = {.count = 1, .reusable = true}, SHIFT(2482),
  [5675] = {.count = 1, .reusable = true}, SHIFT(2483),
  [5677] = {.count = 1, .reusable = true}, SHIFT(2484),
  [5679] = {.count = 1, .reusable = true}, SHIFT(2485),
  [5681] = {.count = 1, .reusable = true}, SHIFT(2486),
  [5683] = {.count = 1, .reusable = true}, SHIFT(2487),
  [5685] = {.count = 1, .reusable = true}, SHIFT(2488),
  [5687] = {.count = 1, .reusable = true}, SHIFT(2489),
  [5689] = {.count = 1, .reusable = true}, SHIFT(2490),
  [5691] = {.count = 1, .reusable = true}, SHIFT(2491),
  [5693] = {.count = 1, .reusable = true}, SHIFT(2492),
  [5695] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 6, .alias_sequence_id = 6),
  [5697] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 6),
  [5699] = {.count = 1, .reusable = true}, SHIFT(2493),
  [5701] = {.count = 1, .reusable = true}, SHIFT(2494),
  [5703] = {.count = 1, .reusable = false}, SHIFT(2495),
  [5705] = {.count = 1, .reusable = true}, SHIFT(2496),
  [5707] = {.count = 1, .reusable = true}, SHIFT(2498),
  [5709] = {.count = 1, .reusable = true}, SHIFT(2499),
  [5711] = {.count = 1, .reusable = true}, SHIFT(2500),
  [5713] = {.count = 1, .reusable = true}, SHIFT(2501),
  [5715] = {.count = 1, .reusable = true}, SHIFT(2502),
  [5717] = {.count = 1, .reusable = true}, SHIFT(2503),
  [5719] = {.count = 1, .reusable = false}, SHIFT(2504),
  [5721] = {.count = 1, .reusable = true}, SHIFT(2504),
  [5723] = {.count = 1, .reusable = true}, SHIFT(2505),
  [5725] = {.count = 1, .reusable = false}, SHIFT(2506),
  [5727] = {.count = 1, .reusable = true}, SHIFT(2506),
  [5729] = {.count = 1, .reusable = true}, SHIFT(2507),
  [5731] = {.count = 1, .reusable = false}, SHIFT(2508),
  [5733] = {.count = 1, .reusable = true}, SHIFT(2508),
  [5735] = {.count = 1, .reusable = true}, SHIFT(2509),
  [5737] = {.count = 1, .reusable = true}, SHIFT(2510),
  [5739] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 7, .alias_sequence_id = 16),
  [5741] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 7, .alias_sequence_id = 16),
  [5743] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 7, .alias_sequence_id = 17),
  [5745] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 7, .alias_sequence_id = 17),
  [5747] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 7, .alias_sequence_id = 18),
  [5749] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 7, .alias_sequence_id = 18),
  [5751] = {.count = 1, .reusable = true}, SHIFT(2511),
  [5753] = {.count = 1, .reusable = true}, SHIFT(2512),
  [5755] = {.count = 1, .reusable = true}, SHIFT(2513),
  [5757] = {.count = 1, .reusable = false}, SHIFT(2514),
  [5759] = {.count = 1, .reusable = true}, SHIFT(2514),
  [5761] = {.count = 1, .reusable = true}, SHIFT(2515),
  [5763] = {.count = 1, .reusable = false}, SHIFT(2516),
  [5765] = {.count = 1, .reusable = true}, SHIFT(2516),
  [5767] = {.count = 1, .reusable = true}, SHIFT(2517),
  [5769] = {.count = 1, .reusable = false}, SHIFT(2518),
  [5771] = {.count = 1, .reusable = true}, SHIFT(2518),
  [5773] = {.count = 1, .reusable = true}, SHIFT(2519),
  [5775] = {.count = 1, .reusable = true}, SHIFT(2520),
  [5777] = {.count = 1, .reusable = true}, SHIFT(2521),
  [5779] = {.count = 1, .reusable = true}, SHIFT(2524),
  [5781] = {.count = 1, .reusable = true}, SHIFT(2525),
  [5783] = {.count = 1, .reusable = true}, SHIFT(2526),
  [5785] = {.count = 1, .reusable = false}, SHIFT(2527),
  [5787] = {.count = 1, .reusable = true}, SHIFT(2527),
  [5789] = {.count = 1, .reusable = true}, SHIFT(2528),
  [5791] = {.count = 1, .reusable = false}, SHIFT(2529),
  [5793] = {.count = 1, .reusable = true}, SHIFT(2529),
  [5795] = {.count = 1, .reusable = true}, SHIFT(2530),
  [5797] = {.count = 1, .reusable = false}, SHIFT(2531),
  [5799] = {.count = 1, .reusable = true}, SHIFT(2531),
  [5801] = {.count = 1, .reusable = true}, SHIFT(2532),
  [5803] = {.count = 1, .reusable = true}, SHIFT(2533),
  [5805] = {.count = 1, .reusable = true}, SHIFT(2534),
  [5807] = {.count = 1, .reusable = true}, SHIFT(2535),
  [5809] = {.count = 1, .reusable = true}, SHIFT(2536),
  [5811] = {.count = 1, .reusable = true}, SHIFT(2537),
  [5813] = {.count = 1, .reusable = false}, SHIFT(2538),
  [5815] = {.count = 1, .reusable = true}, SHIFT(2538),
  [5817] = {.count = 1, .reusable = true}, SHIFT(2539),
  [5819] = {.count = 1, .reusable = false}, SHIFT(2540),
  [5821] = {.count = 1, .reusable = true}, SHIFT(2540),
  [5823] = {.count = 1, .reusable = true}, SHIFT(2541),
  [5825] = {.count = 1, .reusable = false}, SHIFT(2542),
  [5827] = {.count = 1, .reusable = true}, SHIFT(2542),
  [5829] = {.count = 1, .reusable = true}, SHIFT(2543),
  [5831] = {.count = 1, .reusable = true}, SHIFT(2544),
  [5833] = {.count = 1, .reusable = true}, SHIFT(2545),
  [5835] = {.count = 1, .reusable = true}, SHIFT(2546),
  [5837] = {.count = 1, .reusable = true}, SHIFT(2547),
  [5839] = {.count = 1, .reusable = true}, SHIFT(2548),
  [5841] = {.count = 1, .reusable = true}, SHIFT(2549),
  [5843] = {.count = 1, .reusable = true}, SHIFT(2550),
  [5845] = {.count = 1, .reusable = false}, SHIFT(2551),
  [5847] = {.count = 1, .reusable = true}, SHIFT(2552),
  [5849] = {.count = 1, .reusable = true}, SHIFT(2554),
  [5851] = {.count = 1, .reusable = true}, SHIFT(2555),
  [5853] = {.count = 1, .reusable = true}, SHIFT(2556),
  [5855] = {.count = 1, .reusable = true}, SHIFT(2557),
  [5857] = {.count = 1, .reusable = true}, SHIFT(2558),
  [5859] = {.count = 1, .reusable = true}, SHIFT(2559),
  [5861] = {.count = 1, .reusable = false}, SHIFT(2560),
  [5863] = {.count = 1, .reusable = true}, SHIFT(2560),
  [5865] = {.count = 1, .reusable = true}, SHIFT(2561),
  [5867] = {.count = 1, .reusable = false}, SHIFT(2562),
  [5869] = {.count = 1, .reusable = true}, SHIFT(2562),
  [5871] = {.count = 1, .reusable = true}, SHIFT(2563),
  [5873] = {.count = 1, .reusable = false}, SHIFT(2564),
  [5875] = {.count = 1, .reusable = true}, SHIFT(2564),
  [5877] = {.count = 1, .reusable = true}, SHIFT(2565),
  [5879] = {.count = 1, .reusable = true}, SHIFT(2566),
  [5881] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 8),
  [5883] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 8),
  [5885] = {.count = 1, .reusable = true}, SHIFT(2567),
  [5887] = {.count = 1, .reusable = true}, SHIFT(2568),
  [5889] = {.count = 1, .reusable = true}, SHIFT(2569),
  [5891] = {.count = 1, .reusable = true}, SHIFT(2571),
  [5893] = {.count = 1, .reusable = true}, SHIFT(2572),
  [5895] = {.count = 1, .reusable = true}, SHIFT(2573),
  [5897] = {.count = 1, .reusable = false}, SHIFT(2574),
  [5899] = {.count = 1, .reusable = true}, SHIFT(2574),
  [5901] = {.count = 1, .reusable = true}, SHIFT(2575),
  [5903] = {.count = 1, .reusable = false}, SHIFT(2576),
  [5905] = {.count = 1, .reusable = true}, SHIFT(2576),
  [5907] = {.count = 1, .reusable = true}, SHIFT(2577),
  [5909] = {.count = 1, .reusable = false}, SHIFT(2578),
  [5911] = {.count = 1, .reusable = true}, SHIFT(2578),
  [5913] = {.count = 1, .reusable = true}, SHIFT(2579),
  [5915] = {.count = 1, .reusable = true}, SHIFT(2580),
  [5917] = {.count = 1, .reusable = true}, SHIFT(2581),
  [5919] = {.count = 1, .reusable = true}, SHIFT(2582),
  [5921] = {.count = 1, .reusable = true}, SHIFT(2583),
  [5923] = {.count = 1, .reusable = true}, SHIFT(2584),
  [5925] = {.count = 1, .reusable = true}, SHIFT(2585),
  [5927] = {.count = 1, .reusable = false}, SHIFT(2586),
  [5929] = {.count = 1, .reusable = true}, SHIFT(2587),
  [5931] = {.count = 1, .reusable = true}, SHIFT(2588),
  [5933] = {.count = 1, .reusable = true}, SHIFT(2589),
  [5935] = {.count = 1, .reusable = true}, SHIFT(2590),
  [5937] = {.count = 1, .reusable = true}, SHIFT(2591),
  [5939] = {.count = 1, .reusable = true}, SHIFT(2593),
  [5941] = {.count = 1, .reusable = true}, SHIFT(2595),
  [5943] = {.count = 1, .reusable = true}, SHIFT(2596),
  [5945] = {.count = 1, .reusable = true}, SHIFT(2597),
  [5947] = {.count = 1, .reusable = false}, SHIFT(2599),
  [5949] = {.count = 1, .reusable = false}, SHIFT(2600),
  [5951] = {.count = 1, .reusable = true}, SHIFT(2602),
  [5953] = {.count = 1, .reusable = true}, SHIFT(2603),
  [5955] = {.count = 1, .reusable = false}, SHIFT(2604),
  [5957] = {.count = 1, .reusable = false}, SHIFT(2602),
  [5959] = {.count = 1, .reusable = true}, SHIFT(2605),
  [5961] = {.count = 1, .reusable = true}, SHIFT(2606),
  [5963] = {.count = 1, .reusable = true}, SHIFT(2607),
  [5965] = {.count = 1, .reusable = false}, SHIFT(2608),
  [5967] = {.count = 1, .reusable = false}, SHIFT(2607),
  [5969] = {.count = 1, .reusable = true}, SHIFT(2620),
  [5971] = {.count = 1, .reusable = false}, SHIFT(2622),
  [5973] = {.count = 1, .reusable = false}, SHIFT(2623),
  [5975] = {.count = 1, .reusable = true}, SHIFT(2625),
  [5977] = {.count = 1, .reusable = true}, SHIFT(2626),
  [5979] = {.count = 1, .reusable = false}, SHIFT(2627),
  [5981] = {.count = 1, .reusable = false}, SHIFT(2625),
  [5983] = {.count = 1, .reusable = true}, SHIFT(2628),
  [5985] = {.count = 1, .reusable = true}, SHIFT(2629),
  [5987] = {.count = 1, .reusable = true}, SHIFT(2630),
  [5989] = {.count = 1, .reusable = false}, SHIFT(2631),
  [5991] = {.count = 1, .reusable = false}, SHIFT(2630),
  [5993] = {.count = 1, .reusable = true}, SHIFT(2643),
  [5995] = {.count = 1, .reusable = false}, SHIFT(2645),
  [5997] = {.count = 1, .reusable = false}, SHIFT(2646),
  [5999] = {.count = 1, .reusable = true}, SHIFT(2647),
  [6001] = {.count = 1, .reusable = true}, SHIFT(2648),
  [6003] = {.count = 1, .reusable = true}, SHIFT(2649),
  [6005] = {.count = 1, .reusable = false}, SHIFT(2650),
  [6007] = {.count = 1, .reusable = false}, SHIFT(2649),
  [6009] = {.count = 1, .reusable = true}, SHIFT(2652),
  [6011] = {.count = 1, .reusable = false}, SHIFT(2654),
  [6013] = {.count = 1, .reusable = true}, SHIFT(2654),
  [6015] = {.count = 1, .reusable = true}, SHIFT(2653),
  [6017] = {.count = 1, .reusable = true}, SHIFT(2655),
  [6019] = {.count = 1, .reusable = false}, SHIFT(2657),
  [6021] = {.count = 1, .reusable = true}, SHIFT(2657),
  [6023] = {.count = 1, .reusable = true}, SHIFT(2656),
  [6025] = {.count = 1, .reusable = true}, SHIFT(2658),
  [6027] = {.count = 1, .reusable = false}, SHIFT(2660),
  [6029] = {.count = 1, .reusable = true}, SHIFT(2660),
  [6031] = {.count = 1, .reusable = true}, SHIFT(2659),
  [6033] = {.count = 1, .reusable = true}, SHIFT(2661),
  [6035] = {.count = 1, .reusable = true}, SHIFT(2662),
  [6037] = {.count = 1, .reusable = false}, SHIFT(2662),
  [6039] = {.count = 1, .reusable = true}, SHIFT(2665),
  [6041] = {.count = 1, .reusable = false}, SHIFT(2665),
  [6043] = {.count = 1, .reusable = true}, SHIFT(2668),
  [6045] = {.count = 1, .reusable = true}, SHIFT(2669),
  [6047] = {.count = 1, .reusable = false}, SHIFT(2669),
  [6049] = {.count = 1, .reusable = true}, SHIFT(2672),
  [6051] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 4, .alias_sequence_id = 1),
  [6053] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 4, .alias_sequence_id = 1),
  [6055] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 4, .alias_sequence_id = 1),
  [6057] = {.count = 1, .reusable = false}, SHIFT(2676),
  [6059] = {.count = 1, .reusable = true}, SHIFT(2676),
  [6061] = {.count = 1, .reusable = false}, SHIFT(2677),
  [6063] = {.count = 1, .reusable = false}, SHIFT(2068),
  [6065] = {.count = 1, .reusable = false}, SHIFT(2678),
  [6067] = {.count = 1, .reusable = false}, SHIFT(2071),
  [6069] = {.count = 1, .reusable = false}, SHIFT(2072),
  [6071] = {.count = 1, .reusable = false}, SHIFT(2073),
  [6073] = {.count = 1, .reusable = false}, SHIFT(2074),
  [6075] = {.count = 1, .reusable = false}, SHIFT(2679),
  [6077] = {.count = 1, .reusable = true}, SHIFT(2680),
  [6079] = {.count = 1, .reusable = true}, SHIFT(2681),
  [6081] = {.count = 1, .reusable = false}, SHIFT(2682),
  [6083] = {.count = 1, .reusable = true}, SHIFT(2683),
  [6085] = {.count = 1, .reusable = true}, SHIFT(2684),
  [6087] = {.count = 1, .reusable = true}, SHIFT(2685),
  [6089] = {.count = 1, .reusable = true}, SHIFT(2686),
  [6091] = {.count = 1, .reusable = true}, SHIFT(2687),
  [6093] = {.count = 1, .reusable = true}, SHIFT(2688),
  [6095] = {.count = 1, .reusable = true}, SHIFT(2689),
  [6097] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 4, .alias_sequence_id = 1),
  [6099] = {.count = 1, .reusable = true}, SHIFT(2693),
  [6101] = {.count = 1, .reusable = true}, SHIFT(2697),
  [6103] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 4),
  [6105] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 4),
  [6107] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 4),
  [6109] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 4),
  [6111] = {.count = 1, .reusable = true}, SHIFT(2700),
  [6113] = {.count = 1, .reusable = true}, SHIFT(2701),
  [6115] = {.count = 1, .reusable = true}, SHIFT(2704),
  [6117] = {.count = 1, .reusable = true}, SHIFT(2708),
  [6119] = {.count = 1, .reusable = true}, SHIFT(2709),
  [6121] = {.count = 1, .reusable = true}, SHIFT(2713),
  [6123] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 21),
  [6125] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 21),
  [6127] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 22),
  [6129] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 22),
  [6131] = {.count = 1, .reusable = true}, SHIFT(2714),
  [6133] = {.count = 1, .reusable = true}, SHIFT(2715),
  [6135] = {.count = 1, .reusable = false}, SHIFT(2716),
  [6137] = {.count = 1, .reusable = true}, SHIFT(2717),
  [6139] = {.count = 1, .reusable = true}, SHIFT(2719),
  [6141] = {.count = 1, .reusable = true}, SHIFT(2720),
  [6143] = {.count = 1, .reusable = true}, SHIFT(2721),
  [6145] = {.count = 1, .reusable = true}, SHIFT(2722),
  [6147] = {.count = 1, .reusable = true}, SHIFT(2723),
  [6149] = {.count = 1, .reusable = true}, SHIFT(2724),
  [6151] = {.count = 1, .reusable = false}, SHIFT(2725),
  [6153] = {.count = 1, .reusable = true}, SHIFT(2725),
  [6155] = {.count = 1, .reusable = true}, SHIFT(2726),
  [6157] = {.count = 1, .reusable = false}, SHIFT(2727),
  [6159] = {.count = 1, .reusable = true}, SHIFT(2727),
  [6161] = {.count = 1, .reusable = true}, SHIFT(2728),
  [6163] = {.count = 1, .reusable = false}, SHIFT(2729),
  [6165] = {.count = 1, .reusable = true}, SHIFT(2729),
  [6167] = {.count = 1, .reusable = true}, SHIFT(2730),
  [6169] = {.count = 1, .reusable = true}, SHIFT(2731),
  [6171] = {.count = 1, .reusable = true}, SHIFT(2732),
  [6173] = {.count = 1, .reusable = true}, SHIFT(2733),
  [6175] = {.count = 1, .reusable = true}, SHIFT(2734),
  [6177] = {.count = 1, .reusable = false}, SHIFT(2735),
  [6179] = {.count = 1, .reusable = true}, SHIFT(2735),
  [6181] = {.count = 1, .reusable = true}, SHIFT(2736),
  [6183] = {.count = 1, .reusable = false}, SHIFT(2737),
  [6185] = {.count = 1, .reusable = true}, SHIFT(2737),
  [6187] = {.count = 1, .reusable = true}, SHIFT(2738),
  [6189] = {.count = 1, .reusable = false}, SHIFT(2739),
  [6191] = {.count = 1, .reusable = true}, SHIFT(2739),
  [6193] = {.count = 1, .reusable = true}, SHIFT(2740),
  [6195] = {.count = 1, .reusable = true}, SHIFT(2741),
  [6197] = {.count = 1, .reusable = true}, SHIFT(2742),
  [6199] = {.count = 1, .reusable = true}, SHIFT(2743),
  [6201] = {.count = 1, .reusable = true}, SHIFT(2744),
  [6203] = {.count = 1, .reusable = true}, SHIFT(2745),
  [6205] = {.count = 1, .reusable = true}, SHIFT(2746),
  [6207] = {.count = 1, .reusable = true}, SHIFT(2747),
  [6209] = {.count = 1, .reusable = true}, SHIFT(2748),
  [6211] = {.count = 1, .reusable = true}, SHIFT(2749),
  [6213] = {.count = 1, .reusable = true}, SHIFT(2750),
  [6215] = {.count = 1, .reusable = true}, SHIFT(2751),
  [6217] = {.count = 1, .reusable = true}, SHIFT(2752),
  [6219] = {.count = 1, .reusable = true}, SHIFT(2753),
  [6221] = {.count = 1, .reusable = true}, SHIFT(2754),
  [6223] = {.count = 1, .reusable = false}, SHIFT(2755),
  [6225] = {.count = 1, .reusable = true}, SHIFT(2755),
  [6227] = {.count = 1, .reusable = true}, SHIFT(2756),
  [6229] = {.count = 1, .reusable = false}, SHIFT(2757),
  [6231] = {.count = 1, .reusable = true}, SHIFT(2757),
  [6233] = {.count = 1, .reusable = true}, SHIFT(2758),
  [6235] = {.count = 1, .reusable = false}, SHIFT(2759),
  [6237] = {.count = 1, .reusable = true}, SHIFT(2759),
  [6239] = {.count = 1, .reusable = true}, SHIFT(2760),
  [6241] = {.count = 1, .reusable = true}, SHIFT(2761),
  [6243] = {.count = 1, .reusable = true}, SHIFT(2762),
  [6245] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 9),
  [6247] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 9),
  [6249] = {.count = 1, .reusable = true}, SHIFT(2763),
  [6251] = {.count = 1, .reusable = true}, SHIFT(2764),
  [6253] = {.count = 1, .reusable = true}, SHIFT(2765),
  [6255] = {.count = 1, .reusable = true}, SHIFT(2766),
  [6257] = {.count = 1, .reusable = true}, SHIFT(2768),
  [6259] = {.count = 1, .reusable = false}, SHIFT(2770),
  [6261] = {.count = 1, .reusable = false}, SHIFT(2771),
  [6263] = {.count = 1, .reusable = true}, SHIFT(2773),
  [6265] = {.count = 1, .reusable = true}, SHIFT(2774),
  [6267] = {.count = 1, .reusable = false}, SHIFT(2775),
  [6269] = {.count = 1, .reusable = false}, SHIFT(2773),
  [6271] = {.count = 1, .reusable = true}, SHIFT(2776),
  [6273] = {.count = 1, .reusable = true}, SHIFT(2777),
  [6275] = {.count = 1, .reusable = true}, SHIFT(2778),
  [6277] = {.count = 1, .reusable = false}, SHIFT(2779),
  [6279] = {.count = 1, .reusable = false}, SHIFT(2778),
  [6281] = {.count = 1, .reusable = true}, SHIFT(2791),
  [6283] = {.count = 1, .reusable = true}, SHIFT(2792),
  [6285] = {.count = 1, .reusable = false}, SHIFT(2793),
  [6287] = {.count = 1, .reusable = true}, SHIFT(2793),
  [6289] = {.count = 1, .reusable = true}, SHIFT(2794),
  [6291] = {.count = 1, .reusable = false}, SHIFT(2795),
  [6293] = {.count = 1, .reusable = true}, SHIFT(2795),
  [6295] = {.count = 1, .reusable = true}, SHIFT(2796),
  [6297] = {.count = 1, .reusable = true}, SHIFT(2798),
  [6299] = {.count = 1, .reusable = true}, SHIFT(2799),
  [6301] = {.count = 1, .reusable = true}, SHIFT(2800),
  [6303] = {.count = 1, .reusable = true}, SHIFT(2801),
  [6305] = {.count = 1, .reusable = true}, SHIFT(2802),
  [6307] = {.count = 1, .reusable = false}, SHIFT(2804),
  [6309] = {.count = 1, .reusable = false}, SHIFT(2805),
  [6311] = {.count = 1, .reusable = true}, SHIFT(2806),
  [6313] = {.count = 1, .reusable = true}, SHIFT(2807),
  [6315] = {.count = 1, .reusable = true}, SHIFT(2808),
  [6317] = {.count = 1, .reusable = false}, SHIFT(2809),
  [6319] = {.count = 1, .reusable = false}, SHIFT(2808),
  [6321] = {.count = 1, .reusable = true}, SHIFT(2811),
  [6323] = {.count = 1, .reusable = false}, SHIFT(2813),
  [6325] = {.count = 1, .reusable = true}, SHIFT(2813),
  [6327] = {.count = 1, .reusable = true}, SHIFT(2812),
  [6329] = {.count = 1, .reusable = true}, SHIFT(2814),
  [6331] = {.count = 1, .reusable = false}, SHIFT(2816),
  [6333] = {.count = 1, .reusable = true}, SHIFT(2816),
  [6335] = {.count = 1, .reusable = true}, SHIFT(2815),
  [6337] = {.count = 1, .reusable = true}, SHIFT(2817),
  [6339] = {.count = 1, .reusable = false}, SHIFT(2819),
  [6341] = {.count = 1, .reusable = true}, SHIFT(2819),
  [6343] = {.count = 1, .reusable = true}, SHIFT(2818),
  [6345] = {.count = 1, .reusable = true}, SHIFT(2820),
  [6347] = {.count = 1, .reusable = true}, SHIFT(2821),
  [6349] = {.count = 1, .reusable = false}, SHIFT(2821),
  [6351] = {.count = 1, .reusable = true}, SHIFT(2824),
  [6353] = {.count = 1, .reusable = false}, SHIFT(2824),
  [6355] = {.count = 1, .reusable = true}, SHIFT(2827),
  [6357] = {.count = 1, .reusable = true}, SHIFT(2828),
  [6359] = {.count = 1, .reusable = false}, SHIFT(2828),
  [6361] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2372),
  [6364] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2373),
  [6367] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2374),
  [6370] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2375),
  [6373] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2376),
  [6376] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2377),
  [6379] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2378),
  [6382] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2379),
  [6385] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2380),
  [6388] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2381),
  [6391] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2376),
  [6394] = {.count = 1, .reusable = true}, SHIFT(2831),
  [6396] = {.count = 1, .reusable = false}, SHIFT(2833),
  [6398] = {.count = 1, .reusable = false}, SHIFT(2834),
  [6400] = {.count = 1, .reusable = true}, SHIFT(2835),
  [6402] = {.count = 1, .reusable = true}, SHIFT(2836),
  [6404] = {.count = 1, .reusable = true}, SHIFT(2837),
  [6406] = {.count = 1, .reusable = false}, SHIFT(2838),
  [6408] = {.count = 1, .reusable = false}, SHIFT(2837),
  [6410] = {.count = 1, .reusable = true}, SHIFT(2840),
  [6412] = {.count = 1, .reusable = false}, SHIFT(2842),
  [6414] = {.count = 1, .reusable = true}, SHIFT(2842),
  [6416] = {.count = 1, .reusable = true}, SHIFT(2841),
  [6418] = {.count = 1, .reusable = true}, SHIFT(2843),
  [6420] = {.count = 1, .reusable = false}, SHIFT(2845),
  [6422] = {.count = 1, .reusable = true}, SHIFT(2845),
  [6424] = {.count = 1, .reusable = true}, SHIFT(2844),
  [6426] = {.count = 1, .reusable = true}, SHIFT(2846),
  [6428] = {.count = 1, .reusable = false}, SHIFT(2848),
  [6430] = {.count = 1, .reusable = true}, SHIFT(2848),
  [6432] = {.count = 1, .reusable = true}, SHIFT(2847),
  [6434] = {.count = 1, .reusable = true}, SHIFT(2849),
  [6436] = {.count = 1, .reusable = true}, SHIFT(2850),
  [6438] = {.count = 1, .reusable = false}, SHIFT(2850),
  [6440] = {.count = 1, .reusable = true}, SHIFT(2853),
  [6442] = {.count = 1, .reusable = false}, SHIFT(2853),
  [6444] = {.count = 1, .reusable = true}, SHIFT(2856),
  [6446] = {.count = 1, .reusable = true}, SHIFT(2857),
  [6448] = {.count = 1, .reusable = false}, SHIFT(2857),
  [6450] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2384),
  [6453] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2385),
  [6456] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2386),
  [6459] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2387),
  [6462] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2388),
  [6465] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2389),
  [6468] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2390),
  [6471] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2391),
  [6474] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2392),
  [6477] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2387),
  [6480] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2394),
  [6483] = {.count = 1, .reusable = false}, SHIFT(2860),
  [6485] = {.count = 1, .reusable = true}, SHIFT(2861),
  [6487] = {.count = 1, .reusable = false}, SHIFT(2862),
  [6489] = {.count = 1, .reusable = true}, SHIFT(2863),
  [6491] = {.count = 1, .reusable = true}, SHIFT(2865),
  [6493] = {.count = 1, .reusable = true}, SHIFT(2866),
  [6495] = {.count = 1, .reusable = false}, SHIFT(2868),
  [6497] = {.count = 1, .reusable = true}, SHIFT(2868),
  [6499] = {.count = 1, .reusable = true}, SHIFT(2867),
  [6501] = {.count = 1, .reusable = true}, SHIFT(2869),
  [6503] = {.count = 1, .reusable = false}, SHIFT(2871),
  [6505] = {.count = 1, .reusable = true}, SHIFT(2871),
  [6507] = {.count = 1, .reusable = true}, SHIFT(2870),
  [6509] = {.count = 1, .reusable = false}, SHIFT(2873),
  [6511] = {.count = 1, .reusable = true}, SHIFT(2873),
  [6513] = {.count = 1, .reusable = true}, SHIFT(2872),
  [6515] = {.count = 1, .reusable = true}, SHIFT(2874),
  [6517] = {.count = 1, .reusable = true}, SHIFT(2875),
  [6519] = {.count = 1, .reusable = true}, SHIFT(2876),
  [6521] = {.count = 1, .reusable = true}, SHIFT(2877),
  [6523] = {.count = 1, .reusable = true}, SHIFT(2878),
  [6525] = {.count = 1, .reusable = true}, SHIFT(2879),
  [6527] = {.count = 1, .reusable = true}, SHIFT(2880),
  [6529] = {.count = 1, .reusable = false}, SHIFT(2880),
  [6531] = {.count = 1, .reusable = true}, SHIFT(2881),
  [6533] = {.count = 1, .reusable = false}, SHIFT(2881),
  [6535] = {.count = 1, .reusable = true}, SHIFT(2882),
  [6537] = {.count = 1, .reusable = true}, SHIFT(2883),
  [6539] = {.count = 1, .reusable = false}, SHIFT(2883),
  [6541] = {.count = 1, .reusable = true}, SHIFT(2885),
  [6543] = {.count = 1, .reusable = true}, SHIFT(2886),
  [6545] = {.count = 1, .reusable = true}, SHIFT(2887),
  [6547] = {.count = 1, .reusable = false}, SHIFT(2889),
  [6549] = {.count = 1, .reusable = false}, SHIFT(2890),
  [6551] = {.count = 1, .reusable = true}, SHIFT(2892),
  [6553] = {.count = 1, .reusable = true}, SHIFT(2893),
  [6555] = {.count = 1, .reusable = false}, SHIFT(2894),
  [6557] = {.count = 1, .reusable = false}, SHIFT(2892),
  [6559] = {.count = 1, .reusable = true}, SHIFT(2895),
  [6561] = {.count = 1, .reusable = true}, SHIFT(2896),
  [6563] = {.count = 1, .reusable = true}, SHIFT(2897),
  [6565] = {.count = 1, .reusable = false}, SHIFT(2898),
  [6567] = {.count = 1, .reusable = false}, SHIFT(2897),
  [6569] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2421),
  [6572] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2423),
  [6575] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2423),
  [6578] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2424),
  [6581] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2422),
  [6584] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2425),
  [6587] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2068),
  [6590] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2069),
  [6593] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2426),
  [6596] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2071),
  [6599] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2072),
  [6602] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2073),
  [6605] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2074),
  [6608] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2426),
  [6611] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 5, .alias_sequence_id = 1),
  [6613] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 5, .alias_sequence_id = 1),
  [6615] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 5, .alias_sequence_id = 1),
  [6617] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 5, .alias_sequence_id = 1),
  [6619] = {.count = 1, .reusable = true}, SHIFT(2910),
  [6621] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 5),
  [6623] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 5),
  [6625] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 5),
  [6627] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 5),
  [6629] = {.count = 1, .reusable = true}, SHIFT(2911),
  [6631] = {.count = 1, .reusable = true}, SHIFT(2912),
  [6633] = {.count = 1, .reusable = true}, SHIFT(2913),
  [6635] = {.count = 1, .reusable = true}, SHIFT(2918),
  [6637] = {.count = 1, .reusable = true}, SHIFT(2919),
  [6639] = {.count = 1, .reusable = true}, SHIFT(2923),
  [6641] = {.count = 1, .reusable = true}, SHIFT(2924),
  [6643] = {.count = 1, .reusable = true}, SHIFT(2925),
  [6645] = {.count = 1, .reusable = false}, SHIFT(2926),
  [6647] = {.count = 1, .reusable = true}, SHIFT(2926),
  [6649] = {.count = 1, .reusable = true}, SHIFT(2927),
  [6651] = {.count = 1, .reusable = false}, SHIFT(2928),
  [6653] = {.count = 1, .reusable = true}, SHIFT(2928),
  [6655] = {.count = 1, .reusable = true}, SHIFT(2929),
  [6657] = {.count = 1, .reusable = false}, SHIFT(2930),
  [6659] = {.count = 1, .reusable = true}, SHIFT(2930),
  [6661] = {.count = 1, .reusable = true}, SHIFT(2931),
  [6663] = {.count = 1, .reusable = true}, SHIFT(2932),
  [6665] = {.count = 1, .reusable = true}, SHIFT(2933),
  [6667] = {.count = 1, .reusable = true}, SHIFT(2934),
  [6669] = {.count = 1, .reusable = true}, SHIFT(2935),
  [6671] = {.count = 1, .reusable = true}, SHIFT(2936),
  [6673] = {.count = 1, .reusable = true}, SHIFT(2937),
  [6675] = {.count = 1, .reusable = true}, SHIFT(2938),
  [6677] = {.count = 1, .reusable = true}, SHIFT(2939),
  [6679] = {.count = 1, .reusable = true}, SHIFT(2940),
  [6681] = {.count = 1, .reusable = true}, SHIFT(2941),
  [6683] = {.count = 1, .reusable = false}, SHIFT(2943),
  [6685] = {.count = 1, .reusable = false}, SHIFT(2944),
  [6687] = {.count = 1, .reusable = true}, SHIFT(2945),
  [6689] = {.count = 1, .reusable = true}, SHIFT(2946),
  [6691] = {.count = 1, .reusable = true}, SHIFT(2947),
  [6693] = {.count = 1, .reusable = false}, SHIFT(2948),
  [6695] = {.count = 1, .reusable = false}, SHIFT(2947),
  [6697] = {.count = 1, .reusable = true}, SHIFT(2950),
  [6699] = {.count = 1, .reusable = false}, SHIFT(2952),
  [6701] = {.count = 1, .reusable = true}, SHIFT(2952),
  [6703] = {.count = 1, .reusable = true}, SHIFT(2951),
  [6705] = {.count = 1, .reusable = true}, SHIFT(2953),
  [6707] = {.count = 1, .reusable = false}, SHIFT(2955),
  [6709] = {.count = 1, .reusable = true}, SHIFT(2955),
  [6711] = {.count = 1, .reusable = true}, SHIFT(2954),
  [6713] = {.count = 1, .reusable = true}, SHIFT(2956),
  [6715] = {.count = 1, .reusable = false}, SHIFT(2958),
  [6717] = {.count = 1, .reusable = true}, SHIFT(2958),
  [6719] = {.count = 1, .reusable = true}, SHIFT(2957),
  [6721] = {.count = 1, .reusable = true}, SHIFT(2959),
  [6723] = {.count = 1, .reusable = true}, SHIFT(2960),
  [6725] = {.count = 1, .reusable = false}, SHIFT(2960),
  [6727] = {.count = 1, .reusable = true}, SHIFT(2963),
  [6729] = {.count = 1, .reusable = false}, SHIFT(2963),
  [6731] = {.count = 1, .reusable = true}, SHIFT(2966),
  [6733] = {.count = 1, .reusable = true}, SHIFT(2967),
  [6735] = {.count = 1, .reusable = false}, SHIFT(2967),
  [6737] = {.count = 1, .reusable = false}, SHIFT(2971),
  [6739] = {.count = 1, .reusable = true}, SHIFT(2971),
  [6741] = {.count = 1, .reusable = true}, SHIFT(2972),
  [6743] = {.count = 1, .reusable = true}, SHIFT(2973),
  [6745] = {.count = 1, .reusable = false}, SHIFT(2974),
  [6747] = {.count = 1, .reusable = true}, SHIFT(2974),
  [6749] = {.count = 1, .reusable = true}, SHIFT(2975),
  [6751] = {.count = 1, .reusable = true}, SHIFT(2976),
  [6753] = {.count = 1, .reusable = true}, SHIFT(2977),
  [6755] = {.count = 1, .reusable = true}, SHIFT(2978),
  [6757] = {.count = 1, .reusable = true}, SHIFT(2980),
  [6759] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2597),
  [6762] = {.count = 1, .reusable = false}, SHIFT(2982),
  [6764] = {.count = 1, .reusable = true}, SHIFT(2983),
  [6766] = {.count = 1, .reusable = false}, SHIFT(2984),
  [6768] = {.count = 1, .reusable = true}, SHIFT(2985),
  [6770] = {.count = 1, .reusable = true}, SHIFT(2987),
  [6772] = {.count = 1, .reusable = true}, SHIFT(2988),
  [6774] = {.count = 1, .reusable = false}, SHIFT(2990),
  [6776] = {.count = 1, .reusable = true}, SHIFT(2990),
  [6778] = {.count = 1, .reusable = true}, SHIFT(2989),
  [6780] = {.count = 1, .reusable = true}, SHIFT(2991),
  [6782] = {.count = 1, .reusable = false}, SHIFT(2993),
  [6784] = {.count = 1, .reusable = true}, SHIFT(2993),
  [6786] = {.count = 1, .reusable = true}, SHIFT(2992),
  [6788] = {.count = 1, .reusable = false}, SHIFT(2995),
  [6790] = {.count = 1, .reusable = true}, SHIFT(2995),
  [6792] = {.count = 1, .reusable = true}, SHIFT(2994),
  [6794] = {.count = 1, .reusable = true}, SHIFT(2996),
  [6796] = {.count = 1, .reusable = true}, SHIFT(2997),
  [6798] = {.count = 1, .reusable = true}, SHIFT(2998),
  [6800] = {.count = 1, .reusable = true}, SHIFT(2999),
  [6802] = {.count = 1, .reusable = true}, SHIFT(3000),
  [6804] = {.count = 1, .reusable = true}, SHIFT(3001),
  [6806] = {.count = 1, .reusable = true}, SHIFT(3002),
  [6808] = {.count = 1, .reusable = false}, SHIFT(3002),
  [6810] = {.count = 1, .reusable = true}, SHIFT(3003),
  [6812] = {.count = 1, .reusable = false}, SHIFT(3003),
  [6814] = {.count = 1, .reusable = true}, SHIFT(3004),
  [6816] = {.count = 1, .reusable = true}, SHIFT(3005),
  [6818] = {.count = 1, .reusable = false}, SHIFT(3005),
  [6820] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2620),
  [6823] = {.count = 1, .reusable = false}, SHIFT(3006),
  [6825] = {.count = 1, .reusable = true}, SHIFT(3007),
  [6827] = {.count = 1, .reusable = false}, SHIFT(3008),
  [6829] = {.count = 1, .reusable = true}, SHIFT(3009),
  [6831] = {.count = 1, .reusable = true}, SHIFT(3011),
  [6833] = {.count = 1, .reusable = true}, SHIFT(3012),
  [6835] = {.count = 1, .reusable = false}, SHIFT(3014),
  [6837] = {.count = 1, .reusable = true}, SHIFT(3014),
  [6839] = {.count = 1, .reusable = true}, SHIFT(3013),
  [6841] = {.count = 1, .reusable = true}, SHIFT(3015),
  [6843] = {.count = 1, .reusable = false}, SHIFT(3017),
  [6845] = {.count = 1, .reusable = true}, SHIFT(3017),
  [6847] = {.count = 1, .reusable = true}, SHIFT(3016),
  [6849] = {.count = 1, .reusable = false}, SHIFT(3019),
  [6851] = {.count = 1, .reusable = true}, SHIFT(3019),
  [6853] = {.count = 1, .reusable = true}, SHIFT(3018),
  [6855] = {.count = 1, .reusable = true}, SHIFT(3020),
  [6857] = {.count = 1, .reusable = true}, SHIFT(3021),
  [6859] = {.count = 1, .reusable = true}, SHIFT(3022),
  [6861] = {.count = 1, .reusable = true}, SHIFT(3023),
  [6863] = {.count = 1, .reusable = true}, SHIFT(3024),
  [6865] = {.count = 1, .reusable = true}, SHIFT(3025),
  [6867] = {.count = 1, .reusable = true}, SHIFT(3026),
  [6869] = {.count = 1, .reusable = false}, SHIFT(3026),
  [6871] = {.count = 1, .reusable = true}, SHIFT(3027),
  [6873] = {.count = 1, .reusable = false}, SHIFT(3027),
  [6875] = {.count = 1, .reusable = true}, SHIFT(3028),
  [6877] = {.count = 1, .reusable = true}, SHIFT(3029),
  [6879] = {.count = 1, .reusable = false}, SHIFT(3029),
  [6881] = {.count = 1, .reusable = true}, SHIFT(3030),
  [6883] = {.count = 1, .reusable = true}, SHIFT(3031),
  [6885] = {.count = 1, .reusable = false}, SHIFT(3032),
  [6887] = {.count = 1, .reusable = true}, SHIFT(3033),
  [6889] = {.count = 1, .reusable = true}, SHIFT(3035),
  [6891] = {.count = 1, .reusable = true}, SHIFT(3036),
  [6893] = {.count = 1, .reusable = true}, SHIFT(3037),
  [6895] = {.count = 1, .reusable = true}, SHIFT(3038),
  [6897] = {.count = 1, .reusable = true}, SHIFT(3039),
  [6899] = {.count = 1, .reusable = true}, SHIFT(3040),
  [6901] = {.count = 1, .reusable = false}, SHIFT(3041),
  [6903] = {.count = 1, .reusable = true}, SHIFT(3041),
  [6905] = {.count = 1, .reusable = true}, SHIFT(3042),
  [6907] = {.count = 1, .reusable = false}, SHIFT(3043),
  [6909] = {.count = 1, .reusable = true}, SHIFT(3043),
  [6911] = {.count = 1, .reusable = true}, SHIFT(3044),
  [6913] = {.count = 1, .reusable = false}, SHIFT(3045),
  [6915] = {.count = 1, .reusable = true}, SHIFT(3045),
  [6917] = {.count = 1, .reusable = true}, SHIFT(3046),
  [6919] = {.count = 1, .reusable = true}, SHIFT(3047),
  [6921] = {.count = 1, .reusable = true}, SHIFT(3048),
  [6923] = {.count = 1, .reusable = false}, SHIFT(3050),
  [6925] = {.count = 1, .reusable = false}, SHIFT(3051),
  [6927] = {.count = 1, .reusable = true}, SHIFT(3052),
  [6929] = {.count = 1, .reusable = true}, SHIFT(3053),
  [6931] = {.count = 1, .reusable = true}, SHIFT(3054),
  [6933] = {.count = 1, .reusable = false}, SHIFT(3055),
  [6935] = {.count = 1, .reusable = false}, SHIFT(3054),
  [6937] = {.count = 1, .reusable = true}, SHIFT(3057),
  [6939] = {.count = 1, .reusable = false}, SHIFT(3059),
  [6941] = {.count = 1, .reusable = true}, SHIFT(3059),
  [6943] = {.count = 1, .reusable = true}, SHIFT(3058),
  [6945] = {.count = 1, .reusable = true}, SHIFT(3060),
  [6947] = {.count = 1, .reusable = false}, SHIFT(3062),
  [6949] = {.count = 1, .reusable = true}, SHIFT(3062),
  [6951] = {.count = 1, .reusable = true}, SHIFT(3061),
  [6953] = {.count = 1, .reusable = true}, SHIFT(3063),
  [6955] = {.count = 1, .reusable = false}, SHIFT(3065),
  [6957] = {.count = 1, .reusable = true}, SHIFT(3065),
  [6959] = {.count = 1, .reusable = true}, SHIFT(3064),
  [6961] = {.count = 1, .reusable = true}, SHIFT(3066),
  [6963] = {.count = 1, .reusable = true}, SHIFT(3067),
  [6965] = {.count = 1, .reusable = false}, SHIFT(3067),
  [6967] = {.count = 1, .reusable = true}, SHIFT(3070),
  [6969] = {.count = 1, .reusable = false}, SHIFT(3070),
  [6971] = {.count = 1, .reusable = true}, SHIFT(3073),
  [6973] = {.count = 1, .reusable = true}, SHIFT(3074),
  [6975] = {.count = 1, .reusable = false}, SHIFT(3074),
  [6977] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 6, .alias_sequence_id = 1),
  [6979] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 6, .alias_sequence_id = 1),
  [6981] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 6, .alias_sequence_id = 1),
  [6983] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 6),
  [6985] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 6),
  [6987] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 6),
  [6989] = {.count = 1, .reusable = true}, SHIFT(3077),
  [6991] = {.count = 1, .reusable = true}, SHIFT(3078),
  [6993] = {.count = 1, .reusable = true}, SHIFT(3081),
  [6995] = {.count = 1, .reusable = true}, SHIFT(3082),
  [6997] = {.count = 1, .reusable = true}, SHIFT(3085),
  [6999] = {.count = 1, .reusable = true}, SHIFT(3086),
  [7001] = {.count = 1, .reusable = true}, SHIFT(3087),
  [7003] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2768),
  [7006] = {.count = 1, .reusable = false}, SHIFT(3088),
  [7008] = {.count = 1, .reusable = true}, SHIFT(3089),
  [7010] = {.count = 1, .reusable = false}, SHIFT(3090),
  [7012] = {.count = 1, .reusable = true}, SHIFT(3091),
  [7014] = {.count = 1, .reusable = true}, SHIFT(3093),
  [7016] = {.count = 1, .reusable = true}, SHIFT(3094),
  [7018] = {.count = 1, .reusable = false}, SHIFT(3096),
  [7020] = {.count = 1, .reusable = true}, SHIFT(3096),
  [7022] = {.count = 1, .reusable = true}, SHIFT(3095),
  [7024] = {.count = 1, .reusable = true}, SHIFT(3097),
  [7026] = {.count = 1, .reusable = false}, SHIFT(3099),
  [7028] = {.count = 1, .reusable = true}, SHIFT(3099),
  [7030] = {.count = 1, .reusable = true}, SHIFT(3098),
  [7032] = {.count = 1, .reusable = false}, SHIFT(3101),
  [7034] = {.count = 1, .reusable = true}, SHIFT(3101),
  [7036] = {.count = 1, .reusable = true}, SHIFT(3100),
  [7038] = {.count = 1, .reusable = true}, SHIFT(3102),
  [7040] = {.count = 1, .reusable = true}, SHIFT(3103),
  [7042] = {.count = 1, .reusable = true}, SHIFT(3104),
  [7044] = {.count = 1, .reusable = true}, SHIFT(3105),
  [7046] = {.count = 1, .reusable = true}, SHIFT(3106),
  [7048] = {.count = 1, .reusable = true}, SHIFT(3107),
  [7050] = {.count = 1, .reusable = true}, SHIFT(3108),
  [7052] = {.count = 1, .reusable = false}, SHIFT(3108),
  [7054] = {.count = 1, .reusable = true}, SHIFT(3109),
  [7056] = {.count = 1, .reusable = false}, SHIFT(3109),
  [7058] = {.count = 1, .reusable = true}, SHIFT(3110),
  [7060] = {.count = 1, .reusable = true}, SHIFT(3111),
  [7062] = {.count = 1, .reusable = false}, SHIFT(3111),
  [7064] = {.count = 1, .reusable = true}, SHIFT(3112),
  [7066] = {.count = 1, .reusable = true}, SHIFT(3113),
  [7068] = {.count = 1, .reusable = true}, SHIFT(3115),
  [7070] = {.count = 1, .reusable = true}, SHIFT(3116),
  [7072] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2794),
  [7075] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2795),
  [7078] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2795),
  [7081] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2796),
  [7084] = {.count = 1, .reusable = true}, SHIFT(3118),
  [7086] = {.count = 1, .reusable = true}, SHIFT(3119),
  [7088] = {.count = 1, .reusable = true}, SHIFT(3120),
  [7090] = {.count = 1, .reusable = false}, SHIFT(3121),
  [7092] = {.count = 1, .reusable = true}, SHIFT(3122),
  [7094] = {.count = 1, .reusable = true}, SHIFT(3124),
  [7096] = {.count = 1, .reusable = true}, SHIFT(3125),
  [7098] = {.count = 1, .reusable = true}, SHIFT(3126),
  [7100] = {.count = 1, .reusable = true}, SHIFT(3127),
  [7102] = {.count = 1, .reusable = true}, SHIFT(3128),
  [7104] = {.count = 1, .reusable = true}, SHIFT(3129),
  [7106] = {.count = 1, .reusable = false}, SHIFT(3130),
  [7108] = {.count = 1, .reusable = true}, SHIFT(3130),
  [7110] = {.count = 1, .reusable = true}, SHIFT(3131),
  [7112] = {.count = 1, .reusable = false}, SHIFT(3132),
  [7114] = {.count = 1, .reusable = true}, SHIFT(3132),
  [7116] = {.count = 1, .reusable = true}, SHIFT(3133),
  [7118] = {.count = 1, .reusable = false}, SHIFT(3134),
  [7120] = {.count = 1, .reusable = true}, SHIFT(3134),
  [7122] = {.count = 1, .reusable = true}, SHIFT(3135),
  [7124] = {.count = 1, .reusable = true}, SHIFT(3136),
  [7126] = {.count = 1, .reusable = true}, SHIFT(3137),
  [7128] = {.count = 1, .reusable = true}, SHIFT(3138),
  [7130] = {.count = 1, .reusable = false}, SHIFT(3139),
  [7132] = {.count = 1, .reusable = true}, SHIFT(3140),
  [7134] = {.count = 1, .reusable = true}, SHIFT(3142),
  [7136] = {.count = 1, .reusable = true}, SHIFT(3143),
  [7138] = {.count = 1, .reusable = true}, SHIFT(3144),
  [7140] = {.count = 1, .reusable = true}, SHIFT(3145),
  [7142] = {.count = 1, .reusable = true}, SHIFT(3146),
  [7144] = {.count = 1, .reusable = true}, SHIFT(3147),
  [7146] = {.count = 1, .reusable = false}, SHIFT(3148),
  [7148] = {.count = 1, .reusable = true}, SHIFT(3148),
  [7150] = {.count = 1, .reusable = true}, SHIFT(3149),
  [7152] = {.count = 1, .reusable = false}, SHIFT(3150),
  [7154] = {.count = 1, .reusable = true}, SHIFT(3150),
  [7156] = {.count = 1, .reusable = true}, SHIFT(3151),
  [7158] = {.count = 1, .reusable = false}, SHIFT(3152),
  [7160] = {.count = 1, .reusable = true}, SHIFT(3152),
  [7162] = {.count = 1, .reusable = true}, SHIFT(3153),
  [7164] = {.count = 1, .reusable = true}, SHIFT(3154),
  [7166] = {.count = 1, .reusable = true}, SHIFT(3155),
  [7168] = {.count = 1, .reusable = true}, SHIFT(3156),
  [7170] = {.count = 1, .reusable = true}, SHIFT(3157),
  [7172] = {.count = 1, .reusable = false}, SHIFT(3158),
  [7174] = {.count = 1, .reusable = true}, SHIFT(3158),
  [7176] = {.count = 1, .reusable = true}, SHIFT(3159),
  [7178] = {.count = 1, .reusable = false}, SHIFT(3160),
  [7180] = {.count = 1, .reusable = true}, SHIFT(3160),
  [7182] = {.count = 1, .reusable = true}, SHIFT(3161),
  [7184] = {.count = 1, .reusable = false}, SHIFT(3162),
  [7186] = {.count = 1, .reusable = true}, SHIFT(3162),
  [7188] = {.count = 1, .reusable = true}, SHIFT(3163),
  [7190] = {.count = 1, .reusable = true}, SHIFT(3164),
  [7192] = {.count = 1, .reusable = true}, SHIFT(3165),
  [7194] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2887),
  [7197] = {.count = 1, .reusable = false}, SHIFT(3166),
  [7199] = {.count = 1, .reusable = true}, SHIFT(3167),
  [7201] = {.count = 1, .reusable = false}, SHIFT(3168),
  [7203] = {.count = 1, .reusable = true}, SHIFT(3169),
  [7205] = {.count = 1, .reusable = true}, SHIFT(3171),
  [7207] = {.count = 1, .reusable = true}, SHIFT(3172),
  [7209] = {.count = 1, .reusable = false}, SHIFT(3174),
  [7211] = {.count = 1, .reusable = true}, SHIFT(3174),
  [7213] = {.count = 1, .reusable = true}, SHIFT(3173),
  [7215] = {.count = 1, .reusable = true}, SHIFT(3175),
  [7217] = {.count = 1, .reusable = false}, SHIFT(3177),
  [7219] = {.count = 1, .reusable = true}, SHIFT(3177),
  [7221] = {.count = 1, .reusable = true}, SHIFT(3176),
  [7223] = {.count = 1, .reusable = false}, SHIFT(3179),
  [7225] = {.count = 1, .reusable = true}, SHIFT(3179),
  [7227] = {.count = 1, .reusable = true}, SHIFT(3178),
  [7229] = {.count = 1, .reusable = true}, SHIFT(3180),
  [7231] = {.count = 1, .reusable = true}, SHIFT(3181),
  [7233] = {.count = 1, .reusable = true}, SHIFT(3182),
  [7235] = {.count = 1, .reusable = true}, SHIFT(3183),
  [7237] = {.count = 1, .reusable = true}, SHIFT(3184),
  [7239] = {.count = 1, .reusable = true}, SHIFT(3185),
  [7241] = {.count = 1, .reusable = true}, SHIFT(3186),
  [7243] = {.count = 1, .reusable = false}, SHIFT(3186),
  [7245] = {.count = 1, .reusable = true}, SHIFT(3187),
  [7247] = {.count = 1, .reusable = false}, SHIFT(3187),
  [7249] = {.count = 1, .reusable = true}, SHIFT(3188),
  [7251] = {.count = 1, .reusable = true}, SHIFT(3189),
  [7253] = {.count = 1, .reusable = false}, SHIFT(3189),
  [7255] = {.count = 1, .reusable = true}, SHIFT(3190),
  [7257] = {.count = 1, .reusable = true}, SHIFT(3191),
  [7259] = {.count = 1, .reusable = true}, SHIFT(3192),
  [7261] = {.count = 1, .reusable = true}, SHIFT(3193),
  [7263] = {.count = 1, .reusable = false}, SHIFT(3194),
  [7265] = {.count = 1, .reusable = true}, SHIFT(3195),
  [7267] = {.count = 1, .reusable = true}, SHIFT(3197),
  [7269] = {.count = 1, .reusable = true}, SHIFT(3198),
  [7271] = {.count = 1, .reusable = true}, SHIFT(3199),
  [7273] = {.count = 1, .reusable = true}, SHIFT(3200),
  [7275] = {.count = 1, .reusable = true}, SHIFT(3201),
  [7277] = {.count = 1, .reusable = true}, SHIFT(3202),
  [7279] = {.count = 1, .reusable = false}, SHIFT(3203),
  [7281] = {.count = 1, .reusable = true}, SHIFT(3203),
  [7283] = {.count = 1, .reusable = true}, SHIFT(3204),
  [7285] = {.count = 1, .reusable = false}, SHIFT(3205),
  [7287] = {.count = 1, .reusable = true}, SHIFT(3205),
  [7289] = {.count = 1, .reusable = true}, SHIFT(3206),
  [7291] = {.count = 1, .reusable = false}, SHIFT(3207),
  [7293] = {.count = 1, .reusable = true}, SHIFT(3207),
  [7295] = {.count = 1, .reusable = true}, SHIFT(3208),
  [7297] = {.count = 1, .reusable = true}, SHIFT(3209),
  [7299] = {.count = 1, .reusable = true}, SHIFT(3212),
  [7301] = {.count = 1, .reusable = true}, SHIFT(3213),
  [7303] = {.count = 1, .reusable = true}, SHIFT(3214),
  [7305] = {.count = 1, .reusable = false}, SHIFT(3215),
  [7307] = {.count = 1, .reusable = true}, SHIFT(3215),
  [7309] = {.count = 1, .reusable = true}, SHIFT(3216),
  [7311] = {.count = 1, .reusable = false}, SHIFT(3217),
  [7313] = {.count = 1, .reusable = true}, SHIFT(3217),
  [7315] = {.count = 1, .reusable = true}, SHIFT(3218),
  [7317] = {.count = 1, .reusable = false}, SHIFT(3219),
  [7319] = {.count = 1, .reusable = true}, SHIFT(3219),
  [7321] = {.count = 1, .reusable = true}, SHIFT(3220),
  [7323] = {.count = 1, .reusable = true}, SHIFT(3221),
  [7325] = {.count = 1, .reusable = true}, SHIFT(3222),
  [7327] = {.count = 1, .reusable = true}, SHIFT(3223),
  [7329] = {.count = 1, .reusable = true}, SHIFT(3224),
  [7331] = {.count = 1, .reusable = true}, SHIFT(3225),
  [7333] = {.count = 1, .reusable = false}, SHIFT(3226),
  [7335] = {.count = 1, .reusable = true}, SHIFT(3226),
  [7337] = {.count = 1, .reusable = true}, SHIFT(3227),
  [7339] = {.count = 1, .reusable = false}, SHIFT(3228),
  [7341] = {.count = 1, .reusable = true}, SHIFT(3228),
  [7343] = {.count = 1, .reusable = true}, SHIFT(3229),
  [7345] = {.count = 1, .reusable = false}, SHIFT(3230),
  [7347] = {.count = 1, .reusable = true}, SHIFT(3230),
  [7349] = {.count = 1, .reusable = true}, SHIFT(3231),
  [7351] = {.count = 1, .reusable = true}, SHIFT(3232),
  [7353] = {.count = 1, .reusable = true}, SHIFT(3233),
  [7355] = {.count = 1, .reusable = true}, SHIFT(3234),
  [7357] = {.count = 1, .reusable = true}, SHIFT(3235),
  [7359] = {.count = 1, .reusable = true}, SHIFT(3236),
  [7361] = {.count = 1, .reusable = true}, SHIFT(3237),
  [7363] = {.count = 1, .reusable = true}, SHIFT(3238),
  [7365] = {.count = 1, .reusable = false}, SHIFT(3239),
  [7367] = {.count = 1, .reusable = true}, SHIFT(3240),
  [7369] = {.count = 1, .reusable = true}, SHIFT(3242),
  [7371] = {.count = 1, .reusable = true}, SHIFT(3243),
  [7373] = {.count = 1, .reusable = true}, SHIFT(3244),
  [7375] = {.count = 1, .reusable = true}, SHIFT(3245),
  [7377] = {.count = 1, .reusable = true}, SHIFT(3246),
  [7379] = {.count = 1, .reusable = true}, SHIFT(3247),
  [7381] = {.count = 1, .reusable = false}, SHIFT(3248),
  [7383] = {.count = 1, .reusable = true}, SHIFT(3248),
  [7385] = {.count = 1, .reusable = true}, SHIFT(3249),
  [7387] = {.count = 1, .reusable = false}, SHIFT(3250),
  [7389] = {.count = 1, .reusable = true}, SHIFT(3250),
  [7391] = {.count = 1, .reusable = true}, SHIFT(3251),
  [7393] = {.count = 1, .reusable = false}, SHIFT(3252),
  [7395] = {.count = 1, .reusable = true}, SHIFT(3252),
  [7397] = {.count = 1, .reusable = true}, SHIFT(3253),
  [7399] = {.count = 1, .reusable = true}, SHIFT(3254),
  [7401] = {.count = 1, .reusable = true}, SHIFT(3255),
  [7403] = {.count = 1, .reusable = true}, SHIFT(3256),
  [7405] = {.count = 1, .reusable = true}, SHIFT(3257),
  [7407] = {.count = 1, .reusable = false}, SHIFT(3258),
  [7409] = {.count = 1, .reusable = true}, SHIFT(3258),
  [7411] = {.count = 1, .reusable = true}, SHIFT(3259),
  [7413] = {.count = 1, .reusable = false}, SHIFT(3260),
  [7415] = {.count = 1, .reusable = true}, SHIFT(3260),
  [7417] = {.count = 1, .reusable = true}, SHIFT(3261),
  [7419] = {.count = 1, .reusable = false}, SHIFT(3262),
  [7421] = {.count = 1, .reusable = true}, SHIFT(3262),
  [7423] = {.count = 1, .reusable = true}, SHIFT(3263),
  [7425] = {.count = 1, .reusable = true}, SHIFT(3264),
  [7427] = {.count = 1, .reusable = true}, SHIFT(3265),
  [7429] = {.count = 1, .reusable = true}, SHIFT(3266),
  [7431] = {.count = 1, .reusable = true}, SHIFT(3267),
  [7433] = {.count = 1, .reusable = true}, SHIFT(3268),
  [7435] = {.count = 1, .reusable = true}, SHIFT(3269),
  [7437] = {.count = 1, .reusable = true}, SHIFT(3270),
  [7439] = {.count = 1, .reusable = true}, SHIFT(3271),
  [7441] = {.count = 1, .reusable = true}, SHIFT(3272),
  [7443] = {.count = 1, .reusable = true}, SHIFT(3273),
  [7445] = {.count = 1, .reusable = true}, SHIFT(3274),
  [7447] = {.count = 1, .reusable = false}, SHIFT(3275),
  [7449] = {.count = 1, .reusable = true}, SHIFT(3275),
  [7451] = {.count = 1, .reusable = true}, SHIFT(3276),
  [7453] = {.count = 1, .reusable = false}, SHIFT(3277),
  [7455] = {.count = 1, .reusable = true}, SHIFT(3277),
  [7457] = {.count = 1, .reusable = true}, SHIFT(3278),
  [7459] = {.count = 1, .reusable = false}, SHIFT(3279),
  [7461] = {.count = 1, .reusable = true}, SHIFT(3279),
  [7463] = {.count = 1, .reusable = true}, SHIFT(3280),
  [7465] = {.count = 1, .reusable = true}, SHIFT(3281),
  [7467] = {.count = 1, .reusable = true}, SHIFT(3282),
  [7469] = {.count = 1, .reusable = true}, SHIFT(3283),
  [7471] = {.count = 1, .reusable = true}, SHIFT(3284),
  [7473] = {.count = 1, .reusable = true}, SHIFT(3285),
  [7475] = {.count = 1, .reusable = true}, SHIFT(3286),
  [7477] = {.count = 1, .reusable = true}, SHIFT(3287),
  [7479] = {.count = 1, .reusable = true}, SHIFT(3288),
};

void *tree_sitter_bash_external_scanner_create();
void tree_sitter_bash_external_scanner_destroy(void *);
bool tree_sitter_bash_external_scanner_scan(void *, TSLexer *, const bool *);
unsigned tree_sitter_bash_external_scanner_serialize(void *, char *);
void tree_sitter_bash_external_scanner_deserialize(void *, const char *, unsigned);

#ifdef _WIN32
#define extern __declspec(dllexport)
#endif

extern const TSLanguage *tree_sitter_bash() {
  static TSLanguage language = {
    .version = LANGUAGE_VERSION,
    .symbol_count = SYMBOL_COUNT,
    .alias_count = ALIAS_COUNT,
    .token_count = TOKEN_COUNT,
    .symbol_metadata = ts_symbol_metadata,
    .parse_table = (const unsigned short *)ts_parse_table,
    .parse_actions = ts_parse_actions,
    .lex_modes = ts_lex_modes,
    .symbol_names = ts_symbol_names,
    .alias_sequences = (const TSSymbol *)ts_alias_sequences,
    .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
    .lex_fn = ts_lex,
    .keyword_lex_fn = ts_lex_keywords,
    .keyword_capture_token = sym_word,
    .external_token_count = EXTERNAL_TOKEN_COUNT,
    .external_scanner = {
      (const bool *)ts_external_scanner_states,
      ts_external_scanner_symbol_map,
      tree_sitter_bash_external_scanner_create,
      tree_sitter_bash_external_scanner_destroy,
      tree_sitter_bash_external_scanner_scan,
      tree_sitter_bash_external_scanner_serialize,
      tree_sitter_bash_external_scanner_deserialize,
    },
  };
  return &language;
}
